AI Writes More Code. Review Is the New Bottleneck

Give every engineer a coding agent and the commit graph goes up. The release notes do not grow at the same speed: the code is written faster, then waits for a person to read it. Two recent sources describe that gap from opposite ends: an economics paper that measures it across hundreds of firms, and the Claude Code team at Anthropic, who rebuilt their review process to get through it. Below: what each says, a failure mode parallel agents add, and a checklist.
What the Paper Measured
Fiona Chen and James Stratton's paper, Artificial Intelligence in the Firm: Bottlenecks in Software Production (listed on Chen's page as a November 2026 job market paper), uses data from the engineering analytics platform Jellyfish. Jellyfish presented an earlier version as joint research with Harvard. The current abstract describes "445M work events" (GitHub coding activity, Jira issues and calendar events) for "720,542 workers at 655 firms," and estimates effects "by exploiting variation in timing of firm adoption" of AI coding assistants and agents.
The headline result fits in two sentences of the abstract. "AI substantially increases code output but has smaller effects on final software output and no detectable effect on employment." And: "Code review becomes the bottleneck. Code waits longer to reach a reviewer, spends longer in active review, and receives more requested changes."
That second sentence names three separate costs, and each one needs a different fix:
| Symptom in the paper | What it means in your repo | Lever |
|---|---|---|
| Code waits longer to reach a reviewer | Queue time: too few reviewers for the PR volume | Fewer PRs that need a human at all |
| Longer in active review | Each PR is harder to read | Smaller diffs, pre-review by machines |
| More requested changes | First drafts miss the bar more often | Better checks before the PR is opened |
If you only add reviewers, you fix the first row and leave the other two in place.
How the Claude Code Team Moved Review
Anthropic's post How the Claude Code team does code review (Addy Osmani, Morgan Westlee Lunt and Qing Wang, October 15, 2026) starts from the extreme case: "Claude writes about 90 percent" of Claude Code's own code. Humans cannot read every line, so the team stacked checks in front of the human and decided which PRs need a human at all.
Before a PR exists, the agent runs tests, build and lint, and "a second agent reviews the diff in a fresh context." Then come AI review on every PR, a security review that can block, required checks, human approval scaled by risk, a merge queue, flags and fast rollback. The human layer uses three tiers:
| Tier | Example changes (from the post) | Human approvals |
|---|---|---|
| Low | "Docs, copy, internal-only features, additive changes behind a flag" | "None required once automated review and security checks are green" |
| Medium | "Ordinary product changes, and changes to sensitive areas such as caching, the auto-updater, or system prompts" | "One person" |
| High | "The highest-risk code, plus a small set of paths that always need two people" | "Two people" |
The rules around the table matter as much as the table. "The change sets the tier, not the author." "Some paths always need a person, anything owners have listed as sensitive and any CI workflow file." "An agent's approval never counts as a person's, either." "On an agent-written PR, the person directing the agent counts as one of the required reviewers." And "An approval covers one specific commit," so new commits the system can't vouch for, such as an agent's push or a merge resolved by hand, need a new approval.
Agent review loops get a cap too: "After three rounds, the reviewer asks the author to step back and reconsider the approach." Their note on why: "Noise costs more when the author is an agent."
The result they report: "From June to September, merged pull requests to Claude Code's codebase more than doubled while the share that had to be reverted fell by more than 40 percent."
Incidents Become Review Tests
The strongest idea in the post is short: "Any incidents are now an eval." The team collected past PRs that caused incidents, with their fix-forwards and reverts, had engineers who know that code confirm each bug and where it lived, and run the automated reviewer against the whole set daily. A change to the reviewer's prompts, tools or model is kept only if the score goes up.
Misses feed back into the inputs, not into a person's memory: "When a review misses something, we ask what the model didn't have in front of it and put the fix into a CLAUDE.md, a skill or a new check."
This is a postmortem loop pointed at the reviewer. How do you know the reviewer catches the bugs that hurt you? You replay them.
The post names its gap: "We don't yet have circuit breakers that tighten approval when those numbers move." Build that before you widen the zero-human tier.
The Parallel Agent Problem: Contracts
Per-PR review has a blind spot that grows with parallel agents: two correct PRs can break when combined.
Anthropic's C compiler experiment ran many Claude instances on one codebase and reports: "Merge conflicts are frequent, but Claude is smart enough to figure that out." Textual conflicts are the easy case. The hard case came when the work was one giant task, compiling the Linux kernel: "Every agent would hit the same bug, fix that bug, and then overwrite each other's changes." Cursor's post on scaling long-running autonomous coding puts the trade-off in one line: "Too little structure and agents conflict, duplicate work, and drift."
The standard defense is a merge queue. Per GitHub's docs, it ensures a PR's changes "pass all required status checks when applied to the latest version of the target branch and any pull requests already in the queue." The Claude Code post says the same: "two PRs that pass separately can't combine into a broken main."
That guarantee holds only as far as the checks reach. A merge queue re-runs your tests. It does not invent the test that would have caught the clash.
Worked Example
Two agents work in separate worktrees on an alerting service.
- Agent A changes the webhook producer:
severitygoes from a string ("critical") to an integer level (4). It updates the producer and its unit tests. Green. - Agent B adds a Slack formatter that colors messages by
severity == "critical". Its tests use a JSON fixture copied from main last week. Green.
The merge queue builds main + A + B. Every test still passes, because B's fixture is a frozen copy of the old payload. In production, no alert is ever "critical", and real outages render in the default color.
The fix is a contract check that both sides depend on:
# CI job that runs in the merge queue
contract-check:
steps:
- run: make generate-fixtures # build sample payloads from the producer's current schema
- run: make test-consumers # run every consumer's tests against those fixtures
Now A's change regenerates the fixtures, B's formatter fails in the queue, and the conflict lands on a PR instead of on call. The schema file itself goes on the "always needs a person" path list, because a change there touches every consumer at once.
Checklist for Teams Whose Agents Open PRs
- Measure the three costs separately: wait time to first review, active review time, and rounds of requested changes.
- Tier by path, not by author. Write the tier rules down and enforce them in CI, not in a wiki.
- Put CI workflows, auth, billing and shared schemas on the always-human list.
- Never count an agent's approval as a person's, and tie approvals to a commit.
- Cap agent review rounds. After the cap, a person decides whether the approach is wrong.
- Turn every incident and revert into a reviewer eval case and score reviewer changes against the set.
- Run a merge queue with contract checks, not just unit tests, when agents work in parallel.
- Add a circuit breaker that raises the tier of a path when its revert rate moves, before you widen the zero-human tier.
The same "separate context, separate judge" idea appears in our posts on clean-context critics and on agents that grade their own acceptance criteria.
The Same Tiers in Operations
Risk tiers are not only for code. In Akmatori, per the integrations docs, the agent investigates an incident with your skills, runbooks, memory and connector tools, and "Risky actions become proposals that wait for your approval." The connectors docs describe the low tier: SSH hosts are read-only by default, and an allowed command pattern such as systemctl restart nginx lets the agent run exactly that command on every host of the connector without approval. That list is your zero-human tier: keep it short and review each entry like a Low-tier path.
Conclusion
More agent-written code is not more shipped software until review keeps up. The paper shows where the time goes: waiting, reading and rework. The Claude Code team shows one way through: machine checks first, humans by risk tier, incidents replayed against the reviewer. Parallel agents add one more need: checks on the contract between changes.
If your team wants AI-assisted incident workflows with risk-based approvals, Akmatori helps SRE teams investigate alerts, coordinate response, and automate safe infrastructure actions. Powered by Gcore for global infrastructure reliability.
