Supervision Without Blocking: An Evidence-Driven Redesign of OTP-Style Fault Tolerance for Cooperative Runtimes
Sam Uwejan, Erdogan Dogdu
Key points
From the paper's conclusion- We delimit the forcing guarantees no cooperative runtime can honor.
Abstract
Actor frameworks on mainstream runtimes advertise Erlang/OTP-style supervision, but OTP's consistency contracts assume a synchronous, single-threaded supervisor, and ports inherit that assumption's absence as unexamined risk. We evaluated every supervision guarantee against pinned OTP documentation and source read verbatim, against the source of three further Rust actor frameworks at fixed revisions, and against the actor-model literature, recording the evidence behind each design decision. Blind adversarial audits and the cross-framework study surfaced 24 defect classes, of which eight reduce to one root cause: reconstructing, by explicit mechanism, the atomicity a synchronous supervisor gets implicitly. We introduce a supervision runtime that closes all 24 cataloged classes through supervisor-owned completion values, per-incarnation identity, and a single lifecycle state machine, validated by 241 tests including reverted-fix reproductions. The result holds OTP's verbatim-verified contracts while adding two properties OTP does not offer: a supervisor that remains responsive throughout group restarts, and message handlers that are never cancelled mid-execution. We delimit the forcing guarantees no cooperative runtime can honor.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Modular Responsiveness Verification of Rust Async RuntimesarXiv · 2026
- Exercised, Rarely Recovered: What Public Reports Say About Recovery in 50 AI Agent Harnesses and RuntimesarXiv · 2026
- Replay Is a Family of Assertions: Fork-Safety in Event-Sourced Agent RuntimesarXiv · 2026
- Interrupt-Aware Static Detection of Deadlocks in Rust Operating SystemsarXiv · 2026
- fork() for Agents: Agent Kernel for Non-blocking LLM OrchestrationarXiv · 2026
- Keep the Process, Change the Supplier: Runtime Governance for Tool-Using AI AgentsarXiv · 2026