@daix91 asked on X whether Claude Code's effort can no longer be changed.
Max is fixed in Claude Code's environment (CLAUDE_CODE_EFFORT_LEVEL=max,
the design since c1d38cc50), which outranks /effort, and nothing in
Details said so. The New sessions effort button's title, where 534b85bf9
put the per-tier lines, now ends with one line while Max is picked: "Max
is fixed in Claude Code's environment, so /effort can't change it. Pick
another level to get /effort back." Picking another level in the slider
drops it at once (renderEffortPicker), and picking Max puts it back. No
visible label is added. The env behaviour is unchanged. Translated in zh,
zh-TW, ja and de.
Test: internal/gui/tests/claude-effort-max.test.cjs covers Chromium and
WebKit, en/zh/zh-TW/ja/de, at 1100 and 560px (20 tests). It checks that
the title ends with the line once and that the line is not visible text,
that there is no sideways scroll, and that picking high drops it at once,
names high in the title and POSTs {agent:claude, field:effort,
value:high}. After a reload it checks the line is still gone, and that
picking Max brings it back.
Run:
- Red on old code: claude-effort-max against origin/main's assets failed
20 of 20 (no line in the title). With the change, 20 of 20 pass on mica.
- Go, on mote at the pre-rebase head f85198750: gofmt -l clean;
go vet ./..., GOOS=linux go vet -tags nogui ./..., GOOS=windows
go vet ./... and go build all ok; go test ./internal/gui ok (181s).
- Whole GUI suite on mica at f85198750 (chunked 100 files, concurrency
3, load 40 to 70): 29,589 tests, 1,044 failures in 135 files.
claude-effort-max and i18n-keys passed. The 135 files were rerun at
head and at base 83bb079de: 123 red at head, 118 at base (#6975). The
five head-only files were rerun alone. images-codex-one, models-fold,
routing-groups-page and usage-focus-steady passed. desktop-tiers
failed ("no tiers square"). Run alone six times at base 83bb079de it
failed 0 to 2 of 4 each time, the same way, so it is #6475 (commented
with the numbers). Not caused by this change.
- Targeted run on mica: tier-effort, claude-effort, panel-effort,
claude-subagent-effort-row, wsl-claude-tiers, subagent-effort, gui-ja,
gui-zh-tw, i18n-en-no-cjk, i18n-keys and claude-effort-max gave 111 of
112 pass. The red is gui-ja's "ja has every zh string" ("Gets copies…
{agents}"), #7144, red on main since 88b65d758.
- After rebasing on 82611c3c9 (app.js changed upstream), on mica:
gofmt -l clean; go test -run Budget ./internal/gui ok (TestCoreScriptBudget
included); claude-effort-max, i18n-keys, tier-effort, claude-effort,
panel-effort and i18n-en-no-cjk 66 of 66 pass.
TestCoreScriptBudget has room at this base, so the budget is not raised.
Not tried: a real Claude Code session with Max picked. The env path
itself is unchanged.