From c8d0e2b44a7e4fd08ec62389f6b753afd9e91973 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Sat, 26 Sep 2026 03:12:26 -0700 Subject: [PATCH] run-plan: per-session timeout (SESSION_MAX, default 90 min) Co-Authored-By: Claude Opus 5.5 --- tools/run-plan.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/run-plan.sh b/tools/run-plan.sh index 1aa473f..d5e808e 100755 --- a/tools/run-plan.sh +++ b/tools/run-plan.sh @@ -45,9 +45,10 @@ for task in "$plan"/[0-9][0-9]-*.md; do # shellcheck disable=SC2086 # "$runs/$name.log" 2>&1; then - echo "run-plan: opencode exited with an error in $name; see $runs/$name.log" >&2 + echo "run-plan: opencode exited with an error (or hit SESSION_MAX) in $name; see $runs/$name.log" >&2 exit 1 fi echo "=== $milestone/$name: session ended $(date '+%H:%M:%S')"