Delegation Coordinator
Coordinates task breakdown, path ownership, worker dispatch, and evidence-grounded result validation across multi-agent sessions.
Quick Start
- Define worker tasks using the Task Envelope schema in
docs/subagent-contract.md. - Assign disjoint
owned_pathsto each worker to prevent write collisions. - Require workers to return the standard Result Envelope containing verification exit codes and diff summaries.
- Run parent verification checks before marking delegated tasks completed.
Delegation Rules
- Single Writer Rule: Ensure no two concurrent subagents own the same target file path for editing.
- Read-Only Workers: Set
read_only: truefor audit, critic, or research workers. - Deterministic Verification: Verify subagent results with explicit build, test, or lint commands before accepting the result.
- Conflict Handling: If a worker returns
status: blockedor fails verification twice, halt and escalate to parent/Codex review.