| name | dod-contract |
| description | Generate definition-of-done contracts from task descriptions. Output structured acceptance criteria, test plan, rollback strategy, and blast radius. |
DoD Contract
Generate a Definition of Done contract before executing any task with MODERATE or HIGH blast radius.
Procedure
- Read task description + any linked plan sections
- Generate contract per
references/contract-template.md
- Output as JSON:
{acceptance_criteria: [...], test_commands: [...], rollback_plan: "...", blast_radius: "low|moderate|high"}
- Store contract in
plans/_dashboard/contracts/<task-id>.json
When to Use
- Before any implementation task (auto-generated by
/meta-dev)
- Before dispatching a subagent with MODERATE+ blast radius
- On explicit request via
/meta-dod <task-id>