From Reading Code to Reading Spec: A Verified Layer for LLM-Driven Codebase Maintenance
Abstract
The rapid growth of LLM-generated code increases software complexity and the maintenance burden on engineers. While LLMs offer a potential automated alternative, this structural complexity hinders their ability to manage codebases directly. We introduce the Provable Representation Of Original Functionality (PROOF), which manages codebases indirectly via structured specifications. To enable full-lifecycle codebase management strictly through these specifications, PROOF abstracts codebase topology into a hierarchical natural-language representation. To establish absolute trust, the system proves semantic equivalence by reconstructing source code exclusively from this specification. This verified foundation drives maintenance requests, executing code modifications while synchronously updating itself to prevent semantic drift. Experiments on real-world repositories confirm the effectiveness of these specifications.
Create a lesson
Metadata
- Categories
- cs.SE, cs.CL
- Comments
- Accepted by EACL 2027
Related papers
Continuous Autonomous Refactoring: A Research Roadmap for AI-Driven Code Quality Maintenance
Shared title terminologycs.SEXin Sun, Daniel Ståhl, Kristian Sandahl et al.
When Diagnostics Mislead in Verified Code Repair
Shared title terminologycs.SEJunyi Yang
Managing Specification. Not code: A feasibility study of Graph -> Contract -> Code Deployment and Maintenance
Shared title terminologycs.SEHenry Yeung
From Suspicious Signals to Crashes: Guiding Bug-Driven GUI Testing via Code-Inspired Tracing
Shared title terminologycs.SEMengzhuo Chen, Zhe Liu, Chunyang Chen et al.
Not All Agents Are Equal: Code Quality and Post-Merge Maintenance Across Five Autonomous Coding Agents in the Wild
Shared title terminologycs.SEObada Kraishan
RCL: A Retrieval-Confidence Layer for Detecting Insufficient Context in Enterprise Retrieval-Augmented Code Generation
Shared title terminologycs.SEChandra Mohan Ravuri