Verify Session Ledger
Invoked as a slash command, runs the deterministic chain verification over .youdede/session-ledger.jsonl and explains the result: entry count, first failing line, and what the failure means for trust in carried claims.
Runs on
What it does
Verify the hash-chained session ledger and report exactly which entries, if any, fail integrity.
When it fires
- operations
- handoff
How it behaves
Evaluate the declared preconditions deterministically before the workflow may begin.
It does not repair, rewrite, or truncate the ledger; integrity failures are reported, not fixed.
It does not treat entries after a chain failure as verified, regardless of their content.
It does not transmit ledger content; the verdict carries counts and hashes only.
It does not claim authorship or resist an actor who can rewrite both the ledger and its local head seal.
Configuration
scripts/check-preconditions.mjs
- Version
- 1.0.0
- Requires
- node
- Licence
- RiskThis command verifies the hash-chained session ledger and reports exactly which entries, if any, fail integrity; it does not transmit ledger content; the verdict carries counts and hashes only.
- Low
- ModeHow it works: fixed rules, model instructions, or both.
- Deterministic and prompt
- Behaviour
- Advises, never blocks
- On failure
- Stops and reports
- LatencyThe command follows a precondition check and multiple workflow steps while it verifies the hash-chained session ledger and reports exactly which entries, if any, fail integrity.
- Bounded
- Data retentionWhether data remains after use and who manages its storage.
- Kept locally, bounded
- In packs
- Session continuity
Often used with
All in Operations