plog verify walks an agent’s hash chain and checks that every event’s hash is correct and all links are contiguous.
Usage
Flags
| Flag | Default | Description |
|---|---|---|
--agent-id | — | Required. Agent ID to verify |
--server | — | Verify against a remote server |
--api-key | — | API key for server authentication |
--db | ~/.provenlog/events.db | Local SQLite database path |
Output
On success:What it checks
- Hash correctness — recomputes each event’s hash and compares
- Chain continuity — verifies each event’s
prev_hashmatches the previous event’shash - Sequence integrity — checks for gaps in the sequence