GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — config(opencode): tier route pools over per-model plan pools; agents repointed to pools by dezren39 · Pull Request #915 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Oct 25, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

What

Rebuilds experimental.model_routes in .opencode/opencode.jsonc as composable pools and repoints the named agents at them. Built on top of #904's reconciled config; #904 merged while this was in flight (merge commit 52b02e0), so origin/main has been merged in and the config re-validated after the merge (validator: no problems; the env-template proxy-port change from #904 is unaffected).

Design record: doc/2026-10-25T21-11-31Z_design_route-pools/ — names, membership, effort settings, strategy semantics, and what was verified in the fork vs. changed (nothing in the fork needed changing).

The pools

Per-model pools (plan providers only, round-robin): deepseek-flash-plan, deepseek-pro-plan, haiku-plan, luna-plan, glm-flash-plan, gemini-flash-plan, sonnet-plan, opus-plan, sol-plan.

  • deepseek-flash = ordered composition: deepseek-flash-plan first (weight 100, so quota demotion of plan leaves can never promote the reserve), then deepseek/deepseek-chat — the PAYG DeepSeek provider as reserve only, reached when no plan leaf is ready. Drew's specified composition.
  • Tier pools nest the per-model pools as single items, effort as the variant on the reference: scout (routine: Flash#medium, GLM Flash#medium, Haiku), workhorse (standard: Flash#high, Luna#max, Haiku#high, Meta Spark), specialist (hard, ordered: Sonnet#high, Luna#max, Sol#medium, DS Pro#high), summit (very complex only: Opus#high, Sol#high, Muse Wonder).

Agents: classifier → scout, classifier-complex → workhorse, coder → workhorse, reasoner → specialist. Hard pins removed, so one provider's quota wall no longer strands an agent.

Removed route ids: cheap-pool, fast, balanced, deep, free (they targeted disabled providers; fast/balanced also used PAYG DeepSeek routinely). Nothing in the repo references them; sessions pinned to opencode-route/fast etc. need re-pinning at deploy time.

Deliberate membership exclusions, per the provider-quota registry: commandcode (its plan has no API access — joins by config edit when upgraded) and openai.alternate (no credential in the store yet). antigravity-ls is included: the scratch server lists it enabled under this config, superseding the registry's 2026-10-24 disable note (flagged in the design record).

Why no fork or OpenChamber PR

Verified in developing-today/opencode source: nested routes already work for selection (lazy recursive walk in model-route.ts, RR/weights compositional); the demote-one-target ask is already expressed by weights (round-robin is smooth weighted RR; weights rank in every mode; unset = 1) plus automatic quota demotion (×0.01) — a new demote field would duplicate it and be refused by OpenChamber's validator as an unknown key. OpenChamber's validateModelRoutes was run against this exact route set: no problems.

Verified

  • Config parses; OpenChamber validator: no problems.
  • Scratch opencode serve (port 4199, scratch XDG homes; live server and deployed config untouched), worktree as location: /api/config resolves all 14 routes with variants carried; all 18 disabled providers appear as provider.use deny policies; /api/provider resolves the enabled set incl. opencode-route and antigravity-ls; the four agents resolve to their pools; opencode-go.lab resolves as an opencode-go instance.
  • Not verified: live leaf-level model calls (scratch home holds no credentials).

Merge note

#904 has merged, and this branch has merged current main in, so this PR is ready to land as soon as its checks are green.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Muse Sweep added 2 commits October 25, 2026 21:44
Muse Sweep
config(opencode): tier route pools over per-model plan pools; agents …
696dd7f
…repointed to pools
Muse Sweep
Merge remote-tracking branch 'origin/main' into config/route-pools-20…
671e31d
…26-10-25
@dezren39
dezren39 requested a review from a team as a code owner October 25, 2026 21:51
@github-actions github-actions Bot assigned dezren39 Oct 25, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 25, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-25T21:58:36.071835Z 064878e New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Muse Sweep
docs: treefmt (prettier) formatting for the route-pools design record
064878e
@dezren39
dezren39 merged commit 6e5951c into main Oct 25, 2026
3 of 4 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the config/route-pools-2026-10-25 branch October 25, 2026 21:59
This was referenced Oct 25, 2026
config(opencode): comment out cloudflare/openrouter sections; literal proxy ports #921
Merged
feat(opencode): add openai.alternate Luna/Sol leaves to plan pools #937
Merged
Routing policy: when specialist/summit is allowed, native session model switching, subsession pool selection #2169
Closed
@dezren39 dezren39 mentioned this pull request Nov 14, 2026
Retroactive home for PR #915: config(opencode): tier route pools over per-model plan pools; agents repointed to pools #9637
Closed
This was referenced Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@dezren39 dezren39

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.