Verify Audit Trail
sdd_verify_auditVerifies hash-chain integrity of Specky audit log for a spec directory, including optional HMAC-SHA256 signature verification for tamper evidence.
Instructions
Verifies the hash-chain integrity of the Specky audit log for a spec directory. When an HMAC key is configured (SDD_AUDIT_HMAC_KEY / SDD_AUDIT_HMAC_KEY_FILE), also verifies each entry's HMAC-SHA256 signature (tamper evidence). Returns whether the chain is valid, entry count, current hash, hmac_checked/signed_entries, and any mismatch errors.
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": "sdd_verify_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_dir | No | Spec directory path (relative to workspace root) | .specs |