Write-Time Contracts for Self-Evolving LLM Agents: a Three-Way Ledger of Gain, Regression, and Cost
Agents that edit their own prompt, skills and memory promise continuous improvement after deployment, but a self-editing agent can also damage behaviour that already worked, and it can modify the very artefacts used to measure it. We study write-time contracts : a kernel/layer separation in which the agent may edit its own configuration while every write outside that layer is decided — and denied — before it lands, with the decision logged. We pair the contract with (i) transactional snapshot/rollback of the three editable layers, (ii) an environment-level network-egress policy that is constant across experimental conditions, and (iii) a three-way ledger that reports gain, regression and cost against three disjoint probe groups: items the agent was shown, same-difficulty items it was not shown, and items the frozen baseline already solved. Our experiments yield four results, three of which are negative or diagnostic rather than a headline gain. First, difficulty screening is not optional: of five families we screened, four (GSM8K 95.8%, HumanEval 99.4%, MATH levels 4–5 96.3%, AIME 98.4%) are saturated for the base model, so that only regression can be observed on them; only MuSiQue multi-hop question answering leaves headroom (58.3%). Second, on MuSiQue, self-evolution raises accuracy from 0/13 to 8/13 on shown items but only from 0/12 to 3/12 on unseen same-difficulty items, while degrading 4 of the 20 items the baseline already solved: the net ledger is positive but the composition is not. Third, the write-time contract did not bite: it evaluated 370 writes, denied none, and its condition is statistically indistinguishable from unconstrained evolution.
- Link
- https://zenodo.org/records/23114794
- Found by
- Zenodo
- Authors
- Li, Heng
- Categories
- evaluation
- Published
- 2026-10-03
- Last seen by the radar
- 2026-10-03
- Downloads
- 0
- Views
- 5
- Radar score
- 33.68 / 100 (how it is scored)
- Why it scored so
- Matched: evaluat; Recency discount: updated event ×0.5; Primary record: Zenodo
- Related links
- https://doi.org/10.5281/zenodo.23114794