Claude Code v2.1.159
Released May 31, 2026 (3 months ago).
121 issues reference this build
12 still open
109 resolved (90%)
"References this build" means the issue body mentions running 2.1.159 (from the
bug-report template). It reflects report volume, not a proven defect count — an issue may mention a
version without being caused by it. First-party data from the anthropics/claude-code tracker.
Top issues reported on v2.1.159
Ranked by community engagement (reactions and comments).
- [FEATURE] Persistent config option to disable IDE context sharing (opened files, selections)
- [Bug] Opus 4.8: Tool calls serialized as plain text instead of tool_use blocks in high-composition sessions
- [BUG] CLAUDE_CODE_ATTRIBUTION_HEADER=0 also blocks auto classifier model
- Opus 4.8 Model stated multiple unverified claims as fact and fabricates specifics within a single session
- [BUG] /rewind (Esc Esc) silently reverts/loses code — destructive "Restore code and conversation" is the default with no confirmation
- [BUG] Claude Code activity in organisation analytics are missing some users
- PreToolUse(Bash) hook returning permissionDecision: "defer" causes "[Tool result missing due to internal error]"
- [Bug] Infinite loop when displaying `court` word
- Multi-minute first-byte stalls on claude-opus-4-8[1m], compounded by auto-mode classifier timeouts — sessions near-unusable
- [BUG] Max 20x account consumed 20% 5hr of tokens in 5mins with one session and lesss than 5k token usage
- [Bug] Frequent tool execution errors with Claude 4.8 Opus model
- [Bug] Claude Opus 4.8 API returning increased hallucinations
- [Bug] Edit tool fails on mixed literal/escape Unicode in multi-line old_string
- [BUG] Fullscreen TUI: failed Bash tool output is empty when expanded
- [BUG] Claude Desktop 3P - Foundry config with Interactive Sign-in uses wrong url
- Background sessions (claude agents) drop work-phase OTEL logs (user_prompt/api_request) on shutdown
- Parallel tool calls: one benign tool error cancels all sibling calls → agent misreads as broken shell and flails
- [BUG] 1M context model switch without selecting the option
- Update banner should show the new version (and ideally a one-line summary)
- Harness-injected control text and tool-result content share one untagged channel — independent of phrasing
- [BUG] Claude misspells username in working directory path, causing permission prompts
- Cost price-map wrong in CLI 2.1.159: claude-opus-4-8 billed 3× high, claude-sonnet-4-5 1.67× high
- Welcome banner shows stale "What should Claude call you?" value — not refreshed after the setting is changed
- [Bug] Tool Invocation Failure Blocking Workflow Execution
- [BUG] bug——"auto compaction not triggering at 95-100% context usage on Opus 4.6, version 2.1.159, have to manually run /compact"
- usage error on claude
- [BUG] MCP: structuredContent overrides content field, losing actual tool response
- [BUG] Oversized-image 400 error triggers a retry loop that invalidates prompt cache and inflates cost ~35×
- [Bug] Normal CLI session misclassified as background job, blocking Edit/Write tools
- [BUG] OAuth authentification fails on WSL2
Changelog
What's changed
- Internal infrastructure improvements (no user-facing changes)