{
 "status": "done",
 "check": {
  "exitCode": 0,
  "tail": "d-run; recovery keeps acked inputs, seed, distance, Royal life; lost ACK; stale connection fenced (126 ms) — recovered at tick 301 (36234 mm, 1 pending input replayed); final 44236 mm\nok   simultaneous claims: two runtime instances race one entry; exactly one wins; seed stored once (18 ms)\nok   reconnect: one bounded grace, exact deadline, second disconnect ends run, idle detection, earned score kept (39 ms) — second-disconnect score 17773 mm; idle-expired score 21394 mm\nok   weekly cutoff terminates live runs at 19:55 UTC preserving score; entries after cutoff refused (25 ms) — cutoff score 21394 mm at tick 180\nok   service: protocol-shaped start/input/snapshot/disconnect/reconnect/finish; schema-valid responses and errors (22 ms)\nok   bounded batching: slow SQLite commits are budgeted per loop, deferred sessions wait alone, results unchanged (342 ms) — 40 sessions, 5 ms/commit: <=2 flushes + <=2 checkpoints per loop (max 15 virtual ms), 38 deferred after burst, peak backlog 20 ticks, drained to 0; 40 live at end\n     {\"sessions\":10,\"loops\":300,\"p50\":0.01,\"p99\":6.69,\"max\":7.33,\"sessionTicksPerSec\":13128,\"storeTx\":306,\"deferredTx\":23,\"maxBacklogTicks\":2}\n     {\"sessions\":50,\"loops\":300,\"p50\":1.9,\"p99\":8.82,\"max\":24.79,\"sessionTicksPerSec\":16623,\"storeTx\":1510,\"deferredTx\":1966,\"maxBacklogTicks\":5}\n     {\"sessions\":200,\"loops\":300,\"p50\":7,\"p99\":19.65,\"max\":46.07,\"sessionTicksPerSec\":25975,\"storeTx\":4539,\"deferredTx\":68467,\"maxBacklogTicks\":26}\n     {\"realtime\":true,\"sessions\":50,\"seconds\":2,\"loops\":122,\"ticksPerSession\":129,\"maxLoopMs\":7.58,\"deferredTx\":209,\"maxBacklogTicks\":0}\nok   capacity: multi-session service tick throughput and backlog (SQLite WAL, synchronous=FULL) (6296 ms) — measured on this machine; see README \"Capacity\"\n\nruntime check: 12/12 passed\nnote: service throughput above is server simulation+persistence; browser FPS is a separate client measurement.\n"
 },
 "notes": "Built on the runtime already in the checkout: its check passed here but had exited 1 on another machine. That output was withheld, so this hardens the machine-dependent points; it is not a confirmed fix. CHANGED (backend/runtime/): index.mjs tickAll budgets SQLite commits per loop (6 ms, min 1 flush + 1 checkpoint, forced checkpoint near lease expiry); a deferred commit stalls only its own session. Added ack(), wallet/generation fences, injectable monotonic clock. service.mjs (new): RuntimeService open/inputBatch/snapshot/disconnect/reconnect/finish/result validated against protocol SCHEMAS, toProtocolError. check.mjs: the hard wall-clock assertion (real-time backlog <= 12 ticks) is removed, timing is printed only; asserting tests use virtual clocks; scratch dir probed with temp-dir fallback; crash child accepts SIGKILL or exit 137; output strips absolute paths; old Node exits 2. README.md: interfaces, rules, capacity, readiness. CHECKED: node backend/runtime/check.mjs exit 0, 12/12, on Node 24.21 and 22.13.0; six concurrent runs all exit 0. New tests: protocol facade; deterministic slow-disk run (40 sessions, 5 ms/commit: <=2 flushes and <=2 checkpoints per loop, backlog peak 20 ticks, drains to 0, replay equal). MEASURED here (service throughput, not browser FPS): loop p99 7 ms at 10 sessions, 9 ms at 50, 20-26 ms at 200 (about 99 ms before); 200 sessions saturate commits (backlog 26-36 ticks). Capacity: <=50 runs per process. UNRESOLVED: HIGH admission, chain, seed-custody and verifier adapters are test fixtures; those targets had not landed. HIGH seed secret and token are plaintext in the runtime DB. MEDIUM expired runs keep checkpoint distance but store.isEligible admits only finished. MEDIUM >50 sessions needs store group commit or a worker thread. LOW a vanished client reconnects only after 3 s idle detection. MISSING: real adapters, WebSocket transport, encryption at rest, production load test, backups. Tested behavior only, not release-ready."
}