System
Audit
Every action in SOVEREIGN is recorded to a tamper-evident, hash-chained audit log. Verify integrity on-premise at any time.
Tamper-Evident Audit Chain
Each event is hashed (SHA-256) and chained to the previous event's hash. Any modification to a historical entry invalidates every subsequent hash, making tampering immediately detectable. The chain is stored locally on the same machine as the workbench — no data leaves your premises.
SHA-256 chainedOn-premise storageVerifiable offline
Verify the Chain
Run this command on the SOVEREIGN host to validate integrity.
bash — sovereign@workbench
$ sovereign audit verify --chain /var/lib/sovereign/audit.chain \ --since "$(date -u -d '24 hours ago' +%Y-%m-%dT%H:%M:%SZ)" # ✓ Chain intact · 1,284 events verified · 0 tampered # ✓ Latest hash: 7a3f…b9c2 matches stored head
Event Categories
Every action is recorded with one of the following event types.
Document Operations
document.uploadeddocument.deleteddocument.indexedQueries & Retrieval
search.executedrag.queryrag.answeredAgent Activity
agent.startedagent.stepagent.completedagent.failedDeliverables
deliverable.createddeliverable.exportedSystem
system.startupsystem.healthconfig.changedAudit Entry Shape
Each entry in the chain contains these fields.
| Field | Type | Description |
|---|---|---|
timestamp | ISO 8601 UTC | When the event occurred |
event | string | Dotted event identifier |
actor | string | User or system that triggered it |
resource_id | string | ID of the affected resource |
hash | sha256 | Content hash of the event payload |
prev_hash | sha256 | Hash of the previous entry |
Note: The audit chain is append-only and replicated to local disk. For maximum assurance, mirror the chain file to a separate write-once storage system or WORM media on a regular cadence.