Expand description
Per-run NDJSON output capture. Agent and aftercare stdout/stderr are untrusted evidence: they are stored as ordered chunks, never parsed as lines and never routed through the dispatcher.
Structs§
- Agent
Output - Output
Page - Output
Record - RunLog
Writer - Append-only writer shared by the stdout and stderr reader threads of one run. Sequence numbers are capture order across both pipes.
Enums§
- Output
Chunk - One captured chunk. UTF-8 chunks stay readable; anything else round-trips through base64 rather than being lossily converted.
- Output
Source - Output
Stream
Functions§
- read_
agent_ output - Reassembles each agent stream from every complete captured record. Test and merge output is deliberately excluded from vendor classification.
- read_
page - Reads a finite page of records with
sequence > after, in order. A missing file is an empty page: the run may exist before any output does. - visit_
agent_ output - Visits decoded agent chunks in capture order without retaining the whole log. A malformed or crash-truncated record does not hide earlier evidence.