Add OpenCode harness wired to local Qwen 3 (ollama) #278
Labels
No labels
burndown-2026-06
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/infrastructure#278
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add the OpenCode terminal harness to the macOS baseline, wired to the local ollama OpenAI-compatible endpoint so Qwen 3 can drive it.
Scope
opencodevia theanomalyco/tapHomebrew formula (homebrew_taps+homebrew_installed_packagesingroup_vars/mac.yml).ollamarole render~/.config/opencode/opencode.json, pointing OpenCode at127.0.0.1:11434/v1through@ai-sdk/openai-compatible. Default model single-sources fromollama_modelsvia a newollama_opencode_modeldefault.Context
Part of the Qwen-3 harness eval spread (coilysiren/inbox#72 - evaluate anomalyco/opencode against Qwen 3). This issue tracks the infrastructure-repo side: the ansible install + config convergence.
Eval finding (open)
The endpoint itself is solid - a direct
/v1/chat/completionstoqwen3.5:9b-mlxreturns cleanly. But headlessopencode run(default,--format json, and under a pseudo-TTY) renders only thebuildagent header and exits 0 with no assistant text. Debug log: under the full build-agent context (large system prompt + 15 tool schemas + Qwen's thinking path),session.prompt step=1takes ~64s, thenexiting loopwith no surfaced output. Interactive TUI use still needs hands-on confirmation. Tracking the autonomous-loop viability question back on inbox#72.