Claude Code v2.1.168
Released Jun 6, 2026 (2 months ago).
187 issues reference this build
22 still open
165 resolved (88%)
"References this build" means the issue body mentions running 2.1.168 (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.168
Ranked by community engagement (reactions and comments).
- [BUG] Copy-paste does not work
- [BUG] Auto compact does not trigger at 100% context window and Claude Code stops itself on cli
- [BUG] macOS 26.5.1 kernel zone leak (data.kalloc.1024) from Claude Code CLI — claude.exe panics at ~20GB, leak rate scales 21→1027/sec with agent load
- [BUG] Claude refuses to write CLAUDE.md when it's a symlink
- [BUG] Plan mode scrolling broken
- Selecting text in the TUI corrupts multi-byte UTF-8 (Cyrillic) when copied via OSC 52
- [MODEL] Opus 4.8: runaway extended thinking (20k-64k output tokens/turn), replies to hallucinated user messages, fabricates forensic "evidence" when asked to investigate
- [BUG] Desktop app SSH remote session fails with 403 Request not allowed while Local session and CLI-over-SSH work fine (same account)
- [BUG] Copy/paste completely broken on Ubuntu 24 with Ubuntu Terminal and Asbru - even in fullscreen mode
- CJK text corrupted (mojibake) when copying terminal output — no-flicker/fullscreen renderer is the cause; tui: "default" fixes it [macOS + OrbStack]
- Agents daemon orphans old bg workers after auto-update → EAUTH: attach rejected (control-key version skew)
- [BUG] Sandbox git-internals write-protection resolves paths against the worktree root, not `.git/` — collaterally blocks a project's top-level `config/` dir
- [BUG] Raw <invoke> XML printed to terminal and session hangs — requires user message to resume (Windows, v2.1.168)
- [Feature Request] Allow programmatic/agent-initiated compaction (refile of #52002)
- [BUG] winget install succeeds but fails to create link — binary stranded in WinGet packages cache
- [BUG] @import directives inside path-scoped rule files load eagerly, ignoring the paths: frontmatter scope
- [DOCS] Unspecified multi-hook PreToolUse semantics (execution order, updatedInput visibility, conflict resolution)
- [Feature Request] Add configurable auto-compaction threshold setting
- [BUG] Opus 4.8 fabricates user turns across 3 related sessions — one executed a real unauthorized commit+push on a fabricated confirmation (JSONL-verified)
- [Bug] Claude Code generates invalid Python 3.14 PEP 758 exception syntax and fails validation
- Regression: auto-compact no longer triggers at ~168K tokens with claude-sonnet-4-6
- VSCode Extension: Show persistent token/context usage indicator
- Tool dispatch stall regression (#54847) still affecting CLI 2.1.168 — 45 versions of "not planned," 6 watchdog-aborts in 3 days
- [BUG] Claude Code long-running session invents tool results, fake user turns, and follow-up actions without user input
- [BUG] Mouse movement injects SGR escape sequences into chat input in browser-based terminals (Lightning Studio)
- [All models] Claude ignores safety-critical blocking questions and proceeds without explicit answers
- [BUG] Routine skipped scheduled run without any history record
- [Bug] Excessive token consumption from infinite or inefficient loop
- [BUG] /insights generates invalid file:// URL on Windows with non-ASCII username
- [BUG] No permission prompt before reading/searching files OUTSIDE the working directory
Changelog
What's changed
- Bug fixes and reliability improvements