External witness
A hash chain shows that the rows in an export were not edited. It does not show that rows were left out, because the same system writes the chain. A signed head you saved from an earlier export fixes that gap in one direction: it commits to the first N rows as they were at that time. If a later export drops a row, rewrites one, or ends earlier than that head, the check fails.What it detects
An unverifiable head is always a failure. Exit codes follow
verify: 2 for an I/O or usage error, 4 for a contradiction or malformed evidence, 5 for a key or signature that does not verify. The output counts held heads newer than the export and older than its checkpoint window.
Use
add verifies the export first and refuses one that contradicts a head already in the file, so the
file cannot absorb a rolled-back history. Keep heads.ndjson somewhere Tracelane cannot write.
Everything runs offline against the open-source verifier; no Tracelane service is called.
What it does not show
- A pass means the rows are unchanged since you witnessed them, not that every record was captured. It covers rows up to your newest head. The check prints how many rows come after it (“not covered”).
- It does not show that no record was withheld before a head was signed.
- The heads are signed with your workspace key, which Tracelane operates. A head you hold proves what that key signed at the time you saved it, not that an independent party observed it. A co-signing witness run by someone else is not built.
--max-gapreports a long interval between two heads you hold; it does not fail the check.