CLI command

skarbiec verify-chain

Verify full audit linkage and selected entry digests without stopping at the first fault.

Invocation#

Shell
skarbiec verify-chain [--tail <N>]

Purpose#

Verify full audit linkage and selected entry digests without stopping at the first fault.

Required inputs and options#

  • No positional input. --tail N limits digest recomputation to the newest positive N entries; linkage always covers the whole journal.

Output and state effects#

  • Prints journal path, counts, epochs, intact, broken_at, and every linkage/digest/epoch fault. It is read-only.

Refusals#

  • Refuses a non-whole or zero --tail and reports every detected fault instead of declaring a partial scan intact.