{
  "name": "ap2-x402-cart-correlation",
  "domain": "Agent Economy",
  "title": "AP2 x402 Cart Correlation",
  "description": "Builds an illustrative AP2 CartMandate with a deterministic hash-chain over its cart line items, then checks whether that CartMandate's total and merchant plausibly correlate with a caller-supplied x402_spend_evidence pack (from the x402-spend-evidence chain). Output vocabulary is CORRELATION_STATUS (CORRELATED / NOT_CORRELATED / INDETERMINATE) -- a plausibility check over two independently-produced artifacts, never a cryptographic binding. Google has not shipped an AP2-compatible x402 extension; no field or code path here implies one exists. Zero network calls; never a facilitator, proxy, gateway, or settlement relay.",
  "composer_url": "https://ainumbers.co/chaingraph/chains/ap2-x402-cart-correlation.html",
  "regulatory_basis_status": "not_assessed",
  "regulatory_basis_decided_by": "BUILD-AP2-X402-CHAIN-1",
  "regulatory_basis_decided_at": "2026-08-18",
  "steps": [
    {
      "tool_id": "art-595-ap2-cartmandate-hashchain-builder",
      "handoff": "cart_root, cart_items, and merchant are the CartMandate fields the correlation step checks against a caller-supplied x402_spend_evidence pack."
    },
    {
      "tool_id": "art-596-ap2-x402-cart-correlation",
      "handoff": "terminal step -- independently re-derives cart_chain_intact from cart_items and cart_root, then checks the cart total and merchant against the x402_spend_evidence pack's authorization.value and authorization.to, reporting CORRELATION_STATUS."
    }
  ]
}
