Complex-project quick start
This walkthrough starts a new project without skipping the ambiguity gates.
1. Initialize CodeOps artifacts
In a new Codex thread, ask:
Use the setup-codeops skill to initialize this repository in strict mode.
Preview every change before writing it.Review the proposed codeops/codeops.json, artifact layout, and optional agent files. Accept only the parts you want committed to the project.
2. Discover requirements
Give Codex the raw idea, constraints, existing notes, and known stakeholders:
Use make-requirements for this system. Treat my description as seed material,
select every applicable domain lens, and keep the zero-ambiguity gate closed
until I explicitly resolve each material choice.CodeOps records requirements and the ambiguity register on disk so discovery can resume in a later thread. For an existing implementation, start with retro-requirements instead.
If you want CodeOps to own eligible expert technical choices, use:
Use make-requirements --auto-design for this system. Choose and record the
strongest eligible technical options. Escalate every product, risk, permission,
or other reserved-authority decision to me.3. Build and challenge the plan
After requirements are approved:
Use make-plan for RD-01. Analyze the current code, write specifications before
implementation tasks, and resolve every plan ambiguity with me.Then run preflight. Critical and major findings reopen the affected gate; they are not converted silently into implementation assumptions.
The same exact --auto-design flag may be used with make-plan, preflight, and exec-plan. It does not imply --auto-commit; select commit behavior separately.
These workflows stay in strict scope by default and do not suggest optional product additions. To review possible expansions without authorizing them, use:
Use make-plan --explore-scope for RD-01. Keep the confirmed scope as the baseline, then present
optional additions as SE proposals so I can Keep, Defer, or Discard each one.The same --explore-scope flag works with preflight and exec-plan. Necessary corrections and blocking safety, correctness, or feasibility uncertainties are reported in either mode. Only an explicit Keep decision turns a proposal into executable work; --auto-design cannot make that decision.
4. Check the plan and execute
Inspect derived plan status from the project root:
python3 /path/to/codeops/scripts/codeops_plan.py --root . --jsonThe plan's 00-index.md declares one or more implemented RDs. Before execution, directly confirm required documents exist, material ambiguities are closed, specification tests precede production code, and critical/major findings are resolved. Then ask Codex to use exec-plan.
The executor immediately marks implementation [~], runs verification, and promotes the task to [x] only on success. A blocker uses [!] and records a short reason on the task line.
5. Resume safely
In a fresh thread, ask CodeOps for project status or use the roadmap skill. It reconstructs status from requirements, plan metadata, execution checkboxes, findings, and Git drift. If implementation uncovers a missing upstream decision, reopen the ambiguity, block the affected task visibly, resolve it, update affected artifacts, and continue from the first [~] task or otherwise the first [ ] task.