ReviewOS

also looking at this

stacks/drone

test: qualify partial host image writes and recovery

#57
Merged chris wants to merge codex/runtime-file-write-faults into main
9 files +311 -7
docs/runtime-updates.mdmodified+11-0
Changes to docs/runtime-updates.md
@@ -581,3 +581,14 @@ An actual CMake output-overflow case also stops before runtime start, retains
581581release floor 9 through recovery, then observes a fresh healthy trial after the
582582private build fault is removed. Build tools use native bounded process capture
583583with the existing 120-second command deadline and 2 MB per-stream limits.
584
585The [host storage fixture](adr/0030-host-storage-fault-fixtures.md) also runs an
586actual signed large host image under a read-back 1 MiB POSIX file-size limit.
587The slot copy retains exactly 1 MiB of the authenticated prefix before `EFBIG`,
588with no trial runtime launch or health confirmation. New root/target metadata and
589release floor 9 survive, and the prior known-good image remains intact. Recovery
590and the later unrestricted trial run in separate fresh Bun processes. Only the
591new slot can become known-good through actual fresh runtime health; the failed
592partial file stays retained. CI keeps the synthetic campaign artifacts for seven
593days. This file-size-limit evidence leaves zero-return writes, full-medium/quota,
594EIO, sync and physical power-loss campaigns open.