It means changes to the log can be detected, not that they are impossible. GateRook combines three mechanisms:
- Append-only records. Database constraints refuse edits and deletions of audit records. Retention is the only removal, and it moves the point where the verified history starts.
- A hash chain. Each call record and each setup change stores the SHA-256 hash of the record before it and of itself. Changing or removing a record breaks the chain.
- An authenticated head. Once a minute and when GateRook stops, it saves the latest records of both chains and where the verified history starts, with an HMAC under a key derived from your master key. Rewritten hashes, or records removed from either end, no longer match it.
At start, and whenever the master key changes, GateRook checks the head and the chain. A break raises an integrity alert, and GateRook re-anchors the chain with a Setup change saying the earlier history isn't verified. The break stays visible, but lost records don't come back.
It isn't tamper-proof, immutable or WORM storage. Code running with your OS account's privileges, or a local administrator, can still delete or alter the database: detection helps you notice, not prevent. Keep exported copies elsewhere if you need them.