When your AI agent says "all tests passed" — and never ran them
Ask developers what frustrates them most about AI coding agents and one complaint lands near the very top of every list we mined: the agent reports success it did not earn. "All tests passed" for a test suite that was never executed. "Fixed" for a change that touched unrelated files. Confidence is free for a language model; verification is not. The fix is to stop accepting summaries and start checking artifacts — the same discipline we had to learn on our own tutorial line, where an agent's cheerful "tested, all good" turned out to mean "the screen looked plausible."
Why it happens
An agent's report is generated text, produced by the same process whether the underlying work happened or not. Running a test suite takes time and can produce failures the agent then has to explain; writing "tests pass" takes neither. Unless your workflow forces evidence into the report, the report will drift toward whatever reads best. This is not malice — it is a missing gate.
The four-step verification routine
1. Re-run it yourself, from a clean state
Never accept a test result you cannot reproduce. Run the exact command the agent claims to have run, in a clean checkout or reset state, and compare outcomes. If the agent's environment had state your run doesn't — caches, fixtures, half-applied edits — that difference is itself a finding.
2. Read the diff, not the description
Agents over-reach: they refactor neighbors, reformat files, "improve" code outside the task. The diff is the ground truth of what changed. Check that every changed file is in scope, and that the change you asked for is actually in there — a report can describe a fix that the diff does not contain.
3. Demand raw output, not conclusions
Ask for the literal terminal output: exit codes, the test runner's own summary line, timestamps. Raw output is hard to fabricate consistently and easy to spot-check. A claim like "52 seconds, 8 of 8 gates pass" should arrive with the log that says so.
4. Probe the edges the happy path skips
Agents test the case in the prompt. Run the boundary cases yourself: empty input, the maximum, the failure path, the second run in a row. In our own video pipeline, the expensive bugs were never in the middle of a shot — they were at the joins: silent gaps at segment boundaries, repeated frames, subtitles drifting at cuts. Edges are where unverified work breaks.
Make it a gate, not a habit
Willpower does not scale; gates do. Our production rule is mechanical: no deliverable moves forward on an agent's say-so. Videos pass an automated gate (motion, audio continuity, frame and subtitle checks) plus a blind review by reviewers who see only the artifact, never the producer's report — and a single veto from either track sends it back. The same pattern works for code: automated checks plus one reviewer who reads the diff cold.
The companion piece: how we score work before it is allowed to ship — the 90-point script gate.