[object Object]

← back to Carnegie Reprice

supervise: self-announce completion (CNCP card + marker) for async archive/GMC handoff

e09c5af0e8794f81d1f529442c924000664c25ad · 2026-08-18 14:36:13 -0700 · Steve Abrams

Files touched

Diff

commit e09c5af0e8794f81d1f529442c924000664c25ad
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Tue Aug 18 14:36:13 2026 -0700

    supervise: self-announce completion (CNCP card + marker) for async archive/GMC handoff
---
 supervise.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/supervise.sh b/supervise.sh
index 1bdf631..979e19d 100755
--- a/supervise.sh
+++ b/supervise.sh
@@ -11,7 +11,13 @@ log "supervisor start (pid $$), $SHARDS shards"
 while true; do
   if [ -f rebuild-HALTED.flag ]; then log "HALT flag present — supervisor exiting"; exit 0; fi
   remaining="$("$NODE" rebuild-line.mjs --status 2>/dev/null | head -1 | sed -E 's/.* ([0-9]+) remaining.*/\1/')"
-  if [ "$remaining" = "0" ]; then log "0 remaining — rollout complete, supervisor exiting"; exit 0; fi
+  if [ "$remaining" = "0" ]; then
+    log "0 remaining — rollout complete, supervisor exiting"
+    echo "CARNEGIE CREATES COMPLETE $(date -u +%FT%TZ) — run approved archive+redirect+GMC (see pending-approval memo)" > ROLLOUT-COMPLETE.marker
+    curl -s -X POST http://127.0.0.1:3333/api/parking_lot -H 'Content-Type: application/json' \
+      -d '{"title":"Carnegie split creates COMPLETE — run archive+redirect+GMC","body":"TK-10686: all 5,928 per-colorway products created. Approved post-create step (Acapella POC cleanup -> node archive-redirect.mjs apply -> GMC publish via google-merchant-agent) is ready to fire.","tag":"TK-10686"}' >/dev/null 2>&1 || true
+    exit 0
+  fi
 
   for n in $(seq 1 $SHARDS); do
     pidfile="worker-$n.pid"

← 9e92acf carnegie rollout: recreate deleted supervise.sh + harden wor  ·  back to Carnegie Reprice  ·  auto-data-snapshot: 2026-08-18T15:04:50 (1 data files) — lau fbdd86c →