Home / Insights / QA and Software Testing

QA and Software Testing

Code Review Is the Critical Path in 2027: Planning Review Capacity When AI Agents Write the Code

A Harvard study updated on 14 November 2026 found that coding agents raised pull requests by about 36% while the wait for review approval grew by 56%. Finished work barely moved. Here is how to plan review capacity, change size, risk tiers and reporting so that agent speed reaches your release.

TopicsQA and Software TestingAI Agents and Automation

Key takeaways

  • Across 655 firms, coding agents raised pull requests opened by 35.7% and the time from submission to approval by 56.1%. The gain in finished issues was small and not clearly significant.
  • Review is done by a small group: 82.8% of reviews in the study came from people who had already worked in that codebase. You cannot add reviewers the way you add agent licences.
  • Put reviewer hours on the plan as a named, limited resource, and cap the number of changes waiting for review. Starting more work when the queue is full only lengthens the queue.
  • Sort changes into risk tiers before work starts. Routine changes get a light review with strong automated evidence; changes to money, permissions and personal data get a senior reviewer and more time.
  • Report five flow numbers weekly: review wait, queue age, change size, first-pass approval and follow-up fixes. They show a jam weeks before the release date does.

On 14 November 2026, two Harvard economists, Fiona Chen and James Stratton, posted a new version of their working paper Artificial Intelligence in the Firm: Bottlenecks in Software Production. It follows 720,542 workers at 655 firms from January 2021 to August 2026, using activity data from the engineering analytics platform Jellyfish. Its conclusion fits in one line from the abstract: “AI substantially increases code output but has small effects on final software output.” The reason it gives is the part that matters to anyone running a project: code review becomes the bottleneck.

I manage delivery plans and quality gates, so I read that finding as a scheduling statement. In project management the critical path is the chain of tasks that sets the finish date. For years that chain ran through development. On a team that uses coding agents well, it now runs through the people who check the work. If the plan for 2027 still treats review as a small overhead on top of coding, the plan is wrong in the place that decides the date.

This article is for product owners, engineering managers and clients of software vendors who need agent-assisted work to arrive as releases, not as a pile of open pull requests. It covers what the evidence says, why review behaves differently from coding, and a set of planning rules, tiers, checks and metrics you can apply next sprint. My earlier article on estimating a software project in 2027 dealt with the budget; this one deals with the flow of work once the budget is approved.

What the new evidence shows

Code output rises, finished work much less

The Harvard paper separates two generations of tools. AI assistants suggest code inside the editor. AI agents carry out longer, multi-step tasks with less supervision. Twelve months after adoption, relative to the baseline, the paper reports the following.

Measure (12 months after adoption)AI assistantsAI agents
Lines of code added+30.4%+44.0%
Commits+16.8%+36.0%
Pull requests opened+20.9%+35.7%
Jira issues resolved-1.5%+13.7%, not clearly significant

The last row is the one a client pays for. For agents, the authors describe the 13.7% rise in resolved issues as borderline, and elsewhere in the paper as marginally insignificant. For assistants there is no rise at all.

A second study points the same way with different data. In Writing Code vs. Shipping Code, an NBER working paper issued in May 2026 and revised in September 2026, Mert Demirer, Leon Musolff and Liyuan Yang follow more than 500,000 GitHub developers. For autonomous coding agents they estimate a cumulative 240% rise in commits, an 80% rise in projects and a 30% rise in releases. They attribute the shrinking effect to human bottlenecks further along the production chain, and estimate that AI effort and human effort are strong complements, not substitutes.

The delay sits in review

The Harvard paper then measures where the extra code waits. After agent adoption, the average time from a pull request being submitted to being approved rises by 1.99 days on a baseline of 3.56 days, an increase of 56.1%. Both parts of that time grow by similar amounts: time waiting in the backlog rises 59.9% and time in active review rises 58.5%. Comments per pull request rise 38.6%, which the authors read as consistent with reviewers finding more to correct. Assistants do not produce a significant change in these review measures; agents do.

The slowdown is larger where the code is harder. In the most complex third of repositories, time to merge rises 69.7% after agent adoption, against 25.4% in the least complex third. In the authors’ model, the review bottleneck accounts for 62.4% of the gap between the gain in coding and the gain in final output.

How much weight to put on this

These are working papers, not peer-reviewed results. The Harvard sample consists of firms that buy an engineering analytics product and agreed to research use; the average firm in it had about 250 active engineers, so it is not a sample of small product teams. The agent estimates are noisy, and the authors say plainly that their method depends on assumptions that unobserved factors could violate. I use the numbers as direction and as a prompt to measure your own project, which is what the metrics section below is for.

The direction agrees with what Google’s DORA programme has reported. Its 2025 State of AI-assisted Software Development report, based on nearly 5,000 technology professionals, found 90% using AI at work, 30% reporting little or no trust in the code it generates, and AI adoption associated with higher delivery throughput and also with higher instability. DORA’s 2026 report on the return on AI, as InfoQ summarised in May 2026, names a “verification tax” for reviewing generated code among the reasons productivity dips before it improves.

Action: stop reporting lines of code, commits or pull requests opened as evidence of progress. They measure the part of the process that agents have made cheap. Report what was approved, released and accepted.

Why review jams when coding speeds up

Review does not scale the way code generation does, for three reasons that are visible in the data and familiar to anyone who has run a delivery team.

Review needs context, and few people have it

In the Harvard data, 82.8% of reviews were done by someone who had already committed code or opened pull requests in that codebase. If reviewers were assigned at random the figure would be 17.2%. Senior engineers did 75.7% of the reviews of other seniors’ work. Review is concentrated in the people who know the system, and on most projects that is two or three names. An agent licence can be bought in a day. A person who understands why the billing module behaves as it does takes months to grow.

The same people are asked to do more per change

More comments per change and longer active review mean each review costs more of the reviewer’s attention. One engineer interviewed for the study described a single senior approver who could review only once a week; others said new rules requiring senior sign-off for AI-generated code had added to the queue. A well-meant control, applied without capacity behind it, becomes the delay.

Changes are large

The average pull request in the study’s baseline was about 1,200 lines, and neither assistants nor agents changed that significantly. A reviewer cannot hold 1,200 lines in mind with the care that a payment rule or a permission check deserves. DORA has long listed working in small batches among the practices that predict good delivery, and its AI Capabilities Model, published in September 2025, names small batches and strong version control among the seven capabilities that strengthen the benefits of AI.

The arithmetic of a review queue

The numbers below are an invented example to show how a queue forms. They are not data from a client or a benchmark.

Take a team of five developers and two senior engineers who do the reviews alongside their other work. Before agents, the developers open 20 pull requests a week, and the two reviewers can properly review 24. There is slack, and nothing waits long. The team adopts agents and pull requests rise by 36%, in line with the study, to about 27 a week.

WeekOpenedReviewed (capacity 24)Waiting at end of week
127243
227246
4272412
8272424

After eight weeks, a full week of review work is waiting, and every new change joins the back of that line. Nobody did anything wrong in any single week. Now add the second effect from the study: if each review also takes longer because there is more to correct, capacity falls. At 20 reviews a week instead of 24, the queue grows by seven a week and reaches the same point in under four weeks.

Three things follow from this arithmetic. A small weekly gap between arrivals and capacity is enough to stall a project within a quarter. The delay is invisible in output metrics, because pull requests opened keeps rising. And the usual reaction, approving faster with less attention, moves the cost to testing and production, where it is more expensive.

Action: work out these three numbers for your own team this week: changes opened per week, changes your reviewers can properly review per week, and changes currently waiting. If the first exceeds the second, you already have a growing queue.

Five rules for planning review capacity

  1. Put reviewer hours on the plan by name. Review is a task with an owner and a weekly allocation, not background activity. If your two seniors are also scheduled full-time on architecture and client calls, the plan has zero review capacity whatever the process document says.
  2. Limit the work waiting for review. Set a ceiling on open changes per team, for example no more than two per reviewer. When the ceiling is reached, developers stop starting new agent tasks and help clear the queue: testing a colleague’s change, tightening acceptance criteria, splitting an oversized change. This is a pull system, and it is the single most effective control I know for this problem.
  3. Cap the size of a change. Agree a soft limit, such as 400 changed lines excluding generated files and tests, above which a change must be split or justified. The figure is a team convention, not a research result; what matters is that one exists and that the agent’s task is scoped to fit it before the work starts.
  4. Set a review time target by tier. For example: first response within one working day for routine changes, and a booked review session for high-risk ones. Targets expose a jam early. Time-zone overlap matters here: with a distributed team, schedule review in the shared hours so a change does not lose a day at each hand-off.
  5. Grow reviewers on purpose. Because review depends on knowing the codebase, the long-term fix is more people with that knowledge. Pair a mid-level engineer with a senior on reviews in one module, rotate ownership, and keep architecture notes current. The study’s authors conclude that gains require moving labour toward the new bottleneck; this is how a team does that.

These rules belong in the working agreement at kick-off. Our engineering practices and how we work pages describe the delivery routines we put around them.

Risk tiers: who reviews what

Treating every change alike wastes the scarcest people on the safest work. Classify each story when it is written, before an agent or a developer touches it, so the tier is a planning input and not an argument at review time.

TierTypical changesReviewerEvidence required before review
1. RoutineCopy and layout changes, standard CRUD screens, test additions, internal toolingAny engineer on the team; AI review as first passPipeline green, automated tests for the acceptance criteria, screenshot or preview link
2. StandardNew business features, API changes, integrations with third-party servicesAn engineer who has worked in that moduleAll of tier 1, plus a short description of approach and of what was not changed, and exploratory testing notes
3. High riskPayments and pricing, authentication and permissions, personal data, data migrations, anything hard to roll backA named senior engineer, plus a second person for migrations and security-sensitive codeAll of tier 2, plus a rollback plan, a security check, and a walkthrough session instead of comments alone

Two cautions. Do not let “AI-generated” be the tier. A rule that every agent-written line needs senior approval recreates the bottleneck the study’s interviewees described, and soon most lines are agent-written. Tier by what the change can damage. And review the tiers after a month: if tier 3 holds more than a small share of changes, either the definitions are too wide or the system needs structural work to isolate its sensitive parts.

A definition of done for agent-written changes

A reviewer’s time should go to judgement, not to discovering that the build fails. This checklist is what I ask for before a change is allowed to join the review queue. The author, human or agent-assisted, is responsible for all of it.

  • Linked to a story with acceptance criteria written before coding. Our guide to spec-driven development with AI coding agents covers how to write them.
  • Within the size limit, or split, or carrying a one-line reason why it cannot be.
  • Pipeline green: build, automated tests, linting, dependency and secret scanning.
  • Tests assert the business rule. An agent that writes code and tests together can produce tests that confirm its own mistake. The author states which acceptance criterion each new test covers.
  • A human author has read every line and can explain it. “The agent wrote it” is not an answer to a reviewer’s question.
  • A running version to look at. A preview environment per pull request lets the reviewer and the tester check behaviour, not only code.
  • A short change note: what changed, what deliberately did not, how it was checked, and how to roll it back.
  • Tier stated, with the extra evidence that tier requires.

Changes that fail the checklist go back to the author without using review capacity. This sounds strict. In practice it is the kindest thing you can do for the reviewers, and it is where a QA and testing function earns its place on an agent-assisted project: owning the gate, the test evidence and the exploratory checks that code review does not cover.

Where AI review tools fit

The obvious response to a review jam is to have a model do the reviewing. Firms are trying it: by July 2026, 79.1% of firms in the Harvard sample had used an AI tool in code review. The same data shows how far that has gone. AI wrote 23.3% of all review comments and left at least one comment on 10.8% of pull requests, and review times still rose. The authors conclude that people remain heavily involved, and suggest firms keep them there because faulty code is costly.

I treat AI review as a useful first pass with a defined job:

  • Good uses: catching style and convention breaches, obvious defects, missing tests, risky dependency changes and oversized changes before a person looks; summarising a change for the reviewer.
  • Poor uses: approving a change, judging whether the behaviour matches what the business asked for, or assessing a design decision against the history of the system.
  • A rule worth writing down: an AI reviewer can block a change or send it back. Only a named person can approve one. For tier 1 changes that person’s review can be brief; it still exists.

There is also a simple independence point. If the same model family writes the code, writes the tests and reviews both, the three checks share the same blind spots. Independent evidence, such as tests derived from acceptance criteria by someone who did not write the code, is worth more than a third automated opinion. David Chu’s article on a review and quality framework for AI-generated code goes deeper on what the human reviewer should look for.

Five numbers for the weekly report

Most status reports show features completed and hours spent. Add these five. Each can be read from the repository and the issue tracker without extra tooling.

NumberWhat it tells youWarning sign
Review wait: median time from “ready for review” to approvalWhether review capacity matches the flow of changesRising for three weeks in a row, or above your tier target
Queue size and age: open changes awaiting review, and the oldest oneWhether work is piling upMore open changes than the agreed ceiling; any change older than a week
Change size: median changed lines per pull requestWhether agent tasks are being scoped small enough to reviewMedian above the agreed limit, or a few very large changes each sprint
First-pass approval: share of changes approved without a request for changesThe quality of what reaches reviewFalling. It means reviewers are doing the author’s checking
Follow-up fixes: changes that needed a corrective change within two weeks of mergeWhat review and testing missedRising while review wait is falling. Speed is being bought with quality

Read them together. Review wait falling while follow-up fixes rise means approvals have become a formality. Change size rising explains most review delays before anyone complains about them. If you are a client, ask for these on the monthly report next to the burn chart; a vendor with a healthy process can produce them in an afternoon.

Questions to ask your delivery partner

If a vendor or an internal team tells you agents have made them much faster, these questions find out whether that speed reaches production. More printable lists of this kind are in our planning checklists.

  1. Who reviews changes on my project, by name, and how many hours a week is each allocated to review?
  2. What is your limit on work waiting for review, and what does the team do when it is reached?
  3. What is the maximum size of a change, and how are agent tasks scoped to stay under it?
  4. How do you classify changes by risk, and which of my features fall in the highest tier?
  5. What must be true before a change is allowed into review?
  6. Which AI review tools do you use, and can any of them approve a change without a person?
  7. Who checks tests that an agent has written?
  8. What was your median review wait and first-pass approval rate last month, on a project like mine?
  9. If your senior reviewer is on leave for two weeks, who reviews tier 3 changes?
  10. Which progress measures will I see: changes opened, or changes released and accepted?

Good answers are specific and slightly boring. A partner who answers question 8 with real numbers is measuring the right part of the process.

Frequently asked questions

Do AI coding agents make software teams deliver faster?

They make teams write code faster, and the evidence that they deliver finished work faster is much weaker. A November 2026 version of a Harvard working paper covering 655 firms found agents raised pull requests opened by 35.7% while resolved issues rose 13.7%, an effect the authors do not treat as clearly significant. An NBER working paper found a 240% rise in commits and a 30% rise in releases. The gap is mostly review and other human steps after coding.

Why is code review the bottleneck with AI agents?

Because it depends on a small number of people who know the codebase, and agents increase both the number of changes and the attention each one needs. In the Harvard data the time from submission to approval rose 56.1% after agent adoption, and comments per change rose 38.6%.

Can AI code review tools replace human reviewers?

Not on the current evidence. Most firms in the Harvard sample had tried AI review tools by mid-2026, yet AI produced under a quarter of review comments and review times still lengthened. Use AI review to filter and summarise, and keep approval with a named person, scaled to the risk of the change.

How many reviewers does a team need?

There is no standard ratio. Work it out from flow: count changes opened per week and how many your reviewers can properly review per week at the current change size. If arrivals exceed capacity, add review hours, reduce change size, or limit work in progress until they balance.

What is a sensible size limit for a pull request?

Many teams use a soft limit of a few hundred changed lines; we suggest starting around 400, excluding generated files, and adjusting from your own review-time data. The average in the Harvard study’s baseline was about 1,200 lines, which is too large for careful review of sensitive code.

Should every AI-generated change be approved by a senior engineer?

No. That rule concentrates all work on the scarcest people and was cited by engineers in the Harvard study as a cause of delay. Decide the reviewer by the risk of the change: what it can damage and how hard it is to undo.

Sources and methodology

Figures were checked against the sources below on the access dates shown. The two academic studies are working papers that have not been peer reviewed, and the Harvard paper’s wording on the significance of its issue-resolution result differs between sections; we report the more cautious reading. Where a figure comes from a press report of a document, the report is listed. The team example, the queue table, the tier table, the size limit and the review targets are our own illustrations and planning conventions, not research findings.

  1. Chen and Stratton: Artificial Intelligence in the Firm: Bottlenecks in Software Production (Harvard University working paper, version of 14 November 2026) — accessed 17 November 2026. The sample of 720,542 workers at 655 firms from January 2021 to August 2026; effects of assistants and agents on lines of code, commits, pull requests and Jira issues resolved; the 3.56-day baseline and 56.1% rise in time to approval, with 59.9% and 58.5% for backlog and active review; the 38.6% rise in comments; the 82.8% and 17.2% reviewer-familiarity figures and 75.7% senior share; 79.1% of firms using AI review tools, 23.3% of comments and 10.8% of pull requests; the baseline pull request size of about 1,200 lines; the 69.7% and 25.4% complexity results; the 62.4% share attributed to the bottleneck; interview evidence and stated caveats.
  2. Demirer, Musolff and Yang: Writing Code vs. Shipping Code: Productivity Effects Across Generations of AI Coding Tools (NBER Working Paper 35275, May 2026, revised September 2026) — accessed 17 November 2026. More than 500,000 GitHub developers; cumulative effects of autonomous agents of 240% on commits, 80% on projects and 30% on releases; the interpretation of human bottlenecks and complementarity.
  3. Google Cloud / DORA: 2025 State of AI-assisted Software Development — accessed 17 November 2026. Nearly 5,000 respondents, 90% using AI at work, 30% reporting little or no trust in generated code, and the association of AI adoption with higher throughput and higher instability.
  4. Google Cloud blog: Introducing DORA’s inaugural AI Capabilities Model (23 September 2025) — accessed 17 November 2026. The seven capabilities, including working in small batches and strong version control practices.
  5. InfoQ: New DORA Report Claims Strong Engineering Foundations Drive AI Return on Investment (11 May 2026) — accessed 17 November 2026. Reported content of DORA’s ROI of AI-assisted Software Development report: the verification tax and the temporary productivity dip.

Is review holding up your releases?

Tell us how your team works today: who reviews, how large changes are and how long they wait. We will suggest where to set limits, tiers and quality gates so that agent-assisted work reaches production.