MEGURO Docs
Documentation

Task-oriented technical guidance for practice, evidence, automation, and verification.

Contents
Understand the result

Share, retain, and verify receipt integrity

Verify artifact integrity without implying that a digest verifies the receipt’s result.

Use this when

Use this before sharing or retaining receipt evidence.

Before you start

Choose the customer-safe artifact and check its visibility, issuance time, and how many days your plan keeps receipts.

Steps

  1. Copy the receipt’s public URL: the canonicalPath of its receipt reference, of the form https://<API host>/public/receipts/<receipt id>. The same reference’s sha256 is the published digest.
  2. Fetch it with an unauthenticated GET, no credentials or headers, and save the response body exactly as received: curl -fsS -o receipt.json '<canonicalPath>?format=json'.
  3. Compute SHA-256 over those saved bytes without reformatting or re-serializing them: shasum -a 256 receipt.json.
  4. Compare the lowercase hex result with the reference’s sha256. The same value is served as source.digest at <canonicalPath>?view=report-back and in the response’s X-Meguro-SHA256 header. A match proves these bytes are unaltered; it does not validate the run’s result.
  5. Retain the saved bytes in your own controlled evidence store if you need them after your plan stops keeping the receipt.
  6. Review the evidence and proof-boundary text separately; digest validity does not validate the result.

Success looks like

The artifact bytes match their digest and the reviewer can identify what was observed, modeled, and not established.

If it fails

If the receipt is no longer fetchable, use a previously retained artifact. Never infer a result from an id or digest alone. Practice receipts do not prove future demand or full Shopify parity.

Next action

Read Use the Configured Gate to project the same sealed decision in CI.