I stopped reviewing my AI's code for logic. The bugs were somewhere else.

On the 12th of May, a change landed in one of our code projects. And it was signed by an author that is not a person! It was my AI agent, with its own name in the history. It fixed two small bugs. I read it, asked for one edit, and accepted it. By the next week it had 4 changes accepted.
Here is the twist. Code written by AI is usually right line by line, so the way I read code was aimed at the wrong place. Where do the bugs that matter hide now? Between two files. One file sends a single name. The other expects a list of names. Each side looks perfect on its own.
Review for agreements, not logic
The old habit? Read each change for mistakes in the logic. With code an AI wrote, that search finds very little.
The real bugs are broken agreements between two places:
- A piece of data that is one name here and a list of names there.
- A signal that one side waits for and the other side never sends.
- An error that one side treats as a crash and the other treats as "nothing found".
Each place passes review alone. The bug only exists in the space between them. And the more code arrives, the more of the bugs look like this. So review has to go looking for them. On purpose.
Review for agreements, not logic.
Ask who approved it, not who wrote it
A colleague's name on a change tells you who to ask. And you trust the change as much as you trust them.
But that is not accountability. It is a shortcut to it. And it works so well that we stopped looking at it.
When the author is something that cannot answer a question 6 months later, the shortcut is gone. Gone. What is left is the real question: did someone competent read this, and do they understand it well enough to own it?
I now ask "who approved it?" about changes from people too. It is a better question!
One change per review is now a rule
A review request with three unrelated changes from a colleague is annoying. The same request from an AI agent? It cannot be reviewed at all. You cannot lean on the author's judgement about what belongs together.
So the rule became strict: one change, or it goes back. Not for tidiness. Review only works when the thing you review makes one claim.
What the new author taught me
The question people ask is always some version of "do you trust it?" But here, trust was never how code got into the live product.
My agent cannot accept its own changes. It cannot release them. It sends its work for review and waits, like anyone else.
I do not accept my own work without a review either, and I have 15 years of history to point at. It gets the same treatment for the same reason. Not because of what it is. Because that is the way in.
That is what I am proud of. An author arrived who writes more than any of us and has no reputation to protect. And the process held! It did not need trust. It needed a reviewer who knows where to look.
And knowing where to look is the skill that grows in value now. Anyone can write more code with AI. Not everyone can tell you where two good pieces of code quietly disagree.
Things I did not expect
I thought the first commit from an AI would feel like a big moment. It felt like a normal Tuesday. A small fix, one request for an edit, accepted. Done. The most exciting thing about it was how boring it was.
I asked for one edit on that first change, the same way I would for a new colleague. It made the edit and sent the work back for review. No ego, no long thread, no hurt feelings.
And the biggest surprise? Every rule I added for the machine was a rule I should have had for people all along. One change per review. Ask who approved it. Look between the files. The new author did not lower the bar. It showed me where the bar really was.
My AI agent has 4 accepted changes and no reputation. And the process did not need one.
I post one of these every week. Follow along on LinkedIn or YouTube, or by RSS. Want this on your team? Work with me.
The 527 rules I give my AI agents, free
Every one comes from a real mistake. The best 100 are open on /rules, or download them as AGENTS.md, no email. All 527 come by email, as one file you can drop straight into your repo as AGENTS.md or CLAUDE.md, so your agents follow them from the next session. Plus the occasional email when I learn a new one.
One click to unsubscribe.