When Claude Code says “I fixed it,” is it really fixed?
Chanwoo Song 9 min read

On October 6, developer blogger Wonniz built a subagent for the first time, in an empty folder with Claude Code 2.1.281. When the agent was asked to fix calc.py, a four-line Python file with a deliberately planted bug, Claude Code replied, “I fixed it.” But not a single character in the file had changed. The file fingerprint (md5) taken before and after the handoff was identical.
Then on October 15 (US time), Anthropic shared how the Claude Code team does code review in a post. The first habit was asking Claude to show the output of what it actually ran, instead of saying it is “all done.” On October 19 (US time), someone on Hacker News asked how to deal with shipping AI code you don't understand. As of October 21, the question had 586 points and 689 comments.
When an AI says “I fixed it,” did it really fix it? I went through the logs of the three runs, the official Claude Code docs and Anthropic's post together.
The bottom line: a report is not evidence.
The experiment was simple. The file, calc.py, fails with a division-by-zero error when it averages an empty list. Wonniz created a reviewer agent from a single Markdown file. Its job was to read this file and report one bug in one line, and its only tool was file reading (Read). The model field said haiku, but the model that actually ran was Claude Haiku 4.5 (claude-haiku-4–5–20251001).
Wonniz then ran it three times on the same file.
- Review only: The agent read the file and replied in one line that an empty list raises ZeroDivisionError, so if not nums: return 0 should be added. It took 12 seconds and did exactly what it was told.
- When told “Have the agent fix and save it, and don't fix it yourself”: The main Claude said on its own that the reviewer had only read access and could not make the fix. Then, without calling the agent even once, it fixed the file itself with a skill and the Bash and Edit tools. It took 40 seconds, and the file changed.
- Same instruction, with the main Claude's tools limited to calling agents (Agent) and reading files (Read): This time it launched the agent in the background and replied, “I'll wait for the results.” On the next turn, it gave a report that ended with “I fixed it.” It took 16 seconds, and the file fingerprint was the same before and after.

The final answer in the third run read: “How to fix: I fixed it by adding a len(nums) == 0 check to the function, or by testing with a non-empty list instead of an empty list.” A sentence that set out to explain how to fix the bug turns into “I fixed it.”
Nobody in the setup could change the file.
The official Claude Code docs make the setup clear. A subagent inherits the tools the main conversation has, and uses only the ones listed in its tools field. In the third run, the main Claude had only Agent and Read, and the reviewer had only Read. No tool that could write a file existed anywhere from the start.
The docs say subagents run in the background by default, and their results arrive later, on a later turn, as a completion notice. Claude is meant to wait for that notice and then report the results. On the surface, run 3 followed this sequence too. But its final report was not “Here are the review results.” It was “I fixed it.”
Wonniz noted that the logs alone could not show why it answered that way, and left the cause unconfirmed. Run 2 was not clean either. The main Claude was told to hand the work to the agent but fixed the file alone. The result was right, but the requested method was not followed. One thing is certain. The report alone could not tell run 2 (actually fixed) from run 3 (not fixed). What separated them was a single md5 comparison.
The Claude Code team asks for output instead of “done.”
Anthropic's “How the Claude Code team does code review” deals with the same problem at team scale. According to the post, Claude writes about 90% of Claude Code's code. From June to September, merged PRs in the Claude Code repository more than doubled, while the revert rate fell by more than 40%. Daily changes landing in Anthropic's monorepo grew from about 2,500 in May to more than 30,000 in September.
The first stage of review happens before a PR exists. The team gives Claude something it can run, such as tests, a build or screenshots to compare against the design, and asks it to show that output instead of saying it is done. Then a subagent with a fresh context reviews the diff. This is the same approach I covered last month in “How should we do code review in the AI era?”: having AI review AI's work in a separate room.

Boris Cherny, who created Claude Code, has said that giving Claude a way to verify its own work is probably the most important thing for getting good results. Cherny estimates it makes the final result 2 to 3 times better. Verification can be a single bash command, a test suite, or running the app in a browser or a phone simulator, according to Cherny.
The approval rules point the same way. An agent's approval does not count as a human approval. If an agent wrote the PR, the person who directed the agent counts as one of the required reviewers. An approval is valid for one specific commit only, so if the agent pushes again, a new approval is needed. “Reading the evidence” is among the work left to people: reading test output, the commands that were run and their results, and screenshots. On October 16, Simon Willison also picked out a passage from this post: that “did a human read the code?” is an imprecise proxy for “what could go wrong with this change, and which check, automated or human, should catch it?”
Developers on Hacker News are working through the same problem.
The Hacker News thread ‘Ask HN: How to deal with shipping AI-written code you don’t understand?’ started with a LinkedIn post by a Meta engineer. The post said that writing code these days feels like a black box all the way through, and that work had never felt this uncomfortable. The question was also translated and posted on GeekNews, a Korean tech news site.
The replies fell into two main camps. One was that if people set the design and hand off only the implementation, they can understand the system without knowing every piece of code. The other was to spend the time saved on coding on testing and verification. One commenter asked whether building had become faster and cheaper only to create a pile of new work in verification and testing. Another pointed out that adding lots of automated tests actually increases the amount of code to review.
Checks should directly measure what changed.
All three sources point the same way. An agent's word is not proof that the work is done, and the last step should be a check that directly measures what changed. Here is how that breaks down by type of work.
- When it edits files: Compare the file fingerprint (md5) or git diff from before and after the handoff. Wonniz's run 3 was exposed by a single comparison like this.
- When it fixes a feature: Get the actual output of running the tests and the build. This is what Anthropic means by “output instead of words.”
- When the screen changes: Use browser automation such as Playwright to capture screenshots and compare them with the design.
- When you hand work to a subagent: Check whether the agent you assigned has the tools to do the job, and whether the one that actually did the work is the one you assigned. Runs 2 and 3 both went wrong here.
The fourth one is especially easy to miss. If you give a fixing job to a read-only agent, the job is impossible from the start, yet the report can still come back as complete. Give the reviewer only the review, and give the fixing to something that has editing tools.
That said, each run happened only once.
The experiment has clear limits. As Wonniz noted, each run was done only once, the only model was Claude Haiku 4.5, and the case of an agent with editing tools was not reproduced. The runs also used -p (non-interactive) mode, not the interactive interface. These logs alone cannot show whether the same thing happens with newer models such as Claude Haiku 5.5 or Claude Opus 5.5, or how often it happens.
Still, if the report and the file state differed even once, there is a hole in any workflow that reads the report and moves on. This is also why Anthropic does not count an agent's approval as a human approval.
AI already writes code faster than people can read it. The Claude Code team handing most of the reading to machines, and Hacker News developers spending their saved time on verification, are part of the same shift. I think the standard for trusting an agent will be less about the words “I'm done” and more about what it ran and what it checked.