Repository navigation
Give a held model the effort of Auto's pick - #193
Merged
Merged
Conversation
When a warm prompt cache keeps a thread on a model one tier below Auto's pick, the turn ran at the thread's last effort, so it got neither the stronger model nor more thinking. An effort change keeps the cache on both CLIs (measured 2026-10-12), so a held route now runs at the effort Auto chose for the pick, fitted to the kept model's levels within the ceiling and the budget's high cap. A model kept above its pick runs at the pick's lower effort. Held turns no longer reuse the thread's last effort, because the router saves each turn's effort to the thread; reusing it would let a raise stick for every later held turn. Receipts say "Raised effort from X to Y" or "Lowered effort from X to Y". Where an effort change would clear the cache, the old behavior stays. Coven-Harness: Claude Code / claude-opus-5-5
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
BunsDev
added a commit
that referenced
this pull request
Oct 13, 2026
Keeps both new docs/status.md entries: held-model effort (#193) and pnpm only. Coven-Harness: Claude Code / claude-opus-5-5
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
When a warm prompt cache keeps a thread on a model one tier below Auto's pick, the turn ran at the thread's last effort. It got neither the stronger model nor more thinking. Changing effort leaves the cache intact on both CLIs (2026-10-12 probe: Claude 36,905/36,972 tokens read after an effort change; Codex 53,760/53,950). So a held route now runs at the effort Auto chose for its pick.
Rule
requestEffort()and is evaluated at the pick's tier. The result is fitted to the kept model's supported levels, undermax_effortand the budget's high cap.EFFORT_CLEARS_CACHEis true, the old keep-current effort applies.Behavior change to note
Before this change, a model kept above its pick ran at whatever effort the thread last had, usually the effort it was first picked with. It now runs at the lower effort of the model Auto would have switched to. That is cheaper and matches the routing intent: the request was judged fine on the smaller model at that effort. It is the half of this change that wasn't explicitly asked for, and is easy to revert separately if unwanted.
Verification
npm run build,npm run typecheckandnpm testall pass: 1,422 unit tests, 1,406 passed, 16 skipped, 0 failed.max_effort: highcap (no raise claimed);EFFORT_CLEARS_CACHEfallback.docs/auto-routing.mdstep 7, plus a line under On main, unreleased indocs/status.md.