[object Object]

← back to Wallco Ai

fix(deploy): exclude ghost-scan + bad-aesthetic-patterns + ghost-purge from rsync

1848657694075dd545672abcb088d9071d87e1bd · 2026-05-24 22:47:37 -0700 · Steve Abrams

These files are PROD-AUTHORED — the prod scanner writes flagged/results, the
Ghost Review UI + bulk-delete endpoint write purge + bad-aesthetic-patterns,
manual labels write ghost-labels. Until today the rsync was overwriting
prod's fresh prod-side state with stale local copies between deploys, so a
scan-then-deploy chain lost any prod flags found after the most recent local
sync.

Lost 4 cactus-pine-scenic flags from the 2026-05-25 prod scan that way before
this fix. Same family of incident as designs.json (2026-05-19) and the
.K6ILCM races (2026-05-14).

Force-added because .deploy.conf is gitignored project-wide.

Files touched

Diff

commit 1848657694075dd545672abcb088d9071d87e1bd
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Sun May 24 22:47:37 2026 -0700

    fix(deploy): exclude ghost-scan + bad-aesthetic-patterns + ghost-purge from rsync
    
    These files are PROD-AUTHORED — the prod scanner writes flagged/results, the
    Ghost Review UI + bulk-delete endpoint write purge + bad-aesthetic-patterns,
    manual labels write ghost-labels. Until today the rsync was overwriting
    prod's fresh prod-side state with stale local copies between deploys, so a
    scan-then-deploy chain lost any prod flags found after the most recent local
    sync.
    
    Lost 4 cactus-pine-scenic flags from the 2026-05-25 prod scan that way before
    this fix. Same family of incident as designs.json (2026-05-19) and the
    .K6ILCM races (2026-05-14).
    
    Force-added because .deploy.conf is gitignored project-wide.
---
 .deploy.conf | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/.deploy.conf b/.deploy.conf
new file mode 100644
index 0000000..c529f70
--- /dev/null
+++ b/.deploy.conf
@@ -0,0 +1,16 @@
+PROJECT_NAME="wallco-ai"
+DEPLOY_PATH="/root/public-projects/wallco-ai"
+HEALTH_URL="https://wallco.ai/health"
+# Exclude prod-generated content from rsync. data/generated/ is 12 GB of live
+# SDXL output; data/images/ is 862 MB of vendor-pulled stock; both are written
+# on prod by the generators and re-syncing them caused .K6ILCM rename races
+# during a live deploy (2026-05-14). Local copies are stale snapshots.
+# designs.json + marketplace/events.jsonl are likewise prod-authored (the live
+# catalog snapshot + the marketplace event log) — never push local copies over
+# them or prod loses freshly-generated designs / events (2026-05-19).
+# ghost-scan-* + ghost-purge + bad-aesthetic-patterns + ghost-labels are
+# prod-authored too — the prod scanner / Ghost Review UI / bulk-delete endpoint
+# all WRITE to these files. Pre-2026-05-24 the deploy was rsync'ing local stale
+# copies over them and wiping fresh prod flags between scan + cleanup (lost the
+# 4 cactus-pine-scenic flags from the 2026-05-25 prod scan that way).
+RSYNC_EXTRA_EXCLUDES="data/generated data/generated_pre_seamless_backup data/images data/rooms data/spoonflower-pulled data/fliepaper-bugs public/uploads public/marketplace/uploads data/designs.json data/marketplace/events.jsonl data/ghost-scan-flagged.jsonl data/ghost-scan-results.jsonl data/ghost-scan-triage.jsonl 'data/ghost-scan-flagged.pre-*.jsonl' 'data/ghost-scan-flagged.post-*.jsonl' 'data/ghost-scan-results.pre-*.jsonl' 'data/bad-aesthetic-patterns*.jsonl' data/ghost-purge.jsonl data/ghost-labels.jsonl data/fixes-feed.jsonl data/.rescan-current.txt data/.rescan-ready.txt"

← f31431e fix-frame-overlay skill: detector + locator + crop-fix kind  ·  back to Wallco Ai  ·  feat(generators): wire bad-aesthetic-patterns.jsonl into the 913798d →