arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.08017cs.SE
收藏

合作者还是助手?AI编码代理如何在拉取请求生命周期中分配工作

Collaborator or Assistant? How AI Coding Agents Partition Work Across Pull Request Lifecycles

University of Toronto(多伦多大学)

Young Jo, Chung, Safwat Hassan

AI总结:

本文研究AI编码代理在拉取请求生命周期中如何分配工作,通过分析工具的协作-助手光谱,探讨操作权与合并治理的分离,提出分类学、状态机和可重复实验包。

摘要:

当AI编码代理打开分支并提交拉取请求(PR)时,两个问题共同决定了监督设计:谁开始工作(操作代理)和谁授权其完成(合并治理)。我们通过工具在协作-助手光谱中的表现,重新分配了主动权、监督和批准。在五种工具(OpenAI、Copilot、Devin、Cursor、Claude Code)中,合并治理主要由人类完成。我们分析了29,585个PR生命周期,使用发起人x审批人分类法和六个交互场景;生命周期重建提供了角色背后的过程。协作工具(Cursor、Devin、Copilot)将操作主动权集中在代理所打开并推进PR工作的代理上,而人类保留审查和批准,直到合并。助手工具(OpenAI、Claude)则将任务方向主要交给人类,并在人类主导的工作流中提供有限的支持。在整个光谱中,代理和治理分离:协作流程的主动权在96%以上由代理发起,但最终的合并权限仍几乎完全由人类决定,代理分类的审批者被限制在少数PR中。当自动化执行合并时,日志记录执行者而非决策者,标志着观察的边界。我们贡献了分类学、每种工具的状态机和一个用于研究自动化、监督和治理在PR工作流中的可重复实验包。

英文摘要:

When AI coding agents open branches and submit pull requests (PRs), two questions co-determine oversight design: who starts the work (operational agency) and who authorizes its completion (merge governance). We characterize tools along a Collaborator-Assistant spectrum in how they redistribute initiative, oversight, and endorsement, while merge governance remains predominantly human across five tools (OpenAI, Copilot, Devin, Cursor, Claude Code). We analyze 29,585 PR lifecycles using an Initiator x Approver taxonomy with six interaction scenarios; lifecycle reconstruction supplies the how behind those roles. Collaborator tools (Cursor, Devin, Copilot) concentrate operational initiative in agents that open and carry PR work forward, with humans retaining review and endorsement on the path to merge; Assistant tools (OpenAI, Claude) leave task direction primarily with humans and supply bounded support within human-led workflows. Across the spectrum, agency and governance decouple: Collaborator workflows are >=96% agent initiated, yet terminal merge authority remains almost exclusively human, with agent-classified approvers confined to a small fraction of PRs. Where automation executes a merge, logs record the executor but not the decision-maker, marking a boundary of observation. We contribute the taxonomy, per-tool state machines, and a replication package for research on automation, oversight, and governance in PR workflows.

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

↑