You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
opencode now treats experimental.routes.* as the canonical routing shape (models/providers/windows/schedules/tuning/log/settings) and folds the flat experimental.model_routes / provider_routes / model_route_* keys into it at load via a normalize compat shim. The flat keys remain accepted in the file, so bin/opencode-route-proxy.mjs — which parses the raw JSONC itself and resolves model_routes with no shared code — keeps working unchanged today.
Owed work here: teach the proxy to ALSO read experimental.routes.models (and routes.providers) so a config file written in nested-only form routes correctly through the proxy. The flat shim in opencode must not be removed until this lands (and the OpenChamber validator follow-on lands).
Acceptance criteria
bin/opencode-route-proxy.mjs also reads experimental.routes.models (and routes.providers): a config written in nested-only form routes correctly through the proxy.
Related: developing-today/opencode issue #1140 (the nested-routes conversion, closed 2026-11-01 — this is one of its two follow-ons) and developing-today/openchamber issue #1270 (the validator follow-on; the pair gate shim removal).
Notes: Nothing is broken today: the flat keys remain accepted, so the proxy works unchanged. This is owed compatibility work before the canonical nested shape spreads to hand-written configs.
Risks: The proxy parses raw JSONC with no shared code, so its nested-shape semantics can silently diverge from opencode's shim (precedence when both shapes are present is the sharp edge). Pin the expected precedence in tests against the shim's documented behavior.
Suggested approach: Mirror the shim's fold order (nested canonical, flat folded in), add fixture configs for flat-only / nested-only / mixed, and note the shim-removal gate on opencode issue #1140's follow-on thread when this lands.
— fleet monitor intake enrichment, 2026-11-01 run (protocol §5). Acceptance criteria appended to the body where missing; labels normalized.
agent-note:v1
state: triaged (coverage pass)
Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
Found via: coverage pass 2026-11-03
Agent: queue worker (repo-worker-code), lane code-h
Session / ID: task 8288
Found via: queue claim
Task: Triage issue route proxy: learn the nested experimental.routes shape (opencode #1140 follow-on) #3889 at current main — handed off to the opencode execution lane; the laptop claimant launches the bound opencode session, which drives task 8288 to its terminal state. Claim labels were already in sync on pickup (queue/claimed, work/assigned, status/in-progress).
Expectation: effort s; done = triaged at current main with evidence, fix scoped or closed with evidence.
Expectation: the laptop claimant launches the bound opencode session, which drives task 8288 to its terminal state; if the lease expires unlaunched, task 8288 returns to the queue
Claimed for current-main triage. Fresh GitHub state confirms #3889 is OPEN and assigned to Drew; exact open-PR search found no direct implementation PR. The last handoff notes indicate the prior OpenCode session was not bound; I am verifying current proxy parsing before deciding whether the scoped request is still live.
Triage verdict: still live on current main e425b6af52c
bin/opencode-route-proxy.mjs:219-220 reads experimental.model_routes / experimental.provider_routes and flat fallbacks; it does not read experimental.routes.models / experimental.routes.providers. The route-proxy test fixture exercises flat keys only. The nested-only config case in this issue remains unhandled.
The existing acceptance criteria already scope a bounded fix and tests for flat, nested, and mixed config, so no split or duplicate follow-up is needed. No technical blocker to this proxy change was found; keep OpenCode's flat-key compatibility shim until this issue's change lands (the OpenChamber validator follow-on is already closed). No code or tests were changed in this triage.
Expectation: verdict below is fresh-verified 2026-11-08 on origin/main 1edecf809f; the issue closes as superseded — no fix packet, because the file it would change no longer exists.
Verdict: SUPERSEDED — the route proxy was retired; there is nothing left to teach.
Evidence:
bin/opencode-route-proxy.mjs is absent on current origin/main (verified by tree listing and grep; the remaining proxy files are proxy-port.mjs, proxy-relay.mjs, proxy-supervise.mjs).
Commit e8b4cdc754 (2026-11-04, "rewire OpenClaw to the server facade and retire the route proxy (opencode#1153)"), merged via PR Rewire OpenClaw to the server facade, retire the route proxy (opencode#1153) #5588, deleted bin/opencode-route-proxy.mjs (1221 lines), its test (1045 lines), and its start script, and is an ancestor of current main. Routing moved to the server facade, where the nested-routes handling lives in opencode itself rather than in a standalone proxy script.
The packet's landed evidence (PR fix(opencode): remove shadowed duplicate cline-pass provider block #1311, a provider-config fix) did not address the nested-shape teaching, but that remainder is now moot: a config in nested-only form no longer routes through a proxy file this repo maintains.
The issue's guardrail (opencode's flat-key normalize shim must not be removed until this lands) constrains the opencode repo's shim, not this retired file; the retirement was a separate, merged architectural decision (PR Rewire OpenClaw to the server facade, retire the route proxy (opencode#1153) #5588). Nothing in this closure removes or endorses removing that shim.
Closing as superseded. If a standalone route proxy is ever revived, the nested-shape requirement in this issue's acceptance criteria should be part of its spec from the start.
Activity
dezren39 commentedon Nov 1, 2026
Intake review
Related: developing-today/opencode issue #1140 (the nested-routes conversion, closed 2026-11-01 — this is one of its two follow-ons) and developing-today/openchamber issue #1270 (the validator follow-on; the pair gate shim removal).
Notes: Nothing is broken today: the flat keys remain accepted, so the proxy works unchanged. This is owed compatibility work before the canonical nested shape spreads to hand-written configs.
Risks: The proxy parses raw JSONC with no shared code, so its nested-shape semantics can silently diverge from opencode's shim (precedence when both shapes are present is the sharp edge). Pin the expected precedence in tests against the shim's documented behavior.
Suggested approach: Mirror the shim's fold order (nested canonical, flat folded in), add fixture configs for flat-only / nested-only / mixed, and note the shim-removal gate on opencode issue #1140's follow-on thread when this lands.
— fleet monitor intake enrichment, 2026-11-01 run (protocol §5). Acceptance criteria appended to the body where missing; labels normalized.
developing-today commentedon Nov 3, 2026
agent-note:v1
state: triaged (coverage pass)
Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
Found via: coverage pass 2026-11-03
dezren39 commentedon Nov 3, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 3, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 3, 2026
agent-note:v1
state: picked-up
queue: repo-health-code-pilot
task: 8288 (triage, worker repo-worker-code, lane 262eb403-3347-4a7c-ba6b-e7bc263ca853)
by: openchamber-scheduled-lane
at: 2026-11-03T22:01:01Z
Claimed for current-main triage. Fresh GitHub state confirms #3889 is OPEN and assigned to Drew; exact open-PR search found no direct implementation PR. The last handoff notes indicate the prior OpenCode session was not bound; I am verifying current proxy parsing before deciding whether the scoped request is still live.
dezren39 commentedon Nov 3, 2026
agent-note:v1
state: triaged
queue: repo-health-code-pilot
task: 8288 (triage, worker repo-worker-code, lane 262eb403-3347-4a7c-ba6b-e7bc263ca853)
by: openchamber-scheduled-lane
at: 2026-11-03T22:03:25Z
Triage verdict: still live on current main
e425b6af52cbin/opencode-route-proxy.mjs:219-220readsexperimental.model_routes/experimental.provider_routesand flat fallbacks; it does not readexperimental.routes.models/experimental.routes.providers. The route-proxy test fixture exercises flat keys only. The nested-only config case in this issue remains unhandled.The existing acceptance criteria already scope a bounded fix and tests for flat, nested, and mixed config, so no split or duplicate follow-up is needed. No technical blocker to this proxy change was found; keep OpenCode's flat-key compatibility shim until this issue's change lands (the OpenChamber validator follow-on is already closed). No code or tests were changed in this triage.
dezren39 commentedon Nov 8, 2026
🤖 Agent note · triaged — superseded, closing
bin/opencode-route-proxy.mjsthe nestedexperimental.routesshape) against current state.1edecf809f; the issue closes as superseded — no fix packet, because the file it would change no longer exists.Verdict: SUPERSEDED — the route proxy was retired; there is nothing left to teach.
Evidence:
bin/opencode-route-proxy.mjsis absent on current origin/main (verified by tree listing and grep; the remaining proxy files areproxy-port.mjs,proxy-relay.mjs,proxy-supervise.mjs).e8b4cdc754(2026-11-04, "rewire OpenClaw to the server facade and retire the route proxy (opencode#1153)"), merged via PR Rewire OpenClaw to the server facade, retire the route proxy (opencode#1153) #5588, deletedbin/opencode-route-proxy.mjs(1221 lines), its test (1045 lines), and its start script, and is an ancestor of current main. Routing moved to the server facade, where the nested-routes handling lives in opencode itself rather than in a standalone proxy script.Closing as superseded. If a standalone route proxy is ever revived, the nested-shape requirement in this issue's acceptance criteria should be part of its spec from the start.