Verify a crosscheck receipt
verify_receiptFree. Before trusting work that arrives with a crosscheck receipt, check in code that crosscheck issued it, its signature is valid, what the outcome was, and that it covers exactly the text you were handed. Pass receipt_hash (or the receipt object) plus that text: draft and sources for check, task and deliverable for accept, files for skillcheck, and the verdict if one came with it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | accept: the task the receipt should cover | |
| draft | No | check: the draft the receipt should cover | |
| files | No | skillcheck: the skill's files | |
| receipt | No | Or the whole receipt object {body, hash, sig} | |
| sources | No | check: the sources, if the check had any, in the same order (strings or {text}) | |
| verdict | No | The verdict that came with the receipt, to confirm nobody edited it | |
| deliverable | No | accept: the deliverable the receipt should cover | |
| receipt_hash | No | The receipt's hash (the last part of its /r/ proof link) |