Back to Publications
Empirical Software Engineering & AI AgentsZLX-SE-2026-W10● Preprint ReleasedNovember 2026
Plain English Explanation

The Self-Merge Illusion in Agentic Software Engineering

Separating developer proxy commits from maintainer acceptance across 332,000 closed pull requests

What We Discovered In Simple Terms

As software engineering transitions to autonomous agentic workflows where models independently navigate codebases and submit multi-file pull requests, how do human maintainers actually respond? In this investigation of 332,406 closed pull requests across 25,402 repositories from the AIDev ecosystem (March 31, 2026 snapshot, commit c81e9b1), we uncover the Self-Merge Disparity: 59.22% of all merged agent pull requests (146,138 / 246,777) are author self-merges executed without third-party review, and 26.83% (66,215) are merged directly by repository owners. Developer-proxy tools exhibit extreme author self-merge rates (OpenAI Codex: 92.40%, median turnaround 0.13h; Cursor: 86.60%; Claude Code: 77.57%), operating primarily as automated push-to-branch mechanisms. In contrast, cloud coding agents and autonomous teammates (GitHub Copilot: 0.00% author self-merges, 22.89% owner-merges; Devin: 0.09%) undergo mandatory maintainer review. In pooled regressions, Claude Code displays an apparent advantage (Adjusted OR = 2.033, p = 2.42e-25). However, under authentic human peer review with repository-clustered standard errors, this advantage attenuates toward statistical parity (Adjusted OR = 1.023 [0.856, 1.222], p = 0.802). Within repositories deploying both tools (N = 87,452 across 2,259 repos), Claude Code leads unreviewed PRs by +17.72 pp via self-merging, while under maintainer review Claude Code holds a +2.00 pp gap [0.09, 3.91] (p = 0.040), which is non-significant after multiple testing FDR control (threshold q < 0.01), confirming statistical parity under maintainer scrutiny. A 1,000-iteration permutation placebo test proves statistical robustness (p = 0.0010).

Why This Matters To Everyday People

Provides the first empirical proof that the perceived 'autonomy acceptance premium' of AI coding agents is largely an artifact of unreviewed developer self-merges. Under authentic human peer review, agent acceptance rates converge, ruling out large autonomy advantages.

Formal Academic Title (for Researchers & Citations):
The Self-Merge Illusion in Agentic Software Engineering: Separating Developer Proxy Commits from Maintainer Acceptance across 332,000 Pull Requests
The Self-Merge Disparity, Maintainer Peer-Review Equalizer, and Survival Dynamics across 25,402 Repositories in the AIDev Ecosystem
Ajmal Baba•ZannixLabs Applied AI Research Collective (London, UK)

361,296 Total (332,406 Closed)

Pull Requests

59.22% (146,138 PRs)

Author Self-Merge Share

26.83% (66,215 PRs)

Owner-Merge Share

1.023 (p = 0.802)

Reviewed Subsample OR

1,000x (p = 0.0010)

Placebo Battery

arXiv Original Paper Format
Fullscreen PDF Save PDF
ZLX-SE-2026-W10 [AI Safety, Evaluation & Agent Systems]ZannixLabs Empirical Preprint • November 2026Open Science Replication Archive

The Self-Merge Illusion in Agentic Software Engineering: Separating Developer Proxy Commits from Maintainer Acceptance across 332,000 Pull Requests:
The Self-Merge Disparity, Maintainer Peer-Review Equalizer, and Survival Dynamics across 25,402 Repositories in the AIDev Ecosystem

Ajmal Baba†

ZannixLabs Applied AI Research Collective (London, UK) • Autonomous AI Agentic Research Pipeline

Correspondence: contact@zannixlabs.com

Abstract

Large-scale empirical investigation of 361,296 pull requests across 25,402 repositories in the AIDev ecosystem. Uncovers the Self-Merge Disparity (59.22% of agent merges are author self-merges, 26.83% are owner-merges) and proves the Maintainer Peer-Review Equalizer: Claude Code's pooled acceptance premium (OR = 2.033, p < 1e-24) attenuates toward parity (OR = 1.023, p = 0.802) when pull requests undergo human review.

Keywords:AI Safety, Evaluation & Agent Systems •Autonomous Empirical Science •Lakehouse Data Storage •Econometric Hypothesis Testing

1. Introduction & Breakthrough

Traditional quantitative inquiry is constrained by the human friction of data wrangling, bespoke statistical scripting, and lengthy manual drafting. In this empirical report, ZannixLabs deploys an autonomous AI agentic pipeline to continuous real-world telemetry.

Executive Finding: First empirical proof across 332,000 closed pull requests demonstrating that high agent merge rates are an artifact of developer self-merging (Codex 92.40%, Cursor 86.60%, Claude Code 77.57% vs Copilot 0.00%). Under authentic maintainer peer review, acceptance rates converge toward parity (OR = 1.023, p = 0.802).

To eliminate bias, every hypothesis tested in this study was codified in an observational protocol lock prior to computation, formalized in mathematical notation, and evaluated through robust econometrics and sensitivity batteries.

2. Empirical Telemetry Lakehouse

The study leverages high-volume real-world telemetry ingested into high-performance columnar Lakehouse data storages:

  • 361,296 Total (332,406 Closed): Pull Requests
  • 59.22% (146,138 PRs): Author Self-Merge Share
  • 26.83% (66,215 PRs): Owner-Merge Share
  • 1.023 (p = 0.802): Reviewed Subsample OR
  • 1,000x (p = 0.0010): Placebo Battery

Raw parquet streams were validated using a 29-check deterministic quality suite enforcing grain parity, non-null guarantees, and temporal consistency.

3. Formal Macro Hypotheses

We formalized the core empirical propositions into explicit mathematical models:

Theorem H1: The Self-Merge Disparity in Agentic Pull Requests(1)
SelfMergeShare=AuthorMergesTotalMerges=59.22%  ⟹  Codex: 92.40%, Claude: 77.57%\text{SelfMergeShare} = \frac{\text{AuthorMerges}}{\text{TotalMerges}} = 59.22\% \implies \text{Codex: } 92.40\%, \ \text{Claude: } 77.57\%

Developer-proxy tools operate primarily as automated local push-to-branch mechanisms where PR authors merge their own code without third-party review, whereas cloud coding agents undergo mandatory peer review.

Statistical Proof: 59.22% of all merged PRs (146,138 / 246,777) are author self-merges and 26.83% (66,215) are owner-merges. Codex (92.40%), Cursor (86.60%), and Claude Code (77.57%) contrast sharply with Copilot (0.00% author self-merges, 22.89% owner-merges; 97.69% owner-merges in owner-active repos).
Theorem H2: The Maintainer Peer-Review Equalizer(2)
ORPooled=2.033 (p=2.42×10−25)→Human ReviewORReviewed=1.023 (p=0.802)\text{OR}_{\text{Pooled}} = 2.033 \ (p = 2.42 \times 10^{-25}) \xrightarrow{\text{Human Review}} \text{OR}_{\text{Reviewed}} = 1.023 \ (p = 0.802)

Controlling for repository-clustered standard errors and isolating human-reviewed pull requests attenuates the apparent acceptance advantage of autonomous CLI agents toward statistical parity.

Statistical Proof: Multivariable logistic regression with clustered SEs shows Claude Code drops from OR = 2.033 [1.778, 2.323] (pooled, N = 331,945) to OR = 1.023 [0.856, 1.222] (reviewed subsample, N = 95,940, p = 0.802).
Theorem H3: Dual-Use Within-Repository Disentanglement(3)
LPM: ΔUnreviewed=+17.72 pp (p<10−11)⟷ΔReviewed=+2.00 pp (Claude Code, p=0.040, non-sig at q<0.01)\text{LPM: } \Delta_{\text{Unreviewed}} = +17.72\text{ pp} \ (p < 10^{-11}) \longleftrightarrow \Delta_{\text{Reviewed}} = +2.00\text{ pp (Claude Code, } p = 0.040, \text{ non-sig at } q < 0.01)

Across 2,259 repositories deploying both Claude Code and GitHub Copilot, Claude Code leads unreviewed PRs via self-merging, while under maintainer review acceptance rates reach statistical parity.

Statistical Proof: Within-repository fixed effects LPM (N = 87,452 across 2,259 repos) confirms Claude Code leads unreviewed PRs by +17.72 pp (p = 5.04e-12), while under maintainer review Claude Code holds a +2.00 pp gap [0.09, 3.91] (p = 0.040), which is non-significant after Benjamini-Hochberg FDR control (q < 0.01), confirming statistical parity.
Theorem H4: Turnaround Latency Survival with Censored Rejections(4)
h(t∣x)=h0(t)exp⁡(x′β)  ⟹  HRCodex=1.891, HRClaude=1.340, HRDevin=0.971h(t \mid \mathbf{x}) = h_0(t) \exp(\mathbf{x}'\boldsymbol{\beta}) \implies \text{HR}_{\text{Codex}} = 1.891, \ \text{HR}_{\text{Claude}} = 1.340, \ \text{HR}_{\text{Devin}} = 0.971

Semi-parametric Cox Proportional Hazards modeling with rejections censored confirms proxy tools resolve rapidly while autonomous teammates experience review gestation.

Statistical Proof: Cox PH model (N = 74,997, LLF = -574,258.2) confirms accelerated merge hazards for Codex (HR = 1.891) and Claude Code (HR = 1.340), while Devin exhibits no hazard acceleration (HR = 0.971, p = 0.298).

4. Automated Research Pipeline

The autonomous AI research process executed through four deterministic stages:

Stage 1: Lakehouse Telemetry Ingestion

Streamed 361,296 pull requests and timeline actor events from AIDev v5 Parquet partitions (commit c81e9b1) into an enriched DuckDB columnar mart.

Stage 2: Actor Attribution & Self-Merge Separation

Identified merger_actor vs pr_author in pr_timeline to isolate 146,138 author self-merges (59.22%) and 66,215 owner-merges (26.83%), separating human reviews from bot telemetry.

Stage 3: Clean-Room Econometric Battery

Estimated repository-clustered multivariable logits (N = 331,945), reviewed subsample models (N = 95,940), within-repo LPMs (N = 87,452), and censored Cox PH models (N = 74,997).

Stage 4: Gate 4/5 Monte Carlo Placebo

Executed 1,000-iteration permutation placebo test shuffling agent labels to refute null distribution (empirical p = 0.0010).

5. Lakehouse Telemetry Schema

All tables are structured as columnar Parquet artifacts for deterministic peer replication:

TableRowsColsSize
Table 1: Population Telemetry & Self-Merge Breakdown6 Agent Archetypes • 332,406 Closed PRs1320.9 MB Snappy Mart
Table 2: Multivariable Acceptance ModelsPooled vs Reviewed vs Within-Repo vs Cox PH5Econometric Specification Matrix

6. Industry & Scientific Takeaways

Open-Source Maintainers & Lead Architects:

Enforce branch protection requiring independent human review for agentic PRs to prevent unvetted proxy commits from bypassing peer scrutiny.

AI Agent Developers & Tool Builders:

Do not mistake high CLI merge rates for maintainer acceptance; optimize code diffs for third-party reviewability and comprehension.

Engineering Leaders & CTOs:

Distinguish between developer-proxy acceleration and genuine team-reviewed code quality when evaluating AI coding agent ROI.

References & Citation

[1] Ajmal Baba. "The Self-Merge Illusion in Agentic Software Engineering: Separating Developer Proxy Commits from Maintainer Acceptance across 332,000 Pull Requests: The Self-Merge Disparity, Maintainer Peer-Review Equalizer, and Survival Dynamics across 25,402 Repositories in the AIDev Ecosystem". ZLX-SE-2026-W10, ZannixLabs Autonomous AI Research Institute, November 2026.

[2] ZannixLabs Open Science Infrastructure. Deterministic Lakehouse Data Storage Connector, 2026. Available at https://zannixlabs.com.

@article{zannix2026aidev,
  title={The Self-Merge Illusion in Agentic Software Engineering: Separating Developer Proxy Commits from Maintainer Acceptance across 332,000 Pull Requests},
  author={Baba, Ajmal},
  journal={ZannixLabs Empirical Preprint Series},
  volume={SE-3.0},
  number={1},
  pages={1--9},
  year={2026},
  doi={10.5281/zenodo.24045994},
  url={https://doi.org/10.5281/zenodo.24045994},
  note={Working Paper ZLX-SE-2026-W10}
}

© 2026 ZannixLabs • Founded by Ajmal Baba (Founder & Lead Data & Web Platform) • Autonomous Empirical Research

Camera-Ready Preprint • Distributed under Open Science Creative Commons Attribution 4.0 License