Skip to content

The Session That Can't Just Claim It's Done

2026-07-30claude-code, verification

You walk away from a long task. You come back. It says "complete." The build is red.

A Stop hook, a script Claude Code runs for you, blocks the turn from ending until your check passes. Not a request to verify. A condition on finishing.

This sits at the strict end of a spectrum: asking for a check, then a goal condition an evaluator re-checks each turn, then a hook that makes "done" a state the machine enforces rather than a claim the model makes.

It's only as honest as the check you write for it. A bad check blocks or passes with the same confidence as a good one. Get the check right, and this is close to a prerequisite for trusting anything unattended.