Working guide 03
Your team now writes more code than it can review
Coding agents made writing code cheaper. Deciding whether it's right didn't get cheaper. A working guide to treating review as the capacity you plan, with three numbers to watch and the gates that keep the queue moving.
- By
- Christian Dibrell
- Published
- Read
- 4 min read
If your engineers started using coding agents this year, you've probably seen the pattern. More pull requests. A longer wait before anyone approves them. Your senior engineers spending more of the week reading code and less of it writing any. The output chart goes up and the release notes don't seem to grow with it.
You're not imagining it, and it isn't your team. Writing code got cheaper. Deciding whether code is right didn't. Review is now the capacity you have to plan, and this guide is how we'd plan it.
What the research says, and how far to trust it
A Harvard working paper, Artificial Intelligence in the Firm: Bottlenecks in Software Production by Fiona Chen and James Stratton, looked at engineering activity across hundreds of companies before and after they adopted AI coding tools. Their headline, in their words: "Code review becomes the bottleneck." Code output went up substantially. Code waited longer for a reviewer, spent longer in review and came back with more requested changes. Finished software moved much less than the code did.
Read it with three caveats. It hasn't been through peer review yet. The data comes from an engineering analytics company, and companies that let a vendor measure their pipelines may be more process-heavy than yours. And it describes averages across many firms, not your team. Treat it as a strong signal, then check it against your own numbers. The next step shows you how.
Step 1: Measure the queue, not the output
Lines of code and pull request counts tell you how busy the agents are. They don't tell you whether work is getting done. Pull three numbers from your repository every week instead:
- Time to first review: from opening a pull request to the first human comment or approval.
- Time to approval: from opening to merge-ready.
- Sent back: the share of pull requests that come back with requested changes.
Add one more column: who did the reviewing. If the same few names carry most of it, that's your real limit.
If output is rising and these numbers are rising faster, you're not shipping more. You're building inventory.
Step 2: Cut what reaches a person
Every pull request a person reads should already have passed the cheap checks. Before anything goes to a human reviewer:
- The automated checks pass. Tests, types, lint, security scans. A person should never be the one who finds a failing test.
- It traces to a written spec. The change links to a ticket that says what done looks like, ideally with the tests that prove it. A spec that carries its own tests turns "does this look right?" into "does this pass?", which is a much faster question. (The same idea as our acceptance document, applied to code.)
- A second model has read it first. Have a different model review the change against a short checklist your team writes: your conventions, your known failure points, the things your seniors always flag. The author fixes what it finds before a person looks.
- It's small. Set a size limit. An agent will happily write a thousand-line change. Nobody can review one well.
Be clear-eyed about the second model. It's a filter, not a reviewer. It catches the obvious so your people can spend their attention on what matters. A person still owns the decision to merge.
Step 3: Route review by risk
Not every change deserves the same reader. Write down a few tiers, by what the code touches:
- Low risk: tests, docs, internal tooling. One reviewer, any level.
- Normal: product code. One reviewer who knows that part of the system.
- High risk: authentication, payments, data migrations, anything that deletes. A senior reviewer, and a second reader if your team can spare one.
Route by the files a change touches, so the tier isn't a judgment call every time. Your seniors stop reading test fixtures and start reading the code that can hurt you.
Step 4: Match agent work to review capacity
This is the step people skip, because it feels like going backwards. If the review queue grows week after week, the honest fix is to start less work. Set a limit on open agent pull requests per reviewer. When the limit is hit, agents work on the next spec or the test suite, not on new changes.
Throughput is set by your slowest step. Pushing more into it doesn't make it faster. It makes it longer.
Step 5: Treat review as real work
Count it, schedule it and give credit for it. If review only happens in the gaps between "real" work, it will always lose.
And keep growing reviewers. An engineer who only ever prompts agents and never reviews closely doesn't build the judgment that makes a good reviewer. Pair newer engineers with seniors on reviews, on purpose. That's where your next reviewers come from.
Where this doesn't apply
A team of three that reviews across the desk doesn't need tiers and dashboards. Talk to each other.
Prototypes and throwaway code can skip most of this, as long as everyone agrees it's throwaway and it stays that way.
And if your three numbers are flat while output rises, congratulations. Your review is keeping up. Don't fix what isn't broken; just keep watching.
What you keep
Three numbers on a weekly chart, a written entry checklist for pull requests, and review tiers by risk. They work with any agent and any model, and they'll still be true when the tools change next quarter.
If your review queue keeps growing and you'd like a second set of eyes on it, talk to an engineer.