Information Needs in Code Review: What Can an Agent's Trajectory Answer?
Hannah Estes, Saba Khanmohammadi, Amirali Rayegan, Rujuta Palimkar, Wesley Assunção
Abstract
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.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI
- Comments
- 5 pages, 1 figure, 1 table
Related papers
Diffs Are Cheap, Show Me the Trajectory: An Empirical Study of Trajectory-Informed Code Review
Shared title terminologycs.SEZijian Luo, Pengfei Gao, Dayi Lin et al.
Did the Finding Go Away? Evidence for Closing Automated Code Review Findings
Shared title terminologycs.SEXuechun Luo, Weicheng Wang
Evaluating Code Slop in Long-Horizon Coding Agents
Shared title terminologycs.SEShubham Gandhi, Shyam Agarwal, Nachiket Kotalwar et al.
ReleaseSynth: Scaling Data from Software Evolution for Long-Horizon Coding Agents
Shared title terminologycs.SEMan Ho Lam, Chaozheng Wang, Zongjie Li et al.
Software Engineering After Human Comprehension? Review the Checks Instead of Code
Shared title terminologycs.SEChristoph Treude
Proceeding After Seeing: When Coding Agents Act on Users' False Claims About the Code
Shared title terminologycs.SEYi Sun