I spent two days at the San Francisco Ruby Conference a few weeks ago as a volunteer. Ruby has been crucial to my career as a developer, and giving my time to the conference was a way to give something back to the community. Between shifts I talked to a lot of people and caught what talks I could, and the conversations kept ending up in the same place. Nearly every team I talked to has adopted AI for writing code. Nearly every one of them is now producing more code than it can read. The bottleneck has moved to the one thing nobody has more of, which is the attention of the person who has to understand a pull request well enough to approve it.
Everyone I talked to feels this, which is why the closing keynote of day one, about how Fin auto-approves pull requests, resonated with me.
If AI writes it, AI has to help read it#
Here is what I took away from those two days. If AI is helping write the code, AI has to help review it too.
A team can’t multiply how much code it produces and keep reading all of it the old way. Something gives. Either review becomes the queue everything waits in, and the speed you gained from writing faster is lost again. Or people start approving changes they haven’t really read, which is worse. Nobody is going back to writing less code.
So the review side needs help from the same technology that created the problem. I don’t think that’s optional anymore. The open question is how to do it without making things worse.
One team that’s doing it#
Ryan Sherlock, a senior director of engineering at Fin, the company that used to be called Intercom, gave that keynote, about how they ship in a world where agents write most of the code. The part that stayed with me was their review agent. It is called Shrek, and it approves pull requests. By their account, it now approves more than half of them.
I found Ryan afterward, and he pointed me to a longer talk that is only about Shrek: Kesha Mykhailov’s talk at Signals Berlin. Everything I say about Shrek below comes from that talk. It’s one way to do AI-assisted review, not the only way, but the talk is specific about what it took, and that makes it a good example.
What it took#
It would be easy to assume Shrek is a clever prompt. Most of us picture a review bot that way: a system prompt that says “you are a senior engineer,” a diff, and a comment posted back to GitHub.
Fin tried roughly that. According to the talk, the off-the-shelf review bots they tried opened with praise, wandered into vague concerns, and produced a wall of text nobody read. Their own first agent made even more noise, and they rolled it back.
What worked was treating the agent as software that needs tests. They replay it against hundreds of old pull requests, score its comments, and compare one version against the next before anything changes. That is not a prompt. It’s a product, with a team assigned to it, and months of iteration before anyone trusted it to approve anything. And its customers are engineers.
The measuring is what makes it safe to change. To save money, the team once moved one of Shrek’s checks to a cheaper model that found just as many real problems in their tests. Within days, engineers were complaining that they couldn’t get Shrek to approve anything. The cheaper model raised noticeably more false alarms, and every false alarm was a person chasing a problem that wasn’t there. They saw it and rolled it back. A team with one prompt and no measurements would have ended up with a bot that people quietly stopped reading.
The part with no AI in it#
Having AI check AI’s work sounds circular, and my favorite detail in the talk is the answer to that. One rule in Shrek involves no model at all. A pull request over a certain size can’t be auto-approved. The limit started at 40 changed lines and was later raised to 150.
Their reasoning is that a huge diff holds problems no reviewer can find, human or machine, because those problems only show up when the code meets production. A giant pull request was unsafe to approve before AI. It’s still unsafe now.
It also changes behavior. Keep your change small and it can be approved right away. Make it large and you wait for a human who doesn’t want to approve it either. Engineers at Fin apparently now write tooling whose only job is to split work into smaller pull requests. Nobody ordered that, but it’s what the team hoped for. The system made small the fast path, and people took it.
What I’d take home#
Fin can afford to put a dedicated team on this. A small company can’t. One engineer could own it, but it couldn’t be their main job, and there may be no budget for a third-party tool either. Is a prompt good enough to start with? I’m not 100% sure. What I can do is describe how I’d adapt the idea for a team like mine.
Where I work, the team is small and a human has to approve every pull request. I’m sure other companies have a similar rule. That rule isn’t going away, and I’m not arguing that it should. So “the agent approves it” is not on the table for us.
In a way, through careful rubrics, Shrek is deciding how much human attention a change needs, and for more than half of Fin’s changes the answer is none. The same judgment is useful when the answer can never be none. A small, well-described change that passes every check could reach a reviewer marked as a five-minute read. A sprawling one touching sensitive paths could arrive marked as needing an hour and a second pair of eyes. The human still approves. They just stop spending the same attention on everything.
With AI writing this much code, AI-assisted review and that kind of triage are what keep delivery fast and engineers sane.
That’s the version I want to try, and I’d want it measured the way Fin measures theirs, because a triage label that’s wrong is worse than no label at all.
I left the conference thinking the scarce resource was never approval. It was attention, and attention can be budgeted. So here’s the question I brought home: if a machine told you which pull requests deserved your full attention today, would you trust it enough to skim the rest?
Reply by Email