From ef89b64f5fdf9f5135ab8ee86c7ede36fd620dcb Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 11 Apr 2026 21:52:38 +0000 Subject: [PATCH] fix: bug: architect-run.sh uses old agent_run() signature, all pitches fail with "Input must be provided" (#690) agent_run() now adds -p, --output-format, --max-turns, --dangerously-skip-permissions, and --model internally. The old call site passed these flags explicitly, causing the prompt to be parsed as "-p" and claude to error with "Input must be provided". Co-Authored-By: Claude Opus 4.6 (1M context) --- architect/architect-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/architect/architect-run.sh b/architect/architect-run.sh index 4812664..ceadc7d 100755 --- a/architect/architect-run.sh +++ b/architect/architect-run.sh @@ -516,7 +516,7 @@ ${pitch_context} # Execute stateless claude -p call local pitch_output - pitch_output=$(agent_run -p "$pitch_prompt" --output-format json --dangerously-skip-permissions --max-turns 200 ${CLAUDE_MODEL:+--model "$CLAUDE_MODEL"} 2>>"$LOGFILE") || true + pitch_output=$(agent_run "$pitch_prompt" 2>>"$LOGFILE") || true # Extract pitch content from JSON response local pitch