Skip to main content

Module export

Module export 

Source
Expand description

Readers over a finished trace file: the privacy-preserving metadata export and the forensic node extractor. Both enforce the same physical contract the writer guarantees — schema, contiguous sequence, a single terminal marker — and never trust a truncated file.

Structs§

Row
One physical trace line as written by the writer.

Functions§

metadata
Metadata export: a POSITIVE projection of the trace. Only the sequence number and the closed EventKind category survive — no keys, paste or file text, paths or native byte arrays, argv, command strings, messages, errors, backtraces, protocol packets, identities, content hashes or arbitrary nested fields. It records that categories occurred, nothing else, and is explicitly not replayable.
replay_nodes
Extract the forensic node stream. Requires a complete full-content capture — a capped, failed or metadata trace is never replayed as a valid prefix — and the nodes must run SeedEnd.
scan
Stream the rows of a trace. Verifies schema, sequence continuity, a single terminal TraceEnd and bounded size. Returns whether the file ended complete (TraceEnd present with complete: true).