Abstract

Large language model (LLM) agents increasingly reuse prior experience, but most approaches assume that problems and solutions are already aligned. Software histories rarely provide this alignment: a pull request (PR) may contain multiple continuous integration (CI) problems, failed attempts, reverted edits, and unrelated changes, obscuring which changes resolve each problem. We present RETRACE, a framework for reconstructing problem-level repair experience from such histories. RETRACE combines an endpoint view that reasons backward from changes retained in the passing revision with a development view that traces repair evolution forward through commit history. CI execution evidence reconciles the two views, and the recovered experience is represented at three abstraction levels, from concrete fixes to transferable repair patterns. For new failures, RETRACE retrieves relevant problem-level experience to guide repair. On CI-REPAIR-BENCH, comprising 565 PR-level repairs from 101 repositories across 12 failure categories, RETRACE improves mini-SWE-agent Pass@1 from 19.6% to 31.9% with MiniMax-M2.5 and from 23.3% to 32.8% with DeepSeek-V4-Flash. On a matched subset, Codex improves from 15.5% to 27.5%. Combining both views consistently outperforms either alone, showing that recovering problem-change alignment enables historical CI repairs to serve as reusable repair experience.

Keywords

Subject

Publication details

Journal
Not available
Open access
Green open access

Cite this article

APA 7

Muna, R. K., Ahasanuzzaman, M., Rafi, N., Xu, Y., Yang, J., & Chen, T. H. (2026). RETRACE: From Entangled Repair Histories to Reusable Experience for CI Repair. https://omanscience.com/en/articles/retrace-from-entangled-repair-histories-to-reusable-experience-for-ci-repair

MLA 9

Muna, Rabeya Khatun, et al. "RETRACE: From Entangled Repair Histories to Reusable Experience for CI Repair." https://omanscience.com/en/articles/retrace-from-entangled-repair-histories-to-reusable-experience-for-ci-repair.

Chicago (author–date)

Muna, Rabeya Khatun, Muhammad Ahasanuzzaman, Nakhla Rafi, Yisen Xu, Jinqiu Yang, and Tse-Hsun Chen. 2026. "RETRACE: From Entangled Repair Histories to Reusable Experience for CI Repair." https://omanscience.com/en/articles/retrace-from-entangled-repair-histories-to-reusable-experience-for-ci-repair.

Harvard

Muna, R. K., Ahasanuzzaman, M., Rafi, N., Xu, Y., Yang, J. and Chen, T. H. (2026) 'RETRACE: From Entangled Repair Histories to Reusable Experience for CI Repair', Available at: https://omanscience.com/en/articles/retrace-from-entangled-repair-histories-to-reusable-experience-for-ci-repair.

Vancouver

Muna RK, Ahasanuzzaman M, Rafi N, Xu Y, Yang J, Chen TH. RETRACE: From Entangled Repair Histories to Reusable Experience for CI Repair. https://omanscience.com/en/articles/retrace-from-entangled-repair-histories-to-reusable-experience-for-ci-repair

IEEE

R. K. Muna, M. Ahasanuzzaman, N. Rafi, Y. Xu, J. Yang, and T. H. Chen, "RETRACE: From Entangled Repair Histories to Reusable Experience for CI Repair," https://omanscience.com/en/articles/retrace-from-entangled-repair-histories-to-reusable-experience-for-ci-repair.