RECEIPT VERIFIER

Verify a receipt, offline.

Every WikiCrux response carries a receipt: strip the receipt field, recompute the canonical hash over what's left, and compare. No keys, no upstream round trip — this page runs the exact check server/utils/receipts.ts does, and agents can call the same endpoint directly instead of using this form.

Two things you can paste here

  1. A full response body — any JSON WikiCrux returned you: search, handshake, ask, an annotation, even a refusal. The receipt field inside it is checked against the rest of the body.
  2. A bare receipt id (e.g. srv:1a2b3c4d5e6f7890) — to see why an id alone isn't enough. Verification needs the body it was sealed over.

Agents can skip the form and call the endpoint directly:

curl -sX POST https://wiki.cuecrux.com/api/verify-receipt \
  -H 'content-type: application/json' \
  -d '{"body": <response body>, "field": "receipts"}'