The hardest thing I taught an AI was to shut up
- Logged
- 2026-09-22 · 14:50
- Reading
- 5 min
Every code reviewer I ever managed had the same instinct, and so did the AI one I built: find something, because finding something looks like work.
Nobody ever wrote that rule down, and nobody had to, because a review with no comments looks like a review that didn't happen... so people comment, and a model trained on millions of their reviews comments too. This is the line I ended up putting at the top of my reviewer's instructions:
It is acceptable and expected to return zero findings. A clean review is a valid outcome, not a failure to find something.
If you're a senior engineer and your eyebrows just went up, I get it, mine would have too. I'm not telling it to go easy. Under that line are four questions it has to answer before it's allowed to report anything, and a Must Fix has to come with proof. The line exists because without it, the reviewer almost never said "this is fine," and a reviewer that can't say "this is fine" isn't reviewing.
Every pull request on RateMyHiFi passes through a review agent before it goes anywhere, and two more follow if the change touches the database or anything security-shaped. I'm a tech leader who spent years relying on senior engineers to go deep in the code so I could spend my time building a place where they could do that, and when the code gets complicated I'm out of my depth and I know it. The agents are the closest thing I have to those engineers on my solo dev project. I added them in April, four days after I shipped a caching change that broke sign-up in production (nobody could create an account, and the PR never said a word about it).
They found things immediately. A missing comment on a function named exactly what it does. An N+1 query on a loop over the four rating categories, which will be four until the end of time. Ugh. I read some of the findings, argued with some, and let some through because arguing takes longer than giving a nod.
What took me a while to see is that nothing was wrong with the reviewer. The machine had no career to protect and no manager to impress and it still behaved as if it did, which means the noise was ours all along, played back at a speed no human could match.
I found that funny for about a day and then it stopped being funny, because the human version I've lived with is the opposite failure and it comes from the same place. The reviewers I've seen most in twenty-five years were the nice ones: LGTM on a pull request with a real bug in it, and on teams I inherited instead of built, sometimes no review at all, just merges. Reviewing is judgment, and judgment is expensive, so everyone substitutes something cheaper. People substitute kindness, or silence. The machine substitutes volume. Either way the person who pays is the one reading.
So in May I rewrote the instructions. The four questions: can it cite the line, can it describe the concrete failure, has it read the surrounding code, and is the severity defensible. A Must Fix needs all four plus a reason the existing guards don't catch it. Nits are capped at five. Then a list of fourteen things it is not allowed to flag, every one of them something it had flagged and I had dismissed. The instructions also say that inflating severity erodes trust faster than missing a bug does, and I believe that, because I've watched a team learn to ignore a reviewer who called everything critical, and then miss the one that was.
It worked, in the sense that the noise dropped and the findings that survived were the kind I used to get from my best front-end people, one line long, about something I hadn't thought of. And it worked in a way I didn't expect. Months later, in a read-only audit, one agent was handed a brief listing nine untested flows, and it came back saying six of them were actually tested, named the tests, and flagged the defect as being in its own assignment. Engineers who correctly spot the failure in a plan before the plan runs are the ones I've promoted (correctly is the word there... some engineers spot failures in things that don't matter).
The part I haven't settled is this. Zen and the Art of Motorcycle Maintenance, which I have read more times than I'd admit to a hiring manager, argues that you recognize quality before you can define it. My four questions are a definition. They make the reviewer quieter, and they only catch the cases I could already name, which means the gate encodes my judgment and not one ounce more. The reviewer can't tell me a pull request is good. It can only tell me it found nothing wrong, and I still have to decide whether those are the same thing. I don't think they are, and I don't think they ever were for humans either.
And every unearned finding has a cost that doesn't show up on the machine's side of the ledger. Someone wrote this year that they don't want to read what you didn't write, meaning AI-generated text moves the work from the writer to the reader, who has to reconstruct a context the writer never had. A noisy reviewer does the same thing to a pull request. Each finding it didn't earn is a paragraph I have to read to learn there was nothing there. The cost of generating text went to zero, and the cost of reading it didn't move.
I'd like to say this ends with a reviewer I trust. It ends with LGTM, four letters I've read on ten thousand human pull requests, and they meant something different every time: the code was good, or the reviewer was out of time, or the author had written the pull request so clearly that a good review took five minutes. My reviewers say it now, and I've relaxed, because the patterns are written down, the agents that write the code follow them, and every pull request runs hundreds of unit tests and a dozen end-to-end tests before it can merge. Production hasn't broken badly since April. On a pull request that matters, though, when the reviewer says nothing, I still open the diff. I taught it to shut up. I didn't teach myself to stop reading.