From 6a3b6dab7177e457faaaab9a459c2ec535bf07dd Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Fri, 25 Sep 2026 22:38:33 -0700 Subject: [PATCH] run-plan: give opencode an empty stdin (1.15 waits for EOF on a piped stdin and hangs in the background) Co-Authored-By: Claude Opus 5.5 --- tools/run-plan.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/run-plan.sh b/tools/run-plan.sh index e200c20..1aa473f 100755 --- a/tools/run-plan.sh +++ b/tools/run-plan.sh @@ -43,7 +43,9 @@ for task in "$plan"/[0-9][0-9]-*.md; do before=$(git rev-parse HEAD) echo "=== $milestone/$name: started $(date '+%H:%M:%S')" # shellcheck disable=SC2086 - if ! opencode run -m "$model" $flags --title "$milestone/$name" "$prompt" \ + # "$runs/$name.log" 2>&1; then echo "run-plan: opencode exited with an error in $name; see $runs/$name.log" >&2 exit 1