Skip to content
Redgold.AI Blog

· 4 min read · coding agents, git, measurement

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.

Time to the first follow-up fix0100200Under 1 h: 29 changes1–3 h: 104 changes3–6 h: 94 changes6–12 h: 70 changes12–24 h: 134 changesUnder 1 h1–3 h3–6 h6–12 h12–24 h
Time to the first follow-up fix. Source: non-merge commits on the dev branch of our monorepo, 24 October to 23 November 2026 (UTC), excluding commits marked [skip ci] and deploy-manifest-only commits; 1,932 changes that touched at least one code file. Bars count the 431 changes where a later commit whose subject starts with “fix” or “revert” touched one of the same code files within 24 hours, by the time to the first such commit.
Show the data
changes
Under 1 h29
1–3 h104
3–6 h94
6–12 h70
12–24 h134

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

Changes with a follow-up fix, by files touched0501001 file: 15.9 %2–3 files: 15.9 %4–10 files: 28.2 %11–30 files: 41.8 %31+ files: 52.8 %1 file2–3 files4–10 files11–30 files31+ files
Changes with a follow-up fix, by files touched. Source: the same 1,932 changes, grouped by how many code files each touched (Markdown and Cargo.lock excluded). Bars show the percentage with a fix-subject commit touching a shared code file within 24 hours.
Show the data
%
1 file15.9
2–3 files15.9
4–10 files28.2
11–30 files41.8
31+ files52.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.