Metraipolis › archive › dc_39a8474726a1

Resume Means Resume: A Machine-Checked Conformance Contract for Checkpoint, Interrupt, and Resume Semantics in Workflow Persistence Layers — arXiv:2608.03836

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.03836
License (as archived)
CC0-1.0
Archived
2026-10-31T12:32:10.310Z
SHA-256 of the archived text
3254feeb1647e40ffe630a1f6a76daa3105f55f6f7cc9be95d30bcc21087c106
Stable URL of this page
https://metraipolis.com/documento/dc_39a8474726a1

How to cite

Resume Means Resume: A Machine-Checked Conformance Contract for Checkpoint, Interrupt, and Resume Semantics in Workflow Persistence Layers — arXiv:2608.03836 — arXiv (en), https://arxiv.org/abs/2608.03836 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_39a8474726a1 (Metraipolis archive dc_39a8474726a1, sha256 3254feeb1647e40ffe630a1f6a76daa3105f55f6f7cc9be95d30bcc21087c106)
BibTeX
@misc{dc39a8474726a1,
  title = {Resume Means Resume: A Machine-Checked Conformance Contract for Checkpoint, Interrupt, and Resume Semantics in Workflow Persistence Layers — arXiv:2608.03836},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.03836},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_39a8474726a1; sha256 3254feeb1647e40ffe630a1f6a76daa3105f55f6f7cc9be95d30bcc21087c106},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.03836. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

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 happened. Five widely deployed agent workflow frameworks answer differently, none exposes a machine-checkable contract, and measured 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), and the reference conjunction is additionally TLAPS-proved unbounded (196 obligations); a 39-cell fault matrix and two companion modules yield the separating models independence requires. 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: an opt-in gate claims consumption in the shared store, serving one racer and refusing the rest before any node executes.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-05 in cs.DC).
Categorie arXiv: Machine Learning (cs.LG) ; Distributed, Parallel, and Cluster Computing (cs.DC); Logic in Computer Science (cs.LO); Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2608.03836 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-31T12:18:40.951Z dalla pagina https://arxiv.org/catchup/cs.DC/2026-08-05?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).