Skip to main content

Module receipt

Module receipt 

Source
Expand description

Run-receipts: the non-hashed evidence that a bound test ran — one JSON object per line in results/receipts/.jsonl. Deleting receipts never changes a tick id (the hashed/cached split). Unsigned, trust-on-write for 0.1.0.

Structs§

Receipt

Functions§

append
Append one receipt as a JSON line to results/receipts/.jsonl.
from_value
Strict parse of one receipt line: closed schema + result enum.
read_for
Read every receipt for a bound test ref (its .jsonl). Empty vec if the file is absent.
test_key
Stable, filesystem-safe key for a bound test’s receipt log: first 12 hex of SHA-256(ref).