← back to Ticket System
Add fire-yolo.sh one-shot arming script for codex-yoloforever (TK-11287)
ded662a5a5c5757c032f1fd1dcf1e67d9ccf74a2 · 2026-09-14 13:20:46 -0700 · Steve Abrams
start already enables+bootstraps+kickstarts one clean cycle; drop the
follow-up kickstart -k, whose SIGKILL bypassed the driver's EXIT trap
and orphaned the lock dir (forcing a "stale lock" reclaim next cycle).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BA8JSRNstjUGP6DFbGBHV8
Files touched
Diff
commit ded662a5a5c5757c032f1fd1dcf1e67d9ccf74a2
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Mon Sep 14 13:20:46 2026 -0700
Add fire-yolo.sh one-shot arming script for codex-yoloforever (TK-11287)
start already enables+bootstraps+kickstarts one clean cycle; drop the
follow-up kickstart -k, whose SIGKILL bypassed the driver's EXIT trap
and orphaned the lock dir (forcing a "stale lock" reclaim next cycle).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BA8JSRNstjUGP6DFbGBHV8
---
fire-yolo.sh | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/fire-yolo.sh b/fire-yolo.sh
new file mode 100755
index 00000000..4dc33432
--- /dev/null
+++ b/fire-yolo.sh
@@ -0,0 +1,22 @@
+#!/usr/bin/env bash
+# One-shot: arm the board-order driver loop (TK-11287) and show the result.
+# Run from Steve's GUI session: ! bash ~/Projects/ticket-system/fire-yolo.sh
+set -uo pipefail
+cd "$HOME/Projects/ticket-system" || exit 1
+
+echo "▶ starting codex-yoloforever…"
+# `start` already enables, bootstraps if needed, AND kickstarts the label
+# (scripts/codex-yoloforever.sh:154-163) — that single kickstart launches one
+# cycle cleanly. Do NOT `kickstart -k` again here: -k SIGKILLs the cycle this
+# just started, and SIGKILL bypasses the driver's EXIT-trap cleanup
+# (codex-yoloforever.sh:89), orphaning the pid/lock dir the driver then has to
+# reclaim as "stale". One kickstart via `start` is the whole job.
+scripts/codex-yoloforever.sh start || { echo "start failed"; exit 1; }
+
+# give the freshly-launched cycle a moment to write its opening log lines
+sleep 5
+echo "── last 8 log lines ──"
+tail -8 codex-yoloforever.log 2>/dev/null
+
+echo "── driver status ──"
+scripts/codex-yoloforever.sh status 2>/dev/null | head -6
← c63e7f1f auto-data-snapshot: 2026-09-14T12:55:07 (1 data files) — dat
·
back to Ticket System
·
auto-data-snapshot: 2026-09-14T13:27:58 (2 data files) — dat 2780c547 →