| Step 1 | requirement-analysis-agent | 先产出 DecompositionSnapshot;复杂认知优先拆给只读 scan subagent;若 CapabilityScan 无独立 block 或缺少源码 Evidence,视为 Step 1 未完成;若存在路线分歧,必须停在决策态,不能直接推进实现 | config/step_contracts.md、config/pipeline_protocol.md |
| Step 2 | requirement-analysis-agent | 只在路线已收敛且命中冻结条件时进入 | config/step_contracts.md、config/pipeline_protocol.md、config/handoff_protocol.md |
| Step 3 | 模块配对执行单元 / main agent(L0) | 负责实现;进入前必须确认决策态已解决且 Freeze Gate 已过 | config/step_contracts.md、config/pipeline_protocol.md |
| Step 4 | integration-matching-agent | 只做依赖闭合验证,不改代码 | config/step_contracts.md、config/handoff_protocol.md |
| Step 5 | pipeline-verify-agent | 只做 coverage / verdict 决策,不改代码 | config/step_contracts.md、config/pipeline_protocol.md、config/handoff_protocol.md |
| Step 6 | 模块配对执行单元 / main agent | 只补 CompletableBlocks,补完后至少回 Step 4 | config/step_contracts.md、config/handoff_protocol.md |
| Step 7 | debug-skill | 只在需要边界条件验证时进入 | config/step_contracts.md |
| Step 8 | profiler-skill | 只在需要性能诊断时进入 | config/step_contracts.md |
| Step 9 | main agent | 必做收尾;未完成 run_id / signal 清理不得结束 pipeline | config/step_contracts.md、config/pipeline_protocol.md |