AI speeds the team up and rework eats the gain
With Copilot, Cursor or Claude Code the team ships faster, but part of that work comes back: reopened tickets, bounced pull requests, reverts and bugs in fresh code. If nobody subtracts that rework, the gain looks bigger than it is. Here is why it happens, how to spot it in your data and how to fix it.
For CTOs, engineering leaders and QA leads. By Rodrigo Paredes, COO at Leanmote. Updated November 24, 2026.
In short
- Rework is work that comes back after it was called done: reopened tickets, bounced pull requests, reverts and bugs in new code.
- With AI it tends to grow quietly: the team ships faster and part of it comes back later, in QA or in production.
- Real gain = output − rework. If you don't subtract it, the velocity on the dashboard overstates what the team gained.
- Measure by team, not by person: against the team's own baseline, separating work done with and without AI, with a monthly price on each cause.
How do you know rework is eating your AI gains?
- Since we started using AI we ship faster, but bugs went up at the same pace.
- An outside vendor generated lots of code with AI that didn't work, and QA ended up costing us more.
- More and more of one team's pull requests are fixes for things that were already done.
- One team's cost per deploy shot up in a few weeks and nobody knew why.
- Someone would say the changes were done, and on merge everything broke in a chain.
This is how CTOs, engineering leaders and QA leads describe it in our conversations. Paraphrased, no names.
Why does AI-generated code increase rework?
Because AI speeds up writing code, not understanding the problem or reviewing it, and work that ships incomplete comes back later as rework nobody subtracts from the gain.
- Code is generated faster than it's reviewed
- AI multiplies the code and review keeps the same pace. Large pull requests get fewer eyes, and what review misses shows up in QA.
- The code looks done and isn't
- It compiles and looks fine, but it fails on edge cases, on integration or on business rules the AI didn't know about.
- Work starts before it's clear what to build
- With AI it's easy to start without a definition of ready. What the ticket was missing is found late, and the work goes back.
- QA and support absorb the cost
- Rework moves to QA, hotfixes and support. There it doesn't show up as an AI cost, even though it is one.
- Nobody subtracts it
- Velocity dashboards count what shipped, not what came back. Without subtracting rework, the AI gain looks bigger than it is.
How do you measure rework by team?
Count everything that comes back after it was called done, compare it with the same team's baseline, separating work done with and without AI, and subtract it from output to see the real gain.
Real gain=Output−Rework
What counts as rework and how to price it is in the glossary: rework and cost of rework.
Signals to watch by team
| Signal | What it means |
|---|---|
| Tickets that go back | Tasks moving from QA or Done back to In Progress more often than in the team's baseline. |
| Pull requests with many iterations | More review rounds and requested changes per pull request than before AI. |
| Pull requests that need another one | A merged change followed by a fix, a hotfix or a revert. |
| Change failure rate going up | More changes ending in an incident, hotfix or revert within 14 days of reaching production. |
| Cost per deploy goes up | Each change that reaches production costs more in hours and in AI than before. |
How do you reduce rework without slowing the team down?
First measure each team's rework against its baseline, separating work done with and without AI; then go after the causes that cost the most, before the code reaches QA.
On your own
- Define what counts as rework: tickets that go back, pull requests with requested changes, reverts and fixes.
- Build each team's baseline from 12 months of Jira and Git.
- Flag which pull requests had AI help and compare their rework with the rest.
- Read the bounced tickets and group them by cause.
- Put a monthly price on each cause and start with the most expensive one.
You can do it with spreadsheets and scripts. The hard part is keeping it up month after month.
With Leanmote
- Context
Read-only connection to Jira, Git, CI and your AI tools (Copilot, Cursor, Claude Code). It pulls 12 months of history and builds each team's baseline on day one. Metadata only, never code.
- Diagnosis
Measures rework by team: tickets that go back, iterations per pull request, reverts, fixes and change failure rate. It compares with and without AI against the baseline and puts a monthly price on it.
- Treatment
The Rework Agent classifies every bounced ticket by cause and proposes definition-of-ready rules from your real cases. The Code Review Agent reviews every pull request before it reaches QA. You decide how much they act: proposals only, with your approval in Slack or Teams, or fully automatic.
Frequently asked questions
What is rework in software development?
It's work that has to be done again after it was called done: a ticket that goes back, a pull request that returns from review, a change that breaks and has to be fixed. With AI, it's often where generated code loses its value before reaching production.
Does AI-generated code have more bugs?
It can. In Google Cloud's 2024 DORA report (October 2024), as AI adoption increased, delivery stability was estimated to drop by 7.2%. It doesn't happen the same way in every team: it depends on review, testing and the definition of ready, which is why it's measured team by team.
Which QA and code quality metrics should we track?
Tickets that come back from QA, iterations per pull request, pull requests that need a fix, reverts, change failure rate and cost per deploy. All by team and against its baseline, using data from the Jira, Git and CI you already have.
Is each developer measured?
No. Rework is calculated and shown by team. Measuring people one by one creates fear and hides the real cause, which is almost always in the process.
Does Leanmote read our code?
Not for context or diagnosis: it uses metadata from tasks, pull requests, CI and AI usage, with read-only access. To review pull requests, the Code Review Agent uses the access you give it. It is SOC 2® audited.
See your teams' rework with your own data
Connect in 2 minutes, read-only. The first problems show up on day one.
Source: DORA, Accelerate State of DevOps Report 2024, Google Cloud (October 2024).