[object Object]

← back to Wallco Ai

refresh_designs_snapshot: include pil-mid-heal generator (7,329 SDXL grid-leak heals)

f8ec2be5d9ffe5abfc0c29f66ddec6fba0fbd5bb · 2026-05-26 09:12:46 -0700 · Steve Abrams

Without this, mid_seam_heal.py outputs are orphan PNGs in prod — rsync delivers
the files, but designs.json doesn't reference them so the DESIGNS array can't
render them. PG confirms 7,329 rows that were being silently excluded.

Files touched

Diff

commit f8ec2be5d9ffe5abfc0c29f66ddec6fba0fbd5bb
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Tue May 26 09:12:46 2026 -0700

    refresh_designs_snapshot: include pil-mid-heal generator (7,329 SDXL grid-leak heals)
    
    Without this, mid_seam_heal.py outputs are orphan PNGs in prod — rsync delivers
    the files, but designs.json doesn't reference them so the DESIGNS array can't
    render them. PG confirms 7,329 rows that were being silently excluded.
---
 scripts/refresh_designs_snapshot.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/scripts/refresh_designs_snapshot.py b/scripts/refresh_designs_snapshot.py
index 6ff40b3..20fc50b 100644
--- a/scripts/refresh_designs_snapshot.py
+++ b/scripts/refresh_designs_snapshot.py
@@ -80,7 +80,11 @@ rows = psql_json(
     # viewer show 0 results for any cat= filter pointing at a comfy-generated category.
     # 2026-05-26 — added 'notes' so the edges-agent EDGES_FAIL: tag rides along into
     # designs.json. Admin "edges-fail review" surface reads it without an extra PG hit.
-    "FROM spoon_all_designs WHERE generator IN ('replicate','gemini-2.5-flash-image-edit','comfy') ORDER BY id) t;"
+    # 2026-05-26 — added 'pil-mid-heal' so the 7,329 SDXL grid-leak heals from
+    # scripts/mid_seam_heal.py land in the snapshot. Without this they ship as
+    # orphan PNGs (rsync delivers them, but designs.json doesn't reference them,
+    # so the prod DESIGNS array can't render them).
+    "FROM spoon_all_designs WHERE generator IN ('replicate','gemini-2.5-flash-image-edit','comfy','pil-mid-heal') ORDER BY id) t;"
 )
 
 import re as _re

← 555107a gitignore data/quarantine/ + sweep 11.6MB stale .pre-* snaps  ·  back to Wallco Ai  ·  geometric pilot: bulk-generated 20 designs (verification def 2b58f6b →