Verify receipts
verify_receiptsVerifies JSONL receipts offline and read-only by checking hash chains, sequence order, required fields, secret leakage, event ordering, and terminal-result consistency to audit browser task runs.
Instructions
Verify a JSONL receipt ledger offline (read-only, no network): checks each record's hash chain, per-run sequence, required fields, secret leakage, event ordering, and that every run ends in exactly one terminal_result consistent with its completion_verdict. Returns {valid, records_checked, runs_checked, first_error_line, error_code, head_hash}; a missing or empty file yields valid=false. Use after run_safe_browser_task to audit what a host actually did.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "verify_receipts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Filesystem path (absolute or relative to the server's working directory) of the .jsonl receipt file to verify. |