866 words
4 minutes

15 from Merge Debt: The 2026 Bill Your Parallel AI Agents Are Running Up

The landing order: parallel agents count once their work is in main, shaped and in a chosen order

By Docker Captain · CNCF Ambassador · IBM Champion
Dark monolithic cube in a deep void, three wide cyan beams pouring into its top while a single thin thread of light escapes from its base beside a small red indicator, a visual metaphor for merge debt, parallel agent work forced through a single landing point Blueprint 15

Worktrees parallelize the work. Main is a single sequence. The gap between code agents have finished and code that has landed, reviewed and reconciled, is merge debt, and it grows in front of the one gate that did not scale: human review.

The controls below need no vendor claim. They make the debt visible and the repayment cheap enough to happen daily.

  1. 1

    Give every agent its own worktree

    Each agent edits its own copy of the tree, so nothing collides while the work is in flight. One working tree has one index, and two writers share it like a clipboard: two scripted writers in one tree put the other writer's file into 333 of 333 commits with a pause of 200 milliseconds between git add and git commit, and lost 4 files that git add had accepted in 2,000 tries; with a worktree each, none. It is the right primitive for the work, and it moves the problem to the landing. Owner: the engineer who launches the agents, with the team lead making it the default for any run of more than one agent.

  2. 2

    Measure the shared index on your own runners

    The race is timing-dependent, so one clean run proves nothing. Run it on the git version your runners use, in a shared tree and with a worktree each, and keep the result file. Watch the counters a healthy-looking history hides: commits with the other writer's file, commits under the other writer's message, files lost from the index. In a shared tree any of them above zero means the setup is not safe for parallel agents, whatever the agents did that day. Owner: the platform engineer who owns the CI runners and the agent tooling.

  3. 3

    Check what each worktree touches before you spawn another

    Two agents aimed at the same module is a collision you scheduled. A commit graph that shows every active worktree and its working changes in one view (GitLens 18 does) makes it a ten-second look.

  4. 4

    Give the landing order an owner

    When several branches finish together, the sequence is an engineering decision: smallest blast radius first, or the hottest file first, chosen, not left to whoever presses merge first. Owner: the engineer or lead who owns the target branch.

  5. 5

    Cap diff width per agent task

    Cap agent tasks the way you cap pull request size for people, and split before landing, not after the review stalls. Every downstream cost (rebase, review, revert) grows with the width.

  6. 6

    Make commit shaping the entry fee to main

    Machine output does not enter history as one blob called "update payments". Reviewable commits with meaningful messages, shaped by hand or by a tool such as Commit Composer (part of GitKraken AI, a paid plan), are required before review.

  7. 7

    Plot the debt next to velocity

    Two numbers per team on the same dashboard: time from agent-done to merged in main (the queue depth) and the share of agent-authored code reworked within two weeks (the quality echo). Owner: the engineering manager.

Three questions for the next engineering leadership meeting

  1. What is our median time from agent finished to merged in main, and is it growing?
  2. Who decided the landing order of the last three parallel branches that touched the same service, and was it decided at all?
  3. What share of AI-authored code merged last quarter was rewritten within two weeks?

What it rests on

The study behind the perception gap, the measured race behind the first two steps, and the tools the steps name.

Generating is parallel. Landing is serial, and someone should choose the order.

The long version is the post Merge Debt. METR, Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity, 10 July 2025; GitKraken, GitLens 18. The measured race is in the post Git Worktrees for Parallel AI Agents; git, git worktree, checked November 2026.


Vladimir Mikhalev

Docker CaptainCNCF AmbassadorIBM Champion

The Verdict — production-tested analysis on YouTube.

The Verdict

Inconvenient truths about shipping in the AI era

Container security, platform engineering, and the agentic shift — tested in production, argued without the hype. The verdict reaches your inbox the moment there's one worth sending.

Related Posts

Same category
  1. 1
    Merge Debt: The 2026 Bill Your Parallel AI Agents Are Running Up
    Opinion & Culture · Three agents finish in parallel. Main takes one landing at a time. METR's perception gap, the rebase tax, and why Merge Debt is the number nobody plots.
  2. 2
    Your Knowledge Is a Depreciating Asset. Judgment Compounds.
    Opinion & Culture · AI made reproducible knowledge free, so technical expertise is now a depreciating asset. Judgment is the one that compounds. Here is how to move your weight.
  3. 3
    The Senior Engineer Signal: The 2026 Risk Your Velocity Metrics Hide
    Opinion & Culture · Juniors get the biggest boost from AI; seniors trust it least. That split is your earliest read on engineering risk, and on the talent you're about to lose.
  4. 4
    Agent Sprawl: The 2026 Engineering Risk Your Auditor Hasn't Named Yet
    Opinion & Culture · Unknown numbers of AI coding agents run in parallel — no audit trail, no isolation, no per-team measurement. By 2026 that's an audit finding.

More Blueprints

All 20
  1. 16
    Sign before the names
    Signal, 26 September 2026 · List every tag each trigger emits against the registry's immutability rule, push by digest, sign and check that digest, move the names last, and judge a publish by its signature.
  2. 17
    The effect check
    Signal, 21 October 2026 · List what only a webhook enforces and move it into the API server, make the checker's absence a refusal, drill admission with its controller at zero, count what each backup copied, read the marker and the error body, and run the reads on a schedule.
  3. 18
    The three doors
    Signal, 8 November 2026 · Leave the failure text whole, start the agent only from a signed event built into a fixed Job, give it two doors with named tools and its own run, deny the network and the resolver, and let a notifier write the facts above the agent's words.
  4. 19
    The silence check
    Signal, 22 September 2026 · Ask the platform for every schedule and the age of its last run, look for what a tool leaves behind when it fails to deliver, keep one thread per watcher, buy silence only in a reviewed file, and keep one witness outside the platform.
The landing order: parallel agents count once their work is in main, shaped and in a chosen order
https://heyvaldemar.com/blueprints/landing-order/
Author
Vladimir Mikhalev
Published
2026-11-15
Updated
2026-12-02
License
CC BY-NC-SA 4.0