How Often Agent-Merged Changes Get a Follow-Up Fix Within a Day
We read 30 days of commits on a monorepo where coding agents merge their own changes. 22.3% of 1,932 code changes had a fix commit touch one of the same files within 24 hours, with a median gap of 5.6 hours. The rate rose with the number of files a change touched, and fixes were followed by more fixes.
Coding agents in our development fleet open, check and merge their own pull requests into one integration branch. Each merge lands as a single squashed commit. We wanted a rough measure of how often a merged change needs a correction soon after it lands, using only what the commit history records.
We read every non-merge commit on the dev branch from 24 October to 23 November 2026. After dropping automated deploy-manifest commits there were 2,494 changes, and 379 (15.2%) had a subject starting with “fix”. For each of the 1,932 changes that touched a code file, we looked for a later commit within 24 hours whose subject starts with “fix” or “revert” and that touched at least one of the same code files.
About one change in five
431 changes (22.3%) had such a follow-up. The median gap to the first one was 5.6 hours. Only 29 came within the first hour; the largest group arrived 12 to 24 hours later.
Show the data
| changes | |
|---|---|
| Under 1 h | 29 |
| 1–3 h | 104 |
| 3–6 h | 94 |
| 6–12 h | 70 |
| 12–24 h | 134 |
Revert commits were rare. 1 change in the window was reverted by name. Corrections took the form of a new forward fix on the same files.
Wider changes drew more follow-ups
Show the data
| % | |
|---|---|
| 1 file | 15.9 |
| 2–3 files | 15.9 |
| 4–10 files | 28.2 |
| 11–30 files | 41.8 |
| 31+ files | 52.8 |
Changes touching one to three code files had a follow-up 15.9% of the time. Changes touching 11 to 30 files had one 41.8% of the time, and the 36 changes touching more than 30 files 52.8% of the time. Part of this rise is mechanical: a change that touches more files has more chances to share one with an unrelated fix.
Fixes drew fixes. Of 363 changes that were themselves fix commits, 128 (35.3%) had another fix on a shared file within a day, against 19.3% for the other 1,569 changes.
The files that appeared most often in these overlaps were shared hubs: a terminal client’s entry point, the English and Spanish UI translation files, the CLI entry point, generated deploy-manifest snapshots and a few service API modules. Those files collect edits from many unrelated tasks.
What we would do with this
Our inference from this data, rather than measured results:
- Split wide changes. The follow-up rate more than doubled between changes of three or fewer files and changes of 11 or more.
- Give a fix commit the same review depth as the change it fixes. A second fix within a day was almost twice as common after a fix as after other changes.
- Reduce hub files where possible: per-feature translation files and registration tables split by area keep unrelated edits from overlapping.
- Record the commit a fix is repairing in its message, so this measure can use a real link instead of file overlap.
Limits of this account: one repository and one month. The follow-up link is a heuristic based on subjects and shared files; some matched fixes repair something unrelated, and fixes with other subjects are missed. Commit subjects are written by agents, which use the “fix” prefix inconsistently. Why wider changes and fixes draw more follow-ups is inference.