← back to Canary Patches

golive-gate-novasuede-whitelist.patch

22 lines

--- a/.claude/skills/dw-golive-gate-canary/auditor.mjs
+++ b/.claude/skills/dw-golive-gate-canary/auditor.mjs
@@ -107,9 +107,17 @@ const FAKE_MFR = `(
   )
 )`;

+// Vendors exempt from the mfr# requirement: by-colour private lines where the colour
+// IS the identifier and no vendor mfr code exists. Whitelist approved 2026-08-12 (TK-10467
+// rec #1 from golive-gate regression memo — Novasuede is Steve's own suede line, sold
+// by colour, with no third-party manufacturer codes).
+const EXEMPT_VENDORS = ['Novasuede'];
+const EXEMPT_CLAUSE = EXEMPT_VENDORS.map(v => `vendor ILIKE '${v.replace(/'/g, "''")}'`).join(' OR ');
+
 const cur = q(`
   WITH p AS (
     SELECT DISTINCT ON (shopify_id) shopify_id, vendor, handle, mfr_sku, metafields, created_at_shopify
     FROM shopify_products WHERE status ILIKE 'active'
+      AND NOT (${EXEMPT_CLAUSE})
   )
   SELECT
     count(*) AS scanned,