ImageNet classification with deep convolutional neural networks
Alex Krizhevsky, Ilya Sutskever et al.
0
Citations
0
Influential Citations
—
Venue
2026
Year
A framework that persists execution state so a run can be interrupted, survive a crash, and continue must decide what a resume means for effects that already fired. Five widely deployed agent workflow frameworks answer differently, none exposes a machine-checkable contract, and behavior violates even the fragments they state. The RESUME CONTRACT states six properties over the persistence API (prefix continuation, effect exactly-once, fork determinism, checkpoint validity, consume-once, recovery determinism), plus fork-intent and liveness obligations. A TLA+ model checks a reference semantics exhaustively, unchanged at scaled bounds (7.4 million states); a 39-cell fault matrix yields the separating models independence requires, and consume-once splits, its consumption clause independent of all six others. A deterministic, LLM-free harness measures them at pinned releases. LangGraph 1.2.9 durably records a second resume value and never consults it, persists schema-invalid state silently, and re-executes durably recorded work after a real SIGKILL: exactly-once across interrupts, at-least-once across crashes, on one API. CrewAI 1.15.2 re-executes completed effect-bearing methods against its written claim; pydantic-graph 1.x cannot resume after a mid-node crash; no two probed frameworks share a conformance profile. Consume-once holds sequentially and fails under concurrent delivery: k processes resuming one parked interrupt fire the gated effect k times, saturation 1.0 in 36 of 40 cells, and the failure crosses hosts. REMIT, a reference sequencer whose Verus-verified recovery core is line-identical to the shipped executable, repairs the fork and validity cells. The cross-process cell is repaired at the read path, and that repair ships: an opt-in gate claims consumption in the shared store, serving one racer and refusing the rest before any node executes.
Workflow persistence layers are critical for agent frameworks that need to survive crashes and resume execution. However, the semantics of what 'resume' means for already-fired effects are often ambiguous and inconsistent across frameworks. This paper addresses a significant gap by proposing a formal conformance contract, the RESUME CONTRACT, which specifies six properties that any persistence API should satisfy. This is crucial because without a machine-checkable contract, developers cannot reason about the behavior of their workflows under failure, leading to subtle bugs and data inconsistencies.
The paper's empirical findings are alarming: five widely deployed frameworks (LangGraph, CrewAI, pydantic-graph, and others) violate even the fragments of semantics they claim to support. For instance, LangGraph exhibits exactly-once across interrupts but at-least-once across crashes on the same API, while CrewAI re-executes completed effect-bearing methods. This inconsistency highlights the need for a standardized contract and testing methodology, which this paper provides.
The empirical evaluation shows that LangGraph 1.2.9 durably records a second resume value but never consults it, persists schema-invalid state silently, and re-executes durably recorded work after a real SIGKILL. This means exactly-once across interrupts but at-least-once across crashes on one API. CrewAI 1.15.2 re-executes completed effect-bearing methods against its written claim. pydantic-graph 1.x cannot resume after a mid-node crash. The consume-once property holds sequentially but fails under concurrent delivery: k processes resuming one parked interrupt fire the gated effect k times, with saturation 1.0 in 36 of 40 cells, and the failure crosses hosts. REMIT repairs the fork and validity cells, and the opt-in gate repairs the cross-process cell.
This paper sets a new standard for workflow persistence by introducing a formal contract that can be machine-checked. It provides a methodology that framework developers can adopt to test and verify their implementations. The findings expose critical flaws in popular frameworks, urging the community to prioritize conformance and reliability. The REMIT reference implementation and opt-in gate offer practical solutions that can be integrated into existing systems. This work has the potential to influence the design of future agent frameworks, ensuring that they provide consistent and predictable behavior under failures, which is essential for production-grade AI applications.
Alex Krizhevsky, Ilya Sutskever et al.
Ashish Vaswani, Noam Shazeer et al.
Douglas M. Bates, Martin Mächler et al.
Diederik P. Kingma, Jimmy Ba