needledrop_verify
Verifies hash-chain integrity of cwi-needledrop/v1 ledgers. Detects tampered or corrupt data by recomputing hashes and checking linkage. Accepts a file path or defaults to example ledger.
Instructions
Verify-only: check the hash-chain integrity of a NEEDLE DROP placement ledger (cwi-needledrop/v1). Recomputes every entry hash, checks prev_hash linkage, chain head, and revision-note consistency. Tampered or corrupt ledgers fail. No signing, no sealing — verification only. Defaults to the vendored example ledger (vendor/needledrop/example-ledger.json); pass an absolute file path to verify any other cwi-needledrop/v1 ledger, e.g. CWI's canonical needle-drop.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Absolute path to a cwi-needledrop/v1 ledger JSON file. Defaults to the canonical CWI needle-drop.json. |