File size: 1,830 Bytes
1f7d761 | 1 2 | {"schema_version":"offline-clone.invariants.v1","status":"frozen","invariants":[{"id":"runtime.local-only","statement":"All candidate runtime HTML, CSS, JavaScript, data, images, and API responses are same-origin; remote runtime requests and effects are zero.","priority":"p0","journey_ids":["catalog.discover","product.inspect","bag.add","checkout.guest","payment.sandbox"],"acceptance_obligations":["Browser network audit records zero non-loopback requests."]},{"id":"catalog.source-facts","statement":"Exactly 250 retained first-party product records preserve handle, vendor, type, variants, availability, price, and image provenance; every record is searchable and has a detail route.","priority":"p0","journey_ids":["catalog.discover","product.inspect"],"acceptance_obligations":["Catalog consistency test covers all 250 products."]},{"id":"cart.session-owner","statement":"Cart ownership is bound to an opaque local session and unavailable variants cannot be added.","priority":"p0","journey_ids":["bag.add","checkout.guest"],"acceptance_obligations":["Foreign-session cart reads and writes fail closed."]},{"id":"payment.local-sandbox","statement":"Checkout accepts only opaque local-sandbox scenarios; amount, owner, USD currency, and fingerprint are server-derived and no payment credentials are accepted.","priority":"p0","journey_ids":["payment.sandbox"],"acceptance_obligations":["Approved, declined, retryable, duplicate, stale, and foreign-owner outcomes are deterministic."]},{"id":"evidence.no-fabrication","statement":"No strict source-equivalence claim is made for populated cart, checkout, or payment because those source states are unavailable.","priority":"p0","journey_ids":["checkout.guest","payment.sandbox"],"acceptance_obligations":["Unavailable source states remain explicitly labeled clone-local."]}]}
|