verify_writes
Verify a hash-chained write ledger for tamper-evidence, detecting silent edits, insertions, or reordering. Returns ok status and offending IDs if the chain fails verification.
Instructions
TAMPER-EVIDENCE check: verify the hash-chained write ledger is intact (no silent edits/insertions/reordering). Returns {ok, problems, expected_pubkey} — ok=false with the offending ids if the chain doesn't verify.
expected_pubkey (hex, optional) binds the verdict to the key the receipts should be signed by; defaults
to INSPEXIMUS_RECEIPT_PUBKEY. Set one for any signed store: unpinned, a rewritten-and-re-signed store
verifies clean, and limits in the result says so.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "verify_writes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expected_pubkey | No |