arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.12849cs.SEcs.AI
收藏

协同修改应用代码与部署基础设施:对AI智能体拉取请求的因果研究

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

University of New South Wales(新南威尔士大学)

Mohammad Wathiq Soualhi, Basem Suleiman

AI总结:

该研究通过分析AIDev v5和MOSAIC-3M数据集的26999个PR,发现AI智能体的双范围PR占比低但会引发双峰集成结果,部分PR绕过检查静默合并,凸显了部署感知基准和路径访问控制的必要性。

摘要:

当前软件工程智能体主要在隔离沙箱内针对同步本地测试进行评估。然而,在协作代码仓库中部署功能时,需要在修改应用逻辑的同时修改持续集成(CI/CD)流水线、容器和配置清单。由于智能体缺乏部署感知能力,尝试跨领域修改会将未经验证的依赖项引入异步集成流水线。为了分离双范围拉取请求(PR)——即同时修改应用代码和部署基础设施的PR——所带来的因果集成开销,我们在两个大型数据集(AIDev v5和MOSAIC-3M)上评估了26999个PR,涵盖六种智能体架构和一个对齐的人类基准。我们使用确定性的四层文件分类法和精确的4D分层匹配框架,在控制应用代码量的同时,在条件可交换性下分离出集成指标。我们发现智能体主要作为应用编码者或协调者工作,维护任务占智能体PR的17.70%至25.41%。双范围修改仅占智能体PR的4.48%至4.55%,但会引发双峰式集成结果。在第一种模式下,经过明确审查的贡献会经历长时间延迟,带来中位数为+13.13小时的惩罚,并将合并时间乘以3.24倍,这是由CI/CD和配置清单机械驱动的。在第二种模式下,维护者把关表现出结构性绕过:即使对于缺乏仓库写入权限的外部贡献者,与人类同行相比,智能体身份会使人工审查的几率降低63.7%。因此,43.1%至56.2%的双范围PR会绕过检查,在不到31分钟的中位数时间内静默合并。这些未检查的修改损害了构建验证,表明需要部署感知的基准和严格的基于路径的访问控制。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑