lightwlh on X: Claude Code's Details shows an effort beside each tier
(Opus, Sonnet, Haiku, Fable) and another under New sessions, and asked
which one wins when they differ. A tier's effort is written into its
model id as <model>:<level> (tierWith in internal/agent/claude.go), and
the gateway asks that model at that level whatever Claude Code asked
(askedAt); the New sessions effort is Claude Code's own (effortLevel /
CLAUDE_CODE_EFFORT_LEVEL), which /effort changes, and reaches only the
tiers with none of their own. The page didn't say so: an unset tier's
effort read "default", like a level of its own.
- An unset tier's effort button reads "follows session" (跟随会话,
跟隨會話, セッションに従う, wie Sitzung) instead of "default"; its
title still names the effort Claude Code asks for.
- A set tier's title adds "Used whatever the session's effort or
/effort is".
- New sessions' effort, while any tier has its own, adds "A tier with an
effort of its own runs at that one" to its title; both follow a pick
in the slider at once (the slider's field is a copy, so the check
reads the picked value).
- No layout change: the same buttons and lines; the subagents' effort
and the tray panel's tiers' square are unchanged.
- app.js +485 and the core +843 bytes of code, budgets raised with the
reason: connectPanel and the effort slider draw every agent's Details,
so there is no page to move it to; the words share one ownSaid.
Run (mote, at this tree rebased on de5fc6700):
- node --test tier-effort, claude-subagent-effort-row, wsl-claude-tiers,
claude-effort, subagent-effort, panel-effort, agent-tweak-fold,
i18n-keys, gui-ja, gui-zh-tw, i18n-en-no-cjk: 124 pass 0 fail
(Chromium and WebKit; tier-effort's narrow 560px case now in all five
languages, each tier's effort on its model's line, no sideways scroll).
- Broken by hand: tier-effort against origin/main's app.js, 4 of 4 of
the pick tests red (no "follows session", no wins line).
- go test ./internal/gui: ok (TestCoreScriptBudget red before the raise).
Not run yet: the whole GUI suite (mote and mica each had another
session's full suite running); it runs after the push.