
When you've got multiple independent failures after a refactor, this is about spinning up separate agents to tackle each problem domain in parallel instead of debugging sequentially. Each agent gets a tightly scoped prompt with specific context, clear constraints, and an instruction to report back what they found. The key insight is recognizing when problems are truly independent (abort tests, batch completion, race conditions) versus related. In the documented example, three agents fixed six test failures concurrently across different files with zero conflicts. The pattern works when there's no shared state and you can clearly partition the work, but it requires discipline in crafting focused prompts and verifying the results don't step on each other.
$ npx -y skills add ganyuanran/aegis --skill dispatching-parallel-agents --agent claude-codeInstalls into .claude/skills of the current project.
Use parallel children for two or more ad-hoc, bounded tasks only when their independence is already credible and concurrency is worth the coordination. Parallelism changes elapsed time; it does not relax evidence, ownership, or completion requirements.
Dispatch only when all are true:
2+ distinct tasks or evidence questions;Keep work inline when decomposition is still exploratory, failures may share a
root cause, full-system context is required, or tasks are too small to repay the
handoff. A written implementation plan routes to
aegis:subagent-driven-development, not this ad-hoc workflow.
Choose the live host's context inheritance mode deliberately. Give each child the minimum sufficient instructions and evidence; do not rely on accidental inheritance or assume that context must never be inherited.
Each task packet states:
Isolated model context does not imply an isolated filesystem, process, Git repository, credential, rate limit, or external service. Prefer read-only investigation. If children may edit, assign disjoint write ownership explicitly. The coordinator owns staging, commits, branches, worktrees, integration, and other Git lifecycle mutations.
The coordinator owns the concurrency budget. Children do not delegate recursively unless their packet explicitly permits it. A failed, cancelled, or timed-out child contributes any available partial evidence; otherwise record no result and the unresolved unknowns. Retry only with a materially different packet or serialize the task.
Child output is evidence or a proposal, not a GateDecision, completion authority, or permission for external action.
When any of these appears, narrow the packets, serialize the shared portion, or return to the owning debugging or plan workflow.
Sponsors