EvoUndo: Recoverability-Constrained Self-Evolution for LLM Agent Harnesses
cs.AI
Submitted: 2026-08-28
Updated: 2026-09-16
Code: https://github.com/cordiverse/paper
License: http://creativecommons.org/licenses/by/4.0/
The gist: LLM agents increasingly modify their own prompts, tools, middleware, resources, and execution harnesses at runtime.
Terminology
Abstract
LLM agents increasingly modify their own prompts, tools, middleware, resources, and execution harnesses at runtime. Such self-evolution can improve capability, but a successful mutation may leave persistent effects that cannot be safely reversed in states different from the one in which it was created. We introduce EvoUndo, a framework for representing, synthesizing, diagnosing, and independently verifying recoverability of model-generated self-modifications across counterfactual states. Across 600 unseen one-shot self-evolution tasks, we identify 197 capability-improving mutations that fail recoverability verification. Under the original recovery representation, conventional repair strategies recover 0/197 of these natural failures. Deterministic oracle analysis recovers 48/197 under the original recovery language L0, while the extended recovery calculus increases empirical oracle recovery to 191/197. A protocol-locked 2x2 grounding-by-expressivity intervention then separates two bottlenecks: exact state-address grounding increases successful recovery from 0/48 to 38/48 (79.2%) when the original language is sufficient, while extending the recovery language enables recovery on 142/143 (99.3%) failures in the oracle-defined S1 stratum. On the primary gpt-oss-120b backbone, adding exact-address diagnostics to the richer language reduces recovery to 133/143 (93.0%); a Qwen3.8-27B replication preserves the grounding and expressivity effects but not this negative interaction, indicating that the latter is model-dependent. These results indicate that reliable agent self-evolution requires co-designing verification, state grounding, witness semantics, and recovery-language expressivity rather than relying on iterative prompting alone.
Sources
- Tool-R0: Self-Evolving LLM Agents for Tool-Learning from Zero Data
- SEVerA: Verified Synthesis of Self-Evolving Agents
- Co-Harness: Co-Evolving Harnesses and Model Weights for LLM Agents
- Towards Formal Verification of LLM-Generated Code from Natural Language Prompts
- Autonomous Action Runtime Management(AARM):A System Specification for Securing AI-Driven Actions at Runtime
- Reversible effects as inverse arrows
- VIGIL: Runtime Enforcement of Behavioral Specifications in AI Agent Skills
- Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnesses
- Evolving Agents in the Dark: Retrospective Harness Optimization via Self-Preference
- GoEX: Perspectives and Designs Towards a Runtime for Autonomous LLM Applications
- Goedel Machines: Self-Referential Universal Problem Solvers Making Provably Optimal Self-Improvements
- Harness-R1: Learning to Edit Executable Runtime Harnesses from Agent Failure Trajectories
- AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agents
- EvoTool: Self-Evolving Tool-Use Policy Optimization in LLM Agents via Blame-Aware Mutation and Diversity-Aware Selection
- Zombie Agents: Persistent Control of Self-Evolving LLM Agents via Self-Reinforcing Injections
- G\"odel Agent: A Self-Referential Agent Framework for Recursive Self-Improvement
- Shepherd: Enabling Programmable Meta-Agents via Reversible Agentic Execution Traces
- Self-Harness: Harnesses That Improve Themselves
- Symbolic Learning Enables Self-Evolving Agents
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems