From c9c9af908dc3879ed9249b1007dd9482641ff5af Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Fri, 25 Sep 2026 22:38:41 -0700 Subject: [PATCH] run-plan: give opencode an empty stdin (1.15 hangs in the background otherwise) 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 0fc9954..89d9f47 100755 --- a/tools/run-plan.sh +++ b/tools/run-plan.sh @@ -40,7 +40,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