verify-completion-evidence
When to use
- Just before claiming a task, feature, fix, or refactor is complete
- Just before proposing
/commit,/create-pr, or pushing - Before answering "is it ready?", "can I merge?", "does it work?"
- After a sequence of edits, when next step would be reporting to the user
- Whenever the wording "should work", "looks good", "probably fine" is
about to appear in a reply
Do NOT use when:
- Still actively editing — run targeted tests, not the full gate
- Pure documentation changes with no executable impact
- The user explicitly asks for a draft / exploration, not a final answer
Goal
Make every completion claim **traceable to captured output from this
message**. No claim survives unless the command that proves it was run
and its output was read inside the current turn.
The Iron Law
NO COMPLETION CLAIMS WITHOUT FRESH EVIDENCE IN THIS MESSAGE.
"I already ran it earlier in the conversation" does not count. Earlier
runs are stale the moment another edit lands.
Procedure
1. Identify the claim you are about to make
Examples: "all tests pass", "this is ready for PR", *"the refactor
is done", "the bug is fixed"*.
Each claim maps to a specific verification command. Write down the
mapping before running anything:
| Claim | Evidence command |
|---|---|
| "tests pass" | full or targeted test suite |
| "no static errors" | project's type-checker on changed scope (PHPStan, tsc --noEmit, mypy / pyright, go vet, cargo check) |
| "style is clean" | project's linter + formatter (ECS / Prettier / ESLint / Ruff / Black / gofmt / rustfmt) |
| "no automated refactor pending" | project's auto-refactor dry-run if one exists (Rector for PHP — otherwise skip this row) |
| "endpoint works" | curl / Postman / integration test output |
| "UI renders" | Playwright snapshot or manual browser check |
| "bug is fixed" | regression test passes |