arXiv:2610.12849cs.SEOct 2026

Manuscript Offprint

arXiv:2610.12849

Co-Modifying Application Code and Deployment Infrastructure: A Causal Study of AI Agent Pull Requests

Mohammad Wathiq Soualhi, Basem Suleiman

MOHAMMAD WATHIQ SOUALHI, Independent Researcher, Malaysia

BASEM SULEIMAN, University of New South Wales, Australia

Current software engineering agents are predominantly evaluated inside isolated sandboxes against synchronous, local tests. However, deploying features in collaborative repositories requires modifying continuous integration pipelines, container configurations, and provisioning manifests alongside application logic. Because agents lack deployment awareness, attempting these cross-domain modifications introduces unverified dependencies into asynchronous integration pipelines. To isolate the causal integration overhead of dual-scope pull requests (PRs), which modify both application code and deployment infrastructure, we evaluated 26,999 PRs across two large-scale datasets (AIDev v5 and MOSAIC-3M) encompassing six agent architectures and an aligned human baseline. By contributing a deterministic four-tier file taxonomy and an exact multidimensional strata-matching framework, we isolated integration metrics under conditional exchangeability while controlling for application volume. Currently, agents operate primarily as application coders or maintenance workers, with pure maintenance tasks capturing 17.70% to 25.41% of agent-authored PRs. Dual-scope modifications represent only 4.48% to 4.55% of agentic PRs, yet they 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.24×, driven mechanically by continuous integration 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 and merge silently in a median of under 31 minutes. These uninspected modifications compromise the build verification oracle by creating a circular verification failure, establishing the need for deployment-aware benchmarks and strict path-based access controls.

CCS Concepts: • Software and its engineering → Software configuration management and version control systems; Software development process management.

Additional Key Words and Phrases: AI Coding Agents, Pull Requests, DevOps, Continuous Integration, Infrastructure as Code, Modern Code Review, Causal Inference, Software Supply Chain Security

1 Introduction

AI coding agents increasingly author and submit source code contributions across collaborative software repositories [27, 32]. Current evaluation benchmarks assess these agents primarily within isolated containerized sandboxes, spanning micro-level code synthesis (HumanEval [7]), repository-scale issue resolution (SWE-bench [18], DevBench [26]), and specialized infrastructure automation (DevOps-Gym [37]). While these frameworks effectively measure offline code synthesis and local test resolution, they isolate code generation from asynchronous continuous integration pipelines and shared repository governance. In production environments, however, operationalizing new application logic frequently requires concurrently modifying continuous integration (CI/CD) pipelines, container configurations, and declarative infrastructure-as-code (IaC) manifests [11, 17, 35]. In this work, we conceptualize these infrastructure configurations not as disjointed coding tasks, but as the operational context required to successfully deploy functional application code into production.

Current agent architectures operate with a localized synthesis bias: they generate code without proactive mechanisms to anticipate downstream deployment constraints, asynchronous integration pipelines, or human maintainer scrutiny. When an agent attempts to concurrently modify application code and operational infrastructure within the same contribution—a pattern we formalize as a dual-scope pull request (PR)—it transmits unverified cross-domain dependencies into the live repository. This dynamic not only replicates historical pre-DevOps organizational silos [5], but also introduces socio-technical vulnerabilities. By automating infrastructure modifications without established governance protocols, agents risk creating a productivity illusion: rapid code generation is either offset by multi-day delays in the maintainer review queue, or it bypasses human inspection entirely, establishing uninspected supply-chain vectors.

Despite the growing prevalence of agent-authored code contributions, existing empirical software engineering literature lacks a rigorous evaluation of this cross-domain integration overhead. Prior large-scale mining studies evaluate agent performance predominantly through coarse binary merge acceptance rates, raw code churn proxies, or subjective natural-language task categorizations [10,31,44][10, 31, 44]. Furthermore, by analyzing observational repository data without enforcing conditional exchangeability, existing studies cannot disentangle the true integration penalty from structural confounders—such as functional application size, architectural archetype, and test verification rigor. Consequently, the software engineering community lacks causal evidence regarding three critical dimensions of agent contributions: (1) the operational scope of cross-domain infrastructure modifications, (2) the mechanical latency bottlenecks these modifications induce, and (3) the extent to which human oversight bifurcates between agent-authored and human-authored dual-scope contributions.

To address this empirical gap, we formulate three research questions:

RQ1: What is the operational scope of agent-authored PRs, how do they co-modify application code alongside deployment infrastructure, and which subdomains do they target?

RQ2: How does the merge latency of agent-authored dual-scope PRs compare to that of equivalent application-only PRs, and which infrastructure subdomains drive integration bottlenecks?

RQ3: How does the inclusion of deployment infrastructure alter human maintainer oversight of agent-authored PRs compared to human developer baselines, and does repository governance moderate this intervention?

To investigate these questions, we construct a harmonized cross-validation cohort spanning 26,999 PRs across two large-scale datasets: AIDev v5 (N = 21, 855) [27] and MOSAIC-3M (N = 5, 144, comprising 2,570 agent PRs and 2,574 human PRs) [32]. Across the two cohorts, we evaluate six agent architectures alongside an aligned human baseline, restricting analysis to mature repositories with over 100 stars. To eliminate subjective classification noise and upstream natural language processing (NLP) attrition, we develop a deterministic, four-tier sequential file-domain taxonomy that categorizes modified files based on path semantics and active authoring status. Furthermore, to isolate the causal integration penalty of infrastructure co-modifications, we implement a greedy 1:1 nearest-neighbor matching design that pairs dual-scope and application-only PRs within exact strata (controlling for agent architecture, architectural archetype, test maturity, and language ecosystem) while matching closely on application file volume.

Our empirical investigation reveals that while dual-scope infrastructure modifications represent a narrow operational slice (4.48% to 4.55% of agent-authored PRs) compared to non-functional repository maintenance chores (17.70% to 25.41%), they introduce statistically significant integration friction. Specifically, co-modifying infrastructure escalates median merge latency by +13.13 hours in AIDev v5, multiplying total time-to-merge by 3.24×. This delay is driven primarily by continuous integration manifests and declarative system provisioning, which multiply integration times by 3.8× and 2.7×, respectively.

Furthermore, maintainer oversight exhibits a structural bifurcation based on author identity. While human review rates remain stable when developers co-modify infrastructure (72.2% to 73.4%), agent-authored dual-scope PRs trigger volatile oversight—increasing external review rates from 47.5% to 53.1% in AIDev v5, while dropping them from 52.5% to 36.2% in MOSAIC-3M. Even among external contributors with zero repository write access, agent identity reduces the odds of human review by 63.7%. Consequently, repository workflows default to a bimodal integration trap: 43.1% to 56.2% of agent-authored dual-scope PRs bypass external review entirely to merge silently in a median of under 31 minutes, whereas explicitly reviewed contributions stall in the integration queue for 15.59 to 49.80 hours.

This paper makes the following scholarly contributions:

• Operational Characterization of Agent Contributions: The first dual-dataset empirical evaluation quantifying dual-scope PRs and repository maintenance chores across 26,999 PRs, six agent architectures, and an aligned human baseline.

• Deterministic Framework: An extensible four-tier file taxonomy and exact 4D strata matching algorithm that controls for functional application file volume and eliminates reliance on subjective, high-attrition natural language task labels.

• Causal Identification of Integration Friction: Quantitative isolation of the +13.13-hour / 3.24× merge latency penalty, decomposing the specific continuous integration and provisioning manifests that mechanically drive integration delays.

• Socio-Technical Governance & Supply-Chain Security: Empirical evidence demonstrating that agent-authored PRs face a 63.7% human review deficit independently of repository administrative permissions, establishing a quantifiable supply-chain vulnerability.

References (12)