Metraipolis › archive › dc_972aa77c5ba5
RepoTrace: Improving Requirement Tracing in Multi-Round Agent Interactions — arXiv:2610.35333
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.35333
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-27T08:02:40.081Z
- SHA-256 of the archived text
44d2517adfad3f89a1f8f9b3d7908230ffe5f460277ffe1db0ae7345bf229c79- Stable URL of this page
https://metraipolis.com/documento/dc_972aa77c5ba5
How to cite
RepoTrace: Improving Requirement Tracing in Multi-Round Agent Interactions — arXiv:2610.35333 — arXiv (en), https://arxiv.org/abs/2610.35333 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_972aa77c5ba5 (Metraipolis archive dc_972aa77c5ba5, sha256 44d2517adfad3f89a1f8f9b3d7908230ffe5f460277ffe1db0ae7345bf229c79)
BibTeX
@misc{dc972aa77c5ba5,
title = {RepoTrace: Improving Requirement Tracing in Multi-Round Agent Interactions — arXiv:2610.35333},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.35333},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_972aa77c5ba5; sha256 44d2517adfad3f89a1f8f9b3d7908230ffe5f460277ffe1db0ae7345bf229c79},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.35333. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
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. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2610.35333 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-27T07:55:30.984Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).