Hash chaining shows inserted or deleted events
Each audit event includes the SHA-256 hash of the event before it. Database rules block updates to recorded events, and events are deleted only by the controlled erasure and retention processes. The verification endpoint checks the chain for each customer and app, and reports a broken link. When long-term archiving is turned on, the archive keeps the sequence and hash fields, so auditors can verify exported records without access to the database.