[Bug] Effort level not respecting `CLAUDE_CODE_EFFORT_LEVEL` environment variable when `xhigh` is default
Resolved 💬 3 comments Opened Apr 16, 2026 by tylerlaprade Closed Apr 19, 2026
Bug Description
Even with "CLAUDE_CODE_EFFORT_LEVEL": "max", effort is defaulted to xhigh starting in v2.1.111. However, if I set my default effort level to medium (the old default before this version) in ~/.claude/settings.json, I correctly start every session on max effort
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.111
- Feedback ID: c056935d-9726-43dc-9dc4-679f15555f45
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/Tyler Laprade/.local/share/claude/versions/2.1.111 (expected in multi-process scenarios)\n at Kd_ (/$bunfs/root/src/entrypoints/cli.js:2748:2177)\n at qe6 (/$bunfs/root/src/entrypoints/cli.js:2748:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T18:40:24.299Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗