Claude Code 2.1.136

💡

Session quality survey is re-enabled for OTEL enterprises via `CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL`, and `settings.autoMode.hard_deny` lets classifier rules block actions unconditionally. WSL2 image paste now falls back to PowerShell when xclip/wl-paste are unavailable. Plus a wide round of fixes — MCP servers disappearing after `/clear`, login loops from concurrent OAuth token writes, and plan mode failing to block writes when an `Edit(...)` allow rule matched.

🔗 Official announcement →

This article is a summary based on official documentation.

What changed

Claude Code 2.1.136 shipped on May 8, 2026. It pairs two opt-in settings and a WSL2 paste fallback with a wide round of fixes across auth, MCP, plan mode, rendering, plugins, and slash commands. Several of the regressions are operationally meaningful — MCP servers vanishing after /clear in IDE clients, concurrent OAuth token writes overwriting fresh rotations and triggering login loops, and Edit(...) allow rules quietly bypassing plan-mode write blocks.

New features

  • CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL — re-enables the session quality survey for OpenTelemetry enterprises

    The session quality survey was disabled for enterprises running on OpenTelemetry. Setting this env var brings the survey back in those environments.

  • settings.autoMode.hard_deny — classifier rules that block unconditionally

    Auto-mode classifier rules previously deferred matched actions to a user confirmation step, leaving room for a permissive answer to push through. A rule marked hard_deny blocks the action without prompting — useful where a deny policy needs to be enforced rather than negotiated.

Improvements

  • WSL2 image paste falls back to PowerShell

    Pasting a clipboard image inside WSL2 (Windows Subsystem for Linux 2 — Microsoft’s official compatibility layer that runs Linux distros in a lightweight VM on Windows) failed when neither xclip nor wl-paste were installed. The Bash tool now reaches into the Windows clipboard via PowerShell as a fallback, so paste works on default WSL2 setups.

  • Visual consistency across slash command dialogs

    Spacing and styling are standardized across slash command dialogs.

Bug fixes

Auth & MCP

  • MCP servers disappearing after /clear in VS Code, JetBrains, and Agent SDK — fixed.
  • Login loops from concurrent OAuth token writes overwriting freshly rotated tokens — fixed.
  • MCP OAuth refresh tokens being lost when multiple servers refreshed concurrently — fixed.
  • API 400 when extended thinking emitted redacted blocks after tool calls — fixed.
  • MCP tool results invisible when the server returned content blocks — fixed.
  • /doctor not naming missing MCP schema fields or showing source paths — fixed.
  • /mcp server list not scrolling when the list exceeded terminal height — fixed.

Plan mode & permissions

  • Plan mode failing to block writes when a matching Edit(...) allow rule existed — fixed.
  • Bash permission prompts surfacing parser diagnostics instead of readable explanations — fixed; prompts now show intent in human-readable form.

Sessions, resume & plugins

  • --resume/--continue not finding sessions whose project paths contain underscores — fixed.
  • Env vars loaded by CLAUDE_ENV_FILE SessionStart hooks going stale after /resume — fixed.
  • /clear <name> not labeling cleared sessions in the /resume list — fixed.
  • Worktree exit dialog warning about uncommitted files in the wrong directory — fixed.
  • Plugin operations matching slugs case-sensitively — slugs are now matched case-insensitively.
  • Plugin marketplace removal keybind changed from r (conflicted with retry) to d (matches delete).
  • skills entry hiding the plugin’s default directory and silently failing on file paths — fixed.
  • Plugin slash commands containing spaces not resolving to the namespaced form — fixed.

UI & rendering

  • Colors landing at the wrong positions in bash output and markdown blocks — fixed.
  • ReasonML diffs showing corrupted text at word-diff boundaries — fixed.
  • @ file picker missing files created mid-session and files inside directories with 100+ entries — fixed.
  • Failed tool calls not expanding in fullscreen when output was truncated — fixed.
  • Ctrl+Backspace keyboard mode issues after external editor use on persistent extended-key terminals — fixed.
  • Welcome banner ellipsis causing column overflow on CJK terminals — fixed.
  • Renderer crash when a tool’s collapsibility changed mid-session — fixed.
  • Trailing whitespace in copied terminal output during streaming — fixed.
  • Tool error truncation showing a negative count for surrogate-pair strings — fixed.
  • “Jump to bottom” overlay leaving artifacts on CJK characters in fullscreen — fixed.
  • Wide markdown tables leaving stale borders during streaming — fixed.
  • Pasted text being silently dropped when long prompts were auto-truncated — fixed.
  • Leading space appearing on the second line of wrapped text at the column boundary — fixed.
  • Scrolling to bottom re-engaging auto-follow when autoScrollEnabled: false — fixed.

Slash commands & input

  • /usage weekly reset displaying time instead of a calendar date — fixed.
  • /insights crashing on malformed tool call input fields in history — fixed.
  • /release-notes stuck on the old version after a failed refresh — fixed.
  • /branch saving multi-line titles from pasted names — fixed.
  • /settings language changes reverting on Escape after confirmation — fixed.
  • /terminal-setup only appearing on exact name match — fixed.
  • CronList output missing qualifiers and scheduled prompts — fixed.
  • Mid-input slash command autocomplete not working after the initial command — fixed.
  • Prompt suggestions auto-submitting on Enter instead of requiring Tab/arrow — fixed.
  • Esc not dismissing dialogs in setup commands — fixed.
  • “Chat about this” on dialogs erasing the question text — fixed.
  • AskUserQuestion discarding multi-select array answers — fixed.
  • Keyboard hints not reflecting rebound keys from keybindings.json — fixed.

IDE & misc

  • IDE shell-integration not respecting CLAUDE_CONFIG_DIR — fixed.

Notes

  • OAuth login-loop resolved — concurrent token writes were overwriting freshly rotated tokens, putting users into login loops. The race is fixed; no settings change required.
  • Plan-mode write-block bypass fixed — installations relying on plan mode for review/approval policy should upgrade — Edit(...) allow rules previously slipped past plan-mode’s write blocks.
  • CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL — set this if you run on OpenTelemetry and want the session quality survey to surface again.
  • settings.autoMode.hard_deny — mark a classifier rule hard_deny to make it block without a confirmation step. Useful when a deny policy needs to be enforced.
  • WSL2 image paste — paste now works on default WSL2 environments without installing xclip or wl-paste thanks to the PowerShell fallback.
  • Plugin marketplace removal keybind (rd) — update any docs or runbooks that referenced r as the removal key.