Gates
verify_dod
The DoD verification gate runs after each step execution. It:
- Re-derives each acceptance criterion from recorded evidence.
- Checks each integration check.
- Verifies each declared output exists.
- Assigns PASS, FAIL, or UNCERTAIN to each criterion.
A FAILED DoD halts the step and offers recovery. The step is never marked complete with a failed DoD (INV-1).
closure_gate
The terminal gate that runs after all steps are complete. It executes:
goatcs-harness wiring-checkagainst the skill'swiring-contract.yaml(or a bootstrapped fallback).- The coverage-with-closure report.
A route: closure-blocked with a gap-list is a recovery item routed back into the build loop.
Fresh-context verifier
For the final ship-gate, the executor spawns a fresh-context verifier sub-agent (Agent tool). This agent has a clean context that never saw the build reasoning and re-derives the ship verdict from artifacts + gate outputs alone. Self-grading the final gate is the false-green class; genuine context-separation is required.