Skip to content

Verification

Foundations

A model will tell you a task is done with complete confidence whether or not it actually worked. Confidence is free; it costs the model nothing to be wrong. Verification is how you turn “it says it’s done” into “I can see it’s done”. It’s the habit that separates people who trust AI output blindly from people who ship it.

The most useful move in this whole site: hand the tool a check it can run and read by itself. Then it can tell whether its own work succeeded, inside the loop, before it comes back to you. See How AI coding tools work for why that loop matters.

Kind of workA check the tool can read
CodeRun the test suite, the build, the type-checker, the linter
A bug fixA test that fails before the fix and passes after
A scriptRun it and read the output
Research / writingAsk for sources, then open them and check they say what’s claimed
A data changeQuery the result back and compare to what you expected

When the check is machine-readable, the model self-corrects. A failing test gets read, understood, and fixed in the same loop. You don’t have to be the one to notice.

Don’t accept “done.” Ask for the evidence, every time:

  1. State the task and the check up front: “Add input validation, and make npm test pass.”
  2. Let it work.
  3. When it claims success, have it show the proof: re-run the test, paste the output, show the diff.
  4. If there’s no check it can run, you are the check. Read the change before you accept it.

The pattern generalizes past code. For a research answer, “this is well documented” is an assertion; a link you can open is evidence. For a refactor, “behaviour is unchanged” is an assertion; a passing test suite is evidence. Train yourself to hear the difference and to ask for the second one.

The faster the tool, the more output you have to trust, and the more a missing check costs you. Verification is what lets you move fast and sleep at night: you’re not betting on the model being right, you’re confirming it. Pair it with a steady loop (explore, plan, do, verify, commit) and you have A reliable workflow.

Verification is where the tool guides get concrete, with tests, builds, and reviews wired into the loop: