← back to Tk 10965 Zero Price Analysis

tk10964-canary-guard/verification/e2e-proof.json

49 lines

{
  "ticket": "TK-10964",
  "intent": "Close the standing canary's Fentucci/quote-tag blind spot without changing Shopify state",
  "risk_tier": "R1",
  "environment": "local Node.js guard plus read-only Shopify Admin GraphQL",
  "timestamp": "2026-08-30T18:27:00Z",
  "baseline": "Existing canary searches quote-only tags and detects 1,281 Phillipe Romano products but misses 462 Fentucci Naturals products",
  "checks": [
    {
      "name": "Syntax",
      "command": "node --check tk10964-canary-guard/check.mjs",
      "verdict": "PASS"
    },
    {
      "name": "Fixture unit and boundary assertions",
      "command": "node tk10964-canary-guard/test.mjs",
      "assertions": "full tag family, Fentucci fallback, product-GID dedupe, sample exclusion, unavailable-$0 exclusion, search-overreturn rejection",
      "verdict": "PASS"
    },
    {
      "name": "Fixture end-to-end status artifact",
      "command": "ZERO_PRICE_CANARY_OUT=/tmp/tk10964-fixture.json node tk10964-canary-guard/check.mjs --fixture tk10964-canary-guard/fixtures/mixed.json",
      "assertions": "WARN, 4 unique in-scope products, 2 defects, one per affected vendor, both qty2026/DENY/tracked",
      "verdict": "PASS"
    },
    {
      "name": "Transport failure behavior",
      "command": "network-restricted live invocation",
      "assertions": "writes WARN artifact with zero_price_orderable=null and exits nonzero; never emits false PASS",
      "verdict": "PASS"
    },
    {
      "name": "Live Shopify read-only journey",
      "command": "ZERO_PRICE_CANARY_OUT=/tmp/tk10964-live-filtered.json node tk10964-canary-guard/check.mjs",
      "assertions": "FAIL; exact 1,743 defects: Phillipe Romano 1,281 plus Fentucci Naturals 462; all 1,743 qty2026, DENY, tracked",
      "verdict": "PASS"
    }
  ],
  "boundaries": {
    "shopify": "GraphQL query operation only; source contains no mutation",
    "database": "not contacted",
    "filesystem": "temporary JSON evidence and project-local fixtures only",
    "production_writes": 0
  },
  "cleanup": "Only /tmp evidence retained; no remote state created",
  "verdict": "PASS",
  "residual_gate": "The guard is committed as a reviewed local artifact but is not installed/deployed over the standing scheduled canary in this tranche"
}