Proof Loop – Acceptance Criteria Verification for Coding Agents
Lightweight protocol to enforce acceptance criteria verification and evidence attachment for agent task completion
About this automation
A lightweight protocol helper script that enforces separation between builder and verifier roles. Before implementation, acceptance criteria are set. Each criterion is tested with results marked as PASS, FAIL, or UNKNOWN. Evidence of completion is attached and persisted in the repo so subsequent agent runs can inspect prior work and avoid redundant effort.
How to implement
Define acceptance criteria before coding begins
Separate builder and verifier roles
Execute each acceptance criterion test
Record test results (PASS, FAIL, UNKNOWN)
Attach evidence of completion to proof bundle
Store proof evidence in repository
Inspect proof bundle in subsequent agent runs
Fail if evidence is missing, pass when criteria have evidence