{
  "version": "1.0",
  "releaseDate": "2026-10-29",
  "scope": "Merchant-run local evidence self-check. Production observation stops before purchase.",
  "routes": [
    {
      "id": "browser-assisted",
      "name": "Browser-assisted checkout",
      "help": "Use your staging checkout UI. Capture visible cart, account and challenge steps. Record the browser and agent build. Production observation stops before purchase."
    },
    {
      "id": "shopify-ucp",
      "name": "Shopify UCP",
      "help": "Record actual store capabilities, negotiated version and platform eligibility. Use your authorized staging tools and retain sanitized cart/checkout responses plus any human continuation."
    },
    {
      "id": "custom-ucp",
      "name": "Custom UCP",
      "help": "Record discovery profile, checkout capability, transport, authentication and negotiated version. Exercise your own staging endpoints and retain continuation state."
    },
    {
      "id": "acp",
      "name": "ACP",
      "help": "Record your seller implementation version and platform access. Use your own sandbox create/update/complete operations; retain totals, session identity and retry evidence."
    }
  ],
  "cases": [
    {
      "id": "stale-stock",
      "title": "Stale stock",
      "expected": "Unavailable stock blocks commitment. Recovery refreshes availability.",
      "browser": "Capture visible availability before and after the stock change.",
      "protocol": "Retain the stock update, completion response and zero-order ledger."
    },
    {
      "id": "repricing",
      "title": "Repricing",
      "expected": "Changed item price is shown and approved before commitment.",
      "browser": "Capture the old cart price and the revised checkout total.",
      "protocol": "Retain both quote revisions and approval of the current total."
    },
    {
      "id": "expired-session",
      "title": "Expired session",
      "expected": "Expiry blocks commitment and recovery retains the intended cart.",
      "browser": "Record expiry screen and the replacement or refreshed cart.",
      "protocol": "Record expired-session response and the platform-specific recovery lifecycle."
    },
    {
      "id": "double-submit",
      "title": "Repeated submission",
      "expected": "Repeating one intent creates one order with a stable identity.",
      "browser": "Repeat the staging submit and compare order identities.",
      "protocol": "Repeat the same completion intent and idempotency key; reconcile the order ledger."
    },
    {
      "id": "payment-decline",
      "title": "Payment decline",
      "expected": "A decline creates no paid order; deliberate recovery can resume.",
      "browser": "Use a sandbox decline and capture the recovery screen.",
      "protocol": "Retain decline response, ledger and sandbox retry outcome."
    },
    {
      "id": "shipping-tax",
      "title": "Shipping / tax change",
      "expected": "The revised breakdown and total receive fresh approval.",
      "browser": "Change the staging address or shipping choice and capture both totals.",
      "protocol": "Retain update response, breakdown and approval of the revised quote."
    },
    {
      "id": "human-handoff",
      "title": "Human handoff",
      "expected": "The human receives the current cart and can resume one session.",
      "browser": "Capture the handoff target, current cart and return path.",
      "protocol": "Retain continuation state, human decision and resumed session identity."
    },
    {
      "id": "forced-account",
      "title": "Forced account",
      "expected": "The chosen route handles an account requirement with an explicit next step.",
      "browser": "Check guest checkout and record where an account is required.",
      "protocol": "Record any identity requirement and the documented continuation route."
    },
    {
      "id": "challenge",
      "title": "Challenge",
      "expected": "An observed challenge provides a usable authorized next step.",
      "browser": "Capture the actual challenge and merchant edge configuration.",
      "protocol": "Record authenticated agent access and observed edge response; user-agent spoofing alone is insufficient."
    },
    {
      "id": "human-approval",
      "title": "Human approval",
      "expected": "A required human decision happens before commitment.",
      "browser": "Record the final total shown to the buyer and the decision boundary.",
      "protocol": "Record the policy/approval state and current quote identity before completion."
    },
    {
      "id": "recovery",
      "title": "Recovery",
      "expected": "A failed or interrupted attempt resumes with the correct cart and one order.",
      "browser": "Capture cart contents before interruption and after resuming.",
      "protocol": "Retrieve current session/order state before retry; retain identity and revised approval."
    }
  ],
  "verdicts": [
    "PASS",
    "FAIL",
    "NOT TESTED"
  ],
  "rules": {
    "PASS": "Expected behavior and recovery observed with evidenceRef.",
    "FAIL": "Observed behavior violates expectation.",
    "NOT TESTED": "Not run, missing evidence or recovery incomplete."
  },
  "evidenceFields": [
    "runId",
    "route",
    "platform",
    "environment",
    "protocolVersion",
    "eligibilityEvidence",
    "operator",
    "testedAt",
    "caseId",
    "expected",
    "observed",
    "verdict",
    "evidenceRef",
    "recovery",
    "notes"
  ],
  "sources": {
    "shopify": "https://shopify.dev/docs/agents/carts-and-checkout",
    "acp": "https://www.agenticcommerce.dev/docs/getting-started/sellers",
    "ucp": "https://ucp.dev/specification/shopping/checkout/",
    "stripeDocs": "https://docs.stripe.com/agentic-commerce",
    "cloudflare": "https://developers.cloudflare.com/ai-crawl-control/get-started/"
  }
}
