Staging test mode (Marty's rule: test apps never touch real people): TANK_MODE=iap with DRAFT_LIVE not 1 reads the pool + statuses from InstantAdPay but every pick (5 instant picks on a purchase, the Monday draft) and release is a preview kept here: no tank.adopt(), no sponsor change, no email. Yellow 'TEST MODE, nobody is adopted' strip on every page (/api/config testMode). Admin view: testMode, previewPicks, adoptionMailsSkipped. iap-tank 35/35 (new section 6 against the real draftpartner.js), unit 62/62, smoke 156/156. common.js/fx.css ?v=3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-15 08:42:22 -06:00
parent 1112a8c589
commit 3815965fc1
22 changed files with 101 additions and 50 deletions
+1
View File
@@ -20,6 +20,7 @@ KEEPER_KEY= # the voucher key; its a
WALLETCONNECT_PROJECT_ID=
# the holding tank: stub (phase 1 fixture) | hub (phase 2, not wired)
TANK_MODE=stub
DRAFT_LIVE=0 # 1 only at go-live: picks become real IAP adoptions + sponsor emails
# the draft (Central time); every value here is an open question for Marty
DRAFT_DOW=1
DRAFT_HOUR_CT=19