← back to Designer Wallcoverings
lily: strip AI-vision material descriptor from fallback titles (was hallucinating 'Grasscloth' etc into 1,556 customer titles with no pricebook backing) — title = '<Collection> <SKU> | Lilycolor'; material stays in design.material for tags
859140fcee5467cee5855cc6e2a1399d0bfb1cc0 · 2026-07-02 09:15:23 -0700 · Steve
Files touched
M onboarding/sangetsu-lilycolor/scripts/title-fallback.py
Diff
commit 859140fcee5467cee5855cc6e2a1399d0bfb1cc0
Author: Steve <steve@designerwallcoverings.com>
Date: Thu Jul 2 09:15:23 2026 -0700
lily: strip AI-vision material descriptor from fallback titles (was hallucinating 'Grasscloth' etc into 1,556 customer titles with no pricebook backing) — title = '<Collection> <SKU> | Lilycolor'; material stays in design.material for tags
---
onboarding/sangetsu-lilycolor/scripts/title-fallback.py | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/onboarding/sangetsu-lilycolor/scripts/title-fallback.py b/onboarding/sangetsu-lilycolor/scripts/title-fallback.py
index b1ffe4a9..9795384b 100644
--- a/onboarding/sangetsu-lilycolor/scripts/title-fallback.py
+++ b/onboarding/sangetsu-lilycolor/scripts/title-fallback.py
@@ -176,7 +176,13 @@ def main():
prefix = rec.get("mfr_prefix") or ""
e = enrich.get(sku)
- descriptor_en = descriptor_from_enrich(e)
+ # Material/style descriptor is AI-VISION-DERIVED (enrichment _provider
+ # local-hybrid) with NO authoritative pricebook backing (functions field
+ # is empty). Per DW rule "AI attributes -> tags, never titles", we do NOT
+ # put it in the customer-facing title — a wrong "Grasscloth" on a vinyl is
+ # a false material claim a trade buyer would rely on. It stays in
+ # design.material (already carried in the merged record) for tag use.
+ descriptor_en = None
settlement_required = False
if prefix == "LIS":
← e4e9e5f4 auto-save: 2026-07-02T08:46:35 (6 files) — DW-Programming/Im
·
back to Designer Wallcoverings
·
DWTT/AF single-roll dimensions: read-only spec audit + wave- 68d42e53 →