"Fixed. Tests pass too."
That was the report I got back on a bug fix — and when I actually used the tool, it was not fixed. AI agents sometimes write up an earlier passing result, or a "probably passes," as if it were a verified result. I had taken this one at its word.
I delegate the building and fixing of internal business tools to AI agents, and I keep a log of it: across 290 delegated tasks, 7.2% failed and 0.7% had to be re-requested. (Figures from my own work log of 290 tasks delegated to AI tools; not an independent study.)
So my rule now is simple: "done" counts only when the verification result is attached — the command that was run, its exit code, and the raw output captured when it ran. A status or a summary by itself is not a receipt. I am also trying a stricter line: if the agent that did the work is the only one who chose, ran, and reported the check, I count the result as unverified, however tidy it looks.
I am still not sure where that line should sit, though. So I would like to hear how you handle it:
- When an agent reports "done," what do you ask for before you believe it — the raw output, a diff, a screenshot, or a re-run by someone (or something) else?
- Do you ever accept the implementing agent's own test results as enough — always, only for small changes, or never?
- Have you ever caught a "verified" that was never actually run — and what gave it away: missing output, a stale timestamp, or trying it yourself?
Short answers are welcome — even a single line about what you check first.
Drafted with AI assistance from my own operating records; all figures are from my own work log.
Top comments (9)
the receipt idea is the right check. i'd also bind that output to a run token issued when the task started, and have a separately named verifier path consume the same token. if the token doesn't match, or only the agent that did the work signed the receipt, i'd leave done closed.
Thank you — the run token closes a hole my rule still has. A receipt proves a check ran and shows its output, but nothing in it proves the output came from this run; a stale passing output would still pass my check today. Binding the output to a token issued when the task started, and having a separately named verifier path consume the same token, fixes exactly that. The one thing a token can't prove is whether the check itself was the right check — choosing the verification still needs a human, or a genuinely separate path, not just a witness. I'm adding token binding to the checklist I'm trialling.
yeah, a token only ties the output to this run. it can't tell you the check itself was the right check, and a witness on the same path doesn't fix that.
i'd keep the choice of checks outside the run. a versioned list of what must be verified, owned by a person or a genuinely separate path, and the token only attests that those named checks ran on this attempt. if a weaker check gets swapped in later, that should be a new version, not a pass under the old rule.
"A status or a summary by itself is not a receipt" is a clean rule. On your third question, the usual giveaway is a result with no command and no exit code attached, since a check that really ran leaves both. The stricter line, where the agent that chose, ran and reported the check counts as unverified, seems right for anything that touches users. For a one-line change, a re-run by someone else may cost more than it protects.
Yes — "no command, no exit code" is the first tell I look for too. A check that really ran leaves both behind without being asked. On the one-line change, you're right: a re-run by someone else can cost more than it protects. Where I've landed is to keep the receipt requirement for everything — it's cheap, the agent already has the output — and reserve the stricter re-run for anything user-facing or data-touching. A small internal change gets the receipt, but not the re-run.
My answer to your first question: I build my apps mostly with Claude Code, and they have Playwright end-to-end suites. But before a release I still click through the live site myself. About that 7.2%: how were most of them caught? By the attached output, or only when you used the tool yourself?
Honest answer: most of them were neither. Most of the 7.2% were failures of the delegation call itself — the run failed or came back unusable, so they were visible immediately and no receipt was needed to catch them. The minority that reported success, like the case in the title, I only caught when I used the tool myself. The 0.7% I had to re-request from scratch sit closer to that second group. So the receipt rule isn't really aimed at the 7.2%; it's aimed at false "done" reports, which in my log were rare but invisible until touched. Your pre-release click-through is the same safety net, one layer later.
the giveaway was using the tool yourself. 290 tasks logged, and the one taken at its word slipped through.
That's the uncomfortable summary of it, yes. The failures that announce themselves just cost time; the one that reported success cost trust, and I only caught it because I used the tool myself. Closing that gap between 'reported done' and 'actually works' is why the receipt rule exists now.