arXiv · 2609.01236
Continuous Autonomous Refactoring: A Research Roadmap for AI-Driven Code Quality Maintenance
Abstract
Large language models have shown promising capabilities in code refactoring, but existing approaches remain limited to method-level tasks. In this paper, we envision LLM-based refactoring as a continuous component of software maintenance rather than a tool invoked only for occasional manual refactoring. Under this vision, AI agents continuously monitor, evaluate, and improve codebases against explicit and evolving notions of software quality. We present a roadmap organized around five dimensions: the multi-objective optimization problem, quality definition and evaluation, multi-timescale integration of heterogeneous signals, architecture and design pattern, and trust in autonomous refactoring. We further identify integration into continuous delivery pipelines and cost considerations as cross-cutting concerns. For each dimension, we analyze the underlying challenges and pose open research questions. These dimensions define a research agenda for advancing autonomous refactoring from isolated code improvements to system-level quality maintenance.
Explore related subjects
Keep this discovery
Xin Sun, Daniel Ståhl, Kristian Sandahl, Christoph Kessler. 2026-09-01. Continuous Autonomous Refactoring: A Research Roadmap for AI-Driven Code Quality Maintenance. https://arxiv.org/abs/2609.01236
Cite the original work for its findings. Save a collection to share your selection of sources.
Discover connections
Connections use source metadata and explicit phrase matches, not verified experimental comparisons.