ArchGuard-APR: Architecture-Constraint-Aware Multi-Agent Program Repair Using Repository Graphs and Execution Feedback
Abstract
Repository-level automated program repair must reason about more than a localized failing statement. A candidate change can satisfy a narrow test while violating dependency boundaries, modifying an unsafe path, or relying on context that omits relevant repository structure. ArchGuard-APR is an architecture-aware repair prototype that integrates deterministic repository analysis, immutable repository graphs, explicit architecture profiles, graph-guided context retrieval, role-based repair orchestration, patch-policy enforcement, isolated execution feedback, provider cost controls, and canonical source-free evidence. We evaluate the implemented pipeline through an exploratory paired feasibility study, not a confirmatory effectiveness experiment. Six executions were planned; four completed, and two black-4 conditions ended in pre-provider infrastructure attrition. Across two valid paired tasks, baseline and ArchGuard conditions each produced 0/2 successful repairs, and all four completed outputs were classified as invalid patches. The completed executions consumed 35,431 input tokens and 2,737 output tokens, for a total of 38,168 tokens, at a total cost of USD 0.1296325. No effectiveness advantage was observed, and the sample provides no useful inferential basis. The study instead establishes the engineering feasibility of composing architecture constraints with a reproducible repair pipeline and identifies patch validity and infrastructure robustness as the principal targets for future work.
Create a lesson
Metadata
- Comments
- 29 pages, 10 tables, 7 figures. Exploratory feasibility evaluation. Software, experimental artifacts, and reproducibility materials are available at https://github.com/majidfeiz/archguard-apr. Preprint record: https://zenodo.org/records/23377965
Related papers
CodeMeepo: A Multi-Agent Workflow for Repository-Level Code Migration and Optimization
Shared title terminologycs.SEFarzad Habibi, Changrong Wu, Jinzhou Jiang et al.
OpenDraco: A Platform for Engineering and Experimenting with Configurable Multi-Agent Architectures for Software Engineering
Shared title terminologycs.SEXiang Feng Ye Pan, Vincenzo De Martino, Matias Martinez
DeepAVR: Deep Analysis via Multi-Agent Collaboration for Automated Vulnerability Repair
Shared title terminologycs.SEWoorim Han, Hyunjun Kim, Brian Junekyu Lee et al.
RegoMender: A Multi-agent Framework for Automated Rego Policy Repair
Shared title terminologycs.SERuijie Zhang, Huaxiao Yin, Li Hu et al.
Multi-agent LLMs on the Cloud-Edge-IoT Continuum: A Systematic Mapping Study on Architectures, Deployment, and Evaluation
Shared title terminologycs.SEMahyar Tourchi Moghaddam, Tiziano Santilli, Leo Wilhelm Lierse et al.
Multi-Agent Coordinated Method-Level Refactoring of Rust Code
Shared title terminologycs.SEYijian Zheng, Yi Zhang, Juyuan Zhang et al.