Don't Retry Blind: Recovering from Partial Side Effects in Agent Procedures

When a deterministic, write-performing agent procedure fails partway, the world has alreadychanged: some writes committed, some were never dispatched, and some have an unknown outcome.Restarting the agent from the original request can duplicate those effects. We describe safedeoptimization: the runtime hands the agent a structured account of what the failed pathalready did, and an enforcement layer, not the model, decides whether any recovery write isadmitted. In a recovery benchmark across two model families, runs with the guard had zerounsafe dispatches and zero duplicate effects; runs without it produced up to 12 duplicates.The cost of the guard is a higher escalation rate. A small five-task efficiency study alsoshows far fewer model calls when stable work runs as a Procedure.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-09-24
DOI
https://doi.org/10.5281/zenodo.22945661
Primary Topic
Mobile Agent-Based Network Management
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
preprint

Don't Retry Blind: Recovering from Partial Side Effects in Agent Procedures

Safwan Erooth
Zenodo (CERN European Organization for Nuclear Research)
Mobile Agent-Based Network Management
preprint

Don't Retry Blind: Recovering from Partial Side Effects in Agent Procedures

Safwan Erooth
preprint en

Abstract

When a deterministic, write-performing agent procedure fails partway, the world has alreadychanged: some writes committed, some were never dispatched, and some have an unknown outcome.Restarting the agent from the original request can duplicate those effects. We describe safedeoptimization: the runtime hands the agent a structured account of what the failed pathalready did, and an enforcement layer, not the model, decides whether any recovery write isadmitted. In a recovery benchmark across two model families, runs with the guard had zerounsafe dispatches and zero duplicate effects; runs without it produced up to 12 duplicates.The cost of the guard is a higher escalation rate. A small five-task efficiency study alsoshows far fewer model calls when stable work runs as a Procedure.

Zenodo (CERN European Organization for Nuclear Research)
Peace, Justice and strong institutions
Mobile Agent-Based Network Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.