codebase-verify
Codebase Verify
Verification is the author's own proof, before anyone else looks: the change does what was agreed, seen from where its user stands. The goal is the standard; the way is a recommendation.
Acceptance
Goal: before a change is called done, someone has used it the way its user will, and seen it do what was agreed.
Why: a change is done when the user's goal is met, not when tests are green. Tests written for their own sake check the code against itself; acceptance checks it against the agreement, from where the user stands. That's the only check that catches "works as coded, not as asked".
A way that works, for each acceptance criterion (where criteria come from and how they're written is in the codebase-docs skill):
- Do what the user would do. Run the real thing and walk the criterion's path, with realistic data, including the paths they'd hit when things go wrong.
- Look where they'd look. Judge by what the user sees, not internal state.
- Keep the evidence, before and after. It goes in the PR's
## Evidence, or the commit body when the branch merges without one. - Script the walkthroughs worth repeating. When a criterion guards something that could quietly break again, turn its walkthrough into a script that drives the same public surface and runs under
test, so CI walks it on every change. A one-off check can stay manual, with its evidence.
Scale it to the change. A typo fix needs a glance at the result; a new flow needs every criterion walked with evidence. Let the size and risk of the change decide how much walking and evidence it gets.