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')"