diff --git a/architect/architect-run.sh b/architect/architect-run.sh index 2bfc709..af93832 100755 --- a/architect/architect-run.sh +++ b/architect/architect-run.sh @@ -715,12 +715,11 @@ ${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 + agent_run "$pitch_prompt" 2>>"$LOGFILE" || true # Extract pitch content from JSON response local pitch - pitch=$(printf '%s' "$pitch_output" | jq -r '.content // empty' 2>/dev/null) || pitch="" + pitch=$(printf '%s' "$_AGENT_LAST_OUTPUT" | jq -r '.content // empty' 2>/dev/null) || pitch="" if [ -z "$pitch" ]; then log "WARNING: empty pitch generated for vision issue #${issue_num}"