Verify completion adversarially
Read workflow, artifacts, and safety before verification.
The goal is to refute completion, not confirm the implementation narrative. Treat summaries and prior test claims as untrusted until reproduced.
Inputs
Resolve, in order:
- objective;
- acceptance criteria;
- definition of done;
- prohibitions and safety constraints;
- changed files and implementation evidence;
- prior review findings.
If no verifiable contract exists, return BLOCKED and list the missing truths. Do not invent acceptance criteria after implementation.
Procedure
- Convert every contract statement into an independently testable truth.
- For each truth, choose the command, inspection, or counterexample most likely to disprove it.
- Run fresh verification and record the exact result; do not rely on earlier output.
- Inspect the final diff for scope violations and prohibited behavior.
- Reconcile unresolved review findings with the truth list.
- Calculate passed truths and identify critical failures.
- When rejected, write bounded correction tasks only if artifact persistence is authorized.
Verdicts
APPROVED: every truth passes and no prohibition is violated.WITH_CAVEATS: all critical truths pass; only explicitly low-impact caveats remain.REJECTED: any critical truth fails, a prohibition is violated, or required evidence contradicts completion.BLOCKED: verification cannot run or the contract is absent.
Never weaken a failing criterion to obtain approval.
Output
Return a truth table with Truth, Refutation attempt, Evidence, and Result, followed by the verdict and correction paths. Persist the verification report only when the user requested it or an active Flow phase already authorizes artifacts.