chore: production cleanup — untrack runtime state and session artifacts; keep log/archive/protocol

This commit is contained in:
2026-08-29 16:07:14 -05:00
parent 740f9f389a
commit 7af68a19e3
127 changed files with 34 additions and 2394 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
# queue-serial.sh — run TASK files one at a time, pacing against the z.ai
# concurrency semaphore. Each line: <logname> <abs-task-path>. Stops at first
# rc!=0 after logging (PMO refeeds on heartbeat).
set -u
QUEUE="/home/reachableceo/.coordinate/logs/serial-queue.txt"
LOGD="/home/reachableceo/.coordinate/logs"
while read -r name task; do
[ -z "$name" ] && continue
echo "$(date -Is) START $name" >> "$LOGD/serial-queue.log"
bash /home/reachableceo/.coordinate/scripts/dispatch-turn.sh "$name" "$task" >> "$LOGD/q-$name.log" 2>&1
rc=$?
echo "$(date -Is) END $name rc=$rc" >> "$LOGD/serial-queue.log"
[ "$rc" -ne 0 ] && { echo "$(date -Is) QUEUE STOPPED at $name rc=$rc" >> "$LOGD/serial-queue.log"; exit "$rc"; }
done < "$QUEUE"
echo "$(date -Is) QUEUE DRAINED" >> "$LOGD/serial-queue.log"