Generation capacity is elastic and purchasable. The capacity to review, own and maintain what gets generated is neither. Planning season is where that difference becomes expensive.
The planning spreadsheet has one row for engineering capacity, and it is counted in people.
Meanwhile, a platform team in the same organization is running coding agents that opened more pull requests last quarter than four engineers would have written by hand. The finance partner has seen the agent invoice. The reasonable question follows: if the agents are producing that much, what does next year’s headcount request actually need to be?
It is a fair question built on a misleading premise. The premise is that agent output and engineering headcount measure the same quantity, so more of one offsets less of the other. They do not. Agents added generation capacity. Most organizations were not short of generation capacity. They were short of the capacity to review, own, and maintain what gets generated, and that is the pool the plan is about to underfund.
This matters more in a planning cycle than in a sprint. A sprint absorbs a bad estimate. An annual plan converts a bad estimate into a hiring freeze, and the cost of that decision does not appear until the maintenance obligation of this year’s agent output lands on next year’s team.
The two pools behave differently
Engineering capacity is not one number. It is two, and only one of them is elastic.
Generation capacity is elastic. More agents, more parallel runs, larger context windows, a higher spend limit. It can be increased this afternoon with a procurement decision, and it scales roughly with money.
Verification and maintenance capacity is far less elastic. Generation scales quickly. Accountability scales slowly. Reviewing a change against an architecture you understand, knowing which migration a refactor belongs to, carrying a pager for a service, and fixing the thing eighteen months later all require context that accumulates in people over time. It scales with hiring and tenure, which take quarters, not afternoons.
The planning error is treating these as fungible. An organization adds elastic capacity, observes more output, and reduces the growth rate of the inelastic pool on the strength of that observation. The output is real. The substitution is not.
Conceptual frameworkTwo capacity pools, one of them elastic
Scroll horizontally to see the full diagram.
The maintenance of agent output lands on humans
The strongest available evidence on this is recent and specific.
A May 2026 empirical study tracked 508 AI-generated files and 508 human-generated files across 100 popular GitHub repositories, following 3,238 maintenance commits over at least six months. It found that human developers perform approximately 83% of the maintenance on AI-generated files. The agents that produced the code contributed 16.79% of the commits that subsequently changed it.1
That figure deserves to be read carefully, because it is easy to misread as a criticism of agent quality. It is not. It is a statement about where an obligation settles. Code that an agent produces in an afternoon can create an ongoing maintenance obligation that subsequently falls predominantly on humans. The generation event is fast and cheap. The servicing is slower and recurring.
The same study found the maintenance mix differs by author. Feature extensions dominated changes to AI-generated code at 21.78%, while bug fixes were the most common change to human-written code at 16.76%. Agent output is being built upon rather than merely repaired, which is a reasonable sign of usefulness. It is also a reasonable sign that the obligation is durable rather than transient.
Durability is real, and it is not uniform
There is a tempting counterargument: if agent-generated code is disposable, the maintenance question solves itself. The evidence does not support the disposability hypothesis.
A January 2026 survival analysis of 201 open-source projects and 5,171 pull requests, covering more than 200,000 code units, found that AI-generated lines had a 53.9% modification rate against 69.3% for human-authored lines, and a 15.8% lower risk of modification at any given time.2 On this measure, AI-generated code persists better than human code.
The important detail is underneath the average. The same analysis found the result varies sharply by tool class. Assistant-style tools, where a human accepts each suggestion, showed death rates 20 to 30 percentage points below the human baseline. Devin, an autonomous agent, showed a death rate of 71.7%, slightly worse than the 69.3% human baseline.
One plausible explanation is the degree of human judgment applied at the point of authorship. Assistant-style output is explicitly accepted by a developer, while autonomous output can arrive with substantially less human mediation. The data is consistent with that explanation, although it does not establish causality.
Survival also should not be confused with self-sufficiency. Code can persist in the codebase and still consume human attention every quarter. The two studies are measuring different things, and read together they describe the actual situation: agent output stays, and humans tend it.
The debt is slower than the sprint and faster than the plan
A March 2026 study analyzed 304,362 verified AI-authored commits across 6,275 repositories, comparing static analysis results before and after each change.3 More than 15% of commits from every assistant studied introduced at least one detectable issue, ranging from 17.3% for GitHub Copilot to 28.7% for Gemini. Roughly 8.7% of AI commits introduced a problem that the tooling could identify.
The relevant number for a planner is not the introduction rate. It is the survival rate. The study found 24.2% of AI-introduced issues still present at the latest revision, and security issues the most persistent at 41.1% survival. Surviving issues across the corpus grew from a few hundred in early 2025 to more than 110,000 by February 2026.
Most of this is code smells rather than runtime failures, at 89.1% of identified issues. That is not a crisis, and treating it as one would be the wrong response. It is, however, a liability that can accumulate quietly over time and is serviced by the inelastic pool. A plan that grows generation volume without growing the capacity to service it is choosing an accumulation rate without naming it.
DORA's own model says reinvest, not reduce
Google Cloud’s DORA team published its ROI of AI-Assisted Software Development report on 11 May 2026, and its guidance on this question is unusually direct.
The report models a 500-person engineering organization at a $176,000 fully loaded salary and projects a 39% first-year ROI, roughly an eight-month payback, and a 727% average ROI over three years. The authors attach an explicit caution that these should be treated as a high-uncertainty estimate meant to start a conversation rather than a formula.4
Two things in that model matter more than the headline percentages.
The first is the J-curve. DORA describes a temporary productivity dip before the gains arrive, driven by learning curves, verification overhead on AI-generated code, and the work of adapting downstream processes to higher volume. They call it the tuition cost of transformation. A plan written at the top of the adoption curve and executed through the dip will look like a failure at exactly the moment it needs funding.
The second is that the model prices instability. Moving the change failure rate from 5% to 6% carries a $344,000 negative impact in their scenario. Delivery instability is not an externality in this framing. It is a line item.
On headcount, the report strongly discourages reduction, arguing that retaining and training existing staff is more cost-effective and preserves institutional knowledge. The recommended move is to reinvest recovered capacity into reducing rework rather than to bank it as savings. That is a direct contradiction of the substitution logic that agent output invites.
A capacity model that survives contact with the plan
The planning question is not how much output the agents produced. It is how much durable output the whole system can absorb, and what the binding constraint on that number actually is.
Measurement modelCapacity planning inputs
Capacity planning inputs, contrasting weak planning signals with decision-grade signals
| Planning input |
Weak signal |
Decision-grade signal |
| Throughput |
Pull requests opened, tokens consumed |
Change accepted, shipped and still standing after a defined window |
| Maintenance load |
Not modelled |
Human servicing hours implied by projected agent volume |
| Tool class |
One blended “AI” category |
Durability and cost per durable change, split by assistant and autonomous |
| Verification |
Headcount total |
Number of people who can actually approve high-risk change |
| Timing |
Gains assumed from month one |
J-curve dip modelled and funded through it |
Scroll horizontally to see the full table.
Four inputs make the plan defensible.
Start with durable throughput rather than volume. The unit worth planning around is change that was accepted, shipped, and still standing after a defined window. Pull request counts and token totals both describe activity, and DORA’s own June 2026 commentary on what it called tokenmaxxing warns against letting consumption metrics stand in for value.5
Then size the maintenance obligation. If roughly four-fifths of the servicing of agent output falls to humans, then projected agent volume implies a human maintenance load that can be estimated rather than discovered. This is the input most plans omit entirely.
Separate the pools by tool class. Assistant-mediated and autonomous output carry measurably different durability, so a plan that models them as one category will misstate its own obligation. The question to answer per class is cost per durable change, including the human verification effort attached to it.
Finally, name the reviewer concentration. Verification capacity is usually held by a small number of senior engineers. A plan that grows generation by a large multiple while that group stays flat has identified its constraint whether or not it says so out loud.
How Milestone makes the two pools comparable
Most organizations can describe their agent spend and their headcount. Few can put them in the same frame, which is what a capacity decision requires.
Milestone connects AI and agent activity to the repository, review, delivery and cost signals that show what happened afterwards. That makes it possible to measure both sides of the capacity equation: what human and agent effort produced, what was accepted and survived, and how much human verification and maintenance it required.
Human & Agent Spend is built around exactly the comparison a planning cycle needs, and the Agents Registry addresses the prior problem that an organization usually cannot enumerate what is running. Agent Observability surfaces what autonomous runs actually produced, including acceptance and the human editing that followed. Milestone Insights attaches that to review bottlenecks and stalled work, and AI Governance & Limits turns the resulting picture into controls rather than a report.
The goal is not to score agents against engineers. It is to give engineering leaders the evidence needed to answer a planning question: how much additional generation can this organization absorb without overwhelming the people and systems responsible for turning it into durable software?
Plan capacity on evidence, not on invoices
See what your agents produced, how much of it survived, and how much human review and maintenance it consumed. Bring one number to the planning meeting instead of two that do not reconcile.
A capacity checklist for engineering leaders
- Does the plan state a durable throughput target, or only a headcount number?
- Can we estimate the human maintenance load implied by next year’s projected agent volume?
- Do we measure durability separately for assistant-mediated and autonomous output?
- Do we know how concentrated our verification capacity is, and in how many people?
- Have we modelled the J-curve dip, or does the plan assume gains begin immediately?
- Is recovered capacity being reinvested into rework reduction, or booked as savings?
Conclusion
Agents changed what is cheap. They did not change what is scarce.
An organization can buy as much generation as its budget allows, and the output will be real. The obligation that output creates is serviced by people who understand the system, and that pool grows slowly, unevenly, and only with deliberate investment. The planning cycles that age well over the next two years will be the ones that funded the scarce side.
The number to defend in the planning meeting is not headcount, and it is not agent spend. It is the organization’s capacity to turn generated work into software it can still rely on in three years.
FAQs
1. What is AI engineering capacity planning?
It is the practice of planning engineering capacity as two distinct pools: elastic generation capacity supplied by AI tools and agents, and inelastic verification and maintenance capacity supplied by people. The two are not interchangeable, so they need separate forecasts.
2. Do AI coding agents reduce the headcount an organization needs?
The available evidence does not support a direct substitution. DORA’s May 2026 ROI report strongly discourages headcount reduction and recommends reinvesting recovered capacity into reducing rework, on the grounds that retaining staff is more cost-effective and preserves institutional knowledge.
3. Who maintains code written by AI agents?
Primarily humans. A May 2026 study of 100 GitHub repositories found human developers perform approximately 83% of maintenance commits on AI-generated files, with the originating agents contributing about 16.79%.
4. Does AI-generated code survive in the codebase?
Generally yes, and on average better than human-written code, though results vary sharply by tool class. Assistant-style output showed substantially lower modification rates than the human baseline, while one autonomous agent showed a slightly higher death rate than human-authored code.
5. Which metrics should go into an AI-era capacity plan?
Durable change throughput, cost per durable change including human verification effort, the projected human maintenance load implied by agent volume, durability split by tool class, and the concentration of reviewer capacity.
Sources
- Sawada, S., Shirai, T., Kashiwa, Y., Yamaguchi, K., Iwata, H., and Iida, H. “To What Extent Does Agent-generated Code Require Maintenance? An Empirical Study.” arXiv:2605.06464, 7 May 2026. arxiv.org/abs/2605.06464
- Rahman, M., and Shihab, E. “Will It Survive? Deciphering the Fate of AI-Generated Code in Open Source.” arXiv:2601.16809, 23 January 2026. arxiv.org/abs/2601.16809
- Liu, Y., Widyasari, R., Zhao, Y., Irsan, I. C., and Lo, D. “Debt Behind the AI Boom: A Large-Scale Empirical Study of AI-Generated Code in the Wild.” arXiv:2603.28592, 30 March 2026. arxiv.org/abs/2603.28592
- DORA / Google Cloud. “The ROI of AI-Assisted Software Development.” 11 May 2026. cloud.google.com
- DORA. “Finding balance in the era of tokenmaxxing.” 2 June 2026. dora.dev/insights