Where review tax comes from
Delivery speed used to equal code-writing speed. That is why companies hired “one more middle engineer.” Now writing code is the cheapest part of the pipeline. The expensive parts have moved.
- Task framing and specification.
- Review and trust in the diff.
- CI/CD that cannot keep up with generation.
- Test loop and environments.
- Guardrails and governance so AI does not damage the architecture.
When a team connects Copilot, Claude, or Codex and does not see lead time improve, the problem is not “prompts” and not the models. The problem is that the delivery system was not rebuilt for the new speed of generation. The most expensive CTO mistake this year is hiring “one more middle engineer” instead of rebuilding the process.
”This sounds like us” signals
These senior-engineer phrases are direct symptoms of growing review tax. If your strongest engineers say at least two of them regularly, the line item already exists.
- “A 2,000-line PR arrived, and it is not even my feature… how am I supposed to understand this in a reasonable time?”
- “I review more slowly than the agent generates.”
- “Architects are burning out because a director rewrote half a service with AI and dropped it on them.”
- “Review used to be the main onboarding mechanism. Now nobody reads reviews and they route them back to the agent.”
- DORA metrics look “normal,” but the CTO feels that the promised acceleration has “evaporated somewhere.”
How to make the tax visible
Before introducing size limits, ownership, and automated first-pass review, you need to see the scale. Without that, the governance conversation collapses into taste arguments.
The economics I see in practice:
| State | PRs per day per team | Average diff size | Senior review-time share |
|---|---|---|---|
| Before AI | 1-2 | 200-400 lines | about 10% |
| AI without protocol | 5-10 | 1000-2000 lines | more than 50% |
| AI with protocol | 10-15 | 200-400 lines | 15-25% |
The gap between an average team and one engineer with proper AI orchestration is not “the engineer is more talented.” It is “the process around AI is different.”
PR size limits: lever number one
The benchmark I see in live teams:
- No limit, sometimes 2000+ lines: the “new normal” in many AI-enabled teams. Review degenerates into ritual.
- Soft guideline of 500-1000 lines, sometimes violated: an “agreement from standup.” Helps a little, breaks under deadline pressure.
- Hard limit up to 300 lines, automatic CI check: works. Review becomes an engineering act again.
- Trunk-based with micro-commits: works in teams where this was already culture. Moving from PR flow to trunk-based just for AI is risky.
My working hypothesis: 400 lines is the point after which review stops being an engineering act and becomes a ritual. The boundary varies by stack and domain, but the order of magnitude is this.
Role map
One reason review tax grows unnoticed: it is smeared across roles. What works in live teams:
- CTO / VP Eng: owns the metric. Does not review personally, but sees the tax in hours and sets constraints at the SDLC level.
- EM / tech lead: owns PR rules. Keeps real adherence to size limits and ownership of AI-generated code.
- AI-practice owner / staff+: owns first-pass tooling. AI review bot before the human,
agents.mdas policy-as-code. - DevEx / Platform: owns CI and checks. A hard size limit as a check, not as an agreement.
If all 4 roles are one person, that is fine for a 30-engineer team. At 100+ engineers, without explicit role separation the tax is accepted “a little bit by everyone” and keeps growing.
What breaks at scale
- 30 engineers: review tax can still be “survived” through senior-engineer sacrifice. Painful, but functional.
- 50-100 engineers: without size limits and ownership, senior engineers stop doing architecture work.
- 100+ engineers: review tax becomes systemic. Without automated first-pass review, hard size limits, and explicit ownership, the code becomes “ownerless.” The first incident is debugged for days, not hours.
What can you do right now?
- Make review tax visible: 2 weeks of hour tracking, 3 categories.
- Introduce a hard PR size limit at CI level, with a 300-500 line threshold for your stack.
- Write
agents.mdfor 1-2 key repositories with explicit bans on "refactoring along the way." - Assign explicit ownership of AI-generated code inside the team.
- Launch automated first-pass review as the first layer before a human.
Metrics that show whether anything changed
- Review hours per week per senior engineer. Before intervention and 6 weeks after. Goal: return to 15-25% of working time.
- Average PR size. Should fall below the size limit and stabilize. If swings are large, the limit is followed “by mood,” not systemically.
- DORA lead time. Should fall. If it does not move 6 weeks after size limits, the bottleneck is not review but task framing or CI/CD.
- Change fail rate. Must not rise. If it rises, size limits were introduced without
agents.md, and people are mechanically splitting features into pieces.
FAQ
What if senior engineers resist CI size limits?
That is an important signal. Ask specifically which scenarios the limit blocks. Most often these are large migrations and "refactoring along the way." That needs an explicit escape hatch, not rejection of the limit.
We work trunk-based, so we do not have large PRs by definition. Do we have review tax?
Yes, but in a different place. With trunk-based work the tax lives in pair review, incident-response complexity, and retro time. The symptoms are the same: senior engineers are overloaded, architecture degrades.
Is an AI review bot before a human not risky?
It is risky to use an AI review bot instead of a human. It is safe to use it as a first layer that filters obvious mistakes. The human receives a pre-filtered PR and can focus on architecture and logic.
How many PRs per day is realistic for a 5-engineer team with AI and protocol?
10-20 PRs per day is a working reference point if size limits, automated first-pass review, and agents.md are in place. If the number is above 30-40, it is probably PR fragmentation for the sake of the limit without quality improvement.
How soon after introducing size limits should we expect a visible effect?
2 weeks for team adaptation, 4-6 weeks before the metrics shift. If after 6 weeks senior review hours have not fallen, the problem is not PR size but task framing or an architectural debt pit.