mlsanityData to 7 Oct 2026

RepoRescue: An Empirical Study of LLM Agents on Whole-Repository Compatibility Rescue

arXiv 2607.01213 ↗First posted 1 Jul 2026cs.SEcited by 1

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Open-source libraries and tools are widely reused, but compatibility maintenance is expensive. Once maintainers leave, useful repositories can stop working as runtimes and dependencies evolve. We study whether LLM agents can adapt old repositories to modern environments, a task we call compatibility rescue. Unlike bug repair, compatibility rescue starts from a repository that worked in its original environment but fails after ecosystem drift. RepoRescue gives agents only the repository and its failing modern environment; the agent must diagnose the failure, locate affected code, and produce a source-code rescue that restores the historical test suite. We build RepoRescue from 193 Python and 122 Java repositories, each verified to pass historically and fail after modernization. We evaluate five deployed agent systems on Python and three on Java. Beyond full-patch pass rate, we rerun patches after removing test-file edits to measure source-only repair, add a runtime-enforced regime that blocks test edits, and validate practical use for repositories whose suites pass after rescue. We find that Claude Code systems sometimes edit failing tests even when prompted not to; with runtime blocking, Kimi still rescues 41.5% of repositories. Systems are complementary: their union reaches 62.7%, exceeding the best single system by 10.9 points. Difficulty concentrates in cross-file coordination: on 14 repositories requiring coordinated whole-codebase changes, GPT-5.2 through Codex passes all 14, while every Claude Code system passes at most two. Finally, a passing suite is only an initial signal: among 34 unmaintained Python candidates whose suites pass after rescue, 22 work in realistic scenarios and 12 pass bug-hunt with patches that address the compatibility failure. RepoRescue benchmarks compatibility rescue with source-only auditing, runtime enforcement, practical validation, and reasoning labels.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 37 of its 54 references that are in the map. First posted on arXiv 1 Jul 2026.

Builds on

37 of 54 references.

Closest ancestors · 16

Same direction, newest first

  1. 2026Stop Comparing LLM Agents Without Disclosing the Harness7 May
  2. 2026SGAgent: Suggestion-Guided LLM-Based Multi-Agent Framework for Repository-Level Software Repair27 Feb
  3. 2026Where Agent Frameworks Fall Short: Examining Functional Challenges and Usability Concerns25 Feb
  4. 2025AI-Generated Code Is Not Reproducible (Yet): An Empirical Study of Dependency Gaps in LLM-Based Coding Agents26 Dec
  5. 2025Beyond Accuracy: Behavioral Dynamics of Agentic Multi-Hunk Repair14 Nov
  6. 2025HAFixAgent: History-Aware Program Repair Agent2 Nov
  7. 2025Using Copilot Agent Mode to Automate Library Migration: A Quantitative Assessment30 Oct
  8. 2025FreshBrew: A Benchmark for Evaluating AI Agents on Java Code Migration6 Oct
  9. 2025On the Use of Agentic Coding: An Empirical Study of Pull Requests on GitHub18 Sep
  10. 2025RepoAudit: An Autonomous LLM-Agent for Repository-Level Code Auditing30 Jan
  11. 2024You Name It, I Run It: An LLM Agent to Execute Tests of Arbitrary Projects13 Dec
  12. 2024Agentless: Demystifying LLM-based Software Engineering Agents1 Jul
4 more
  1. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
  2. 2024UniDebugger: Hierarchical Multi-Agent Framework for Unified Software Debugging26 Apr
  3. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repair25 Mar
  4. 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challenges14 Jan

Other references · 21

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  3. 2025Enhancing repository-level software repair via repository-aware knowledge graphscited by 26
  4. 2017Do Developers Update Their Library Dependencies? An Empirical Study on the Impact of Security Advisories on Library Migrationcited by 23
  5. 2017An Empirical Comparison of Dependency Network Evolution in Seven Software Packaging Ecosystemscited by 20
  6. 2021PyCG: Practical Call Graph Generation in Pythoncited by 16
  7. 2025CODEMENV: Benchmarking Large Language Models on Code Migrationcited by 13
  8. 2024When Large Language Models Confront Repository-Level Automatic Program Repair: How Well They Done?cited by 12
  9. 2022Scalpel: The Python Static Analysis Frameworkcited by 9
  10. 2017Why Modern Open Source Projects Failcited by 8
  11. 2022Demystifying the Vulnerability Propagation and Its Evolution via Dependency Trees in the NPM Ecosystemcited by 8
  12. 2018On the evolution of technical lag in the npm package dependency networkcited by 5
9 more
  1. 2019On the abandonment and survival of open source projects: An empirical investigationcited by 5
  2. 2025Uncovering Systematic Failures of LLMs in Verifying Code Against Natural Language Specificationscited by 5
  3. 2026RGFL: Reasoning Guided Fault Localization for Automated Program Repair Using Large Language Modelscited by 5
  4. 2026RepoRepair: Leveraging Code Documentation for Repository-Level Automated Program Repaircited by 5
  5. 2025PSearch: Search-based Patch Generation in the Era of LLM-based Automated Program Repaircited by 4
  6. 2025The Last Dependency Crusade: Solving Python Dependency Conflicts with LLMscited by 3
  7. 2025DynaFix: Iterative Automated Program Repair Driven by Execution-Level Dynamic Informationcited by 3
  8. 2024PCART: Automated Repair of Python API Parameter Compatibility Issuescited by 2
  9. 2025MigrateLib: a tool for end-to-end Python library migrationcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026BeyondSWE: Can Current Code Agent Survive Beyond Single-Repo Bug Fixing?
  2. 2026SWE-Gate: Passing Functional Tests Is Not Enough for Software Engineering Agents
  3. 2026ARISE: A Repository-level Graph Representation and Toolset for Agentic Program Repair and Fault Localization
  4. 2026Phoenix: Safe GitHub Issue Resolution via Multi-Agent LLMs
  5. 2026Agentic Generation of AST Transformation Rules for Fixing Breaking Updates
  6. 2026EviACT: An Evidence-to-Action Framework for Agentic Program Repair
  7. 2026PonyEval: Evaluating LLM-Based Program Repair for Capability-Safe and Actor-Oriented Pony Software
  8. 2026RepoZero: Can LLMs Generate a Code Repository from Scratch?