TL;DR
AI agents rely on saved "Skills"—reusable playbooks of rules, code, and domain knowledge—to avoid reinventing the wheel on every task. When the outside world changes, updating these Skills often triggers a frustrating game of whack-a-mole: patching today's broken API silently wrecks yesterday's working behavior. This paper introduces an evaluation benchmark to catch these cascading regressions over time, alongside a surgical update framework that cuts maintenance token costs by over 95% while keeping existing capabilities intact.
What Problem Does This Paper Address?
Imagine maintaining a shared codebase where, every time a junior developer fixes a bug, they rewrite the entire file from scratch based on memory. Pretty soon, subtle regressions creep in, and an error introduced on Tuesday breaks a critical workflow on Friday.
Autonomous AI agents face this exact dilemma. Modern agents accumulate persistent "Skills" (stored procedures, tool-use rules, and facts). Because the real world isn't static—facts expire, APIs migrate, and company policies shift—these Skills must evolve. However, standard benchmarks usually test whether an agent can learn new skills sequentially, overlooking what happens when the environment itself shifts beneath an existing skill's feet. If an agent updates its Skill to fix a broken task, did it accidentally lobotomize a capability that still worked? And how do those silent errors compound across ten or twenty future updates?
Methods
Instead of letting an LLM regenerate a whole Skill file whenever a rule changes, the authors propose CoordinateClosure, a framework that treats agent maintenance like disciplined software engineering:
- Four-Dimensional Coordinates: Updates are localized along four distinct axes: World (facts/provenance), Interface (tool signatures/APIs), Boundary (runtime and delivery contracts), and Policy (behavioral rules). Rather than emitting raw text rewrites, the model generates a structured, typed patch targeting a specific coordinate and path while explicitly declaring "protected" scopes that must not be touched.
- Dependency Closure: Changing an API's currency unit from dollars to cents doesn't just alter the tool signature; it affects amount conversions and few-shot examples. CoordinateClosure traces a pre-declared dependency graph outward from the edited coordinate so linked items are checked together.
- Replay and Gated Admission: Before a patched Skill is permanently adopted, it faces deterministic static checks (which provide repair feedback if violated) followed by execution replay on both affected tasks (did we fix the bug?) and protected tasks (did we break anything else?). If a check fails or times out, the controller rejects the update or rolls back to a clean checkpoint.
Datasets
To test this, the authors built LifecycleSkillBench, an evaluation protocol designed specifically around environmental transitions rather than static task lists.
- Sources: The benchmark organizes 385 event-construction specifications drawn from ToolSandbox (300), TimeWarp (36), AgentDojo (27), SkillsBench (16), and cross-source combinations (6).
- Executable Coverage: For active execution validation and controlled experiments, the paper uses 19 executable development conditions (12 from ToolSandbox, 6 historical IANA timezone rule changes, and 1 synthetic retail-policy scenario), alongside separate multi-step maintenance streams and fixtures. Unlike traditional benchmarks, each event pairs disrupted tasks with unchanged "protected" tasks and carries the adopted Skill state forward into subsequent events.
Key Insights and Ideas
- One bad rewrite poisons the well: In continual maintenance streams, whole-state rewriting suffered from error propagation—a single generation mistake at step 8 persisted all the way to step 15 and even contaminated a rollback checkpoint. Evaluating isolated single-turn fixes completely misses this kind of slow-motion trainwreck.
- Structure beats raw regeneration on the first try: Forcing the model to specify where and what type of requirement is changing (via coordinate patches) drastically reduces syntax/parse errors and off-target edits before any repair loop even kicks in.
- Static dependency checks save heavy lifting: Running full agent task replays to validate every candidate update is expensive. Filtering candidates through explicit dependency contracts catches obvious mismatches (like endpoint–argument conflicts) upfront, slashing the number of live workflow executions needed.
Key Results
- Higher First-Pass Acceptance: Under matched inputs and token caps across four 16-step streams, switching from generic local patches to coordinate-structured patches jumped initial state-check acceptance from 68.8% (44/64) to 98.4% (63/64) on Qwen3.7-Plus, and from 76.6% (49/64) to 85.9% (55/64) on GLM-5.2, at roughly identical generation token costs.
- Massive Maintenance Token Savings: Across four 16-step continual maintenance streams using Qwen, full CoordinateClosure (combining scoped edits, repair, and direct checkpoint rollbacks) preserved exact safe states in 64/64 positions compared to 56/64 for whole-state rewriting—while slashing recorded input/output tokens from 958,833 down to 42,225 (a 95.6% reduction).
- Cheaper Admission Gating: Adding static dependency filtering before execution replay cut required admission workflow runs by 75% (from 32 down to 8 per fixture) while preserving exact admission decisions (rejecting 15/15 invalid candidates).
Limitations and Future Work
The authors are admirably candid about the boundaries of their current study:
- Small, structured testbeds: While 385 specifications were designed, executable validation covers 19 development conditions, and the controlled method comparisons rely on small, correlated 16-step development streams where the public change notices clearly specify expected states—allowing deterministic rules to easily repair mistakes without deep learned inference.
- Explicit vs. semantic dependencies: CoordinateClosure relies on explicitly declared dependency graphs; it cannot yet infer subtle, unstated semantic dependencies on the fly.
- Next steps: Future work needs to test frozen contracts on completely unseen, source-disjoint benchmarks across more model backbones, measure full multi-turn dialogue retention (one audit caught an agent executing the right database action while quoting the wrong number to the user!), and track end-to-end wall-clock latency.
Summary updated