scripts/soak/soak.py (stdlib Python, offline tooling): a never-ending agent session (streamed /v1/responses, a shell tool, grown from the frozen
782-file corpus, digest checked) with faults injected while a request is in flight: engine kill -9, engine hang (SIGSTOP), API kill, gateway kill /
SIGTERM, supervisor kill (the holder), client abort mid-stream, log flood, parallel burst. Judges eight criteria (recovery within bounds, no hang and
no silent truncation of any request, identical greedy probe before/after every fault, log directory bounded, no secret in logs, bounded descriptors,
progress, ready at the end), writes soak-result.json and a capped events.jsonl, exits 0 only if all hold.
scripts/soak/test_soak.py: the harness against a fake service (fake API, a supervisor that respawns a dummy engine, log rotation) - no GPU.
scripts/soak/soak-job.sh: the holder job for the real model (guards, gpu.lock, seal-probe on real files, `leleka up --mode none` from nothing,
cold-load A/B new vs LELEKA_LOAD_READ=legacy with shards evicted by posix_fadvise, then the soak under a restart loop that plays systemd).
scripts/soak/identity-job.sh: the replay identity gate for the fast cold load (adapted from draftround-id.sh: legacy bank read vs the new read,
one test binary, top-16 logprob rows and the draft trace must be identical).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>