Tutorial: The full pipeline
For a substantial feature, CodeOps composes into one repeatable pipeline that takes you from a fuzzy idea all the way to verified, committed code:
grill_me → make_requirements → preflight → make_plan → preflight → exec_plan…with roadmap tracking the whole feature-set and techdocs keeping architecture docs current.
1. Disambiguate the idea — grill_me
Start when the design is still fuzzy:
grill_me on <your feature/system>grill_me maps the decision tree and walks each branch with you — options, assumptions, sub-decisions — until zero ambiguity remains. The shared understanding feeds the next step.
2. Capture requirements — make_requirements
make_requirementsmake_requirements expands your idea with comparable-system features, challenges it with edge cases, and decomposes it into numbered RDs (requirements/RD-01-*.md, …) behind its Zero-Ambiguity Gate.
3. Audit the requirements — preflight
preflight requirementspreflight hunts for gaps, contradictions, and risks, verifying claims against the real codebase. Resolve each finding before planning.
4. Plan it — make_plan
/codeops:make_plan # choose to base the plan on a specific RD when promptedmake_plan turns an RD into a plans/<feature>/ document set with a specification-first execution plan. (Tip: run make_roadmap first so the plan is tracked — see step 6.)
5. Audit the plan, then build — preflight + exec_plan
preflight <feature-name>
/codeops:exec_plan <feature-name> --auto-commitA second preflight pass audits the plan; then exec_plan implements it task-by-task (spec tests → red → implement → green → impl tests → verify), committing as it goes.
6. Track and document
roadmap:make_roadmapearly, thenupdate_roadmapas stages advance (Plan Created→Executing→Done).techdocs:make_techdocsto produce architecture docs + ADRs; they can update automatically asexec_planphases complete (opt-in).
Result
You've gone from idea → disambiguated design → audited requirements → audited plan → verified, committed implementation — with a roadmap and architecture docs to show for it. For a lighter-weight version, see Your first plan.