Safe Continuation in LLM Agents: Runtime and Tool-Contract Boundaries
Source
arxiv.org
Author
Zihao Wang
Date
Why it matters
After a timeout or crash, agents can't tell whether a tool call committed. The paper argues guarantees belong in the runtime and Tool contractThe written specification of one tool: purpose, inputs, output, errors, retry behavior, access and completion evidence.Full definition → (resumable invocation, durable state), not model policy, and measures gains in a controlled test.
Key takeaways · AI-distilled
The paper defines operational ambiguity as two execution histories that need incompatible safe next steps but produce the same ObservationThe result the harness returns into the context after executing a tool: contents, a listing, a status or an error.Full definition → for the agent, such as a timeout that hides whether an External effectA consequence of an operation outside the harness's own files, such as a sent message, a posted notice or a payment.Full definition → committed.
The experiments hold task, backend, fault, controller and model fixed and vary only the operational semantics exposed or enforced at the agent-facing boundary, isolating what the interface itself contributes.
In the pooled three-model analysis, effect-aware interfaces reduced duplicate effects by 0.569 and unsafe commits by 0.500, and postcondition verification reduced incorrect terminal claims by 0.278.
Mechanism-by-fault negative controls indicate the gains are failure-specific rather than a generic benefit of a richer interface.
Terms in this piece · Glossary
Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
Tool contract — The written specification of one tool: purpose, inputs, output, errors, retry behavior, access and completion evidence.
Observation — The result the harness returns into the context after executing a tool: contents, a listing, a status or an error.
External effect — A consequence of an operation outside the harness's own files, such as a sent message, a posted notice or a payment.