audit_chain_verify
Verify the integrity of a GovernanceEvent chain by checking monotonic IDs, hash linkages, and self-consistency. Returns validation results with details of the first break if any.
Instructions
Walk an array of GovernanceEvents top-to-bottom and verify the hash chain: monotonic event_id, prev_hash linkage, self-consistency of each event's hash. Returns { valid, checked, first_break_at, reason }, the same shape audit-stream-py's GET /verify endpoint emits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes |