What limits delivery when agents write the diff?
Picture a team of eight on a Monday morning. Over the weekend their coding agents opened thirty pull requests (PRs). Every one has passing tests and a tidy description. None of them can ship, because each needs a person to read it, and the eight people have about an hour a day each for reading other people’s changes. They had that hour before the agents arrived. Nothing about the agents made it longer.
The arithmetic says more than “review is the bottleneck”. It says how much review time a flow of PRs needs, why waiting explodes before reviewers look fully busy, and which of three levers (fewer arrivals, more hours, shorter reviews) is cheapest. I set out the evidence, then the model, then three artefacts to act on it.
What the studies measured
The studies from 2025 and 2026 disagree on sizes and measure different things, but they point the same way.
Speed at the task is the least certain number. The only clean randomized measurement, METR’s 2025 trial, found experienced developers 19% slower with AI, and it is stale. Its 2026 successor broke on selection: 30% to 50% of developers held back tasks they did not want to do without AI. METR concludes that developers are probably faster than in early 2025, by an amount it cannot state.
Agents are reliable on short units only. A time horizon is the length of task, in skilled-human time, that a model completes at a given success rate. METR’s Frontier Risk Report puts the public frontier’s 80% horizon near 1.5 hours and its 50% horizon near 12. A unit of about ninety human-minutes succeeds four times in five on benchmark tasks; a day and a half of work is a coin toss.
The gain shrinks as work moves towards release. This is the central finding. Demirer, Musolff and Yang joined more than 500,000 GitHub developers to usage telemetry and estimate an elasticity of substitution of 0.23 between AI and human effort: the human steps are complements, and more machine output queues up in front of them. Figure 1 draws their three numbers.
xychart-beta x-axis ["Commits", "Projects", "Releases"] y-axis "Rise with autonomous agents, per cent" 0 --> 260 bar [240, 80, 30]
The 2025 DORA report found AI adoption related positively to throughput and negatively to stability; DORA’s research archive lists no 2026 edition as of 30 November 2026. Vendor telemetry from Faros AI is the only data on review itself: in 2026, high-adoption teams showed PRs 51% larger, median review time five times longer and incidents per PR three times higher.
The studies, with design, result and what each cannot say
| Source | Design and sample | Result | What it cannot say |
|---|---|---|---|
| METR trial, July 2025 | Randomized. 16 experienced open-source developers, 246 real issues, AI allowed or forbidden per issue | 19% slower with AI, while believing they were 20% faster | Anything about agents of 2026. Tools were those of early 2025 |
| METR update, February 2026 | Same design. 57 developers, more than 800 tasks | 18% faster for returning developers (interval from 38% faster to 9% slower). 4% faster for new recruits (15% faster to 9% slower) | The size of the gain. METR calls the data “only very weak evidence” for it |
| METR Frontier Risk Report, May 2026 | Benchmark tasks with known human completion times | Public frontier models: 50% time horizon about 12 hours (5 to 61), 80% horizon about 1.5 hours (50 minutes to 2 hours 40) | How this transfers to an old production codebase. The suite cannot measure reliably above 16 hours |
| Demirer, Musolff and Yang, NBER working paper, May 2026, revised September 2026 | Matched event study. More than 500,000 GitHub developers joined to AI usage telemetry | Autonomous agents: commits up about 240%, projects about 80%, releases about 30% | Quality of what was released. Two authors are paid research consultants to Microsoft |
| DORA 2025 report, September 2025 | Survey of nearly 5,000 technology professionals | AI adoption relates positively to delivery throughput and negatively to delivery stability | Cause. Self-reported, and it predates most agent use |
| Faros AI 2025 (vendor) | Telemetry, 10,000 developers | High-adoption teams merged 98% more PRs. Review time rose 91%. No significant change at company level | Cause. Faros sells engineering analytics |
| Faros AI Q2 2026 (vendor) | Two years of telemetry, 22,000 developers on 4,000 teams, low against high adoption inside the same organizations | PR size up 51%, median review time five times longer, incidents per PR three times higher, deployments per week down 11.7% | Cause. The summary page gives no metric definitions |
| Agarwal, He and Vasilescu, January 2026 | Staggered difference-in-differences on open-source repositories, adoption dated by the first agent-written PR | Velocity gains large but front-loaded. Static-analysis warnings up about 18%, cognitive complexity up about 39% | Whether closed, reviewed codebases behave the same |
| Veracode (vendor), October 2026 | Security tests on code generated by 18 models | 62% of samples passed. Java 31%, cross-site scripting tasks 18% | Rates in a real repository with context and review |
Of the three human stations in a delivery line (specification, review, release approval), review takes the load first. Agent runs and continuous integration (CI) can be bought by the hour. Specification sits upstream, so a slow specifier starves the line; release approval handles batches. Review sits directly downstream of the cheap station and handles items one at a time.
The arithmetic of a review queue
The team and numbers are constructed for this article. Eight engineers open 24 PRs a week. A review takes 45 minutes on average. Each engineer gives 5 hours a week to reviewing: a review budget of 40 review-hours. The arrival rate λ is 24, the mean service time τ is 0.75 review-hours, and utilization ρ = λτ / budget = 45%. For the mean wait before review starts I use Kingman’s formula:
W ≈ ρ / (1 − ρ) × (ca² + cs²) / 2 × τ
ca² and cs² are squared coefficients of variation of the gaps between arrivals and of service times: 0 is perfectly regular, 1 as irregular as chance. With random arrivals the formula is exact (Pollaczek–Khinchine). The factor that surprises people is ρ / (1 − ρ): 1 at 50% utilization, 4 at 80%, 9 at 90%, 19 at 95%. Figure 2 plots it.
xychart-beta x-axis "Utilization of the review budget, per cent" [50, 60, 70, 80, 85, 90] y-axis "Mean wait, in review durations" 0 --> 24 line [1, 1.5, 2.33, 4, 5.67, 9] line [2.5, 3.75, 5.83, 10, 14.17, 22.5]
The upper line sets ca² = 4 for PRs that arrive in clumps. That value is my illustration; I know of no measurement of how irregularly agents open PRs, but an agent that finishes five tasks overnight delivers five PRs at 08:00.
Before the agents, the mean wait is about 37 minutes, and nobody thinks about review capacity. Then agents triple the flow to 72 PRs a week. Demand is 54 review-hours against 40, utilization 135%, and there is no steady state: 19 PRs a week join a backlog that never drains. Table 1 shows what each remedy buys. When the budget is B hours over a 40-hour week, a review occupies the pool for τ × 40 / B working hours, so more budget shortens the wait twice.
| Scenario | Budget, review-hours | Utilization | Mean wait, working hours |
|---|---|---|---|
| Before agents, 24 PRs | 40 | 45% | 0.6 |
| Agents, 72 PRs, same budget | 40 | 135% | none: backlog grows 19 PRs a week |
| 72 PRs, 7 hours per engineer | 56 | 96% | 14.5 |
| 72 PRs, 8 hours per engineer | 64 | 84% | 2.5 |
| 72 PRs, 8 hours, arriving in bursts (ca² = 4) | 64 | 84% | 6.3 |
| Tiered review, 5 hours per engineer | 40 | 86% | 4.0 |
| Tiered review, 6 hours per engineer | 48 | 72% | 1.4 |
Between 7 and 8 hours per engineer the wait falls from almost two working days to an afternoon. Near saturation small changes in capacity have large effects in both directions, which is why a team at 96% falls over when one reviewer goes on holiday.
Saturation then feeds itself. A PR that waits a week falls behind main and is likelier to conflict, and GitHub workflows do not run on a PR with a merge conflict. The agent rebases; if stale approvals are dismissed on new commits, the PR rejoins the queue. If one PR in five needs a second round, demand goes from 54 hours to 67.5. Under that pressure reviewers control one variable alone, how long they look. I cannot prove that this stands behind the Faros incident figures or DORA’s stability finding, but it is the mechanism a team should assume until its own change failure rate says otherwise.
Three levers, and why I would pull the third
Cap arrivals. A limit on PRs awaiting review costs nothing and gives back most of what the agents offered. It belongs in the design as a safety valve.
Add hours. Table 1 shows the price, and past some point the people who would write specifications are reviewing instead.
Shorten the review without reading less. A reviewer’s 45 minutes go on working out what the change is for, checking that it does that, checking that it does nothing else, and judging whether it is safe. The first two can be made cheap by moving them earlier and attaching proof. The last is needed in full on a minority of changes. Each PR arrives with acceptance criteria written as executable tests before the agent started, and with proof they pass; automated checks and a review agent go first; then people spend time by risk.
| Tier | PRs a week | Human review | Review-hours |
|---|---|---|---|
| Routine: small, outside sensitive paths | 36 | One reviewer, 10 minutes, intent against criteria and evidence | 6.0 |
| Normal | 29 | One reviewer, 30 minutes | 14.5 |
| High risk: authentication, money movement, schema migration | 7 | Two reviewers, 60 minutes each | 14.0 |
| Total | 72 | 79 reviews | 34.5 |
A person still reads every PR; what changes is what they read for. Tiering has a cost: mixing 10- and 60-minute jobs raises cs² to about 1.95, so at 40 hours the wait is 4.0 hours instead of 2.7. It saves 19.5 review-hours a week but is not comfortable until the budget reaches 6 hours each.
Smaller work helps on both sides. Google’s review guide calls 100 lines usually reasonable and 1,000 usually too large; SmartBear’s guidance is to review no more than 200 to 400 lines at a time. Units near the 80% horizon are also the ones an agent finishes reliably. I would split at the specification, where splitting is cheap.
Three artefacts
A description that carries its evidence. The 10-minute review is honest only if the reviewer does not reconstruct intent. GitHub fills a new PR from a template file; the one below is my proposal.
<!-- One line each. The review gate fails while any of these is empty. -->
Ticket:
Operator:
Agent run:
## Intent
<!-- What is true after this merges. Two sentences, written by the operator. -->
## Acceptance criteria
<!-- The tests under acceptance/ that define done. They are the first commit. -->
## Evidence
<!-- Written by CI: acceptance and unit results, static analysis, dependency
scan, review agent findings. Do not edit by hand. -->
## Not done, and why
<!-- What the agent tried and dropped. Anything left out of scope. -->
## Where to read line by line
<!-- The two or three places where a mistake would be expensive. -->
Operator is the person who prompted and started the agent. “Not done, and why” is where an agent’s silent retreat becomes visible: a criterion it could not meet, a test it changed. “Where to read line by line” directs scarce attention, and an operator who cannot fill it in has not read the diff either.
The review budget as a number, kept where the team plans its week.
HOURS = 40 # working hours in the week
def review_wait(prs, minutes, budget, ca2=1.0, cs2=1.0):
"""Utilization, and mean wait in working hours, for one pooled queue."""
tau = minutes / 60 # review-hours per PR
rho = prs * tau / budget # share of the budget in use
if rho >= 1:
return rho, None # no steady state: the backlog grows
clock = tau * HOURS / budget # working hours one review occupies the pool
return rho, rho / (1 - rho) * (ca2 + cs2) / 2 * clock
def max_intake(minutes, budget, target=0.80):
"""PRs a week the budget can take while staying under the target."""
return int(target * budget / (minutes / 60))
print(review_wait(24, 45, 40)) # (0.45, 0.61)
print(review_wait(72, 45, 40)) # (1.35, None)
print(review_wait(72, 45, 64)) # (0.84, 2.53)
print(max_intake(45, 40)) # 42
max_intake is the function to plan with: at 45 minutes and 40 review-hours, 42 PRs a week keeps utilization under 80%. That is the cap on agent work in progress. The 80% target is read off Figure 2, and a team with bursty arrivals should set it lower. The budget comes from asking each engineer how many hours they actually give, and I would expect the honest answer to be lower than the planned one.
A gate that keeps the cheap review honest. A CODEOWNERS file sets the risk tier by path, so neither the agent nor its operator chooses it. The team names are placeholders.
# General rule first: the last matching pattern takes precedence.
* @acme/engineers
# High-risk paths. The risk tier is decided here, by path.
/src/auth/ @acme/security-reviewers
/src/payments/ @acme/payments-reviewers
/db/migrations/ @acme/data-reviewers
# The rules that define the gate are themselves high risk.
/acceptance/ @acme/product-owners
/.github/ @acme/platform-owners
Without an owner on /.github/, a PR can relax the gate that judges it. Without one on /acceptance/, an agent that cannot pass a test can change the test. Code owner review is satisfied by any one owner, so the two-reviewer tier needs a ruleset that requires approvals from specific teams. A required status check then enforces size, criteria-first and a complete description.
The review-gate workflow, and the lines that matter in it
The workflow is illustrative. The 400-line limit is my choice, from the upper end of SmartBear’s range.
name: review-gate
on:
pull_request:
types: [opened, synchronize, reopened, edited]
merge_group:
jobs:
gate:
runs-on: ubuntu-latest
env:
BASE: ${{ github.event.pull_request.base.sha }}
HEAD: ${{ github.event.pull_request.head.sha }}
BODY: ${{ github.event.pull_request.body }}
steps:
- uses: actions/checkout@v4
with: { fetch-depth: 0 }
- name: Size limit
if: github.event_name == 'pull_request'
run: |
n=$(git diff --numstat "$BASE...$HEAD" -- . ':!*.lock' | awk '{s+=$1+$2} END {print s+0}')
[ "$n" -le 400 ] || { echo "::error::$n changed lines. Split at the specification."; exit 1; }
- name: Acceptance tests are the first commit
if: github.event_name == 'pull_request'
run: |
first=$(git log --reverse --format=%H "$BASE..$HEAD" | head -n 1)
git diff --name-only "$first^" "$first" | grep -q '^acceptance/' \
|| { echo "::error::The first commit must add the acceptance tests."; exit 1; }
- name: Description is complete
if: github.event_name == 'pull_request'
run: |
for field in "Ticket:" "Operator:" "Agent run:"; do
grep -q "^$field \S" <<< "$BODY" || { echo "::error::Empty field $field"; exit 1; }
done
# ... the test, static analysis and dependency jobs run in their own workflows
types adds edited to the default activity types, so filling in the description re-runs the gate. merge_group is there because a required check must also report inside GitHub’s merge queue, which builds each PR together with the changes ahead of it; with three times the PRs, two changes each correct against last night’s main are likelier to be wrong together. The first-commit check is weak, since commit order can be arranged, but it makes the tests a separate commit that the owner rule on /acceptance/ sends to someone other than the operator. BODY goes through an environment variable and is never interpolated into the script, because a PR description is text an agent wrote, possibly from content it read elsewhere.
Figure 3 puts the parts together as the path one PR takes.
flowchart TD
O["PR opened"] --> G{"Gate passes?"}
G -->|"no"| X["Back to operator"]
G -->|"yes"| H{"High-risk path?"}
H -->|"yes"| T3["Two owners<br/>60 minutes each"]
H -->|"no"| Q{"Small and routine?"}
Q -->|"yes"| T1["One reviewer<br/>10 minutes"]
Q -->|"no"| T2["One reviewer<br/>30 minutes"]
T1 --> MQ["Merge queue"]
T2 --> MQ
T3 --> MQA PR that fails the gate never enters the human queue: a fourth lever the formula does not show, since work is turned away by compute at no cost in review-hours.
Whose approval counts
The cheapest way to add review capacity is to let an agent approve, and the platforms now allow it. Since 1 September 2026 Copilot code review can submit approvals that count towards required approvals, off by default and in public preview. Claude Approvals, in public beta, lets a policy file say where Claude may approve.
For teams in regulatory scope, two texts bear on this. The EU Digital Operational Resilience Act technical standard on ICT risk management, Delegated Regulation (EU) 2024/1774, Article 17(1)(b), requires that the functions approving a change are independent of those that request and implement it. PCI DSS v4.0.1 requirement 6.2.3.1 says manually reviewed changes are “reviewed by individuals other than the originating code author”. I read both through published copies, so check the official texts.
Neither mentions agents. My read is that the person who prompted and ran the agent both requested and implemented the change, and is the author for control purposes. GitHub encodes the same view: on a PR Copilot created for you, your approval does not count. I would class an agent’s approval as an automated control, like static analysis: it should be able to block, it belongs in the gate before the human tiers, and it shortens τ without adding to the budget. No regulator guidance I have found settles whether it can count as independent.
What the evidence and the model cannot say
The evidence is weaker than its numbers look. The large studies measure activity, not value. The review-time figures come from one vendor without published definitions. The NBER paper shows releases rising less than commits, not that review is the cause; that is my inference.
The model is a sketch. It assumes one pooled queue, while real code owners are not interchangeable, and a PR only two people can review waits in a much smaller queue. Real reviewers read in a few blocks a day. Both make real waits longer than Table 1, and Kingman gives a mean, not the tail.
The service times are assumptions. Nothing published says whether a 10-minute review of intent against evidence catches what a full read catches. A team has to measure it by giving a sample of routine-tier PRs a full review afterwards; if that finds real defects, move paths up a tier.
Horizons come from benchmarks, and do not predict how a model does in a fifteen-year-old payments codebase.
The planning unit is the review-hour
I would plan a team in review-hours. Measure the budget and the minutes per review, compute the intake that keeps utilization under the target, and cap agent work in progress there. Then raise the cap by shortening the review, and watch change failure rate per tier, because that is where a review that has become too short will show. Everything gained by tiering rests on the 10-minute review, and the only evidence for it will be the audit a team runs on its own merged PRs.
Sources
- Measuring the impact of early-2025 AI on experienced open-source developer productivity, METR, 10 July 2025
- Developer productivity uplift update, METR, 24 February 2026
- Frontier Risk Report, METR, 19 May 2026
- Writing code vs. shipping code: productivity effects across generations of AI coding tools, Demirer, Musolff and Yang, NBER Working Paper 35275, May 2026, revised September 2026
- Announcing the 2025 DORA report, Google Cloud, 24 September 2025
- DORA research archive, DORA, checked 30 November 2026
- The AI productivity paradox report 2025, Faros AI, 23 July 2025
- AI engineering report Q2 2026: the acceleration whiplash, Faros AI, 2026
- AI IDEs or autonomous agents? Measuring the impact of coding agents on software development, Agarwal, He and Vasilescu, arXiv, 20 January 2026, revised 27 January 2026
- October 2026 GenAI code security update, Veracode, 29 October 2026
- Kingman’s formula, Wikipedia, citing Kingman, “The single server queue in heavy traffic”, 1961, checked 30 November 2026
- Pollaczek–Khinchine formula, Wikipedia, citing Pollaczek 1930 and Khinchin 1932, checked 30 November 2026
- Small CLs, Google engineering practices documentation, checked 30 November 2026
- Best practices for peer code review, SmartBear, checked 30 November 2026
- Creating a pull request template for your repository, GitHub Docs, checked 30 November 2026
- About code owners, GitHub Docs, checked 30 November 2026
- Available rules for rulesets, GitHub Docs, checked 30 November 2026
- Managing a merge queue, GitHub Docs, checked 30 November 2026
- Events that trigger workflows, GitHub Docs, checked 30 November 2026
- Review Copilot pull requests, GitHub Docs, checked 30 November 2026
- Copilot code review can now approve pull requests, GitHub Changelog, 1 September 2026
- Claude Approvals, Anthropic, checked 28 November 2026
- Digital Operational Resilience Act, EIOPA, applies from 17 January 2025
- Delegated Regulation (EU) 2024/1774, Article 17, Springlex copy of OJ L, 25 June 2024
- PCI DSS v4.0.1 requirement 6.2.3.1, WithPCI copy of the PCI SSC standard, June 2024