Durable Agent Workflows Need Idempotency Before They Need Checkpoints

Checkpointing is an easy feature to sell: If the agent crashes, it resumes where it left off. That sentence is reassuring and incomplete. A workflow engine can restore its own state. It cannot atomically restore the external world. Between “call the refund API” and “save the successful checkpoint,” the refund may succeed, the acknowledgement may disappear, and the worker may die. On resume, the workflow sees no recorded success. It calls the API again. Congratulations: the agent is durable enough to duplicate damage. The first production requirement for a resumable workflow is not persistence. It is safe repetition. The Effect Gap Consider this node: def refund_node(state): receipt =
…