Here’s the most uncomfortable software finding of 2026: reviewers feel better approving AI-generated pull requests than human ones — even though agent code carries roughly 1.7× the defects and quietly re-implements things that already exist. Worse, it degrades with exposure: the more agent PRs a reviewer sees, the higher their approval rate climbs and the further their scrutiny falls. Your human gate isn’t holding the line. It’s habituating to the flood. The only durable fix is to stop relying on willpower and install a structural code review rubric for AI-generated code.
This is that rubric — a copy-paste, checklist-forward system for reviewing agent PRs at the altitude that actually matters, plus the size flags and pipeline that keep the flood from drowning your judgment.

🎭 The gate is failing quietly
Approval bias is insidious precisely because it doesn’t feel like a failure. A 2026 longitudinal study, Habituation at the Gate, documented the pattern directly: as reviewers see more agent submissions, approval rises while scrutiny declines. Familiarity breeds complacency, not calibrated confidence. A separate study found reviewers express more positive sentiment toward AI-generated contributions than human ones — so the surface-level plausibility of the code masks its redundancy, and technical debt accumulates silently.

This is the same dynamic security researchers catalog as human-agent trust exploitation: fluent, well-formatted, confidently-commented output triggers less suspicion exactly when it deserves more. The code compiles, passes tests, reads beautifully — and re-implements a PaymentGateway that already lives three modules over. The governance takeaway is blunt: review discipline must be structural, not motivational. A tired human at 4pm reviewing their thirtieth glossy agent PR will feel progressively less suspicious, guaranteed. A checklist doesn’t get tired.
🔭 Review at the right altitude
Traditional review bundled three jobs that agents have now split apart. Getting the rubric right means being ruthless about which job is still yours.
- Mechanical correctness (typos, style, null checks, obvious bugs) → owned by linters, type-checkers, and the automated first-pass reviewer. On GitHub, more than 1 in 5 reviews now involve an agent. A human doing this by hand is pure waste.
- Local correctness (does this function do what the PR claims?) → shared; the machine flags candidates, the human confirms on the critical path.
- Global design fit (is this the right abstraction? does it belong here? does it duplicate or erode an existing pattern?) → human-only, and now the main event.
No diff-level tool reliably sees the third one, because architectural wrongness is a property of the change relative to the whole codebase, not of the diff itself. GitHub’s own guidance compresses this into a slogan worth adopting: “Let the agents scan first. You trace the critical path.” Line-by-line review of agent code is the wrong instrument — it burns your scarce judgment on mechanics a machine already owns, and misses the design drift only a whole-system view catches.
🏗️ The two-tier pipeline
The rubric only works if the human never sees a PR until the machines have done their pass. Two tiers:

- Machine gate (blocking, deterministic). Type-check, lint, tests, security scan, and — critically — architecture fitness functions must all be green before a human looks. Add an automated LLM reviewer tuned with a team-specific
REVIEW.md(“auth on every admin endpoint,” “no new HTTP client — use the gateway,” “validation at the boundary”). The rule of thumb: the more specific your instructions, the more useful the automated pass. - Human gate (judgment). The human reviews only what survives the machine gate, and only at design altitude, using the rubric below.
This is what makes review scale: you shrink the surface a human must think about to the decisions only a human can make.
✅ The architecture-intent review rubric
Copy this into your REVIEW.md. For each agent PR that reaches the human gate, walk these eight checks. They encode architectural intent — mechanics are the machine’s job.
- Belonging — Does this code live in the right module/layer? Does it cross a boundary it shouldn’t?
- Reuse — Does it re-implement something that already exists? (The #1 agent failure mode — search the codebase before you accept.)
- Abstraction fit — Is the abstraction at the right level, or a leaky/over-eager generalization the agent invented to look thorough?
- Pattern consistency — Does it follow the established pattern for this kind of thing (error handling, validation, DI, logging), or introduce a novel one-off?
- Change-friendliness — Will this be easy to modify in six months, or does it hard-code assumptions that will rot?
- Blast radius / critical path — Trace input → output on the highest-consequence path; check boundary conditions (zero/max/empty), validation on external input, and permission checks on every branch.
- Test intent — Do the tests assert the behavior the spec cares about, or did the agent write tests that just game the coverage gate? (This is where hollow tests hide.)
- AI provenance — What was the AI’s role? What context/prompts produced it? What did the human contribute? Make these three questions mandatory in every AI PR description.
Notice what’s not here: brace style, variable names, import order. If your rubric contains mechanics, you’ve let the machine’s job leak into the human’s, and the design drift will slip past while you’re busy.
🚩 PR-size flags: fix the inflow, not the reviewer
Approval bias is downstream of volume. High-AI teams merge ~98% more PRs while review time balloons ~91% — you cannot out-review the flood by reviewing faster (that is how rubber-stamping creeps in). You regulate the inflow. Bounce any PR that trips a hard flag before deep review:

- Touches more than ~5 unrelated files — a 40-file agent diff is effectively unreviewable at design altitude; humans skim and approve. Split it.
- Purpose can’t be stated in one sentence — if the author (human or agent) can’t, neither can the reviewer.
- A large change with no implementation plan attached — review the plan first (cheap, high-leverage), then the code (expensive).
- Only test files changed while CI is failing — a classic gaming smell.
Any flag → bounce it back for a split or a plan. And regulate the queue itself: WIP limits per developer and per agent, and platform throttles (GitHub now lets admins cap concurrent PRs from users without write access, with a bypass list for trusted contributors) — a direct response to “AI slop at scale.”
🔩 Never leave the same comment twice
One last discipline, because a rubric applied by hand forever is still a treadmill. Every time you write a recurring review comment — “extract this,” “we already have that gateway,” “validate at the boundary” — treat it as a bug report against the agent’s instructions, and encode it so you never write it again: a lint or fitness function (strongest), a REVIEW.md rule wired into the automated pass, or a short CLAUDE.md guideline for taste-level lessons. That’s the judgment ratchet — the mechanism that turns review from a gate you stand at forever into a loop that gets smarter with every decision.
The rubric tells you what to catch. The ratchet makes sure you only have to catch each thing once.
❓ Frequently Asked Questions
What is approval bias in code review? The tendency to approve pull requests with less scrutiny over time — especially AI-generated ones. 2026 research found reviewers feel better about approving agent code (which carries more defects and debt), and that scrutiny declines with repeated exposure. It’s a structural failure of the human gate, not a personal one — which is why the fix is a rubric, not willpower.
How should reviewing AI-generated code differ from reviewing human code? Push all mechanical checks (style, typos, null checks) onto machines and spend your judgment entirely on design fit — belonging, reuse, abstraction, pattern consistency, and the critical path. Also require AI provenance (what the agent did, what context it had) in every PR description.
What makes a good code review rubric for AI-generated code? It checks architectural intent, not mechanics: belonging, reuse, abstraction fit, pattern consistency, change-friendliness, blast radius, test intent, and AI provenance. Pair it with PR-size flags and a machine-first two-tier pipeline.
How do I stop giant, unreviewable AI pull requests? Enforce size flags: bounce any PR touching more than ~5 unrelated files, lacking a one-sentence purpose, or missing an implementation plan. Review the plan before the code, and cap work-in-progress per developer and per agent.
📚 Further Reading
- Steering a Fleet of Coding Agents Through PR Review — the judgment ratchet this rubric feeds
- Reading Code Is the New Superpower — the design-reading skill the rubric exercises
- Mutation Testing for AI-Generated Code — how to check “test intent” so agents can’t game the gate
- DORA Metrics for AI Coding Agents — measuring whether review is actually keeping up
📚 Recommended Resources
Disclosure: some links below are Amazon affiliate links. If you buy through them, I earn a small commission — at no extra cost to you — which helps keep this site running.
A good review rubric is applied design judgment. These build the taste behind every check on the list.
- A Philosophy of Software Design — John Ousterhout · Book. The clearest thinking on what makes an abstraction good or bad — the exact judgment behind the “abstraction fit” and “belonging” checks in the rubric.
- Building Evolutionary Architectures (2nd ed.) — Ford, Parsons, Kua & Magee · Book. Fitness functions that turn “the senior would have caught that” into “the build catches that” — the deterministic machine gate your rubric sits on top of.
- Team Topologies — Matthew Skelton & Manuel Pais · Book. How to structure teams and ownership so review and architectural intent scale — essential once a fleet of agents is opening PRs across your boundaries.
- Accelerate: The Science of Lean Software and DevOps — Forsgren, Humble & Kim · Book. The research behind review-as-bottleneck and change-failure rate — why regulating inflow beats reviewing faster.
- The Pragmatic Programmer (20th Anniversary Edition) — Hunt & Thomas · Book. Timeless habits — don’t trust output you didn’t verify, keep changes small — that the whole rubric operationalizes.