RegoMender: A Multi-agent Framework for Automated Rego Policy Repair
Not on the map. Why?
Abstract (arXiv)
Policy-as-Code (PaC) has emerged as a foundational paradigm in cloud-native systems. However, repairing Rego policies remains challenging due to their strict syntax, declarative semantics, and specific verification requirements. Existing automated program repair (APR) methods are mainly designed for mainstream languages and struggle to accommodate the unique policy logic and repair workflows of Rego. Thus, Rego policy repair remains a manual process driven by trial and error. To address this, we introduce RegoBench, the first automated Rego policy benchmark comprising 1,159 real-world defects, and propose RegoMender, a feedback-guided multi-agent framework. Collaborating via a shared blackboard and an atomic toolkit, RegoMender dynamically executes patching, rewriting, or rolling back, to resolve complex repair scenarios. Evaluated on RegoBench, RegoMender achieves syntactic and test-based semantic success rates of 82.9% and 77.9%, respectively, outperforming the strongest baseline by 13.4%. Unlike other approaches whose performance drops in complex scenarios, RegoMender maintains effectiveness across single-step and chained repair tasks. Furthermore, it generalizes strongly across HCL and SQL and achieves an 86.4% repair rate on 132 real-world CVE vulnerabilities, proving its robustness and practical utility for security.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 27 of its 55 references that are in the map. Submitted 21 Oct 2026.
Builds on
27 of 55 references.
References · 27
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 4,110
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,872
- 2024A Survey on LLM-as-a-Judgecited by 1,528
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,363
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,155
- 2023ChatDev: Communicative Agents for Software Developmentcited by 1,006
- 2025Why Do Multi-Agent LLM Systems Fail?cited by 703
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 461
- 2024AutoCodeRover: Autonomous Program Improvementcited by 303
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 251
- 2023Large Language Models for Software Engineering: Survey and Open Problemscited by 192
- 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solvingcited by 190
15 more
- 2024LLM-Based Multi-Agent Systems for Software Engineering: Literature Review, Vision and the Road Aheadcited by 164
- 2018SequenceR: Sequence-to-Sequence Learning for End-to-End Program Repaircited by 147
- 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 132
- 2019On Learning Meaningful Code Changes via Neural Machine Translationcited by 51
- 2025CodeJudgeBench: Benchmarking LLM-as-a-Judge for Coding Taskscited by 43
- 2023Explainable Automated Debugging via Large Language Model-driven Scientific Debuggingcited by 41
- 2019How Often Do Single-Statement Bugs Occur? The ManySStuBs4J Datasetcited by 37
- 2024AutoDev: Automated AI-Driven Developmentcited by 27
- 2024ThinkRepair: Self-Directed Automated Program Repaircited by 24
- 2025CompileAgent: Automated Real-World Repo-Level Compilation with Tool-Integrated LLM-based Agent Systemcited by 18
- 2025LLMSecConfig: An LLM-Based Approach for Fixing Software Container Misconfigurationscited by 10
- 2025ARPaCCino: An Agentic-RAG for Policy as Code Compliancecited by 5
- 2024Exploring Parameter-Efficient Fine-Tuning of Large Language Model on Automated Program Repaircited by 4
- 2025InfraFix: Technology-Agnostic Repair of Infrastructure as Codecited by 2
- 2026Prose2Policy (P2P): A Practical LLM Pipeline for Translating Natural-Language Access Policies into Executable Regocited by 2
Built on by
Not cited yet.