← back to Designer Wallcoverings
thibaut-refresh: reference vendor refresh wiring for the recrawl dispatcher (scrape->local dw_unified->price-finder, no publish)
df78838a578a2febda558f282bad7679af059ee7 · 2026-07-06 22:19:55 -0700 · steve
Files touched
A scripts/thibaut-refresh/run.sh
Diff
commit df78838a578a2febda558f282bad7679af059ee7
Author: steve <steve@designerwallcoverings.com>
Date: Mon Jul 6 22:19:55 2026 -0700
thibaut-refresh: reference vendor refresh wiring for the recrawl dispatcher (scrape->local dw_unified->price-finder, no publish)
---
scripts/thibaut-refresh/run.sh | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/scripts/thibaut-refresh/run.sh b/scripts/thibaut-refresh/run.sh
new file mode 100755
index 00000000..2bf774fb
--- /dev/null
+++ b/scripts/thibaut-refresh/run.sh
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+# Thibaut refresh — REFERENCE wiring for the vendor-recrawl-dispatcher.
+# Pattern (WallQuest-style): scrape -> write LOCAL dw_unified staging -> price-finder -> CNCP.
+# NO PUBLISH. Writes go to postgresql://dw_admin@127.0.0.1:5432/dw_unified.
+# NOTE: uses thibaut-scrape-missing.js (writes thibaut_catalog + dw_sku_registry). A fuller
+# "refresh existing SKUs" scrape can replace the scrape line per Thibaut's needs (double-roll rule).
+set -uo pipefail
+DWS="$HOME/Projects/Designer-Wallcoverings/scripts"
+LOG="$DWS/thibaut-refresh/refresh.log"
+TS(){ date +%FT%T%z; }
+echo "[$(TS)] === Thibaut refresh START ===" >> "$LOG"
+cd "$DWS"
+node thibaut-scrape-missing.js >> "$LOG" 2>&1 || echo "[$(TS)] scrape rc=$?" >> "$LOG"
+# recompute costs/prices (no publish)
+( cd "$HOME/.claude/skills/price-finder" && node scripts/verify-price.js --vendor "Thibaut" --write 2>&1 | grep -iE "SKUs:|WROTE" ) >> "$LOG" 2>&1 || true
+echo "[$(TS)] === Thibaut refresh DONE ===" >> "$LOG"
← 51edfffd backfill-malibu-mfr: recover real SKU+mfr+vendor for 61 held
·
back to Designer Wallcoverings
·
thibaut-refresh: use repeat-scraper (standalone refresher) — 30ee316b →