The Open Process Durability Benchmark
For AI Coding Agents
Evaluating autonomous agent frameworks under physical host SIGKILL (137) fault injection across atomic state retention, torn-tail recovery, and token re-execution waste.
DCP-2.0 Persistence Archetype Simulation Matrix
Evaluated across 4 deterministic kill windows under OS subprocess terminations (SIGKILL 137). Note: non-LetItLoop rows model architectural checkpointing boundaries rather than live third-party server clusters.
| Persistence Archetype | Durability Mechanism | Crash Recovery (Rcrash) | Resumption Latency (Tresume) | Modeled Step Re-Execution Waste | Integrity Mechanism |
|---|---|---|---|---|---|
| Step-Level Atomic WAL (LetItLoop v0.7.2) | Single-File Atomic WAL (LILWAL02) | 100.0% PASS | ~1–15 ms | 0.0% (completed steps) | CRC32 + SHA-256 Hash Chain |
| Superstep Snapshot Graph (Modeled) | Node-Boundary Checkpointing | PARTIAL | ~50 ms (modeled) | 14.5% (re-executes interrupted node) | Snapshot Row Logs |
| In-Memory Event Loop (Unpersisted) | In-memory process state | 0.0% LOSS | N/A (Full restart) | 100.0% (Total wipe) | None |
| Raw Python Script (Unmanaged CLI) | Standard Python runtime globals | 0.0% LOSS | N/A (Full restart) | 100.0% (Total wipe) | None |
- Simulation Scope: This repository is a synthetic fault-injection harness comparing persistence archetypes. Archetype baselines are modeled in Python without requiring external servers.
- In-Flight External Requests: If a non-maskable SIGKILL strikes during an uncommitted external HTTP call before the step response is written to WAL, that single in-flight call must re-run on resume unless protected by an upstream idempotency key.
- Reproduce Locally: Run
python -m harness.runner --compare allto execute the subprocess fault injector locally.
The 4 Deterministic Kill Windows
DCP-2.0 injects host OS signals at the exact four failure boundaries of autonomous execution.
SENTINEL_PROMPT
Injected during LLM prompt compilation and context assembly. Validates supervisor memory isolation and dirty-bit state tracking.
SENTINEL_EXEC
Injected during subagent tool invocation and shell command execution. Tests orphan process group termination via PR_SET_PDEATHSIG.
SENTINEL_WRITE
Injected mid-write into the Write-Ahead Log. Asserts CRC32 torn-tail recovery and automatic truncation to the last valid frame prefix.
SENTINEL_VERIFY
Injected during AST verification and receipt generation. Validates file-lock release, dead-lock stealing, and receipt tamper detection.
Zero Mocking Harness
DCP-2.0 executes real Python subprocesses under host OS signals rather than simulated in-memory mock passes.
Signed Trial Receipts
Every benchmark trial generates a JSON receipt recording scenario kill windows, recovery latency, and duplicate step ratios.