RepoTrace: Improving Requirement Tracing in Multi-Round Agent Interactions
Not on the map. Why?
Abstract (arXiv)
Code agents have become increasingly capable of performing software engineering tasks through interaction with software environments. However, agents tend to degrade as the number of interaction rounds increases, making it difficult to maintain existing software during iterative modification. We analyze 2,656 agent trajectories in EvoCode-Bench and identify requirement focus misalignment as a recurring failure pattern, where agents struggle to distinguish the primary modification targets of a requirement from unrelated code. We propose Repotrace a requirement-driven repository understanding harness that combines repository structure with requirement semantics to construct a requirement-code correspondence and injects it into the agent context. This correspondence enables code agents to follow the repository architecture, trace requirements across multi-round interactions, and identify the core code elements corresponding to the current requirement. Experiments show that Repotrace improves the mean per-round reward (MPR) across different models (e.g., +19.99 on GLM-5.2) and agent harnesses (e.g., +10.22 on Claude Code). Across rounds, Repotrace increases the average per-round reward from 0.163 to 0.371 on Terminus-2 with DeepSeek-V4-Pro, while reducing average regression errors by 56.78%. We release the source code and agents' trajectories to support future research.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 27 of its 45 references that are in the map. Submitted 26 Oct 2026.
Builds on
27 of 45 references.
References · 27
- 2021Evaluating Large Language Models Trained on Codecited by 8,938
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,363
- 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 742
- 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 740
- 2025Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agentscited by 502
- 2025LLMs Get Lost In Multi-Turn Conversationcited by 501
- 2023Cognitive Architectures for Language Agentscited by 475
- 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 363
- 2025LocAgent: Graph-Guided LLM Agents for Code Localizationcited by 99
- 2024CodexGraph: Bridging Large Language Models and Code Repositories via Code Graph Databasescited by 70
- 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Taskscited by 42
- 2025RPG: A Repository Planning Graph for Unified and Scalable Codebase Generationcited by 22
15 more
- 2025CodeFlowBench: A Multi-turn, Iterative Benchmark for Complex Code Generationcited by 19
- 2026How Coding Agents Fail Their Users: A Large-Scale Analysis of Developer-Agent Misalignment in 20,574 Real-World Sessionscited by 19
- 2026Hierarchical Self-Improvement: A Framework for Task-Specific Evolvable Agent Harnessescited by 17
- 2025CodeIF-Bench: Evaluating Instruction-Following Capabilities of Large Language Models in Interactive Code Generationcited by 16
- 2026EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactionscited by 14
- 2026Mendel G"odel Machine: Recursive Self-Improving Coding Agents via Comparative Evolutioncited by 12
- 2026When the Specification Emerges: Benchmarking Faithfulness Loss in Long-Horizon Coding Agentscited by 9
- 2025SR-Eval: Evaluating LLMs on Code Generation under Stepwise Requirement Refinementcited by 8
- 2025RANGER -- Repository-Level Agent for Graph-Enhanced Retrievalcited by 8
- 2025Benchmarking Correctness and Security in Multi-Turn Code Generationcited by 5
- 2026TraceDev: A Traceability-Driven Multi-agent Framework for Requirement-to-Code Developmentcited by 3
- 2026Effective and Efficient Context Retrieval via Partial Dependency Graph for Repository-Level Code Generationcited by 3
- 2025The Matthew Effect of AI Programming Assistants: A Hidden Bias in Software Evolutioncited by 2
- 2025LLM-Driven Cost-Effective Requirements Change Impact Analysiscited by 2
- 2026Regression Accumulation in Multi-Turn LLM Programming Conversationscited by 2
Built on by
Not cited yet.