← 研踪 PaperTrailarXiv:2611.40622 · v1
Information Needs in Code Review: What Can an Agent's Trajectory Answer?
首次提交 2026-11-30 15:50
版本更新 2026-11-30 15:50
雷达观测 2026-12-01 14:28
摘要
Coding agents open pull requests (PRs) at scale, and many are merged with minimal human review, yet people remain accountable for what gets merged. When review is skipped or left to agents, teams lose what PRs provide beyond defect detection: understanding, rationale, and knowledge transfer. Behind each agent-authored PR lies an execution trajectory recording what the agent read, changed, ran, and abandoned. Conventional review surfaces only the diff and the agent's own description. While raw trajectories are often too long for practical use during code review, they should be converted into context to support human readability and engagement. By mapping reviewer information needs from prior code-review literature to identify what information a trajectory can supply and a diff alone cannot. Using this mapping, we propose a method to create short, extracted summaries in which each item is traceable to its corresponding trajectory steps. We adapt CAFE(S), a framework for assessing the context provided to coding agents (i.e., clarity, actionability, fidelity, efficiency, and security), to the summaries extracted for reviewers, human or not. We argue that such evidence must distinguish between what the agent claims and what its recorded tool outputs show, including whether each check was part of the project's own tests or a script the agent wrote, since passing checks alone does not establish correctness. Lastly, a research agenda is presented to test this context with human reviewers and agentic reviewers.
作者备注:5 pages, 1 figure, 1 table
观测到的版本
相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。
v1 · 2026-11-30 15:50 · 最新观测版本
Information Needs in Code Review: What Can an Agent's Trajectory Answer?
Coding agents open pull requests (PRs) at scale, and many are merged with minimal human review, yet people remain accountable for what gets merged. When review is skipped or left to agents, teams lose what PRs provide beyond defect detection: understanding, rationale, and knowledge transfer. Behind each agent-authored PR lies an execution trajectory recording what the agent read, changed, ran, and abandoned. Conventional review surfaces only the diff and the agent's own description. While raw trajectories are often too long for practical use during code review, they should be converted into context to support human readability and engagement. By mapping reviewer information needs from prior code-review literature to identify what information a trajectory can supply and a diff alone cannot. Using this mapping, we propose a method to create short, extracted summaries in which each item is traceable to its corresponding trajectory steps. We adapt CAFE(S), a framework for assessing the context provided to coding agents (i.e., clarity, actionability, fidelity, efficiency, and security), to the summaries extracted for reviewers, human or not. We argue that such evidence must distinguish between what the agent claims and what its recorded tool outputs show, including whether each check was part of the project's own tests or a script the agent wrote, since passing checks alone does not establish correctness. Lastly, a research agenda is presented to test this context with human reviewers and agentic reviewers.
查看此版本解读 →查看此版本原文 ↗