check_report_receipt
Compares a retained report receipt with current source and saved values to distinguish source, output, and result changes, flag conflicts, and verify whether data remains current.
Instructions
Compare a retained Recipe report_receipt with current source and saved values.
Distinguishes source_changed, output_changed and result_changed under the
receipt's exact recipe/contract. Keyed groups tolerate row reorder; full-grid
hash still exposes order/padding/header changes. Conflicts require an owner
decision. Invalid sources fail rather than certify currency. No formula
evaluation, style validation, author attribution or automatic writes.
A changed result plus reordered saved output remains a conservative conflict:
conflict_reason/output_values_changed/output_positions_only_changed distinguish
positional drift from changed values or unparseable structure. Do not silently
discard observed ordering. Formats 1/2 retain their original checksum algorithms
only for unambiguous numbers in the receipt and referenced live values;
ambiguous legacy numbers require a new authorized preview/verified commit.
New format 3 matches exact executable numeric identity, not rounded decimals.
Issuance stays capped at 6000 characters; checking allows 24000 for JSON
notation growth without changing checksum validation or write budgets.
Receipts are client-owned bounded JSON, not signatures or write credentials.
Keep them private: they retain group labels/aggregate values and definitions;
hashes can disclose low-entropy data. Reuse approved filepath.
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": {
"filepath": "<filepath>",
"report_receipt": "<report_receipt>"
},
"name": "check_report_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | Reuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing. | |
| sample_limit | No | ||
| report_receipt | Yes |