From 0acb9acb63bd958c6b68d7cd57f3bb6a47e61be6 Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Thu, 29 Oct 2026 04:01:08 -0500 Subject: [PATCH 1/2] =?UTF-8?q?config(opencode):=20pin=20small=5Fmodel=20t?= =?UTF-8?q?o=20opencode-route/speed=20=E2=80=94=20no=20direct-leaf=20defau?= =?UTF-8?q?lts=20(Drew=202026-10-29)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The fleet config carried no small_model: OpenChamber/OpenCode small-model resolution then fell back to a family scan whose first preference is the gpt-luna family. Drew's ruling: the small-model slot is the speed route (a capable tier — compaction/summaries read a lot), the no-model default stays opencode-route/workhorse (already the "default" key), and no direct provider/model leaf may stand as any default. Companion live changes the same day: OpenChamber routing.json (fallback + trivial/research/implement/ hard categories) and settings (defaultModel, project defaultModel, smallModelOverride, walkthroughModelOverride) moved from direct leaves (claude-haiku, gemini-flash, gpt-6-luna, muse-spark-contributor) to route ids. --- .opencode/opencode.jsonc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.opencode/opencode.jsonc b/.opencode/opencode.jsonc index 45263554b5..75f40413ca 100644 --- a/.opencode/opencode.jsonc +++ b/.opencode/opencode.jsonc @@ -48,6 +48,12 @@ // what agent configs already default to; restore the Haiku default when // claude-code is re-enabled. "default": "opencode-route/workhorse", + // Small-model slot (2026-10-29, Drew): the route `speed`, never a direct + // provider leaf. OpenChamber’s small-model resolver reads this key (or + // the title agent’s model) when no settings override applies; a capable + // route is deliberate — compaction and summaries have to read a lot, so + // the slot is a real tier, not the cheapest model on any plan. + "small_model": "opencode-route/speed", "provider": { "claude-code": { "npm": "@ai-sdk/openai-compatible", From 003aaabcb154abf8ef5eee9f6b036aba72f2e53b Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Thu, 29 Oct 2026 04:10:33 -0500 Subject: [PATCH 2/2] =?UTF-8?q?config(opencode):=20set=20the=20v2=20"model?= =?UTF-8?q?"=20key=20to=20opencode-route/workhorse=20=E2=80=94=20the=20"de?= =?UTF-8?q?fault"=20key=20is=20dead?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Verification during the defaults sweep found the server does not consume the config's "default" key at all: packages/core/src/config/normalize.ts reads only input.model for the default model. With no "model" key, the running server's /api/model/default reported commandcode/gpt-5.6-terra (its first-available fallback), and a no-model session's attempts failed over terra -> gpt-6-luna inside commandcode. Adds "model": "opencode-route/workhorse" beside the existing keys; the standing server reloaded it live (config watcher) and now reports opencode-route/workhorse as its default. The "default" key is kept (never-delete-config) with a comment recording that 2.x ignores it. --- .opencode/opencode.jsonc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.opencode/opencode.jsonc b/.opencode/opencode.jsonc index 75f40413ca..fb264b99fd 100644 --- a/.opencode/opencode.jsonc +++ b/.opencode/opencode.jsonc @@ -48,6 +48,13 @@ // what agent configs already default to; restore the Haiku default when // claude-code is re-enabled. "default": "opencode-route/workhorse", + // The v2 default-model key is "model" (config normalize.ts reads only + // input.model; the "default" key above is not consumed by the 2.x schema + // and the server otherwise falls back to its first-available model — + // which was commandcode/gpt-5.6-terra, failing over to gpt-6-luna. + // Verified 2026-10-29 against /api/model/default. Drew’s ruling: a + // session with no model chosen resolves to the workhorse route. + "model": "opencode-route/workhorse", // Small-model slot (2026-10-29, Drew): the route `speed`, never a direct // provider leaf. OpenChamber’s small-model resolver reads this key (or // the title agent’s model) when no settings override applies; a capable