verify_journal
Validates a financial decision log by checking its hash chain and terminator, confirming the recorded decisions match the actual event stream.
Instructions
Check a decision log's hash chain and its terminator.
The terminator states how many events precede it and what was decided; those are claims by the writer, and this checks them against the stream. A valid chain over a truncated log is still a valid chain, which is exactly why the terminator has to be there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||