Behind the scenes

How a fleet of agents built this book

An interactive wireframe of the orchestration pipeline. Press Run the fleet to watch the squad of GitHub Copilot primitives move through the waves (design, research, author, verify, review) exactly as it happened.

Idle. Press “Run the fleet” to start the orchestration.
📋 content/playbook-brief.md input

The human-authored scope: concept-first, mid-level depth, CLI & manifests, HTML chapter subpages.

🧭 Orchestrator prompt

run-book dispatches agents in waves and tracks state on a shared to-do board.

⚙️ Environment setup skill

Installs the apm CLI and prepares a scratch workspace so the real commands can be introspected and examples can run.

Wave 0: Design & scaffold

🏛️ Architect

Turns the brief into toc.yml + outline.

🎨 Frontend builder

Scaffolds the HTML shell + navigation.

Waves 1…N: per chapter group

🔍 CLI explorer

Introspects the real apm CLI surface. No hallucinated commands.

📚 Theory researcher

Gathers concepts from the APM docs.

✍️ Chapter author

Fills the HTML slots and writes runnable example code.

Code verifier

Runs every example in a scratch project; each must exit 0 with no network.

🧐 Chapter reviewer

Verdict: ACCEPT or REVISE with concrete fixes.

↺ REVISE → back to the author until ACCEPT
ACCEPT
💾 Commit per wave git

Each completed wave is committed, keeping a clean, auditable history.

🔗 Integration pass review

Cross-chapter check of navigation, terminology, progression, and CLI/manifest consistency.

🚀 Published book output

Verified chapters served as an interactive HTML site. Open it →

The actors (primitives)

🧭 Orchestrator prompt

The driver that runs the whole fleet in waves and tracks progress.

🏛️ Architect agent

Designs the table of contents and chapter outline from the brief.

📚 Theory researcher agent

Explains concepts grounded in the official APM documentation.

🔍 CLI explorer agent

Introspects the installed APM CLI for the exact, real command and manifest surface.

✍️ Chapter author agent

Writes chapter prose and example code into the page slots.

✅ Code verifier agent

Runs every example until it provably exits clean, with no network required.

🧐 Chapter reviewer agent

Critiques for accuracy and consistency; routes fixes back to the author.

🎨 Frontend builder agent

Scaffolds and finalizes the HTML shell, navigation, and styling.

⚙️ Environment setup skill

Reproducible recipe to install the APM CLI and prepare a scratch workspace.

🧱 Content & code rules instructions

Auto-applied conventions every chapter and example must follow.