← back to Corkwallcovering
cork: Gemini 2.5 Flash style/pattern enrichment for 30/31 facet-gap SKUs ($0.018, local scoped enricher → products.json; 1 SKU has 404 CDN image)
ee5ed29c783958af6694f8a35a4692c6b7dcfa56 · 2026-07-01 09:49:50 -0700 · Steve Abrams
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Files touched
M data/products.jsonM scripts/enrich-cork-ai.mjs
Diff
commit ee5ed29c783958af6694f8a35a4692c6b7dcfa56
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Wed Jul 1 09:49:50 2026 -0700
cork: Gemini 2.5 Flash style/pattern enrichment for 30/31 facet-gap SKUs ($0.018, local scoped enricher → products.json; 1 SKU has 404 CDN image)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
data/products.json | 31 +++++++++++++++++++++++++++++++
scripts/enrich-cork-ai.mjs | 2 +-
2 files changed, 32 insertions(+), 1 deletion(-)
diff --git a/data/products.json b/data/products.json
index 75eeded..cefcd7b 100644
--- a/data/products.json
+++ b/data/products.json
@@ -908,6 +908,7 @@
"Bella Italiano",
"Brown",
"Commercial",
+ "Contemporary",
"Cork",
"grasscloth",
"Grasscloth Texture",
@@ -1170,6 +1171,7 @@
"Cork",
"Gold Mica Chips",
"Hand Crafted",
+ "Hollywood Regency",
"Mica",
"Natural",
"Tan",
@@ -1205,6 +1207,7 @@
"Metalic",
"Mica",
"Natural",
+ "Rustic",
"Tan",
"Textured",
"Wallcovering"
@@ -1279,6 +1282,7 @@
"Brown",
"Class A Fire Rated",
"Commercial",
+ "Contemporary",
"Cork",
"Gold",
"Metallic",
@@ -3741,6 +3745,7 @@
"Commercial",
"Cork",
"Gold",
+ "Hollywood Regency",
"Metallic",
"Natural",
"Natural Wallcovering",
@@ -3780,6 +3785,7 @@
"Phillipe Romano",
"Phillipe Romano Gilded Cork",
"Phillipe Romano Naturals",
+ "Rustic",
"Textured",
"Wallcovering",
"Yellow"
@@ -3870,6 +3876,7 @@
"Architectural",
"Brown",
"Commercial",
+ "Contemporary",
"Cork",
"Gray",
"Metallic",
@@ -3936,6 +3943,7 @@
"Black",
"Brown",
"Commercial",
+ "Contemporary",
"Cork",
"Metallic",
"Natural",
@@ -4001,6 +4009,7 @@
"Cocoa",
"Coffee",
"Commercial",
+ "Contemporary",
"Cork",
"Gold",
"Metallic",
@@ -4075,6 +4084,7 @@
"Phillipe Romano",
"Phillipe Romano Gilded Cork",
"Phillipe Romano Naturals",
+ "Rustic",
"Textured",
"Wallcovering"
],
@@ -4169,6 +4179,7 @@
"Brown",
"Commercial",
"Cork",
+ "Hollywood Regency",
"Metallic",
"Natural",
"Natural Wallcovering",
@@ -4707,6 +4718,7 @@
"Phillipe Romano",
"Phillipe Romano Essential Textures",
"Phillipe Romano Naturals",
+ "Rustic",
"Textured",
"Wallcovering",
"White"
@@ -4771,6 +4783,7 @@
"Phillipe Romano",
"Phillipe Romano Essential Textures",
"Phillipe Romano Naturals",
+ "Rustic",
"Textured",
"Wallcovering",
"White"
@@ -4803,6 +4816,7 @@
"Phillipe Romano",
"Phillipe Romano Essential Textures",
"Phillipe Romano Naturals",
+ "Rustic",
"Textured",
"Wallcovering"
],
@@ -4834,6 +4848,7 @@
"Phillipe Romano",
"Phillipe Romano Essential Textures",
"Phillipe Romano Naturals",
+ "Rustic",
"Textured",
"Wallcovering",
"White"
@@ -4928,6 +4943,7 @@
"Phillipe Romano",
"Phillipe Romano Essential Textures",
"Phillipe Romano Naturals",
+ "Rustic",
"Textured",
"Wallcovering"
],
@@ -5687,6 +5703,7 @@
"Commercial",
"Cork",
"Gray",
+ "Industrial",
"Natural",
"Naturals",
"Non-Woven",
@@ -5825,6 +5842,7 @@
"Phillipe Romano",
"Phillipe Romano Naturals",
"Phillipe Romano Textures Vol. 5",
+ "Rustic",
"Texture",
"Textured",
"Wallcovering",
@@ -7244,6 +7262,7 @@
"Beige",
"Brown",
"Commercial",
+ "Contemporary",
"Cork",
"Gray",
"Natural",
@@ -7940,6 +7959,7 @@
"Phillipe Romano",
"Phillipe Romano Naturals",
"Phillipe Romano Textures Vol. 5",
+ "Rustic",
"Textured",
"Wallcovering"
],
@@ -7970,6 +7990,7 @@
"Phillipe Romano",
"Phillipe Romano Naturals",
"Phillipe Romano Textures Vol. 5",
+ "Rustic",
"Silver",
"Texture",
"Textured",
@@ -8033,6 +8054,7 @@
"Phillipe Romano",
"Phillipe Romano Naturals",
"Phillipe Romano Textures Vol. 5",
+ "Rustic",
"Texture",
"Textured",
"Wallcovering"
@@ -8441,6 +8463,7 @@
"Phillipe Romano",
"Phillipe Romano Naturals",
"Phillipe Romano Textures Vol. 5",
+ "Rustic",
"Texture",
"Textured",
"Wallcovering"
@@ -8471,6 +8494,7 @@
"Phillipe Romano",
"Phillipe Romano Naturals",
"Phillipe Romano Textures Vol. 5",
+ "Rustic",
"Tan",
"Texture",
"Textured",
@@ -11260,6 +11284,8 @@
"image_url": "https://cdn.shopify.com/s/files/1/0015/4117/7456/files/AT79168.jpg?v=1773972062",
"tags": [
"AT79168",
+ "Contemporary",
+ "Geometric",
"Orange",
"Wallcovering"
],
@@ -12295,6 +12321,7 @@
"TAK-CA01-08",
"Tan",
"Texture",
+ "Textured",
"Traditional",
"Trending Wallcovering Collection 2026",
"Wallcovering",
@@ -12422,6 +12449,7 @@
"Tan",
"Taupe",
"Texture",
+ "Textured",
"Traditional",
"Trending Wallcovering Collection 2026",
"Umber",
@@ -12511,6 +12539,7 @@
"Tan",
"Taupe",
"Texture",
+ "Textured",
"Traditional",
"Trending Wallcovering Collection 2026",
"Umber",
@@ -12632,6 +12661,7 @@
"Dark Gray",
"Geometric",
"Gold",
+ "Modern",
"Pattern",
"Wallcovering",
"Yellow"
@@ -12662,6 +12692,7 @@
"Cork",
"Dark Gray",
"Geometric",
+ "Modern",
"Orange",
"Pattern",
"Wallcovering"
diff --git a/scripts/enrich-cork-ai.mjs b/scripts/enrich-cork-ai.mjs
index 9e98592..baaf73d 100644
--- a/scripts/enrich-cork-ai.mjs
+++ b/scripts/enrich-cork-ai.mjs
@@ -86,7 +86,7 @@ const products = JSON.parse(await fs.readFile('data/products.json', 'utf8'));
const bySku = new Map(products.map(p => [p.sku, p]));
const targets = diff.rows.filter(r => r.still_missing?.length).slice(0, LIMIT === Infinity ? undefined : LIMIT);
-console.log(`Enriching ${targets.length} SKU(s) via Gemini 2.0 Flash${DRY ? ' [DRY-RUN]' : ''} — est $${(targets.length * PER_IMG_COST).toFixed(4)}`);
+console.log(`Enriching ${targets.length} SKU(s) via Gemini 2.5 Flash${DRY ? ' [DRY-RUN]' : ''} — est $${(targets.length * PER_IMG_COST).toFixed(4)}`);
let spent = 0, changed = 0, failed = 0;
for (const row of targets) {
← 6bbcce9 auto-save: 2026-07-01T09:41:09 (1 files) — scripts/enrich-co
·
back to Corkwallcovering
·
cork: re-stage tag-diff post-enrichment — 361/367 fully cove 4dbe44b →