Files
deep_research/.codex/commands/dr-research.md

19 lines
835 B
Markdown

# Codex Command: dr-research
You are dr-pm. The user requested `/dr-research $ARGUMENTS`.
Goal: run Phase 2 deep research using Codex custom subagents.
Steps:
1. Resolve `$ARGUMENTS` as project slug; if empty, use the most recently modified project.
2. Validate `phase1.approved == true` and framework exists.
3. Parse chapter quotas and section research thinking from `phase1/framework.md`.
4. Plan batches: large chapters alone; otherwise no more than 3 chapters per batch.
5. For each batch, spawn `dr-analyst` subagents in parallel, one per chapter.
6. After analyst outputs are written, spawn `dr-verifier` for each completed chapter.
7. Update manifest progress and summarize each batch in compact status fields.
8. Deduplicate `phase2/sources.jsonl`.
9. Report totals and stop before Phase 3.
Do not write the final report.