Overview
Therecursive-subagent subskill defines when to delegate a recursive-mode phase to a subagent, how to structure the handoff, and when to reject a delegated result. It also defines the self-audit fallback for environments where subagents are not available.
When to Use
Consider delegating to a subagent when a phase would benefit from an independent audit, a code review, or a bounded implementation with a clearly separate write scope. Subagents are optional accelerators — they are never required infrastructure. The main agent remains responsible at all times for:- one active recursive phase per run
- full audit rigor before lock
- verifying delegated work against real files, diffs, and artifacts
- falling back to self-audit when subagents are unavailable
Priority of Use
When subagents are available, use them in this order of value:| Priority | Role |
|---|---|
| 1 | Phase auditor |
| 2 | Traceability auditor |
| 3 | Code reviewer |
| 4 | Memory auditor |
| 5 | Test reviewer |
| 6 | Bounded implementer (only for truly disjoint write scopes) |
Capability Detection
Capability detection is a hard control point. At the start of any phase where you are considering delegation, determine whether your environment actually supports subagents. If subagents are unavailable:The Delegated Audit Contract
A delegated audit is only valid when you pass a complete context bundle. The controller must pass all 11 items:Required bundle items
Required bundle items
- Phase name and artifact path
- Current phase draft
- Exact upstream artifact paths that must be re-read
- Relevant addendum paths
- Relevant prior recursive evidence and memory refs
- Diff basis from
00-worktree.md - Changed file list
- Targeted code file paths or file groups to inspect
- Relevant control-plane docs when needed
- Exact audit questions or checklist for the phase
- Required output shape including findings and verdict
recursive-review-bundle and passing the bundle path as part of the handoff.
Output Rejection Rules
Reject a delegated result if any of the following are true:- It does not cite the artifact path or phase name
- It does not cite the review bundle path or clearly restate the same bundle contents
- It does not mention the upstream artifacts re-read
- It ignores relevant addenda that were part of the effective input set
- It ignores relevant prior recursive evidence or memory refs in the bundle
- It does not review the diff basis or changed files
- It does not cite changed files or code refs in the review narrative
- The controller did not verify claimed success against actual files, actual artifacts, and actual diff-owned scope
- It cannot be translated into a durable subagent action record without guessing
- It does not address requirement or plan alignment where required
- It gives only generic praise with no grounded findings
- It has no explicit verdict
Canonical Roles
Phase Auditor
Use for any audited phase that needs an independent pass over the current draft, upstream locked artifacts, the git diff versus the recorded baseline, and requirement coverage. The auditor identifies gaps, drift, and repair needs.Traceability Auditor
Use when you need to verify that downstream artifacts explicitly cover every in-scopeR# and do not hide behind vague summaries. Traceability auditors check that implemented and verified dispositions cite concrete changed files and distinct verification evidence.
Code Reviewer
Use for Phase 3.5 or high-risk Phase 3 and Phase 4 audits. The code reviewer checks:- Requirements versus implementation
- Plan versus implementation
- Git diff versus claimed scope
- Code quality and maintainability
- Test adequacy and TDD compliance
Memory Auditor
Use in Phase 8 to verify that touched paths, memory status transitions, and router updates match the final validated repo state.Test Reviewer
Use in Phase 4 to audit test adequacy, exact test commands, evidence capture, and whether the implementation is truly complete before trusting test results.Self-Audit Fallback
When subagents are unavailable, reuse the same checklist in the phase artifact and record:
Never set
Coverage: PASS or Approval: PASS for an audited phase unless the artifact ends with Audit: PASS.