← back to Dw Signup Fulfillment
TK-11411: protect the resend ledger from rsync --delete
1a93bb0963ca37033965475609860ab204b49748 · 2026-09-10 11:26:12 -0700 · Steve Abrams
Same class as the auto-approve and mint ledgers: an idempotency record living
inside the deployed tree is reset by deploy.sh unless excluded — and a reset
resend ledger means re-mailing customers who were already re-mailed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Files touched
Diff
commit 1a93bb0963ca37033965475609860ab204b49748
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Thu Sep 10 11:26:12 2026 -0700
TK-11411: protect the resend ledger from rsync --delete
Same class as the auto-approve and mint ledgers: an idempotency record living
inside the deployed tree is reset by deploy.sh unless excluded — and a reset
resend ledger means re-mailing customers who were already re-mailed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
---
.deploy.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.deploy.conf b/.deploy.conf
index 492cd29..3580182 100644
--- a/.deploy.conf
+++ b/.deploy.conf
@@ -16,4 +16,4 @@ INSTALL_CMD="npm ci --omit=dev"
# Keep this as ONE assignment — a second RSYNC_EXTRA_EXCLUDES silently shadows it.
# /verification is local test evidence — prod has no use for it, and shipping it
# trips deploy.sh's delete-guard (its risky-pattern regex matches "verificat.*\.json").
-RSYNC_EXTRA_EXCLUDES="/verification /data/auto-approve-ledger.json /data/mint-ledger.json /data/trade-applications.jsonl /data/trade-applications.jsonl.* /data/recovery-*.json /data/trade-notify-failures.jsonl /data/latest.json /data/honor-reissue-ledger.jsonl /data/honor-reissue-ledger.jsonl.*"
+RSYNC_EXTRA_EXCLUDES="/verification /data/auto-approve-ledger.json /data/tk11411-resend-ledger.jsonl /data/mint-ledger.json /data/trade-applications.jsonl /data/trade-applications.jsonl.* /data/recovery-*.json /data/trade-notify-failures.jsonl /data/latest.json /data/honor-reissue-ledger.jsonl /data/honor-reissue-ledger.jsonl.*"
← 03b8d4b TK-11411: ledgered re-send for the 14 customers who lost mai
·
back to Dw Signup Fulfillment
·
TK-11411: fail loud on unset PUBLIC_URL before any send, not 040121b →