docs(claude-md): add subagent delegation guidance to Workflow

Expand the sub-agent bullet to push fan-out work (many files,
parallel searches, multi-point checks) to sub-agents rather than
serial iteration, and default to delegation for multi-file
exploration. Counters Opus 4.8's tendency to under-delegate.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Bastien Chanot 2026-06-18 17:00:24 +02:00
parent bc7f657be0
commit 02a0ba0602

View File

@ -45,7 +45,10 @@ Apply unless repo-specific instructions override.
(≤2 files, obvious fix). (≤2 files, obvious fix).
- Minimal changes unless broader refactor requested. State trade-offs. - Minimal changes unless broader refactor requested. State trade-offs.
- Sub-agents keep main context clean — one task per sub-agent. - Sub-agents keep main context clean — one task per sub-agent.
More compute on hard problems. More compute on hard problems. Task fans out across independent
items (many files, parallel searches, multi-point checks) → delegate
to sub-agents, don't iterate serially. Default to delegation for
multi-file exploration. Counters Opus 4.8 tendency to under-delegate.
- One question upfront if needed — never interrupt mid-task. - One question upfront if needed — never interrupt mid-task.
*Exception: skill-mandated gates and checkpoints (orchestrator *Exception: skill-mandated gates and checkpoints (orchestrator
validation gates, approval gates, darwin checkpoints) always fire.* validation gates, approval gates, darwin checkpoints) always fire.*