Skip to content

AuditIntegrity

Defined in: src/schema.ts:105

The tamper-evidence block carried by every stored event (ADR 0004).

Property Type Description Defined in
digests Record<AuditSection, string> Per-section digests, salted with the event id. src/schema.ts:113
erased? AuditSection[] Sections erased after the fact (their content is the erasure marker; digests are kept). src/schema.ts:115
hash string This event’s chain hash: SHA-256 over the canonical header. src/schema.ts:111
prevHash string The previous event’s hash in this tenant’s chain (genesis for seq 1, or the prune base). src/schema.ts:109
v 1 Integrity format version. src/schema.ts:107