Prove it before you say it
"Done" is a claim. Each claim needs output from a check run on the code as it is now.
1. List the claims
Write down what you are about to say: "tests pass", "the bug is fixed", "the page works on a phone", "all five requirements are met". Re-read the original request and turn each thing asked for into a line; tests passing is not the same as the task done.
2. Run the check for each one
| Claim | Proof | Not proof |
|---|---|---|
| Tests pass | the full test command, 0 failures, exit 0 | an earlier run, one file, "should pass" |
| Build works | the build command, exit 0 | lint or type check passing |
| Bug fixed | the original steps or failing test, now passing | the code changed |
| Regression test works | it fails with the fix undone, passes with it back | it passes once |
| UI works | opened in a browser and used: empty input, double submit, refresh, back, a phone width | screenshots of the happy path |
| A worker or subagent finished | git diff and the checks rerun by you | its report |
| Requirements met | each line from step 1 checked off against the result | tests passing |
Rules for every run:
- Fresh: run it now, after your last edit. Note the commit (
git rev-parse --short HEAD) and whether the tree had uncommitted changes. A result from before a change, a merge or an update is stale. - Whole: read the full output and the exit code. Count failures and skips; a skipped test is not a pass.
- Real path: run the same command CI or the user runs, not a narrower one that happens to pass.
3. Report what the output shows
- Passed: say it with the command and the count ("
pnpm test: 214 passed, 0 failed, at a1b2c3d"). - For each pass, name one bug that could still ship with it green. If you can't name one, say which part a person should look at and leave the work open.
- Failed: say it failed, with the lines that matter. Don't round "3 failures" down to "mostly passing".
- Not run (no access, too slow, needs the user's account): say "not run" and why. An unrun check is not a pass.
- No "should", "probably" or "looks good" about something you could have run.
Keep the summary to two or three lines: what you checked, what it showed, what is still open. Put the check details above it.
Optional: make Claude Code check before it stops
A Stop hook in .claude/settings.json sends Claude back once when the tests fail. Put your test command in place of npm test:
json{ "hooks": { "Stop": [ { "hooks": [ { "type": "command", "command": "grep -q 'stop_hook_active.: *true' && exit 0; npm test >/dev/null 2>&1 && exit 0; echo 'npm test failed. Open the test output and fix the failure or report what remains.' >&2; exit 2" } ] } ] } }
Tested by Copybook on Claude Code 2.1.331, 24 Nov 2026.
Based on obra/superpowers (MIT), rewritten by Copybook.


