How Teams Merge Thousands of PRs a Week with Coding Agents
How fleets of coding agents merge thousands of PRs a week: small tasks, sandboxes, AI review, merge queues, and why review—not writing code—is the bottleneck.
Written by: AKM Ahsan Created on: 24 Nov 202614 min to read

Short answer: no individual developer is publicly documented merging 2,000+ pull requests a week. The headline numbers come from fleets of unattended agents running inside organisations (Stripe: 1,300+ merged agent PRs/week [2]; Shopify: about 830/week [3]) or from commit counts that get mistaken for PRs (Peter Steinberger's 6,600 commits in a month [7]; OpenClaw's peak of 800 commits/day [8]). The best documented single-operator fleet merges 590–870 PRs a week across four repositories [6]. Every one of these systems is built the same way. Work is turned into many small, independent tasks. Each runs as a one-shot agent in a disposable sandbox. Deterministic checks gate every step, AI reviewers review first, and a merge queue does the landing. Human attention goes only where the risk is. Writing code is no longer the constraint; review and landing are [6][14][19].
1. Who Is Merging 2000+ PRs a Week, and What the Numbers Mean

| Who | Claimed volume | Unit and caveat |
| Stripe "Minions" | 1,000+ → 1,300+ merged PRs/week | Merged, "completely minion-produced, human-reviewed, but containing no human-written code" [1][2]. Org-wide, thousands of engineers |
| Shopify "River" | 3,536 coauthored PRs merged in 30 days (~1 in 8 of all merged PRs) | "Coauthored", counted from a table River writes itself; 59,918 sessions [3] |
| Alex Marquardt (one person) | 590–870 merged PRs/week, 4 repos | Measured. Up to 12 background agents + coordinator + adversarial review agent + merge queue; 4.4× more merged PRs/week over 10 weeks at about the same spend [6] |
| OpenAI internal Codex team | ~1,500 PRs in 5 months, 3 engineers (3.5 PRs/engineer/day) | Opened and merged; zero hand-written code [4] |
| Kun Chen (solo, ex-Meta) | 30–40 PRs/day | Self-reported; greenfield solo work [10][15] |
| Peter Steinberger / OpenClaw | 6,600 commits in January; peak 800 commits/day, 10–15 maintainers | Commits, not PRs [7][8]. Later ~100 cloud Codex agents at about $1.3M of API usage in 30 days, paid by OpenAI [9] |
| For Good AI | 4,211 PRs merged Aug–Oct (vs 798 Jan–Mar) | Founder self-report, after months of reorganising roles [28] |
| GitHub (human baseline) | ~2,500 PRs/month into the monorepo, 500+ engineers | Through its merge queue [11] |
Three things follow from the table:
- "2,000 a week" is a fleet number, not a person's number. At the measured 590–870 per week from about 12 concurrent agents [6], 2,000 merged per week needs roughly 30–40 concurrent agents. Merge rates for agent PRs run 62–78% in a peer-reviewed sample [21], so that also means about 2,600–3,200 opened PRs.
- The units are loose. "Coauthored", "minion-produced", "opened and merged" and "commits" are different things, and every org-level figure above is self-reported. The LinkedIn figure is about AI reviews (~79,000 a week across ~10,000 repos), not merges [16][17].
- Aggregate dashboards inflate the picture. PRarena counts about 8.2M merged Codex PRs at roughly a 91% merge rate [22], but a large share are trivial or self-merged. Treat volume alone as a vanity metric.
2. The Workflow: Parallel Agents, Small PRs, and Humans as Reviewers


The workflow is the same across sources. Only the scale differs.
- Cheap triggers, decoupled from a person's attention. Stripe engineers start minions from a Slack tag, a CLI, a web UI or a button on a ticket, for example on a flaky-test ticket [1]. Shopify's River answers @mentions in public Slack channels [3]. Marquardt's coordinator assigns one GitHub issue per agent [6]. The human writes the intent; nobody watches the agent type.
- One task → one isolated environment → one PR. Stripe's devboxes are pre-warmed EC2 machines that are ready in about 10 seconds. They are "cattle, not pets", so an agent can run with full permissions and the damage is limited to one box [1][2]. Marquardt gives each agent its own clone [6]. Individuals use worktree pools and tmux (Kun Chen's setup [10]) or 5–10 parallel Codex sessions (Steinberger [7]).
- One-shot runs with capped iteration. Stripe's "blueprints" are a state machine that alternates deterministic steps (git, lint, push) with agent steps (implement, fix CI). CI gets "often one, at most two" rounds before the branch goes back to a human [1][2]. A cap like this is how you keep thousands of runs from spinning forever.
- Plan first, then let it run. Steinberger spends most of his time planning with the agent before kicking it off [7]. Kun Chen's setup is plan-first followed by autonomous implementation [10]. The repository holds the context agents need: AGENTS.md as a map, docs/ as the system of record, and rule files scoped by directory [2][4].
- Small, disjoint PRs. In Marquardt's fleet, average PR size fell from about 1,400 to 850 lines while throughput rose [6]. Fleet guidance is to keep specs disjoint, cap diff size, and set an explicit rebase order [19]. Agent PRs that touch the same area conflict often: AgenticFlict found conflicts in 27.67% of agent PRs [20].
- Humans move to intake and review. Even the most autonomous shops keep humans at the decision points. Stripe reviews every minion PR [2]. OpenAI's team pushed "almost all review effort" to agent-to-agent review, and humans "may review pull requests, but aren't required to" [4].
3. The Tooling Stack: Merge Queues, CI, AI Review, and Orchestration
Merge queue (required at this volume). GitHub's queue forms groups of PRs dynamically, tests each group against the latest main, ejects conflicting PRs and regroups. It never puts a failing commit on main, it now ships 30+ PRs per group, and it cut wait times by 33% [11]. Graphite adds stack-aware queueing, Parallel CI (speculative execution across stacks) and batching with bisection. Graphite reports 1.5× to 2.5× faster merges, but these are the vendor's own numbers [13]. Shopify calls merge queues "load-bearing", and its CI had to scale by an order of magnitude [3]. Marquardt states the bottleneck directly: at this volume it "moves from writing code to landing it" [6].
Stacked PRs. GitHub's native stacks went GA in October 2026. A stack lands through the merge queue as one merge group, and gh stack supports worktrees [12]. Stacks let an agent split a large change into reviewable pieces that still land atomically.
Fast, selective CI. Stripe runs lint locally in under 5 seconds and then selects from 3M+ tests rather than running all of them [1]. Steinberger's agents compile, lint and test locally instead of waiting about 10 minutes for remote CI [7]. Every PR opened costs CI money, so CI cost grows with the PR count [19].
AI review in layers. LinkedIn runs parallel independent review subagents, merges and verifies their findings, and applies rules at three tiers (company, repo, PR type). 63.9% of its comments lead to a code change [16][17]. Running four different AI reviewers on the same 146 PRs, 93.4% of the issues they flagged were found by only one of them, so the advice is to run at least two different reviewers [15]. Marquardt's adversarial review agent must approve each PR at its head commit before it can queue [6]. OpenAI uses domain-specialist review agents [5].
Agent harness and tool layer. Stripe forked Block's Goose for unattended operation and exposes about 500 MCP tools through "Toolshed", giving each agent a small curated subset [1][2]. Shopify's Aquifer platform separates the agent runtime from the sandbox and logs sessions to Postgres [3].
4. Guardrails That Keep Throughput Safe

- Risk-tiered review. OpenAI lets low-risk areas opt in to auto-approval and routes high-risk changes to extra AI review plus a human [5]. Osmani recommends tiering review by blast radius and requiring evidence with every PR [15]. Faire requires two human reviews on agent PRs [18]. This is how teams reconcile volume with review: most PRs get light review and a few get heavy review.
- Approval bound to the exact commit. Marquardt's reviewer approves at the head commit [6]. GitHub's queue tests the merged result, not the branch [11].
- A test that fails on the old behaviour. GitHub advises requiring a test that fails before the change, and lists the red flags in agent PRs: gaming CI, duplicating utilities, claiming a fix without one, abandoning PRs, and prompt injection through workflows [14].
- Sandboxes as the security boundary. Stripe's devboxes have no production or internet access [1].
- Measure outcomes, not volume. Marquardt tracks reverts (0.2–0.7%) and fix rounds per PR (about 1) alongside throughput [6]. Shopify says it does not use AI-authored PR counts as a success metric [3]. In dotnet/runtime, agent PRs merged at 67.9% versus 87.1% for human PRs, and reverts were similar (0.6% vs 0.8%) [18].
- A circuit breaker for high-maintenance PRs. Research proposes predicting which PRs will need a lot of review effort from their file types and patch size, before a human opens them [15].
5. Failure Modes and Criticisms
- Review collapses. In a Microsoft study, regular users of command-line agents merged about 24% more PRs per engineer per day, but human review coverage fell from 89% to 68% and time to merge grew by about 22% [23]. Faros reports zero-review merges up 31.3% and incidents per PR up 242.7% (vendor data, flagged as such [15]). LinearB data, relayed second-hand, says AI PRs wait 4.6× longer for a reviewer and 67.3% fail first review, versus 15.6% of human PRs [26].
- "Passes the tests" is not "mergeable". METR had maintainers review 296 AI PRs that passed the SWE-bench Verified grader. Roughly half would not have been merged into main [24].
- Merge conflicts grow with parallelism. 27.67% of agent PRs conflict, and the rate is higher between pairs of PRs from different agents [19][20].
- Slop at the boundary. Open-source maintainers are getting buried. A Genkit core-team member estimates only 1 in 10 AI PRs is legitimate, and GitHub has considered letting maintainers turn PRs off entirely [25][27].
- Cost. OpenClaw's roughly $1.3M of API usage in 30 days was subsidised by OpenAI [9]. Before tuning, 31% of Marquardt's agent usage went to cache expiry; after tuning it was 0.7%. Tuning, not more agents, gave the 4.4× [6].
- Gains that don't transfer. Solo, greenfield "I ship code I don't read" setups [7][10] do not carry over to a team repository with users. Osmani says so explicitly [15]. The measured team-level gains are much smaller than the headlines: +24% PRs per engineer [23].
6. What an Agent Orchestration System Needs to Replicate It
Taken together, the sources give one checklist. Throughput comes from concurrency × small PR size × a merge path with no human in the default loop. Safety comes from sandboxes, deterministic gates, layered AI review, risk-tiered human review and outcome metrics.
| Capability | What the leaders do | Required for 2,000/week |
| Intake | Slack, ticket, CLI triggers; issue → task | Hundreds of well-specified, independent tasks per day |
| Decomposition | Disjoint specs, capped diff size, stacks | Small PRs with no shared files |
| Isolation | Devbox or clone per run | 30–40 concurrent sandboxes |
| Run loop | Deterministic + agent steps, capped CI rounds | Unattended runs; return to a human after N failures |
| Verification | Local lint, selected tests, CI | CI capacity sized for ~3,000 PRs/week |
| Review | 2+ different AI reviewers, approval at head commit | Agent review as the default gate |
| Human gates | Risk-tiered; low-risk auto-approve | Humans see only high-risk PRs |
| Landing | Merge queue, stacks, auto-merge | Queue as the only path to main |
| Metrics | Merge rate, reverts, fix rounds, cost per merged PR | Measure quality, not volume |
7. Turbine Hall: Where It Stands and What to Build

What Turbine does today, checked in this repository on 2026-11-22:
- Per-task isolation is already in place. Each task gets its own worktree (
.turbine/worktrees/<id>/) and branch (turbine/<id>). - Evidence and gates are already strong. Approvals are bound to a commit, a new commit makes the review and checks stale, every configured check runs in each worktree, and the AI review is grounded in the diff with spec, test and security lenses.
- Risk profiles exist. They can only go up, and they drive which roles are selected.
- Throughput is blocked by four human gates per task. Requirements, plan, code review and acceptance each need a human to type a short hash in a terminal (
docs/AGENT_DRIVER.md). At 2,000 PRs a week that is 8,000 terminal approvals a week. - Execution is manual-supervised only.
apps/cli/src/engine/engine.ts:1721andpackages/executor/src/index.ts:31refuse networked autonomous execution (E_UNSAFE_EXECUTION). - Landing is manual. There is no GitHub PR automation (see Known limitations in
docs/IMPLEMENTATION_STATUS.md). After ACCEPTED, a person runsgh pr createand merges by hand. - There is no scheduler. Nothing runs many tasks at once or caps their concurrency or spend.
In short, Turbine is built for one task done right. The leaders run thousands of tasks with risk-tiered rigor. The gap is in orchestration and policy, not in evidence quality, and that is good news: the evidence layer is the hard part, and Turbine already has it.
What to build, in order
- Standing policy gates, not agent approvals. The AGENTS.md rule that agents never approve a gate stays as it is. Instead, a human approves a hash-bound policy once, for example "risk profile
minimal, trackbugfix, diff under 300 lines, no new dependencies, no paths underauth/". Tasks that match the policy pass the requirements and plan gates automatically, and the event records which policy approved them. High-risk tasks keep all four human gates. This is OpenAI's risk-tiered auto-approve [5], expressed in Turbine's attestation model. - Two-reviewer AI code review at the head commit as the default gate. Extend the existing lenses with a second, different reviewer model, and require both to pass at the current head [6][15]. For low-risk tasks, a human sees the PR only when a reviewer flags CONCERNS.
- An unattended executor in a real sandbox. Add an execution mode that runs a headless agent (Claude Code or Codex) in a disposable container or VM per worktree. Use a Stripe-style state machine of deterministic steps (setup, lint, checks) and agent steps (implement, fix), with a cap of two check rounds before the task goes to CHANGES_REQUESTED [1][2]. Keep manual-supervised as the default for high-risk tasks. Lifting
E_UNSAFE_EXECUTIONshould depend on the sandbox, never on a flag. - A scheduler and fleet runner.
turbine fleet run --max-concurrent N --budget $Xpulls ready tasks, runstask nextloops, and records spend, merge rate and fix rounds per task. - Bulk intake and conflict-aware decomposition. Turn Jira or GitHub issues into tasks in batches. Use the Layer 3 context selection (CONTEXT.md relevant files) to predict which files each task touches, and refuse to run two overlapping tasks at the same time. That directly targets the 27.67% agent-PR conflict rate [20].
- PR automation and merge queue. On ACCEPTED, open the PR, enable auto-merge into a GitHub merge queue, and stack dependent tasks with
gh stack[11][12]. KeephumanGates.requirePrApprovalfor high-risk tasks. - Outcome metrics in
turbineitself. Track merged PRs per week, merge rate, revert rate, fix rounds per PR, cost per merged PR, and human review coverage by risk tier. Ship these together with the throughput number, never the number alone [6][23][24].
A realistic ramp
| Stage | Setup | Expected merged PRs/week |
| 0 (today) | 1 supervised agent, 4 human gates | about 10–30 |
| 1 | Policy gates + 2 AI reviewers + PR automation, 3–5 agents | about 50–150 |
| 2 | Sandboxed unattended executor + scheduler, 10–12 agents | about 300–800 (Marquardt range [6]) |
| 3 | 30–40 agents, merge queue, CI sized for about 3,000 PRs/week, bulk intake | about 2,000 |
Stage 3 also needs things outside Turbine: enough well-specified work to feed the fleet, CI capacity, and model spend. Model spend can be large; OpenClaw's was about $1.3M in a month [9].
References
[1] Minions: Stripe's one-shot, end-to-end coding agents
[2] Minions: Stripe's one-shot, end-to-end coding agents, Part 2
[3] Under the River (Shopify Engineering)
[4] Harness engineering: leveraging Codex in an agent-first world (OpenAI)
[5] Inside OpenAI's agentic software factory (Pragmatic Engineer)
[6] The same work on a third of the tokens: tuning a fleet of coding agents (Alexander Marquardt)
[7] The creator of Clawd: "I ship code I don't read" (Pragmatic Engineer)
[8] Dark Factory: OpenClaw Ships Faster Than You Can Read the Diff (AI Engineer)
[9] OpenClaw founder runs 100 AI agents (The Decoder)
[10] An Ex-Meta L8's Agentic Engineering Setup (ByteByteGo)
[11] How GitHub uses merge queue to ship hundreds of changes every day
[12] Stacked pull requests generally available (GitHub Changelog)
[13] Merge Queue Optimizations (Graphite docs)
[14] Agent pull requests are everywhere. Here's how to review them (GitHub Blog)
[15] Agentic Code Review (Addy Osmani)
[16] High-Signal AI Code Review That Adapts to Your Codebase at Scale (LinkedIn Engineering)
[17] How LinkedIn Uses AI to Review 40,000 Pull Requests a Week (ByteByteGo)
[18] How to Build an AI Software Factory (Firecrawl)
[19] Agent Fleets: Merging Is the New Bottleneck (StepTo)
[20] AgenticFlict: A Large-Scale Dataset of Merge Conflicts in AI (arXiv 2604.03551)
[21] Comparing AI Coding Agents: A Task-Stratified Analysis of Pull Request Acceptance (arXiv 2602.08915)
[22] PRarena
[23] Microsoft Study: AI Coding Agents Raise Pull Requests 24%
[24] Many SWE-bench-Passing PRs Would Not Be Merged into Main (METR)
[25] GitHub ponders kill switch for pull requests to stop AI slop (The Register)
[26] 10x PRs, 1x Reviewers: The Code-Quality Bottleneck (DEV Community)
[27] Open source maintainers are drowning in AI-generated pull requests (The New Stack)
[28] For Good AI Merged 4,211 Pull Requests in Three Months (TokenPost)