Post

AI-Native SDLC, Measured: 48 Agent Pull Requests on This Blog, Replayed Through Its Own Gates

48 agent PRs on this blog, replayed: agents took a median 0.8 h and review 2.1 h more. 3 merges left main red, and none of the 3 failed on the agent's branch.

AI-Native SDLC, Measured: 48 Agent Pull Requests on This Blog, Replayed Through Its Own Gates

Most posts about an “AI-native SDLC” describe a pipeline that hasn’t run yet. This one measures a pipeline that has. Since 4 November 2026, agents have written almost every change to this blog. They take a task, work in a throwaway clone, run tools/test.sh, and open a pull request. Another agent or I review it and merge it. The harness behind it is Hive, Lamplit Labs’ open-source, self-improving (RSI) agent harness.

Git keeps the whole record, so I read it back. 48 pull requests were merged into main in 27 days (4 November to 1 December 2026), from 48 agent names. For each one I measured where the hours went. Then I replayed the gates on every merge in two ways: once with the rules main had at that time, and once with today’s rules. The questions were simple. How long does an agent change take to reach main? How often did main go red? And when it did, whose check should have caught it?

The short answers: agents are not the slow part, and the merge is the risky part.

What was measured

Everything comes from git log --first-parent of this repository at 6af30a2. The scripts are in scripts/ai-native-sdlc-history/ and the numbers in scripts/data/ai-native-sdlc-history.json.

  • The pull requests. Every merge commit on main’s first-parent line: 48. Each branch is named after its job, such as hive/zephyr-134/job-20261201T101521Z-278b5e, and the job id holds the time the job was created (UTC). Six branches have no job id: four measured experiments, one task branch and one chat session. Those six are left out of the timing numbers but kept in the gate replays.
  • Agent time is job created to the last commit on the branch. It includes time the job waited in the queue, so it is an upper bound on the time the agent worked. Review wait is that last commit to the merge commit. Lead time is the sum.
  • Kind of change. A PR that adds a file under _posts/ is a new post (27). One that touches tools/test.sh is a gate change (7). One that edits posts is a post fix (7), and the rest are site/tooling fixes (7).
  • Replay 1: each merge’s own rules. For every merge I exported main’s tree right after the merge and ran that commit’s tools/test.sh: pre-build gates, jekyll build, the post-build gates and html-proofer. Only today’s Gemfile and Gemfile.lock were copied in, so the gems installed now were used. This answers one question: was main green by its own standard at that moment?
  • Replay 2: today’s rules. Today’s 20 pre-build gates, run one at a time, on the same 48 trees and on the 48 PR branch tips. The machine was an Apple M2 Pro (12 cores) with Ruby 3.3.5. The load average was 7 to 9 because other agents were running, so times are wall-clock times on a busy machine.

Agents are not the bottleneck; the merge wait is

Horizontal bar chart of 42 agent pull requests sorted by lead time on a log scale from 6 minutes to a week. Each bar is blue for job created to last agent commit and orange for last commit to merge. Most bars are mostly orange. Medians: agent 0.8 h, waiting 2.1 h, lead time 7.7 h.

 medianp90max
Job created to last agent commit (42 PRs)0.8 h18.9 h167.9 h
Last agent commit to merge (48 PRs)2.1 h78.1 h275.7 h
Lead time, job created to merge (42 PRs)7.7 h86.2 h277.1 h
Agent time, new posts only (26 PRs)1.2 h7.3 h167.9 h

The 42 PRs with a job id spent 1,574 hours between job creation and merge. 343 of those hours (22%) were before the last agent commit. The other 78% was a finished branch waiting to be merged. Twenty-two of the 42 agents were done in under an hour, and that includes queue time. Those posts are measured posts with scripts, data and generated images: the median new-post PR added 2,127 lines in 12 files, 5 of them images.

The long tail is not the agent typing for days. The slowest agent time, 168 hours, is a job created on 12 November whose branch has a single commit, dated 19 November. Git cannot say whether those seven days were spent in the queue or in failed runs, which is why the blue bars are an upper bound.

The wait is not spread evenly either. Fixes merged fast: the 21 PRs that were not new posts waited a median 8 minutes. New posts waited a median 6.2 hours, and 13 of the 48 PRs waited more than a day. That matches how this blog is run. A fix to a gate or a header is small and easy to check. A new post is a thing someone should read before it goes out.

So in an AI-native SDLC the time to optimise is not the agent’s. A faster model would cut the blue part of these bars, which is already the short one. Shorter waits for review would cut the orange part.

Main went red three times, and no agent branch was red

Three rows of 48 cells, one per merge, oldest on the left. Top row: main after the merge under its own tools/test.sh, green except for three red cells on 26 and 28 November. Middle row: main after the merge under today's 20 pre-build gates, red for most early-November merges. Bottom row: the PR branch tips under today's gates, the same pattern.

Under its own rules, main was green after 45 of the 48 merges. A green full run of tools/test.sh took a median 35 seconds on this machine. The three red merges made two red windows:

WindowRed fromFailing gateGreen againRed for
1PR #83 (fjord-90, a new post), 26 Nov 05:21 UTCjekyll build emitted a Conflict: warning: two posts built to the same /posts/<slug>/ pagePR #85 (a chat session that renamed one post), 28 Nov 08:0450.7 h
2PR #84 (fjord-92, a new post), 28 Nov 10:04 UTC, then PR #86 on topcheck_old_product_name: the new post still called the product by its old namePR #87 (cinder-93 with xenon-103), 30 Nov 05:3043.4 h

Main was red for 94 of the 641 hours in the window, about 15%. The deploy workflow builds on every push to main and runs only jekyll build, and a Conflict: warning does not fail it, so neither failure stopped a deploy. In window 1 one of two posts could write its page over the other’s. In window 2 a new post named the product by its old name.

Then I checked the agents’ own commits. I ran the last agent commit of each red PR through tools/test.sh on its own tree: fjord-90’s 63246aa (#83), fjord-92’s fcfc2d2 (#84) and orbit-98’s 18bcf3f (#86). All three pass. No agent shipped a red commit. Main went red later, when the branch was merged with something else:

  • Window 1. fjord-90’s branch was stacked on another open PR. The automatic merge of that base into the branch (0c1681b) brought in willow-86’s post from the day before, and it had the same slug. Each post had passed the check on its own branch. Nobody ran tools/test.sh on the tree after that merge, and that tree is exactly the tree main got.
  • Window 2. fjord-92 wrote the post on 26 November, when the product’s old name was still correct. On 27 November the product was renamed across the blog, and a gate was added that fails on the old name. On 28 November main was merged into fjord-92’s branch (256686a) so the PR could land. The merge was clean in git and red under the new gate, and it landed that way. PR #86 was stacked on #84, so it inherited the failure.

This is the result of the parallel agent PRs post, now seen in production. There I constructed 12 PRs that were each green alone and measured which pairs broke main. Here it happened twice without anyone setting it up. Both times git merged cleanly, every branch was green, and the merged tree was red. The fix is the same: run the gate on the tree you are about to make main, not on the branch you were given.

The gates grew from the failures

Replay 2 asks a different question: what if today’s rules had applied all along?

  • The renamed-product gate fails on 44 of the 48 trees. That is no surprise: every tree from before the 27 November rename uses the old name. I leave it out of the counts below.
  • The 40:21 header gate fails on 14 merges, from 4 to 8 November. Six older posts had headers that the theme cropped (1200x700, 1600x900, 1280x630). Agents padded them to 40:21 over the next days, and the last one (kestrel-34) landed on 8 November. The gate already existed but listed those posts as known exceptions. Since the replay uses today’s list, it flags the old trees.
  • The header-reused-in-body gate fails on the first 3 merges (4 and 5 November). meridian-19 wrote it after finding two posts that did this, and it landed on 5 November.
  • The unique-slug gate fails on 1 merge, PR #83 from window 1. cinder-93 added it on 26 November, the day of the collision.

tools/test.sh called 17 gates on 3 November and 23 on 28 November. Fourteen commits changed it, and most were agent PRs that came from a defect an agent had just found: a cropped header, a raw markdown link, a broken lightbox, a slug collision. Each one closed a whole class of failure. On this machine the 20 pre-build gates take a median 14 seconds per tree, so a new gate costs the next agent almost nothing.

That is the self-improvement (RSI) part of an AI-native SDLC, and it works without anything clever. A defect becomes a check, the check fails on the old tree and passes on the fixed one, and every later change has to pass it.

Where Hive fits

Screenshot of the hivefleet.dev home page at 1440 by 900: the Hive heading "The agent harness that improves your projects, and itself", the one-line curl install command, and a preview of the Hive console with sessions.

Every pull request in this post went through Hive. It is open source (MIT), runs on your own machine as one binary, and works with the model provider you choose. The parts this blog’s history shows are the ones its documentation describes:

  • Jobs in throwaway clones, delivered as pull requests. That is where the branch names and the job ids used above come from.
  • Agents suggest, vote and build. On hivefleet.dev/rsi a suggestion must name a check that fails on the default branch today and passes with the change. Four of the 48 branches above are named evolve/...: they are the experiment branches of that loop, and one of them added a gate.
  • Rules that you own. A constitution, paths that agents may not touch, and a kill switch. The measured experiment loop is off until you turn it on.

The two red windows are also a fair test of the harness, and this blog’s numbers do not hide them. If your agents’ PRs stack, or main moves under an open branch, make sure something runs your checks on the merged tree before it becomes main. The parallel PRs post measures what a merge queue buys you there.

Caveats

  • One repository, one month. A Jekyll blog with a 35-second gate is an easy case. The shape of the result should carry over: short agent time, a long merge wait, and red merges from green branches. The numbers will not.
  • Agent time includes queue time. The job id timestamp is when the job was created, not when a worker started it. The time spent working is shorter than the blue bars.
  • Merge time is the merge commit’s committer date. It is when the merge happened, not when someone started reading the PR.
  • “Red” means tools/test.sh failed. Not the deploy, which only builds. html-proofer runs only internal links, so external link rot is not counted.
  • The old trees used today’s gems. Using today’s Gemfile.lock for old trees could hide a failure that only an old gem would have caused. The full replay found no failure caused by gems.
  • One run per tree. The gates are deterministic, so a second run would give the same result. The timings are noisier, because the load average was 7 to 9.

Reproduce it

1
2
3
4
5
6
7
8
9
10
11
mise exec ruby@3.3.5 -- bash scripts/ai-native-sdlc-history/replay_gates.sh .tmp/replay \
  > scripts/ai-native-sdlc-history/gates-pr-tips.tsv                                   # ~15 min
REPLAY_ON=merge mise exec ruby@3.3.5 -- bash scripts/ai-native-sdlc-history/replay_gates.sh .tmp/replay \
  > scripts/ai-native-sdlc-history/gates-main-after-merge.tsv                          # ~15 min
mise exec ruby@3.3.5 -- bash scripts/ai-native-sdlc-history/replay_full.sh .tmp/replay \
  > scripts/ai-native-sdlc-history/full-own-rules.tsv                                  # ~30 min
python3 scripts/ai-native-sdlc-history/collect_history.py --rev 6af30a2 \
  --gates scripts/ai-native-sdlc-history/gates-pr-tips.tsv \
  --gates-merge scripts/ai-native-sdlc-history/gates-main-after-merge.tsv \
  --full scripts/ai-native-sdlc-history/full-own-rules.tsv
python3 scripts/ai-native-sdlc-history/gen_images.py --shot .tmp/hivefleet.png

On a later main, pass GATES_REV=6af30a2 to the two shell scripts as well, so they replay the same 48 merges. The recorded TSVs are committed, so collect_history.py and gen_images.py run in seconds without a replay. The screenshot command is in the scripts’ README.md.

This post is licensed under CC BY 4.0 by the author.