delimit_ledger
Query the append-only, hash-chained contract ledger to read or audit signed governance events. Optionally verify integrity with hash chain validation.
Instructions
Query the append-only contract ledger (hash-chained JSONL).
When to use: to read or audit the cryptographically-chained contract ledger that records signed governance events. When NOT to use: for the project work ledger (use delimit_ledger_list / delimit_ledger_query) — the contract ledger is a different, hash-chained store.
Sibling contrast: delimit_ledger_list reads work items; delimit_audit reads audit logs; this reads the hash-chained contract ledger and can verify integrity.
Side effects: read-only. Calls backends.gateway_core.query_ledger.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ledger_path | Yes | Path to the ledger JSONL file (e.g. .delimit/ledger/operations.jsonl). Required. | |
| api_name | No | Optional filter by API name. | |
| repository | No | Optional filter by repository. | |
| validate_chain | No | If True, verify the hash chain integrity in addition to filtering. Default False. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||