From Verification Failures to Reusable Guidance for Coding Agents
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Coding agents need to establish that a program satisfies a specification and that the specification captures the requested behavior. We study how expert diagnosis of verification failures can become reusable guidance for this work. Our approach combines executable language definitions in the K framework with a kit of procedures for constructing specifications, repairing proofs, and auditing their adequacy. A human-guided development campaign on HumanEval, a benchmark of 164 Python programming tasks, achieves a 164/164 success rate with the semantics and the kit, measured by final AI audit Pass verdicts after two targeted repairs. To examine whether auditing detects problems that successful proofs leave unresolved, we construct 12 author-reviewed pairs of clean and defective packages. Every package passes its K proofs, and completed audits identify all defects and accept all clean packages. We then use KleverBench to test specification and proof construction for 31 programs with changed operator meanings. Comparisons with complete acceptance rules and equally long generic advice yield mixed results across two model and budget settings, motivating further work on selecting useful guidance within resource limits. Human-reviewed Optimism proofs establish expected pause reverts for six operations within declared input bounds under London semantics with unbounded gas. We report progress, difficulties, and lessons toward agents that deliver programs with checkable correctness arguments.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 22 of its 30 references that are in the map. First posted on arXiv 30 Sep 2026.
Builds on
22 of 30 references.
References · 22
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 814
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
- 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 349
- 2024Agent Workflow Memorycited by 342
- 2025Dynamic Cheatsheet: Test-Time Learning with Adaptive Memorycited by 146
- 2023Baldur: Whole-Proof Generation and Repair with Large Language Modelscited by 118
- 2023Clover: Closed-Loop Verifiable Code Generationcited by 62
10 more
- 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 60
- 2024Enchanting Program Specification Synthesis by Large Language Models using Static Analysis and Program Verificationcited by 55
- 2024DafnyBench: A Benchmark for Formal Software Verificationcited by 54
- 2023Can Large Language Models Transform Natural Language Intent into Formal Method Postconditions?cited by 53
- 2024SpecGen: Automated Generation of Formal Program Specifications via Large Language Modelscited by 51
- 2023Lemur: Integrating Large Language Models in Automated Program Verificationcited by 49
- 2024AutoVerus: Automated Proof Generation for Rust Codecited by 46
- 2024AlphaVerus: Bootstrapping Formally Verified Code Generation through Self-Improving Translation and Treefinementcited by 33
- 2025VERINA: Benchmarking Verifiable Code Generationcited by 30
- 2025LLMs Lean on Priors, Not Programming Language Semanticscited by 5
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Harnessing Code Agents for Automatic Software Verification
- 2026Looping Is Not Reliability: State-Bound Evidence and Typed Revision Contracts for Agentic Code Repair
- 2026Automated Testing and Repair for Verified Compilers Generated by a Coding Agent ↗
- 2026SpecPath: Testing Coding Agents Across Contract-Equivalent Specification Histories
- 2026Diagnosis Before Recovery: Turning Agent Failures into Selective Self-Correction
- 2026From Dead Code and Static Requirements to Working Engines: Software Revival with Coding Agents
- 2026When and How Context Rot Appears in Coding Agents: A White-Box Study of Agent Skills in Code Auditing
- 2026Compact Documentation for Coding Agents: A Benchmark, an Optimizer, and Why It Does Not Transfer