Co-Modifying Application Code and Deployment Infrastructure: A Causal Study of AI Agent Pull Requests
Organizations: Independent Researcher, Malaysia · University of New South Wales, Australia
Abstract
Current software engineering agents are evaluated predominantly inside isolated sandboxes against synchronous local tests. However, deploying features in collaborative repositories requires modifying continuous integration (CI/CD) pipelines, containers, and provisioning manifests alongside application logic. Because agents lack deployment awareness, attempting cross-domain modifications introduces unverified dependencies into asynchronous integration pipelines. To isolate the causal integration overhead of dual-scope pull requests (PRs)-modifying both application code and deployment infrastructure-we evaluated 26,999 PRs across two large datasets (AIDev v5 and MOSAIC-3M) encompassing six agent architectures and an aligned human baseline. Using a deterministic four-tier file taxonomy and an exact 4D strata-matching framework, we isolated integration metrics under conditional exchangeability while controlling for application volume. We find agents operate primarily as application coders or chore workers, with maintenance tasks capturing 17.70% to 25.41% of agent PRs. Dual-scope modifications represent only 4.48% to 4.55% of agentic PRs, yet trigger bimodal integration outcomes. In the first mode, explicitly reviewed contributions experience protracted delays, adding a median penalty of +13.13 hours and multiplying time-to-merge by 3.24x, driven mechanically by CI/CD and provisioning manifests. In the second mode, maintainer gatekeeping exhibits a structural bypass: even for external contributors lacking repository write access, agent identity reduces the odds of human review by 63.7% compared to human peers. Consequently, 43.1% to 56.2% of dual-scope PRs bypass inspection to merge silently in a median of under 31 minutes. These uninspected modifications compromise build verification, demonstrating the need for deployment-aware benchmarks and strict path-based access controls.
Figures & tables
| Dimension / Pipeline Stage | AIDev v5 ( pop ) | MOSAIC-3M |
| A. Dataset Scope & Repository-Level Curation | ||
| Native Collection Timeline | Jan 2025 – Mar 2026 | Jun 2025 – Aug 2025 |
| Profiled Agent Architectures | Codex, Claude, Copilot, Cursor, Devin, Jules | Codex, Claude, Copilot, Devin, Jules |
| Human Baseline | None | Included |
| Repository Popularity Threshold | (Inherent to pop ) | (Applied filter) |
| Curated Repositories ( ) | 25,402 | 4,553 (of 50,515) |
| AIDev v5 | MOSAIC-3M | |||||
| Author / Architecture | Total PRs | Dual-Scope | Rate (%) | Total PRs | Dual-Scope | Rate (%) |
| Claude Code | 291 | 52 | 17.87% ∗ | 903 | 55 | 6.09% |
| Copilot | 2,675 | 413 | 15.44% | 505 | 23 | 4.55% |
| Devin | 751 | 91 | 12.12% | 858 | 33 | 3.85% |
| Google Jules | 27 | 3 | 11.11% | 26 | 1 | 3.85% |
| Cursor | 1,176 | 103 | 8.76% | Not Tracked | ||
| Model / Factor | PR Count | Time Ratio [95% CI] | -value |
| Model 1: Global Treatment Effect | |||
| AIDev v5 Dual-Scope | 687 | 3.237 [2.545, 4.116] | |
| MOSAIC-3M Dual-Scope | 80 | 0.794 [0.377, 1.672] | |
| Model 2: Subdomain Decomposition | |||
| CI/CD Manifests | 532 | 3.827 [2.918, 5.020] | |
| System Provisioning | 61 | 2.727 [1.315, 5.655] | |
| PR Scope | Formal Review (%) | Silent Merge (%) | Silent OR [95% CI] | -value |
|---|---|---|---|---|
| MOSAIC-3M Human ( ) | ||||
| Application-Only | 72.2 | 21.5 | 1.00 (Ref) | — |
| Dual-Scope | 73.4 | 19.0 | 0.85 [0.38, 1.89] | 0.839 |
| MOSAIC-3M Agents ( ) | ||||
| Application-Only | 52.5 | 42.5 | 1.00 (Ref) | — |
| Dual-Scope | 36.2 | 56.2 | 2.38 [1.04, 5.43] | 0.052 |
Software Engineering Agents
Software Engineering Agents are AI systems that use code, tools, and feedback to perform software development tasks.
See all 347 papers