LetItLoop Brand Logo
Durability Conformance Protocol 2.0 • Physical OS SIGKILL Injection

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.

4
Kill-Window Sentinels
4
Persistence Archetypes
SIGKILL
Subprocess Fault Injection
$0.00
Local Synthetic Harness
bash — python -m harness.runner --compare all (DCP-2.0 SIGKILL Injector)
Animated Terminal SIGKILL Crash and 0.94ms WAL Recovery Demo
Synthetic Archetype Matrix

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
⚖️ Methodological Scope & Trade-off Disclosures:
  • 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 all to execute the subprocess fault injector locally.
Fault Injection Vectors

The 4 Deterministic Kill Windows

DCP-2.0 injects host OS signals at the exact four failure boundaries of autonomous execution.

WINDOW 01

SENTINEL_PROMPT

Injected during LLM prompt compilation and context assembly. Validates supervisor memory isolation and dirty-bit state tracking.

WINDOW 02

SENTINEL_EXEC

Injected during subagent tool invocation and shell command execution. Tests orphan process group termination via PR_SET_PDEATHSIG.

WINDOW 03

SENTINEL_WRITE

Injected mid-write into the Write-Ahead Log. Asserts CRC32 torn-tail recovery and automatic truncation to the last valid frame prefix.

WINDOW 04

SENTINEL_VERIFY

Injected during AST verification and receipt generation. Validates file-lock release, dead-lock stealing, and receipt tamper detection.

PROTOCOL 05

Zero Mocking Harness

DCP-2.0 executes real Python subprocesses under host OS signals rather than simulated in-memory mock passes.

PROTOCOL 06

Signed Trial Receipts

Every benchmark trial generates a JSON receipt recording scenario kill windows, recovery latency, and duplicate step ratios.