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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_dir | No | Spec directory path (relative to workspace root) | .specs |