← back to Hollywood Import
TK-10679: add ^DWHD/DWHW2 SKU-shape guard to hollywood-create generator (Steve go — never mint fabricated brand-as-vendor codes)
f7109e830fcf71119e3efb26fac1fb8e1fed196b · 2026-08-18 15:19:46 -0700 · Steve Abrams
Files touched
Diff
commit f7109e830fcf71119e3efb26fac1fb8e1fed196b
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Tue Aug 18 15:19:46 2026 -0700
TK-10679: add ^DWHD/DWHW2 SKU-shape guard to hollywood-create generator (Steve go — never mint fabricated brand-as-vendor codes)
---
hollywood-create.mjs | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/hollywood-create.mjs b/hollywood-create.mjs
index 2a7ab36..78b2cf7 100644
--- a/hollywood-create.mjs
+++ b/hollywood-create.mjs
@@ -136,6 +136,12 @@ for (const it of todo) {
continue;
}
if (leak) { console.error(` SKIP LEAK ${it.dw_sku}`); err++; continue; }
+ // TK-10679 SKU-shape guard: Hollywood is a private-label BRAND, never a vendor — refuse to stamp a
+ // fabricated DWHW2-*/DWHD-* code even if the manifest still carries one. Fail-loud SKIP (belt-and-
+ // suspenders with the ~/.dw-fixer-stop kill-switch). Real identity = HW-<hash> / original line code.
+ if (/^(DWHW2?|DWHD)-/i.test(String(it.dw_sku || ''))) {
+ console.error(` SKIP FABRICATED-SKU-SHAPE ${it.dw_sku} (brand-as-vendor code — TK-10679 guard)`); err++; continue;
+ }
try {
const r = await fetch(`${REST}/products.json`, { method: 'POST', headers: H, body: JSON.stringify(pl) });
const txt = await r.text();
← 3844a4f generator forward-fix revised to DTD-C: HW-<deterministic op
·
back to Hollywood Import
·
TK-10679 Phase2: read-only remap dry-run + tier scorer (0 re 8226908 →