v0.10: add native Codex adapter for deep research

This commit is contained in:
kai
2026-04-24 10:48:14 +08:00
parent c93fce5078
commit 77df1838b1
48 changed files with 3354 additions and 48 deletions
@@ -0,0 +1,18 @@
# 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.