← back to Consulting Designerwallcoverings Com
TK-22 deploy-safety: exclude data/intakes.json from rsync so deploys never clobber live customer intake submissions (Cody gate)
f4772ed33144d1d84cec393ae454a026b34d0cad · 2026-07-28 10:09:28 -0700 · Steve Abrams
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Files touched
Diff
commit f4772ed33144d1d84cec393ae454a026b34d0cad
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Tue Jul 28 10:09:28 2026 -0700
TK-22 deploy-safety: exclude data/intakes.json from rsync so deploys never clobber live customer intake submissions (Cody gate)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
.deploy.conf | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/.deploy.conf b/.deploy.conf
index 838c77f..4df091f 100644
--- a/.deploy.conf
+++ b/.deploy.conf
@@ -9,4 +9,8 @@ HEALTH_URL=http://localhost:9703/api/health
REQUIRED_ENVS=""
INSTALL_CMD="npm ci --production"
BUILD_CMD="node build.mjs"
-RSYNC_EXTRA_EXCLUDES="reports"
+# data/intakes.json is customer-written on PROD (POST /api/intake) — exclude from rsync
+# so a deploy never clobbers live lead submissions with the stale Mac2 copy (Cody gate,
+# 2026-07-28). OPEN Q for Steve: which other buckets (socials/suggestions/work-orders) are
+# prod-authoritative and should also be excluded? Left as-is pending that call.
+RSYNC_EXTRA_EXCLUDES="reports data/intakes.json"
← c46dce5 TK-22 signin: hydrate front door from /api/client (fixes sta
·
back to Consulting Designerwallcoverings Com
·
chore: v-bump (session close — deploy-safety config) bc16f97 →