Repository navigation
Description
Summary
In an existing thread, changing the follow-up composer effort to High applies to the submitted turn but the selector returns to the thread's prior effort after sending. The selector appears persistent, while its value is only submitted as a per-turn input.
Versions and environment
- bb-app 0.42.1, launched through the packaged
bb-app@nightlyserver - macOS 26 on Apple Silicon
- Built-in
piprovider usingclaude-bridge/claude-opus-5
Steps to reproduce
- Open a thread whose persisted reasoning override is Max.
- Change the follow-up composer effort to High.
- Send a message.
- Observe the effort selector after the composer re-renders.
Expected vs actual
Expected: High remains selected and becomes the thread's persisted reasoning override.
Actual: the submitted turn receives High, but the selector rehydrates to Max from the unchanged thread override.
Evidence
The server resolves reasoning in this order: per-turn input, thread override, last execution, project default, then the global default (thread-execution-plan.ts). The thread update route already persists a supplied reasoningLevel through the execution override service (base.ts).
The follow-up composer initializes component-local reasoning state from useThreadDefaultExecutionOptions (ThreadDetailPromptArea.tsx) and submits it as a per-turn field. Changing the selector does not PATCH the thread, so a rehydration restores the existing override.
A patched source frontend that PATCHes the selected reasoningLevel was manually verified: High remained selected after sending.
What I ruled out
- Provider translation: built-in
pireceives and maps High directly; it does not modify the BB database. - A per-turn execution failure: the submitted turn did use High.
- The origin of the pre-existing Max override: current events/logs do not identify who set it.
Suggested priority and effort
Affects follow-up composer expectations and is a small client-side persistence fix.
AGENT GENERATED
Activity
ComicBit commentedon Sep 8, 2026
A manually verified prototype is available at https://github.com/ComicBit/bb/tree/fix/3257-persist-effort-selection (
6544a83c5).Verification:
pnpm exec turbo run test --filter=@bb/app -- --run src/views/thread-detail/ThreadDetailPromptArea.test.tsx src/hooks/mutations/thread-state-mutations.test.tsx— 33 passedpnpm exec turbo run typecheck --filter=@bb/app— passedpnpm exec turbo run build --filter=@bb/app— passedbb-slop-cop commentedon Sep 8, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotthreads,uipartial-reproComicBit commentedon Sep 8, 2026
This bug is super annoying. After each message I send I get my efffort turned back to Max. Every freaking time
ComicBit commentedon Sep 10, 2026
@ymichael can you guys check this out? The bug is super annoying I can barely use BB because of it.
ymichael commentedon Sep 10, 2026
Taking a look! Thanks for flagging
Persist follow-up reasoning through the model override path (get-bb#3267