The Commonplace
Home Papers Evidence Explore Trends Syntheses Digests References Docs 🎲 Workforce Futures
← Papers
Direction, evidence grade, and study type are AI-generated labels (gpt-5-mini), not human-verified. Syntheses are LLM-written. "Tensions" are machine-detected candidates, not confirmed contradictions. A research-acceleration tool, not peer review. How this is built →

AI agents turn a developer's single rename into a safe, project-wide refactoring plan, cutting tedious manual propagation and false positives; demonstrated via a 609K-commit analysis, a 205-developer survey, and an implemented multi-agent refactoring tool.

Multi-Agent Coordinated Rename Refactoring
Abhiram Bellur, Mohammed Raihan Ullah, Fraol Batole, Mohit Kansara, Masaharu Morimoto, Kai Ishikawa, Haifeng Chen, Yaroslav Zharov, Timofey Bryksin, Tien N. Nguyen, Hridesh Rajan, Danny Dig · January 01, 2026
arxiv descriptive medium evidence 7/10 relevance Full text usable extracted full text Source PDF

Structured author observations

Linked only from stored provider relations; the raw author line above is never matched by name.

Arxiv

Latest observation:

  1. Abhiram Bellur unresolved corpus identity
  2. Mohammed Raihan Ullah unresolved corpus identity
  3. Fraol Batole unresolved corpus identity
  4. Mohit Kansara unresolved corpus identity
  5. Masaharu Morimoto unresolved corpus identity
  6. Kai Ishikawa unresolved corpus identity
  7. Haifeng Chen unresolved corpus identity
  8. Yaroslav Zharov unresolved corpus identity
  9. Timofey Bryksin unresolved corpus identity
  10. Tien N. Nguyen unresolved corpus identity
  11. Hridesh Rajan unresolved corpus identity
  12. Danny Dig unresolved corpus identity

Semantic Scholar

Latest observation:

  1. Abhiram Bellur provider ID
  2. Mohammed Raihan Ullah provider ID
  3. Fraol Batole provider ID
  4. Mohit Kansara provider ID
  5. Masaharu Morimoto provider ID
  6. Kai Ishikawa provider ID
  7. Haifeng Chen provider ID
  8. Yaroslav Zharov provider ID
  9. T. Bryksin provider ID
  10. Tien N. Nguyen provider ID
  11. Hridesh Rajan provider ID
  12. Danny Dig provider ID
The paper introduces and evaluates a multi-agent system that infers the scope from a developer's initial rename, plans project-wide, IDE-safe refactorings, and thereby reduces manual propagation and false positives in coordinated renaming tasks.

Citation observations

Cumulative provider counts captured on specific dates; providers are never combined.

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 ...

Summary

Main Finding

CoRenameAgent — a novel multi-agent, human-in-the-loop system integrated with the IDE — substantially improves automated coordinated rename refactorings. Compared to prior tooling and vanilla LLM approaches, it delivers much higher precision and recall (2.3–3.1× F1 improvements on benchmarks), eliminates compilation/semantic errors by leveraging IDE refactoring APIs, reduces developer time from ~1 hour to ~5 minutes on average, and has demonstrated real-world acceptances (5 of 10 submitted PRs merged).

Key Points

  • Problem targeted: coordinated renaming — a frequent, time-consuming, and error-prone refactoring that often requires consistent renames across many identifiers/files (57% of rename commits, average 5 renames across 4 files; some historical examples involve hundreds).
  • Architecture: multi-agent workflow with three cooperating agents plus episodic memory:
    • Scope Inference Agent: observes a developer’s seed rename and infers an explicit natural-language Declared Scope; elicits and records developer feedback to refine scope.
    • Planned Execution Agent: maps the Declared Scope to concrete program elements in a file, asks for developer approval, and applies approved renames via the IDE’s trusted refactoring APIs (ensures safe execution).
    • Replication Agent: finds other files to propagate scoped renames using semantic search + program slicing (controls project-scale propagation).
  • Human-in-the-loop: developer supervises and approves suggestions; ablation shows removing supervision drops precision ~4× — developer oversight is essential for correctness and containment.
  • Safety & robustness: by invoking IDE refactoring engines rather than emitting raw edits, CoRenameAgent avoids hallucination-driven compile/semantic errors reported with vanilla LLMs (vanilla LLMs produced 45–92% of projects with compile errors; avg ~5 compile errors per corename set).
  • Implementation: IntelliJ IDEA plugin built with LangGraph and OpenAI o4-mini; episodic memory to learn developer preferences and support inter-agent coordination.
  • Empirical performance:
    • RenasBench (potentially contaminated): F1 = 54.6% (2.3× over best baseline).
    • New uncontaminated Co-renameBench (post-2025 dataset): F1 = 48.5% (3.1× improvement).
    • Usability: average 5 minutes per coordinated rename vs ~1 hour for prior SOTA; automates ~23 actions for ~$0.30 cost per operation.
  • Real-world validation: generated and submitted 10 PRs; 5 accepted/merged, 2 rejected for socio-technical reasons, 3 pending — evidence of practical adoption potential.
  • Limitations noted by authors: potential dataset contamination in prior benchmarks, evaluation focused on Java, dependence on LLMs and IDE integration, socio-technical review issues can block some automated PRs.

Data & Methods

  • Repository mining and formative study:
    • Analyzed 609K commits across 100 open-source projects to characterize frequency, scope, and cost of coordinated renames.
    • Surveyed 205 developers about their refactoring practices and pain points.
  • Tool implementation:
    • CoRenameAgent implemented as an IntelliJ plugin; uses LangGraph and OpenAI o4-mini; integrates with IDE refactoring APIs.
  • Evaluation methods (multi-methodology):
    • Comparative studies against state-of-the-art research tools (e.g., RENAS) and vanilla LLMs / code agents.
    • Benchmarks:
      • RenasBench: 1349 renames across 161 co-rename sets (may include training data contamination).
      • Co-renameBench (new, uncontaminated): 1573 recent renames (post-2025) curated by the authors to avoid contamination.
    • Ablation study: measured effect of removing human-in-the-loop on precision.
    • Replication of real-world refactorings and user/case studies.
    • Real-world deployment: generated PRs to active repositories to test acceptability.
  • Metrics reported:
    • F1-score for identifying and effecting co-renames; precision/recall tradeoffs; compilation/semantic-error rates; time-to-complete; cost-per-run; acceptance of PRs.

Implications for AI Economics

  • Productivity and direct ROI:
    • Time savings: typical coordinated rename task reduced from ~60 minutes to ~5 minutes. At common developer rates (example: $50/hr), a single automated run saves ~55 minutes ≈ $45 value, while tool cost is trivial (authors report ~$0.30 per 23 automated actions), implying large per-task ROI.
    • Scaling effects: frequent repetitive refactoring tasks mean cumulative time savings across teams; high reuse potential in large codebases and active projects.
  • Labor composition and complementarities:
    • Task-shift from manual execution to supervision: developers spend less time on mechanical edits and more on intent-definition, review, and policy decisions. This raises demand for oversight and higher-level judgment skills rather than purely mechanical coding.
    • Augmentation rather than replacement: the human-in-the-loop design demonstrates a likely path for tools to augment developer capacity while preserving control — decreasing adoption friction due to ownership/control concerns.
  • Risk reduction and value of trusted automation:
    • Integrating with IDE refactoring APIs mitigates hallucination risks of raw LLM edits, reducing costs of bug-fix cycles and review overhead — significant economic value in avoiding costly post-release errors.
  • Market & platform implications:
    • Opportunity for IDE vendors and toolchains: agentic integrations with IDEs (safe API usage + scope-inference UX) can become differentiators for commercial IDEs and DevTools.
    • Service bundling/pricing: low per-run compute cost suggests business models could charge modest subscription fees or embed in platform licensing; firms could offer paid enterprise-grade agents with policy controls and audit logs.
  • Adoption frictions & externalities:
    • Socio-technical hurdles: some PRs rejected for non-technical reasons, implying organizational/coordination costs remain; governance, naming conventions, and review norms matter.
    • Data/benchmark quality matters for evaluation and procurement: authors created an uncontaminated benchmark — buyers and regulators should prefer uncontaminated, recent-evaluation datasets to avoid overestimating capabilities.
  • Broader economic questions for further study:
    • Aggregate productivity gains across firms and markets, and how these translate to labor demand (complementary upskilling vs substitution).
    • Pricing and diffusion dynamics for agentic IDE plugins across startups vs large enterprises.
    • Liability, auditability, and contract implications when agents make project-wide changes (who is accountable for semantic errors missed by human reviewers).
    • Long-term effects on tooling labor (e.g., code review patterns, maintenance staffing needs).

Limitations to economic interpretation: the evaluation is concentrated on Java open-source projects and the reported cost/time figures derive from the authors’ experimental setup; firm-level ROI will vary by developer wages, task frequency, integration costs, and organizational adoption barriers.

Assessment

Paper Typedescriptive Evidence Strengthmedium — The paper provides sizeable descriptive evidence — a large-scale commit analysis (609K commits), a 205-developer survey, and an implemented multi-agent tool with empirical evaluation — showing that agent-driven coordinated renaming can reduce developer burden. However, it does not appear to use randomized or quasi-experimental designs to identify causal effects on developer productivity or downstream economic outcomes, and evaluations likely rely on task-based metrics and self-reports rather than long-run, field-randomized measures. Methods Rigormedium — Strengths include a mixed-methods approach (large commit corpus analysis, developer survey, implemented system using IDE refactoring APIs) and a clear operationalization of the multi-agent pipeline. Weaknesses include probable dependence on heuristics for evaluation, potential selection/self-report biases in the survey, limited description of controlled user experiments or long-term deployment, and unclear scope of evaluation across languages/IDEs. SampleLarge-scale repository analysis covering 609,000 commits across 100 open-source projects; a survey of 205 developers reporting experiences with coordinated renaming; plus an implemented multi-agent framework evaluated on example projects and refactoring tasks (project/sample details for the execution experiments not fully specified in the abstract). Themesproductivity human_ai_collab adoption org_design GeneralizabilityAnalysis restricted to open-source projects (may not represent commercial codebases or enterprise workflows), Likely evaluated on a limited set of programming languages/IDEs and using specific refactoring APIs, limiting transfer to other stacks, Survey respondents are subject to self-selection bias and may not represent the broader developer population, Evaluations appear to be short-term/task-based rather than measured over long-term productivity or team-level outcomes, Performance on very large monorepos or highly interdependent codebases may differ from studied samples

Claims (11)

ClaimDirectionOutcomeConfidence & EvidenceDetails
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. Other null_result role_of_ai_agents (augmentation vs. replacement)
Reading fidelity high
Study strength speculative
not reported
0.03
Coordinated renaming is a frequent yet challenging task. Developer Productivity negative frequency_and_difficulty_of_coordinated_renaming
Reading fidelity high
Study strength medium
n=609000
0.18
Developers must manually propagate rename refactorings across numerous files and contexts, a process that is both tedious and highly error-prone. Error Rate negative tediousness_and_error_proneness_of_manual_refactoring
Reading fidelity high
Study strength medium
n=609000
0.18
State-of-the-art heuristic-based approaches produce an overwhelming number of false positives. Error Rate negative false_positive_rate_of_heuristic_approaches
Reading fidelity medium
Study strength medium
not reported
0.11
Vanilla Large Language Models (LLMs) provide incomplete suggestions due to their limited context and inability to interact with refactoring tools. Output Quality negative completeness_of_suggestions_from_vanilla_LLMs
Reading fidelity high
Study strength medium
not reported
0.18
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. Task Allocation positive reduction_in_developer_burden_via_agents
Reading fidelity high
Study strength medium
not reported
0.18
We designed, implemented, and evaluated the first multi-agent framework that automates coordinated renaming. Automation Exposure null_result existence_and_evaluation_of_multi-agent_automation_framework
Reading fidelity high
Study strength medium
not reported
0.18
The Scope Inference Agent transforms the developer's initial refactoring clue into an explicit, natural-language Declared Scope. Other null_result ability_to_infer_declared_scope_from_initial_refactoring
Reading fidelity high
Study strength medium
not reported
0.18
The Planned Execution Agent uses the Declared Scope 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. Organizational Efficiency null_result safe_execution_of_refactorings_via_IDE_APIs_based_on_declared_scope
Reading fidelity high
Study strength medium
not reported
0.18
The Replication Agent uses the Declared Scope to guide the project-wide search for related refactorings. Task Allocation null_result project_wide_search_guided_by_declared_scope
Reading fidelity high
Study strength medium
not reported
0.18
The authors conducted a formative study on coordinated renaming across 609K commits in 100 open-source projects and surveyed 205 developers. Other null_result study_sample_size_and_scope
Reading fidelity high
Study strength high
n=609000
0.3

Notes