Multi-Agent Coordinated Rename Refactoring

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Bellur, Abhiram, Ullah, Mohammed Raihan, Batole, Fraol, Kansara, Mohit, Morimoto, Masaharu, Ishikawa, Kai, Chen, Haifeng, Zharov, Yaroslav, Bryksin, Timofey, Nguyen, Tien N., Rajan, Hridesh, Dig, Danny
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911350398124032
author Bellur, Abhiram
Ullah, Mohammed Raihan
Batole, Fraol
Kansara, Mohit
Morimoto, Masaharu
Ishikawa, Kai
Chen, Haifeng
Zharov, Yaroslav
Bryksin, Timofey
Nguyen, Tien N.
Rajan, Hridesh
Dig, Danny
author_facet Bellur, Abhiram
Ullah, Mohammed Raihan
Batole, Fraol
Kansara, Mohit
Morimoto, Masaharu
Ishikawa, Kai
Chen, Haifeng
Zharov, Yaroslav
Bryksin, Timofey
Nguyen, Tien N.
Rajan, Hridesh
Dig, Danny
contents The primary value of AI agents in software development lies in their ability to extend the developer's capacity for reasoning and action, not to supplant human involvement. To showcase how to use agents working in tandem with developers, we designed a novel approach for carrying out coordinated renaming. Coordinated renaming, where a single rename refactoring triggers refactorings in multiple, related identifiers, is a frequent yet challenging task. Developers must manually propagate these rename refactorings across numerous files and contexts, a process that is both tedious and highly error-prone. State-of-the-art heuristic-based approaches produce an overwhelming number of false positives, while vanilla Large Language Models (LLMs) provide incomplete suggestions due to their limited context and inability to interact with refactoring tools. This leaves developers with incomplete refactorings or burdens them with filtering too many false positives. Coordinated renaming is exactly the kind of repetitive task that agents can significantly reduce the developers' burden while keeping them in the driver's seat. We designed, implemented, and evaluated the first multi-agent framework that automates coordinated renaming. It operates on a key insight: a developer's initial refactoring is a clue to infer the scope of related refactorings. Our Scope Inference Agent first transforms this clue into an explicit, natural-language Declared Scope. The Planned Execution Agent then uses this as a strict plan to identify program elements that should undergo refactoring and safely executes the changes by invoking the IDE's own trusted refactoring APIs. Finally, the Replication Agent uses it to guide the project-wide search. We first conducted a formative study on the practice of coordinated renaming in 609K commits in 100 open-source projects and surveyed 205 developers ...
format Preprint
id arxiv_https___arxiv_org_abs_2601_00482
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Multi-Agent Coordinated Rename Refactoring
Bellur, Abhiram
Ullah, Mohammed Raihan
Batole, Fraol
Kansara, Mohit
Morimoto, Masaharu
Ishikawa, Kai
Chen, Haifeng
Zharov, Yaroslav
Bryksin, Timofey
Nguyen, Tien N.
Rajan, Hridesh
Dig, Danny
Software Engineering
Artificial Intelligence
The primary value of AI agents in software development lies in their ability to extend the developer's capacity for reasoning and action, not to supplant human involvement. To showcase how to use agents working in tandem with developers, we designed a novel approach for carrying out coordinated renaming. Coordinated renaming, where a single rename refactoring triggers refactorings in multiple, related identifiers, is a frequent yet challenging task. Developers must manually propagate these rename refactorings across numerous files and contexts, a process that is both tedious and highly error-prone. State-of-the-art heuristic-based approaches produce an overwhelming number of false positives, while vanilla Large Language Models (LLMs) provide incomplete suggestions due to their limited context and inability to interact with refactoring tools. This leaves developers with incomplete refactorings or burdens them with filtering too many false positives. Coordinated renaming is exactly the kind of repetitive task that agents can significantly reduce the developers' burden while keeping them in the driver's seat. We designed, implemented, and evaluated the first multi-agent framework that automates coordinated renaming. It operates on a key insight: a developer's initial refactoring is a clue to infer the scope of related refactorings. Our Scope Inference Agent first transforms this clue into an explicit, natural-language Declared Scope. The Planned Execution Agent then uses this as a strict plan to identify program elements that should undergo refactoring and safely executes the changes by invoking the IDE's own trusted refactoring APIs. Finally, the Replication Agent uses it to guide the project-wide search. We first conducted a formative study on the practice of coordinated renaming in 609K commits in 100 open-source projects and surveyed 205 developers ...
title Multi-Agent Coordinated Rename Refactoring
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2601.00482