ledger_verify
Verify the hash-chain integrity of a ledger log, returning ok=true, ok=null, or ok=false with the exact line of the first break. Use strict=true to treat any unchained row as a hard failure.
Instructions
Verify the hash chain over the log. Returns a three-valued verdict: ok=true means EVERY row verified; ok=null means no break was found but unchained prechain rows were skipped UNVERIFIED (verified_scope='bounded_prechain_skipped' — treat as not-green); ok=false names the exact line of the first break (edit, deletion, reorder). Pass strict=true to make any unchained row a hard failure instead of a skip.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strict | No | Treat ANY unchained row as a break (closes the fabricated-legacy-prepend hole). Default false: unchained rows before the first chained row are skipped, counted in `prechain`, and cap the verdict at ok=null. |