← back to Dw Add Sellable Variant Tk10902

tk10875-cost-source-map/verification/e2e-proof.json

37 lines

{
  "ticket": "TK-10875",
  "intent": "Map exact-key positive-cost staging coverage for the corrected unbuyable cohort without production writes",
  "risk_tier": "R1",
  "environment": "local dw_unified mirror over /tmp socket; local artifact directory",
  "timestamp": "2026-08-30T17:15:00Z",
  "baseline": "25,214 ACTIVE products flagged unbuyable; approximately 24,990 require cost sourcing; 224 Wolf Gordon products separately live-verified as restructure candidates",
  "checks": [
    {
      "name": "JavaScript syntax",
      "command": "node --check tk10875-cost-source-map/analyze-cost-sources.mjs",
      "verdict": "PASS"
    },
    {
      "name": "Mutation guard",
      "command": "node tk10875-cost-source-map/analyze-cost-sources.mjs --probe-write-guard",
      "assertion": "UPDATE rejected before database execution",
      "verdict": "PASS"
    },
    {
      "name": "Full exact-join report",
      "command": "node tk10875-cost-source-map/analyze-cost-sources.mjs",
      "verdict": "SKIP",
      "reason": "Read-only scan remained queued/slow behind the known local shopify_products lock pileup and was interrupted after 270.8 seconds; critical report artifact was not emitted"
    }
  ],
  "boundaries": {
    "database": "Every query accepts SELECT/WITH only and is wrapped in BEGIN READ ONLY plus ROLLBACK",
    "filesystem": "Only local report artifacts under tk10875-cost-source-map are writable",
    "shopify": "Not contacted",
    "production_writes": 0
  },
  "cleanup": "No persistent test state and no database transaction retained",
  "verdict": "PARTIAL",
  "blocker": "Local mirror lock/reader queue must clear before the full exact-key coverage report and its artifact tests can run"
}