← back to Dw Activation Debug TK11314

verification/e2e-proof.json

93 lines

{
  "ticket": "TK-11314",
  "timestamp": "2026-09-09T16:55:10.185732+00:00",
  "environment": "Isolated Mac worktrees; live Shopify read-only snapshots; local dw_unified SELECTs",
  "cleanup": "Retained local evidence and worktrees. No production code, product, credential, billing, schedule, or canonical database changes.",
  "intent": "Correct false readiness failures, classify current repairs, and contain vision throttling without bypassing publication gates.",
  "risk_tier": "R3 read-only external integration; production deployment is R4 and pending approval",
  "build": {
    "branch": "fix/tk11314-activation-readiness",
    "base_commit": "37bb28a94f2acdb258c5dd4dbb15aed2be83890e"
  },
  "verdict": "PARTIAL: code and read paths verified; provider recovery and deployment unverified",
  "baseline": {
    "run": "2026-09-09T15:25:00Z/15:32:00Z",
    "products": 1860,
    "data_gate_rejects": 1591,
    "vision_429_holds": 269
  },
  "commands": [
    "node --test test/*.test.js",
    "scripts/capture-readiness.js (1860 live products)",
    "scripts/verify-live-boundary.js (actual runtime query + pagination)",
    "scripts/replay-readiness.js (old/new canonical checks)",
    "scripts/build-repair-report.js",
    "scripts/diagnose-vision-project.js (nonbillable model/project reads)",
    "bash ~/Projects/dw-activation-calendar/scripts/check-reintro-guard.sh"
  ],
  "checks": [
    {
      "check": "34 activation tests",
      "verdict": "PASS",
      "evidence": "test/*.test.js; width provenance, pagination, price/sample/mfr negative controls, HTTP/auth/error/timeout/circuit tests, confirmed activation response, repair report idempotency"
    },
    {
      "check": "1860 live Shopify captures",
      "verdict": "PASS",
      "evidence": "verification/live-products-20260909.json; 1860 present, no incomplete connections, zero mutations or vision calls"
    },
    {
      "check": "Actual runtime Shopify boundary",
      "verdict": "PASS",
      "evidence": "verification/live-boundary.json;50 DRAFT products,17 HTTP queries,12 variant and4 metafield pagination cases;max query cost27"
    },
    {
      "check": "False rejection replay",
      "verdict": "PASS",
      "evidence": "verification/readiness-replay.json;45 width and251 legal-description false flags removed. Other gates still apply."
    },
    {
      "check": "Current rejection report",
      "verdict": "PASS",
      "evidence": "verification/readiness-repairs-20260909.json;review-only,per-product/type identities,observed timestamp,source,apply_authorized=false"
    },
    {
      "check": "Existing re-introduction and never-activate guards",
      "verdict": "PASS",
      "evidence": "check-reintro-guard.sh all checks passed; unchanged source rules"
    },
    {
      "check": "Provider model/auth read",
      "verdict": "PASS",
      "evidence": "GET models/gemini-2.5-flash HTTP200 for configured primary key; no generation call"
    },
    {
      "check": "Provider generation/quota recovery",
      "verdict": "SKIP",
      "evidence": "No generation test or paid call. Project lookupHTTP403 using both saved working Google logins; info account reauthentication required. Fallback GEMINI_API_KEY_WALLCO absent from master env."
    },
    {
      "check": "Production activation and source-data repair",
      "verdict": "SKIP",
      "evidence": "No deployment, activation, source guessing, bulk product changes, or settlement bypass. Requires explicit production/publishing approval."
    },
    {
      "check": "Runtime source rollback rehearsal",
      "verdict": "PASS",
      "evidence": "verification/rollback-rehearsal.json: reverse to base and reapply to reviewed bytes in temporary copies across all three projects; production untouched"
    }
  ],
  "source_sha256": {
    "rotate-activate.js": "45c73d7c50a65d35781b0b5234a4f5d24223e18f7141c2985439d3cd32754275",
    "lib/activation-result.js": "594a1c7a7ae5bee340a501f8bbd0b879b18920c6a84ec67a267048caa02fbeff",
    "lib/five-field-extra.js": "775e0298b3cf124eecd0aff6aed13690de4996f64e105cb259e3800fe0ce81ae",
    "lib/live-product-fields.js": "b7640b0ea741ffc6186e54f2f5d1dea351c902c6ab1e1418eb3c9328d1b0385b",
    "lib/mfr-gate-resolve.js": "50a4818ed7e338a331f0325b347123ed0b8980b3a7e9bd01e081f9cfde83ebc6",
    "lib/mfr-gate.js": "53f98e2a8514571122456d2ebee47e5b8454ea471effb8271414802c01210c79",
    "lib/readiness-repairs.js": "4d5d9e12cf28a2ca49d51f7b965a8f72c421e0b57abec05a5d4d47fc46a222df",
    "lib/rotation-order.js": "dfa82240d2213c30ff5df13479e637eaf4c9dcfd6d6b723c280357be00145d32",
    "lib/settlement-gate.js": "2d0e8cfd7968a768e54234c8a945f5801871478f67b070f424411ecd35caa6e6",
    "lib/vision-http.js": "461c473b190b7bfa0d9ad766612d3176ea96f587c2292415fdcdc02a52212f32"
  }
}