[object Object]

← back to Dw Five Field Step0

drain: raise late-slot request to 150 (21/22/23h) so the end-of-day budget reclaim isn't capped by the ask size

c2e408c0f350c8d52b1011a1c519be7dd13ff391 · 2026-07-02 08:22:37 -0700 · Steve Abrams

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Files touched

Diff

commit c2e408c0f350c8d52b1011a1c519be7dd13ff391
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Thu Jul 2 08:22:37 2026 -0700

    drain: raise late-slot request to 150 (21/22/23h) so the end-of-day budget reclaim isn't capped by the ask size
    
    Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---
 drain.sh | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drain.sh b/drain.sh
index ac93ec7..37c2610 100644
--- a/drain.sh
+++ b/drain.sh
@@ -39,6 +39,14 @@ fi
 # budget.cjs 'backlog' category still hard-caps the daily total at 500.
 SLOT_MAX="${DW_BACKLOG_SLOT_MAX:-30}"
 
+# END-OF-DAY RECLAIM (DTD 2/2 verdict C, 2026-07-02): from 21:00 budget.cjs lets
+# 'backlog' sweep the day's unspent global remainder (~60/day historically) that
+# would otherwise expire at midnight. Ask for more in the 21/22/23 slots so the
+# sweep isn't capped by the request size; the ledger still bounds every grant.
+if [ "$(date +%H)" -ge 21 ]; then
+  SLOT_MAX="${DW_BACKLOG_RECLAIM_SLOT_MAX:-150}"
+fi
+
 # display_variant legacy tag backfill (Option A, DTD 3/3 2026-06-24).
 # GATED OFF by default: the executor only runs the tag pass when env
 # DISPLAY_VARIANT_BACKFILL=1 is present. tagsAdd is NOT a variant create -> it

← 22b3615 exclude 48 multi-option merch products from 5-field worklist  ·  back to Dw Five Field Step0  ·  add set-lec-min5.py — 5-yard minimum for all active LEC (Le f6bbd13 →