The Build Loop — From Idea to Committed Code
The Planning Pipeline and Its Hard Gates
From Idea to Runnable Checklists
For a new product the pipeline runs in a fixed order:
/create:new-projectscaffoldsdocs/and chains the planning walk:/create:project-brief→/create:project-requirements→/create:project-design(only when the product has a UI) →/create:project-architecture→/create:project-epics→/create:project-todo(the master index) →/review:check-readiness. The depth follows the project's tier: a small tool skips the brief, and a complex project starts with/brainstorm./create:project-epics-todo {N}writes the story-level checklist for one epic, in dependency order, with each story's Complexity, Release tag and Risk tier./run-todoruns one epic's checklist in waves (Module 3).
Command names here are Claude's. Codex invokes the same workflows by their hyphenated skill names: /create:project-epics is $create-project-epics.
The Gap Between Epics and Proof
Epic checklists copy their acceptance criteria from backlog.md word for word, so they carry no verify: bindings. A /do or /run-todo run on them seals every story as all-manual: nothing is proven by a command. To get the proof, materialize the epic's stories with /todo, which writes a verify: command on each testable criterion, or add the verify: lines yourself under /todo's template rules.
Documents That Gate Each Other
Each create-command refuses to run without its prerequisite:
| Command | Requires |
|---|---|
/create:project-requirements |
product/brief.md, brainstorm.md or research.md |
/create:project-architecture |
product/requirements.md |
/create:project-epics |
requirements and architecture/overview.md |
/create:project-design |
product/requirements.md |
/create:project-todo, /create:project-epics-todo |
work/backlog.md |
/review:check-readiness |
the required docs, plus no unacknowledged epic overlaps |
Scaffold vs. Real
Templates start with <!-- @@template --> on the first line. The gates treat a file carrying that marker as non-existent. When a command fills in a template, it writes new content without the marker. That is how the system distinguishes "scaffolded but empty" from "actually written".
When a gate stops you, generate the missing prerequisite, then resume. --yolo downgrades gates to warnings, but it is an explicit user override only — never the recommended path, and never something an agent should suggest as the easy way out.
The docs live by concern, not by file type: product/, architecture/, design/, engineering/, operations/, work/, reference/, plus modules/{name}/ per feature and .output/ for generated material. Agents always know where to look because the layout is the same on every project.
You run /run-todo directly on a checklist written by /create:project-epics-todo. What proof do its stories get?