{
  "schemaVersion": "mirage-public-case-v0",
  "id": "shopify-draft-stock-lens-v0",
  "kind": "RESEARCH_CASE",
  "title": "Shopify Draft Stock Lens",
  "observedAt": "2026-08-30T01:48:00Z",
  "updatedAt": "2026-08-31T00:00:00Z",
  "status": "RUN",
  "question": "Is a bounded read-only inventory lens on Shopify Draft Order details technically plausible?",
  "claims": [
    {
      "claimId": "obs-target",
      "epistemicClass": "OBSERVATION",
      "supportClass": "DIRECT_SOURCE",
      "text": "Shopify Admin Extensions exposes admin.draft-order-details.block.render as an inline block target on Draft Order details.",
      "sourceRefs": [
        "shopify-targets"
      ],
      "derivedFromClaimIds": [],
      "observedAt": "2026-08-30T01:48:00Z"
    },
    {
      "claimId": "obs-inventory",
      "epistemicClass": "OBSERVATION",
      "supportClass": "DIRECT_SOURCE",
      "text": "Shopify GraphQL InventoryLevel connects an InventoryItem to a Location and exposes quantity states including available.",
      "sourceRefs": [
        "shopify-inventory"
      ],
      "derivedFromClaimIds": [],
      "observedAt": "2026-08-30T01:48:00Z"
    },
    {
      "claimId": "obs-reservation",
      "epistemicClass": "OBSERVATION",
      "supportClass": "DIRECT_SOURCE",
      "text": "Shopify DraftOrder documentation says inventory is reserved when a draft order is completed and recommends verifying inventory availability before completion.",
      "sourceRefs": [
        "shopify-draft-order"
      ],
      "derivedFromClaimIds": [],
      "observedAt": "2026-08-30T01:48:00Z"
    },
    {
      "claimId": "interpretation-lens",
      "epistemicClass": "INTERPRETATION",
      "supportClass": "WORKING_INTERPRETATION",
      "text": "A read-only inline lens showing requested quantity, total/location available quantities, and SINGLE_LOCATION_OK, SPLIT_REQUIRED, INSUFFICIENT, or UNTRACKED_OR_CUSTOM is technically plausible from the documented surfaces. It does not reserve inventory, choose fulfillment location, or promise oversell prevention.",
      "sourceRefs": [
        "shopify-targets",
        "shopify-inventory",
        "shopify-draft-order"
      ],
      "derivedFromClaimIds": [
        "obs-target",
        "obs-inventory",
        "obs-reservation"
      ],
      "observedAt": "2026-08-30T01:48:00Z"
    },
    {
      "claimId": "counter-demand",
      "epistemicClass": "COUNTER",
      "supportClass": "UNSUPPORTED_UNKNOWN",
      "text": "Platform capability documentation does not establish merchant willingness to pay, exact competitive whitespace, or actual outcome.",
      "sourceRefs": [],
      "derivedFromClaimIds": [],
      "observedAt": "2026-08-30T01:48:00Z"
    }
  ],
  "sources": [
    {
      "sourceId": "shopify-targets",
      "sourceObservationId": "shopify-draft-stock-lens-v0-shopify-targets-2026-08-31",
      "url": "https://shopify.dev/docs/api/admin-extensions/latest/targets/draft-orders",
      "normalizedPublicUrl": "https://shopify.dev/docs/api/admin-extensions/latest/targets/draft-orders",
      "publisher": "Shopify",
      "role": "Admin Extension target documentation",
      "retrievedAt": "2026-08-31T00:00:00Z",
      "sourceState": "current",
      "sourceObservationNote": "Public URLs are mutable; this observation identifies a checked public source event and does not claim archived bytes or a cryptographic source hash.",
      "verification": {
        "checkedAt": "2026-08-31T00:00:00Z",
        "result": "RECONSTRUCTABLE_FROM_CURRENT_SOURCE",
        "note": "Re-opened current official documentation; the Draft Order details block target is recoverable."
      }
    },
    {
      "sourceId": "shopify-inventory",
      "sourceObservationId": "shopify-draft-stock-lens-v0-shopify-inventory-2026-08-31",
      "url": "https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryLevel",
      "normalizedPublicUrl": "https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryLevel",
      "publisher": "Shopify",
      "role": "InventoryLevel documentation",
      "retrievedAt": "2026-08-31T00:00:00Z",
      "sourceState": "current",
      "sourceObservationNote": "Public URLs are mutable; this observation identifies a checked public source event and does not claim archived bytes or a cryptographic source hash.",
      "verification": {
        "checkedAt": "2026-08-31T00:00:00Z",
        "result": "RECONSTRUCTABLE_FROM_CURRENT_SOURCE",
        "note": "Re-opened current official documentation; InventoryLevel location and available semantics are recoverable."
      }
    },
    {
      "sourceId": "shopify-draft-order",
      "sourceObservationId": "shopify-draft-stock-lens-v0-shopify-draft-order-2026-08-31",
      "url": "https://shopify.dev/docs/api/admin-graphql/2026-01/objects/DraftOrder",
      "normalizedPublicUrl": "https://shopify.dev/docs/api/admin-graphql/2026-01/objects/DraftOrder",
      "publisher": "Shopify",
      "role": "DraftOrder documentation",
      "retrievedAt": "2026-08-31T00:00:00Z",
      "version": "2026-01",
      "sourceState": "current",
      "sourceObservationNote": "Public URLs are mutable; this observation identifies a checked public source event and does not claim archived bytes or a cryptographic source hash.",
      "verification": {
        "checkedAt": "2026-08-31T00:00:00Z",
        "result": "RECONSTRUCTABLE_FROM_CURRENT_SOURCE",
        "note": "Re-opened current official documentation; completion reservation and availability-verification guidance are recoverable."
      }
    }
  ],
  "decision": {
    "outcome": "OUTCOME_PENDING",
    "text": "Continue bounded research; no execution outcome is claimed."
  },
  "strongestCounterClaimId": "counter-demand",
  "reopenConditions": [
    "External evidence establishes a bounded unmet demand or materially changes platform capability."
  ],
  "freshness": {
    "state": "CURRENT",
    "checkedAt": "2026-08-31T00:00:00Z",
    "sourceFreshness": "CURRENT",
    "caseFreshness": "CURRENT"
  },
  "supersedes": null,
  "supersededBy": null,
  "provenance": "Public official Shopify documentation only.",
  "currentRevision": "shopify-draft-stock-lens-v0-r2",
  "revisions": [
    {
      "revisionId": "shopify-draft-stock-lens-v0-r1",
      "jsonUrl": "/reality/revisions/shopify-draft-stock-lens-v0/r1.json",
      "markdownUrl": "/reality/revisions/shopify-draft-stock-lens-v0/r1.md",
      "updatedAt": "2026-08-30T01:48:00Z"
    },
    {
      "revisionId": "shopify-draft-stock-lens-v0-r2",
      "previousRevisionId": "shopify-draft-stock-lens-v0-r1",
      "jsonUrl": "/reality/revisions/shopify-draft-stock-lens-v0/r2.json",
      "markdownUrl": "/reality/revisions/shopify-draft-stock-lens-v0/r2.md",
      "updatedAt": "2026-08-31T00:00:00Z"
    }
  ]
}
