diff --git a/.agents/scripts/launch.sh b/.agents/scripts/launch.sh index c5741c2..8086c0f 100755 --- a/.agents/scripts/launch.sh +++ b/.agents/scripts/launch.sh @@ -6,13 +6,13 @@ # .agents/scripts/launch.sh 07 primitives --cli mm --fg # # Routing comes from plans/astro-refactor/MODEL-ROUTING.md. Override with --cli. -# All three CLIs are launched with their permission prompts disabled: these run +# All four CLIs are launched with their permission prompts disabled: these run # unattended inside a worktree, and a blocked edit or bash call just hangs. set -euo pipefail cd "$(git rev-parse --show-toplevel)" -number=${1:?usage: launch.sh [--base ref] [--cli codex|agy|mm] [--fg]} +number=${1:?usage: launch.sh [--base ref] [--cli codex|agy|mm|oc] [--fg]} slug=${2:?slug, e.g. scaffold} shift 2 @@ -118,6 +118,12 @@ run() { ( cd "$dir" && mm --dangerously-skip-permissions \ --model opus -p "$prompt" ) ;; + oc) + # Claude Code against a local-Ollama-backed model, through the headroom + # hub. Unproven on this repo — give it the task whose failure is cheapest. + ( cd "$dir" && OLLAMA_CLAUDE_MODEL="${OC_MODEL:-glm-5.3:cloud}" \ + ollama-claude --dangerously-skip-permissions -p "$prompt" ) + ;; *) echo "unknown cli: $cli" >&2; exit 2 ;; esac }