Core CLI issues on Linux
Issues the maintainers labelled both platform:linux and area:core.
1,380 issues · 163 open · 1,217 resolved (88%) · first seen May 7, 2025
Is this getting better or worse?
This class of problem is holding steady. 188 new reports in the last 90 days vs 219 in the 90 before — -14%. The open backlog peaked at 395 in 2025-12 and sits at 163 today.
Derived by counting each matching issue from its creation date until it closed. First-party
computation over the anthropics/claude-code tracker — the trend is not published
anywhere upstream.
Which builds report this
640 of these reports name the Claude Code build they were running, spanning 153 releases. Heaviest reporters:
- Claude Code v2.0.76
- Claude Code v2.1.29
- Claude Code v2.1.19
- Claude Code v2.1.25
- Claude Code v2.1.12
- Claude Code v2.1.119
- Claude Code v2.1.31
- Claude Code v2.1.27
Report volume, not a defect count: an issue can mention a build without that build having caused the failure. Versions come from the version string in the bug-report template, matched against real published tags.
Do these get fixed?
Median time to close is 42 days across 1,217 closures. Of the 1,217 closures with a recorded reason, 27% were closed as completed and 891 as not-planned or duplicate. The most recent completed fix landed in 2026-08.
Workarounds reported by the community
386 of these issues post a workaround someone says worked. The highest-engagement ones:
- [BUG] Conversation history invalidated on subsequent turns
- …put tokens, which can cause a massive spike in token usage. Workarounds to minimize cache invalidation: 1. Keep conversations shorter : Start new sessions for new tasks rather than continuing a single long session. Short…
Found in the thread of #40524 · resolved - Implement Agent-Scoped MCP Configuration with Strict Isolation
- …ent files appears to be silently ignored. --- Bug 2: Forced workaround defeats the purpose of scoping Because agent-level config doesn't work, the only option right now is to add the MCP server to at the plugin level. Bu…
Found in the thread of #4476 · resolved - Claude.ai MCP servers auto-injected into Claude Code without opt-in — causes OOM crashes on resource-constrained systems
- …r's Claude.ai account and load them into every CLI session. Workaround Manually editing to set: However, this is a cached flag and may be overwritten on next update/startup. Expected Behavior 1. This should be opt-in, no…
Found in the description of #20412 · resolved - [BUG] Oversized image breaks conversation permanently - no way to recover without starting new chat
- …retry without failed images, or client-side image resizing Workaround Currently, users must start a new conversation and manually reconstruct any important context.
Found in the description of #13480 · resolved - [BUG] Claude Code requires Node.js version 18 or higher to be installed.
- Workaround found : I managed to bypass this issue by: 1. Downgrading the Claude Code extension to v1.0.123 2. Restarting VSCode 3. Launching Claude Code - it then successfully loads version 2.0.0
Found in the thread of #8410 · resolved
Excerpts are quoted from the linked issue so you can judge relevance before opening it. Threads that only ask for a workaround, or report that there is none, are excluded. These are community suggestions, not official guidance from Anthropic — read the full thread before applying one.
Matching issues 1–100
Ranked by community engagement (reactions weighted over comments). Listing the top 300 of 1,380 matches; the statistics above cover all 1,380.
- [BUG] Conversation history invalidated on subsequent turns
- Implement Agent-Scoped MCP Configuration with Strict Isolation
- Claude.ai MCP servers auto-injected into Claude Code without opt-in — causes OOM crashes on resource-constrained systems
- [BUG] Oversized image breaks conversation permanently - no way to recover without starting new chat
- [BUG] Claude Code requires Node.js version 18 or higher to be installed.
- [BUG] Critical memory regression in 2.1.27 - OOM crash on simple input
- Memory leak: Missing cleanup for /tmp/claude-*-cwd working directory tracking files
- Claude Code Memory Leak - Process Grows to 120+ GB RAM and Gets OOM Killed
- Critical Memory Leak: Claude Code Consumed 129GB RAM and Caused System Freeze
- [BUG] Resuming sessions only works from the directory in which they were started
- BUG: classifyHandoffIfNeeded is not defined - SubagentStop hook failure
- [BUG] Sessions become unresponsive after upgrade to 2.0.60 (suspected background agent blocking)
- [BUG] v2.1.150 adds server-side system prompt injection via `tengu_heron_brook` feature flag
- [BUG] VS Code extension fails to point node path causing "Error: Claude Code requires Node.js version 18 or higher to be installed"
- [BUG] resume flag fails to maintain conversation context after hitting usage/context limits
- [BUG] @ path autocomplete broken in v2.0.72 when running from git subdirectory
- [BUG] Claude Code Web Cannot Use gh CLI Commands (Permission Denied)
- API Error 400: thinking blocks order error on first tool use after clean install
- [BUG] /plugin update does not invalidate plugin cache
- spinnerVerbs setting in ~/.claude/settings.json is ignored
- Assistant text blocks silently dropped when followed by more thinking in the same turn — never rendered, missing from transcript JSONL (2.1.201, adaptive thinking)
- [BUG] Session broken -> API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"The request body is not valid JSON: no low surrogate in string: line 1 column 410559 (char 410558)"}}
- [BUG] The setting excludedCommands doesn't seem to be respected.
- [BUG] "Request too large (max 20MB)" error on small files (99KB PNG)
- /compact fails with 'Conversation too long' when context limit is reached
- High CPU usage (100%+) when Claude Code instances are idle - v2.1.12
- [BUG] Claude Code 2.0.43+ exits immediately after rendering welcome screen on RHEL8
- [BUG] Builtin /review command no longer works, told to install a plugin and use /code-review
- [BUG] API Error: "invalid_request_error" "The request body is not valid JSON"
- [BUG] Past conversations not showing in dropdown - sessions-index.json not being updated.
- [BUG] High sustained CPU usage (~100% per instance) even when idle
- [BUG] 2.1.243 Segmentation fault
- [Bug] Auto-mode "bashFirst" system prompt instructs sed/heredoc file edits instead of Edit/Write tools
- Plugin cache never refreshes - autoUpdate doesn't update what Claude reads
- [BUG] Auto compact does not trigger at 100% context window and Claude Code stops itself on cli
- [Bug] Python Code Generation: Imports Incorrectly Placed Inside Functions
- Silent U+FFFD corruption in CJK model output due to TextDecoder missing `{ stream: true }` in SSE line decoder
- [BUG] 2.1.27 session resume logic is loosing context
- Ignore User Configuration: Co-Authored-By Lines Added Despite `includeCoAuthoredBy: false`
- [BUG] /sandbox reports as unsupported in Linux when run under WSL2
- [BUG] Claude Code not finding custom commands in ~/.claude/commands or ./claude/commands
- [Bug] Skill plugin scripts fail on first execution with relative path resolution
- [BUG] DISABLE_TELEMETRY=1 breaks remote-control with misleading "not yet enabled" error
- CLI hangs at 99% CPU on startup with large session .jsonl files
- Plugin hooks not loaded from external hooks.json file
- [BUG] .claudeignore not ignoring private files
- [BUG] /compact causes Claude Code to ignore CLAUDE.md
- [BUG] Keep hitting "Request size exceeds model context window"
- [FEATURE] GPU device passthrough in sandbox mode
- [BUG] CLAUDE_CONFIG_DIR environment variable behavior unclear - still creates local .claude/ directories
- [BUG] Background tasks ignore $TMPDIR and hardcode /tmp/claude/
- Conversation history missing on resume (except last message)
- [BUG] LSP plugin system not connecting to language servers - always returns "No LSP server available"
- [BUG] Verbose output setting fails to persist (reverts to default after restart)
- [Bug] Parallel tool calls trigger persistent "Cancelled" errors
- [BUG] Agents Don't Inherit MCP Tool Access Despite Connected MCP Servers
- [BUG] Claude code crashes
- [BUG] Custom Subagents in ~/.claude/agents/ Not Discovered or Loaded (v2.0.35)
- [BUG] Interactive CLI degrades over time, leading to UI lag and repeated timeout errors
- [Bug] Anthropic API Error: Cannot Modify Thinking Blocks in Assistant Messages
- [BUG] Thinking and not coding for more than 10 minutes for simple tasks with oppus 4.6 - then freezes
- [BUG] System prompt wastes >10k tokens on large git repos that cannot be disabled
- Claude Code 2.1.243 segfaults on launch (CachyOS/glibc 2.44) — 2.1.241 unaffected
- [BUG] Silent context degradation — tool results cleared without notification on 1M context sessions this issue documents three separate mechanisms (microcompact, cached microcompact, session memory compact)
- [BUG] Agent Teams tools not injected despite CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
- [BUG] Server-side experiment (`x-cc-atis`) silently removed Opus 4.8 thinking summaries, and the CLI silently self-updated even with `autoUpdates: false`. No notice, no opt-in, settings silently overridden.
- [BUG] /sandbox seccomp filter instructions don't work, paths not read from settings
- Claude Code freezes: static spinner, unresponsive input, ignores SIGTERM
- [BUG] Claude Code Configuration File Corruption
- Docs about user config directory `~/.claude` appear to contradict actual CLI app behavior
- PermissionRequest hooks not triggered for subagent permission requests in Agent Teams
- Sandbox (bubblewrap) fails in git worktrees due to .git file structure
- [BUG]'s 💔 I love Claude Code, but the pace is outrunning the quality - and it's costing us trust
- [BUG] claude doctor hangs indefinitely, uses 100% CPU, and soft locks terminal session
- [BUG] Claude enters plan mode automatically without waiting for user approval
- [BUG] Context percentage mismatch between /context, statusline API, and internal limit trigger
- [BUG] Calling advisor tool crash or stop the claude code with following API error Unsupported content type: server_tool_use
- [BUG] `extraKnownMarketplaces` in `managed-settings.json` is ignored
- [BUG] updatedInput PreToolUse response does not work when multiple PreToolUse hooks are executed
- [Bug] VSCode Extension: User-level rules (~/.claude/rules/) not loading into context
- Task tool fails with 'Tool names must be unique' error when MCP servers are enabled
- [BUG] Session name lost after context compaction
- /resume command reports 'No conversations found' despite conversations existing on disk
- API Request Failure: Unexpected Usage Policy Violation Error
- Critical: Claude Code silently deletes conversation history without user consent
- [Bug] Compaction Fails Unexpectedly with "Conversation Too Long" Error
- 🚨 CRITICAL: Memory leak causes freeze after 20+ minutes (15GB RAM consumption)
- [BUG] Session keeps getting interrupted without any external interventions like pressing escape
- [Critical] Max Plan subscriber: Opus 4.6 instruction-following regression breaks production workflows — 24-hook enforcement system cannot compensate for model-level degradation
- [BUG] Linux Terminal Freezes after launching new versions of Claude code from 2.1.34. Complete Freeze - Cannot Type, Ctrl+C Non-Responsive
- [BUG] Claude.ai MCPs not showing up on Claude code
- [BUG] I cannot uninstall Claude Code because I do not have an active paid account.
- 2.1.243 native build segfaults instantly on startup: interposed free() crashes on free(NULL) from glibc 2.44 newlocale
- [BUG] @ command includes .git files in autocomplete
- [BUG] Claude Code exits immediately on HPC interactive sessions - stdin consumed by shell detection subprocesses
- [Critical Bug] Session history lost after auto-update from 2.0.44 to 2.0.49
- Separate user settings from app-created settings
- [BUG] Interrupting session during tool calls permanently corrupts conversation with tool_use/tool_result API errors
- Claude Code hangs indefinitely on startup in non-git directories (regression since 2.1.31)
- [BUG] Context low warning shows 7% when actually 36% free (auto-compact disabled)