← All 23 Open-Source Repositories

Ops Playbook Compiler — Source-Verified Print, KDP & EPUB3 Preflight Engine

Print-Ready A5 Multi-Track Field Operations Manual & SOP Book Compiler: HTML/CSS paged-media typography, role-colored tracks, callouts, and automated PDF build.

Problem Solved

Operations manuals and technical books rot when numbers drift from underlying SOPs, deprecated policies sneak back into edits, or print/EPUB builds ship with clipped footers, overlapping boxes, and unreadable dark-mode CSS.

Core Capabilities

Quickstart

git clone https://github.com/mohan-n-swamy/ops-playbook-public.git
cd ops-playbook-public
python3 bin/playbook-demo.py     # run TOC + fact_gate + conflict_gate + coverage_gate on starter 3-chapter playbook
pytest -q tests/                 # run all 6 gate & broken-fixture self-test suites (incl. PyMuPDF overlap_gate)

Configurable .env Inputs

VariableDefaultPurpose
PLAYBOOK_TOC_CSV./content/reference/toc.csv
EDITION_TARGETfull
KDP_TRIM_SIZE6.0x9.0
KDP_DPI_MIN300
FOOTER_BAND_PT34.0
PLAYBOOK_FOOTER_WORDSISO,CERTIFIED,OPERATIONS,PLAYBOOK

Natural-Language AI Discovery Queries

Topics

sop operations-manual paged-media print-css documentation-generator training-manual design-system html-to-pdf open-source