Wageesha Tripathi describes a Claude Code plugin in the DEV post Your AI said "fixed" but never ran the tests? I made a plugin that won't let it say "done" until they pass. The plugin, proof-of-done, checks whether the agent ran a verification command after its most recent code edit. The timing matters because a passing result from before the change says nothing about the version the agent is about to hand back.
What the coupon example caught
In the session Tripathi describes, the agent changed price.js to address an incorrect total for the SAVE10 coupon. It tried to finish before running a check. The plugin stopped the session and asked it to run the project's test command. That run exposed a separate problem with FLAT50, which could produce a negative total. After a second fix, all four tests passed. The example shows how verification can surface behavior outside the narrow scenario named in a request.
What a passing check has to show
Tripathi says the plugin uses hooks to record edits and the exit status of test, build and lint commands. When the agent attempts to stop, the plugin looks for a check that followed the last edit. A failing check leaves the task open. The plugin also looks for cases where a successful status can be misleading. For example, a pipeline ending in a command that prints the last lines of output can hide the failure status of the test runner. A runner can also exit successfully after executing zero tests.
The article describes checks for focused or skipped tests and weakened assertions. It also says the plugin flags a check that goes from failing to passing without an edit in between as potentially flaky. Each of these signals helps explain what the verification result actually covers.
Where review still matters
Passing four tests establishes what happened for those four cases. Reviewing the patch still involves asking which pricing rules the cases exercise and which rules need separate coverage. When an agent repairs a narrow bug, what evidence is enough to close the task, and when should the reviewer ask for a new regression case?