Verify a local audit trail: the schema of each record, the continuity of the sequence numbers, and the previous-record hash chain. Then say exactly how far that verification reaches — which is further than most readers assume in one direction, and much shorter in another.
This walkthrough uses the tool's public README and checked-in example files. Run the command from a repository checkout with Node.js 22+.
Run the checked-in example
node bin/audit-trail-integrity-checker.mjs --root examples/clean --checkpoint checkpoint.json