Claude Code 2.1.314
Highlights in this release
New 12
Strictly Restricting Write Directories to Prevent Modifying Files Outside Project Boundaries
When authorizing Claude to modify a project in the terminal, tools might accidentally touch other folders if boundaries are not specifically defined. A new permissions.blockWritesOutsideWorkingDirectories setting has now been added. Once enabled in the configuration file, all writing tools such as Write, Edit, and NotebookEdit will directly refuse to modify paths outside the working directories, regardless of the current permission mode.
```json { "permissions": { "blockWritesOutsideWorkingDirectories": true } } ```
⟦Picture a safety guard mounted on a woodworking workbench: operating tools previously risked shaving clutter beyond the table edge, but now every cutting blade is strictly confined within the tabletop.⟧ When letting tools automatically modify large numbers of files, enabling this setting ensures personal files outside the project are not accidentally changed.
Original changelog
Added permissions.blockWritesOutsideWorkingDirectories: Write, Edit and NotebookEdit refuse paths outside the working directories in every permission mode
Automatic Summaries for Idle Conversations, Major Cloud Platform Support, and Hook Safeguards
Leaving long conversations sitting aside in an editor often consumes extra processing resources due to excessive length when asking follow-up questions. VS Code and Claude Desktop have added an idle compaction mechanism. Whenever a conversation exceeds 200,000 tokens (text units processed and billed by AI) and sits idle, the system generates a summary in advance. ⟦Imagine an accounting firm binding vouchers during lunch break: scattered case files previously slowed down audits, but now outdated receipts are condensed into summary sheets during breaks away from desks, letting accountants reconcile accounts immediately upon returning.⟧ Once the cache expires, your next message will directly use this summary. This mechanism is now also available for users with telemetry turned off, as well as Bedrock, Vertex, Foundry, and major gateways with one-hour caching enabled. If output from pre-compact hooks (small programs triggered by specific events) is too large, the content is strictly truncated to 10,000 characters to prevent compaction failures.
Original changelog
Added idle compaction to VS Code and Claude Desktop's Code tab: a 200K+ token conversation left idle is summarized, and the summary is used on your next message if the prompt cache has expired
Fixed a PreCompact hook with very large output making compaction fail or repeat; each hook's output is now cut at 10,000 characters
Changed idle compaction to also run for subscribers with telemetry turned off, and on Bedrock, Vertex, Foundry and LLM gateways once the one-hour prompt cache is on
Auto-Downgrade to Guest on Expired Tool Credentials and Faster Lookups for Thousands of Tools
When projects connect many external extensions, expired login credentials often prevent publicly available functions from being invoked. Now, even if stored sign-ins on MCP (a protocol connecting AI to external tools) servers stop working, as long as the server works without sign-in, it will automatically operate signed out instead of halting on authentication errors. When a locked keychain prevents credentials from being removed during SSH connections, running claude mcp logout no longer falsely reports success. ⟦Much like visiting an open exhibition hall, where an expired membership card previously barred entry at the front doors, guests with invalid credentials are now issued visitor wristbands to view the permanent exhibits.⟧ In addition, when a session mounts ten thousand or more extension tools, typing /context to inspect the environment is significantly faster.
Original changelog
Fixed MCP servers that also work without sign-in showing "needs authentication" after their stored sign-in stopped working; they are now used signed out
Fixed claude mcp logout reporting success when the MCP sign-in was not removed, for example while the macOS keychain is locked over SSH
Improved /context speed in sessions with ten thousand or more MCP tools
Strict Workspace Trust Checks and Required Confirmation for Modifying Managed Settings
In automated integration workflows or team collaborations, tools reading untrusted code without boundaries can pose severe security threats. In continuous integration environments with a terminal, when CI is detected in environment variables, running reviews or remote control will immediately abort if a directory is untrusted, instead of prompting for confirmation. Typing /ultrareview in the terminal also verifies workspace trust before executing Git commands. ⟦Think of an automated guard post on duty: upon detecting unauthorized visitors it immediately drops the gate, and operator passwords must first be verified before servicing a confidential headquarters console.⟧ In addition, when file tools attempt to modify the locally cached copy of an organization's server-managed settings, they must first obtain your confirmation, following the strict standards applied to personal configuration files.
Original changelog
Fixed claude ultrareview and claude remote-control asking the workspace trust question in a CI job that has a terminal; with CI set they now refuse an untrusted folder at once
Changed Claude's file tools to ask before editing the local copy of your organization's server-managed settings, as they do for your settings files
Changed /ultrareview to check workspace trust before it runs git, as claude ultrareview does
Handle multi-session credential locking smoothly and guide mobile subscription upgrades
Running multiple local sessions simultaneously or subscribing through different channels can halt work if account authentication conflicts arise. When several sessions share the same login profile, a busy credentials lock no longer triggers unnecessary duplicate renewal cycles. For subscriptions billed through mobile app stores, entering /upgrade no longer opens a browser to force a fresh sign-in, but instead explains directly where to modify your plan. ⟦Colleagues sharing a project badge enter a restricted building without repeatedly re-verifying credentials at the gate, while members signed through special channels receive direct renewal instructions.⟧ When a cloud session encounters an account access refusal, error messages proactively suggest running claude auth login to re-authenticate. Stored credential application has also been refined for situations where mobile device management and remote settings disagree on endpoints.
Original changelog
Fixed extra sign-in renewals when several sessions share an Anthropic profile login and the credentials lock is busy
Fixed /upgrade opening the browser and starting a new login for plans billed through the App Store or Google Play; it now says where to change the plan
Improved the cloud session error shown while a request refused for your claude.ai login is still being retried: it now also suggests claude auth login
Improved the behavior of stored claude.ai, Team, and Enterprise logins when MDM and remote settings differ on base URL or apiKeyHelper
Label blocked commands clearly in auto mode and avoid false blockage reports
When allowing tools to run tasks autonomously in auto mode, clear status indications help you troubleshoot roadblocks quickly whenever commands get intercepted. Commands blocked by rules or hooks previously looked like they had finished executing inside collapsed lists, but are now clearly labeled as not having run. When safety checks reach no definitive conclusion, auto mode no longer assumes calls are blocked and stops inserting them into permission lists. When a command is blocked, prompt messages explicitly name the command, explain that the assistant may retry and check again, and direct you to enter /permissions to review. In Cowork cloud environments, when hooks approve external tools, classifiers or confirmation prompts now take over the final decision. While blocked command statuses previously caused confusion, interception states are now immediately clear, giving users precise insight into review outcomes for every command.
Original changelog
Fixed shell and MCP calls that auto mode, a deny rule or a PreToolUse hook blocked, or that otherwise did not run, reading as if they ran in a collapsed tool group
Fixed auto mode reporting a call as blocked, and listing it in /permissions, when its safety check gave no verdict
Improved auto mode's blocked calls: messages name the command, say Claude may retry and auto mode checks again, and point to /permissions to review
Changed auto mode in Cowork cloud sessions: a hook's allow of an MCP tool call now counts as no answer, so the classifier or a permission prompt decides
Preview file changes in design sync and switch data visualization to bar charts
When invoking specialized skills to generate charts or synchronize project designs, clearer prompts and more professional charts save back-and-forth confirmation time. When entering /design-sync to sync designs, the confirmation prompt lists the destination folder, project name, and files scheduled for upload or deletion in detail. When faced with requests for pie or donut charts, the bundled data visualization skill now recommends using ranked bar charts or stacked bars that display numeric values, while advising fully labeled axis ticks when number lengths permit. ⟦Similar to a renovation team starting on site, the checklist clearly marks incoming materials and teardowns before work begins, while blueprints switch to linear scales to eliminate the reading errors of circular charts.⟧ In addition, the API skill updates its Datadog tracing header to match the Console, simplifies installation steps, and proactively requests reading the full workflow before modifying managed agents.
Original changelog
Improved the /design-sync upload prompt to show the folder, the project and the files it will upload or delete
Updated the /claude-api skill: its Datadog setup for API tracing now sends the dd-llmobs-enabled: true header, as the Console does, and its ant install instructions drop the outdated macOS xattr step
Updated the bundled dataviz skill to advise printing y-axis tick labels in full under 10,000, and horizontal ones in full under a million where they fit
Updated the bundled dataviz skill to answer donut and pie chart requests with ranked bars or a segmented bar that prints its values
Changed the claude-api skill to ask to read a Managed Agents workflow run's workflow before changing the agent to improve that run
Show shortcut actions in permissions list and reject blind approvals in small windows
When reviewing sensitive commands about to be executed by tools, insufficient screen space or unclear shortcut behavior can easily lead to accidental approvals. On the /permissions review page, the tab is officially named Recently blocked, and the footer clearly explains how pressing Esc affects marked rows. When a terminal window is too small to read the full command, the system directly refuses approval to prevent blind clearance with incomplete information. ⟦During invoice sign-offs, managers who once saw long text push critical numbers off the paper now get a clean layout, while any truncated attachment is rejected outright until made whole.⟧ In addition, permission request prompts reduce the row footprint of long reasons, preserving more screen space on shorter terminals to display commands awaiting approval in full.
Original changelog
Improved /permissions review tab, now called Recently blocked: the footer says what Esc will do with marked rows
Improved permission prompts: a long reason takes fewer rows, so it pushes the command being approved off the screen on fewer terminals
Changed /permissions Recently blocked to refuse approving a call you can't read in full, including one the terminal is too short to show
Alert on VS Code extension errors and preserve missed one-time scheduled tasks
When using the AI assistant in VS Code to manage schedules or groups, silent background failures leave configuration states out of sync. When clearing authentication credentials for MCP servers fails, the system no longer falsely reports success. If session group changes cannot be saved (such as a failed group deletion), the system actively displays an error notification instead of failing silently. Furthermore, when launching the extension without an open chat, previously missed one-time scheduled tasks are no longer deleted without asking, keeping pending items intact. While failed state changes in the editor previously risked misleading users into thinking they took effect, all modifications now report accurately, and scheduled tasks remain well protected.
Original changelog
[VSCode] Fixed "Clear authentication" for MCP servers reporting success when the saved sign-in could not be removed
[VSCode] Fixed session group changes that cannot be saved, such as a delete, failing silently; an error notification now appears
[VSCode] Fixed missed one-time saved scheduled tasks being deleted without asking when the extension opened without a chat
Support voice dictation on non-Latin keyboards in VS Code and enable search shortcuts in plan preview
When collaborating with the assistant inside the VS Code development environment, malfunctioning shortcuts can severely disrupt development flow. In the plan preview tab, pressing Cmd+F or Ctrl+F now smoothly opens the search widget. When using non-Latin keyboard layouts such as Russian, Greek, or Hebrew, the voice dictation shortcut (Ctrl+D) reliably triggers recording as expected. While a queued message executes hooks, the interface properly displays the spinner and Stop button. In addition, setting CLAUDE_CODE_DISABLE_CFC_PROMPT stops injecting browser extension prompts into session messages while fully preserving access to browser tools. Whereas multilingual keyboards and plan preview tabs previously ran into snags, auxiliary inputs and interface controls now respond properly across the board.
Original changelog
[VSCode] Fixed missing spinner and Stop button while a queued message's hooks run
[VSCode] Fixed Cmd+F / Ctrl+F not opening the find widget in the plan preview tab
[VSCode] Fixed the voice dictation shortcut (Ctrl+D) doing nothing under non-Latin keyboard layouts such as Russian, Greek or Hebrew
[VSCode] Changed CLAUDE_CODE_DISABLE_CFC_PROMPT to also stop the extension adding the Claude in Chrome instructions to a session's messages; the browser tools stay available
Quickly reveal completed scheduled tasks and enable scrolling for self-hosted environment lists
When monitoring large volumes of automated schedules and self-hosted environments in cloud management platforms, interface usability directly impacts configuration efficiency. On the Scheduled tasks page, when completed one-off tasks are the only ones hidden, you can now directly click a new button to include completed items without opening the Sort menu. When creating a new session, recently used self-hosted environments reliably appear on the recommendation card. The environment details dialog in admin settings now supports scrolling, keeping content within view even in short windows or under high zoom levels. ⟦Reviewing work orders at a logistics hub, dispatchers can expand historical logs without opening nested archive menus, and shrinking the monitor still lets them smoothly scroll through each vehicle's configuration.⟧ Scheduled tasks running in the cloud automatically load plugins enabled on the account, and testing GitHub Enterprise connections now simulates the cloud environment for secondary verification.
Original changelog
[Cloud sessions] Added an Include completed button to the Scheduled tasks page when finished one-off tasks are the only ones hidden, so you can show them without opening the Sort menu
[Cloud sessions] Fixed recently used self-hosted environments never appearing among the recent environments on the new session card
[Cloud sessions] Fixed the self-hosted environment details dialog in admin settings squeezing its content out of view in very short windows or at high zoom; the dialog now scrolls
[Cloud sessions] Improved scheduled tasks: runs in Anthropic's cloud now load the plugins enabled on your claude.ai account
[Cloud sessions] Improved Test connection for GitHub Enterprise in admin settings to also connect the way cloud sessions do, and to warn you when that second test fails
Link documentation in Claude Tag admin settings and retain unsaved edits on retry
When administrators configure tagging tools for teams in a Slack integration, form stability in admin settings is essential. Enterprise organizations with Slack connected now see a dismissible link to API documentation on admin settings tabs, making integration guidelines easy to consult at any time. On plugin and skill configuration pages, clicking Retry after a failed load preserves previously unsaved access changes in input fields instead of wiping them out upon reloading. In addition, the repositories control fixes an issue where menus listed identical actions twice, so the menu now lists only functions not already covered by the primary button. While retrying connections when configuring permissions previously risked losing manual input, form state is now more resilient and menu options are far more precise.
Original changelog
[Claude Tag] Added a dismissible link to the Claude Tag API docs on the Bundles and Channels tabs in admin settings, for Enterprise organizations with Slack connected
[Claude Tag] Fixed Retry on plugin and skill pages in Claude Tag admin settings discarding unsaved access changes after a failed load; your edits now stay in place
[Claude Tag] Fixed the repositories control in Claude Tag admin settings showing the same action twice; its menu now lists only what the button doesn't already do
Fixed 18
Application Gateways Support Group Routing, Refined Guardrail Logging, and Timeout Fixes
When routing requests through an application gateway inside an enterprise, teams often need to divide routes based on developer identities. Gateway upstreams now add an optional group list so only developers in identity provider groups are directed to the designated upstream, maintaining the same rule during failover. For Amazon Bedrock upstreams, a new guardrail trace setting logs which safety filter fired without printing the matched text. In addition, an issue where a Vertex upstream hung for minutes when a Google credential endpoint was unresponsive has been fixed, and the startup warning message for expired keys was also corrected. ⟦Like airport customs dividing lanes by passport category, only travelers with designated identities can use the dedicated inspection lane, and the same security standards are maintained when switching transfer counters.⟧
Original changelog
Added an optional groups list to Claude apps gateway upstreams: only developers in the listed IdP groups are sent to that upstream, on failover too
Added guardrail_trace to Claude apps gateway Bedrock upstreams, to log which Amazon Bedrock guardrail filter fired on a request, without the matched text
Fixed a Claude apps gateway Vertex upstream hanging for minutes when a Google token endpoint accepts the connection and never answers
Fixed the Claude apps gateway's start-up warning for a deprecated Claude Desktop key that it still serves as written saying "stops being accepted" after the key's end date
Adapting to Organization Effort Caps and Auto-Switching to Compatible Models on Missing Deployments
When teams place restrictions on model access, sessions often abruptly halt due to parameter limits or missing deployments. If an organization administrator caps thinking effort, invalid parameters now automatically trigger a lower effort level, a retry, and a notice stating the level used. When Microsoft Foundry lacks a deployment for the default model, the system automatically falls back to an older model in the same family. After managed settings pin a model, Bedrock and Vertex will no longer display upgrade prompts on every startup. Even if a personal plugin manifest is broken, model switching is no longer blocked. In addition, restoring or resuming a session preserves unrecognized custom model names, and flagged requests will attempt to retry on another available model if settings permit. Where switching or resuming models in strictly managed environments previously threw errors and halted, the system now autonomously finds compatible configurations to keep conversations flowing smoothly.
Original changelog
Fixed sessions failing turn after turn with "Invalid effort level" when an organization's admin caps a model's effort: Claude Code now lowers the effort, retries, and says which level it uses
Fixed Microsoft Foundry sessions failing when the resource has no deployment for the default Sonnet, Opus or Haiku model: Claude Code now falls back to an older model of that family
Fixed model switching being refused on machines with managed plugin settings when one of your own --plugin-dir or --plugin-url plugins had a broken manifest or failed to download
Fixed the Bedrock and Vertex model upgrade offer coming back at every start when managed settings pin the model
Fixed --resume, and rewinding past a switch to another model after a refusal, moving a session on a model name Claude Code doesn't recognize to a different model
Changed flagged requests to retry on another model, not end in a refusal, when ANTHROPIC_DEFAULT_OPUS_MODEL, availableModels or deniedModels leaves only an older Opus model, or none
Command-Line Non-Zero Exit Code Fix, Certificate Verification, and Background Execution
When calling command-line tools in scripts or automated pipelines, failing to report errors correctly often misguides debugging efforts. When startup fails with claude -p, the tool now prints the error cause and exits with code 1 instead of silently returning success. When a renewed root certificate in the system certificate store (a repository holding root certificates) is cross-signed by its predecessor, TLS connections no longer fail due to missing issuers. Background daemon startup failures are also no longer misreported as deleted binaries. Additionally, prompts containing command output tags acknowledge correctly to the local host, and setting FORCE_HYPERLINK to false, no, or off turns off terminal hyperlinks.
Original changelog
Fixed claude -p exiting with code 0 and no output when startup failed; it now prints the error and exits 1
Fixed TLS connections failing with UNABLE_TO_GET_ISSUER_CERT when the system certificate store holds a renewed root certificate that is cross-signed with its predecessor
Fixed prompts containing tags such as <bash-stdout> or <local-command-stdout> not being acknowledged to a local stream-json host
Fixed background sessions that fail to start being reported as a deleted daemon binary when the binary is still on disk
Changed FORCE_HYPERLINK=false (also no and off) to turn hyperlinks off instead of on
Handling Long Documents and Multiple Images with Proactive Notices for Unread Content
Once conversations receive large numbers of screenshots or long documents, oversized inputs often cause remote tools to silently miss information. When too many images accumulate in Bedrock sessions, compacting now actively removes older images to reduce length smoothly, rather than getting stuck on input-too-long errors on every turn. When connecting via SSH to a remote Linux host, attempting to paste an image directly now prompts you to copy the file over and paste its path instead of doing nothing silently. ⟦Just as a courier dispatch center handles overweight packages, where previously overfilled boxes were rejected outright or items were quietly withheld, staff now proactively repack shipments into separate parcels and clearly note unincluded items on the manifest.⟧ When using web fetching tools to read PDFs in Cowork cloud sessions, if text exceeds 100,000 characters, the tool proactively explains how much content was unread and how to continue reading.
Original changelog
Fixed Bedrock sessions with many images failing every turn and /compact with "400 Input is too long." instead of removing older images and compacting
Fixed pasting an image over SSH to a Linux machine doing nothing silently; the prompt now says to copy the file over and paste its path
Fixed WebFetch in Cowork cloud sessions silently dropping a PDF's text past 100,000 characters; it now says how much was unread and where to read on
Enterprise Gateway Forwarding Compatibility, Backoff Settings, and Custom Model Recognition
Many teams route requests through custom gateways, where forwarders lacking support for certain beta headers often cause connection failures. If a gateway cannot process reference blocks in tool searches, the session automatically retries once without that block and remembers this preference to avoid repeated rejections. When a cloud provider or gateway explicitly rejects specific beta headers, the request is automatically resent with the header removed. ⟦Consider international packages clearing transit stations: when scanners fail to read special barcodes, handlers strip auxiliary labels to reweigh parcels and record the station's clearance conventions on the log card.⟧ Furthermore, custom models with dots in their names (such as claude-opus-4.8) are no longer misidentified as older models, correctly applying context window sizes, output limits, and billing configurations.
Original changelog
Fixed repeated refused requests behind a gateway that doesn't accept tool search's tool_reference blocks: the request is sent again once without tool search, and the session remembers
Fixed requests failing when a gateway or cloud provider refuses one of Claude Code's beta headers by name: the request is sent again without it
Fixed model IDs spelled with a dot behind an LLM gateway, such as claude-opus-4.8, being treated as an older model with the wrong context window, output limit, effort, thinking mode and cost
Strengthening Managed Enterprise Policies to Prevent Dropping Security Rules While Offline
When administrators configure unified security policies for team members, settings should not fail due to offline states or client differences. Administrator TLS certificate trust rules specified in managed settings now apply reliably to Claude Desktop sessions. When forced remote refresh is configured, sessions will no longer start without protection if the local cache has expired and the server cannot be reached. Configuration files explicitly excluded via --setting-sources will have their internal auto mode rules and authorization records completely ignored. Furthermore, when organizational policies disable cloud sessions or remote control, related prompt notices are completely hidden. Where expired settings or switched execution environments previously created policy loopholes, administrative boundaries now remain fully enforced regardless of connection status.
Original changelog
Fixed an administrator's TLS trust settings in managed settings not being applied in Claude Desktop sessions
Fixed forceRemoteSettingsRefresh set only in remote managed settings no longer applying once the stored copy had expired, which let sessions start without policy when the server could not be reached
Fixed a settings file excluded with --setting-sources still supplying some settings, such as auto mode rules and saved permission consents
Fixed the cloud sessions tip and the Remote Control idle notice showing when an organization's policy turns those features off
Limit quota retries and notify when interrupted commands may have run
When letting scheduled or background tasks run on their own without proper braking mechanisms, the system can spin uselessly after exhausting its quota. At usage limits, the "Continue automatically at usage limit" feature is now strictly capped at three automatic retries without a new prompt, preventing goal check-ins or background tasks from restarting indefinitely. If you turn off Ultracode in background or cloud sessions, it reliably stays off on the next launch rather than turning itself back on. In addition, when you interrupt a command in cloud sessions or the IDE using Esc or the Stop button, notifications no longer just report that the command was declined, but clearly warn that parts of the code may have already executed. While interrupted tasks previously risked misjudging environment states or looping through retries, the system now enforces strict retry limits and gives the assistant a realistic view of command execution progress.
Original changelog
Fixed "Continue automatically at usage limit" continuing more than three times without a prompt from you when a task restarted itself between waits (a /goal check-in, a background or scheduled task)
Fixed background and cloud sessions started with Ultracode turning it back on at their next start after it had been switched off
Fixed Claude being told only that a command was declined after you stopped it with Esc or Stop in a cloud session or the IDE; it now also hears that the command may have run
Stabilize streaming table layouts and clean leftover artifacts from failed retries
When viewing long assistant responses streamed in the terminal, flickering displays or leftover fragments disrupt the reading experience. When a tool call cannot be parsed and is ultimately abandoned, the conversation no longer retains broken replies and retry prompts. Streaming Markdown tables no longer jitter between grid and stacked layouts on unfinished rows, nor do very long tables fall back to raw pipe characters. ⟦A printing press calibrates its cylinders during high-speed proofing: while incomplete sections previously caused misaligned layouts and ink spills, fresh inking is now crisp and uniform, and scrapped proofs are cleared away immediately.⟧ Blank lines at the start of code blocks no longer vanish inside quotes, and viewing transcripts with Ctrl+O avoids extra blank lines above folding markers. Additionally, restoring a conversation while scrolled up no longer leaves the fullscreen transcript frozen midway through an unfinished view.
Original changelog
Fixed the last broken reply and its retry prompts staying in the conversation after Claude gave up on a tool call that could not be parsed
Fixed markdown tables jumping between grid and stacked layouts on half-typed rows while streaming, and long tables falling back to raw pipes
Fixed blank lines at the top of a code block disappearing when the code block opens a quote
Fixed a blank line appearing above some ⎿ rows in the transcript view (Ctrl+O)
Fixed the fullscreen transcript being left mid-conversation after "Restore conversation" in the rewind menu while scrolled up
Prevent background diffs from locking Git, cap trash folders, and lighten file watching
When saving files frequently in large projects, background tools that consume excessive system resources can interfere with routine version control. Background diff generation no longer contends for lock resources with Git commands running in your terminal after previously locking the Git index briefly. Trash directories for skills and plugins now have a capacity cap of about 1024 entries, and the file watcher stops scanning discarded files inside trash to lighten disk overhead. ⟦Cleaning staff restock supplies backstage without hogging carts in main corridors and routinely empty disposal bins to ensure front-stage traffic flows unimpeded.⟧ Editing files in projects with newline conversion enabled will no longer misidentify an entire file as modified after a single-line edit. Searches on macOS now switch to the C locale, preventing regex (syntax that matches text patterns with symbols) libraries from leaking memory when reading non-UTF-8 files.
Original changelog
Fixed background diff refreshes briefly taking the repository's index lock, which could make a git command run at the same moment fail with "Unable to create '.git/index.lock': File exists"
Fixed the skill file watcher checking every removed skill kept in ~/.claude/skills/.trash, which added file system load that grew with each removal
Fixed ~/.claude/skills/.trash and ~/.claude/plugins/.trash growing without limit: each now holds about 1024 entries, whatever cleanupPeriodDays says
Fixed the Bash edit diff listing a whole file as changed when a CRLF file under git's line-ending conversion was re-saved unchanged or had one line edited
macOS: Changed git grep in most commands that Claude runs to use the C locale, to avoid a reported memory leak in macOS's regex library on files that aren't valid UTF-8
Generate session titles automatically, retain renames, and clean resume lists
When juggling tasks across multiple terminal windows, session lists that fail to identify conversations clearly waste valuable time searching around. Sessions that start with a specific skill or command are now automatically named after that command, avoiding remaining permanently untitled even if the initial prompt fails. When running slash commands, the session picker no longer mistakenly grabs contents from documentation files as session titles. Names set via /rename now persist while waiting for permission confirmations, keeping side-by-side windows easy to distinguish. Deleted transcripts no longer reappear unexpectedly, and restoring conversations with --resume offers noticeable improvements in speed and memory usage when handling damaged transcript files. While session lists previously suffered from blank entries or misplaced filenames, conversations are now named accurately so parallel workflows remain clear across windows.
Original changelog
Fixed the /resume picker showing the text of CLAUDE.md or CLAUDE.local.md as a session's title when the session only ran slash commands
Fixed a rare case where a deleted session could reappear in the resume list as an almost empty entry
Fixed sessions staying untitled when the first prompt failed (for example on a usage limit) and the conversation continued afterward
Fixed the session name from /rename disappearing while Claude asks for permission or a plan decision, so side-by-side sessions stay identifiable
Improved session auto-titles: a session that starts with a skill or a prompt-based command such as /security-review now gets a title from it instead of staying untitled
Improved --resume speed and memory use on damaged transcripts
Isolate subagent interactions, fix keystroke misfires, and release background memory
Launching subagents for deep debugging or background research can accidentally halt active tasks if controls between the main view and background jobs get tangled. Entering /btw from a subagent transcript view now answers using that subagent's context, and pressing Esc no longer mistakenly interrupts a subagent running in the background. The top of the fullscreen view correctly displays the model running that subagent instead of the model from the main conversation. Key selections in the agent panel fix issues where list changes caused actions to target the wrong member. During long runs in headless mode (execution without a terminal visual interface) and software development kits, the main session no longer hoards tool results from finished subagents, noticeably reducing memory footprint. In addition, the configuration menu now includes instructions on how to disable opening the agent view by default. Where coordinating multiple agents once led to mistargeted keystrokes or memory bloat, clear boundaries across the interface make prolonged multi-agent execution reliable.
Original changelog
Fixed /btw answering from the main conversation when asked from a subagent's open transcript
Fixed x and Enter in the agent panel sometimes acting on the wrong agent when another agent started or finished
Fixed Esc on a command's panel, such as /btw, also interrupting the subagent whose transcript is open
Fixed the welcome header in fullscreen mode showing the session's model while viewing a subagent or teammate that runs on a different model
Improved memory use in long headless and SDK turns that run many subagents: the parent session no longer keeps each subagent's tool results until the turn ends
Improved /config in agent view to say how to stop agent view opening by default
Strengthen Remote Control retry logic and sync real permission modes on open
Connecting remotely to a local machine via mobile phone or another device can make granting permissions uneasy if connections lag or show inaccurate states. When starting a session with claude remote-control during momentary server slowdowns, worker registration now automatically retries with increasing intervals to prevent connection failures. Switching models taking over 8 seconds waits normally for final responses without throwing premature timeout errors. Clients no longer retain stray summary prompt rows after compacting conversations, and permission mode buttons immediately display their true state as soon as connections open instead of waiting until text is typed. ⟦Operators running an unmanned remote station back off retry intervals during shaky connections, while the dashboard aligns with current gear on connection instead of displaying stale indicator lights.⟧ Furthermore, idle reminders for push notifications no longer appear when organizations disable remote control or push settings are hidden.
Original changelog
Fixed claude remote-control sessions that failed to start when the session service was slow for a moment: the worker's registration is now retried with growing waits
Fixed model switches over Remote Control that take over 8 seconds getting a "still pending" error instead of the final result
Fixed Remote Control clients showing a stray "Compacted (ctrl+o to see full summary)" row after /compact
Fixed the tip and idle reminder about push notifications appearing when the push settings in /config are hidden or your organization has turned off Remote Control
[Remote Control] Fixed the permission mode button in Remote Control sessions showing the wrong mode until you typed; while your computer is online it now shows the real mode on open
Extend sandbox coverage to branch copies and filter monitor commands with hooks
When testing unverified scripts in isolated branches, security sandboxes must thoroughly cover all derivative working environments. Sandbox protections now apply strictly when entering a worktree (a Git feature for running multiple parallel copies of the same project) via resumption flags. Setting descriptions have been clarified to state that every command in a call must match the list to run outside the sandbox. Commands launched by monitoring tools now properly trigger Bash hooks for blocking or prompting, and hook conditional logic adds syntax support for matching monitor commands. In addition, the Bash tool strips inherited command aliases and functions. Where running commands in branch copies or specialized tool environments once risked escaping security oversight, environmental isolation is now thorough and protects system logic from custom aliases.
Original changelog
Fixed the sandbox.excludedCommands setting description saying listed commands always run outside the sandbox; it now says every command in a call must match an entry
Fixed sandbox protections not applying to a worktree entered by claude -p --resume or --continue
Fixed hooks matching Bash not running on shell commands started by the Monitor tool; such hooks can block or ask, but not approve or rewrite those commands
Changed the Bash tool's shell to clear any inherited which alias or function and to stop passing exported which/unsetenv functions to commands, so which is the system command or zsh builtin
Changed hook if conditions such as Monitor(tail *) to match the Monitor tool's shell commands as Bash(tail *) matches Bash's
Allow cloud sessions to launch on script errors and format environments into tables
When delegating tasks via cloud services, minor glitches during initialization or branch synchronization could previously terminate sessions prematurely and prevent inspection. Cloud sessions from web, desktop, or mobile devices now launch normally for debugging even if setup scripts return error codes. Resuming conversations no longer triggers unexpected model calls simply because a background worker recently received files. Switching branches avoids reporting uncommitted changes on every turn due to pushes from other worktrees. When permission mode switches are declined, the menu faithfully reflects the mode currently in effect. ⟦Technicians entering an engineering test chamber can still step inside for repairs even if pre-check ventilation triggers a warning light, while the console organizes complex metrics into neat tables.⟧ Additionally, rename entries in transcripts display new titles directly, and repository and environment listings appear in tidy tables instead of cluttered single lines.
Original changelog
Fixed a resumed claude.ai cloud session making a model call nobody asked for when the previous worker stopped just after receiving a new chat's files
[Cloud sessions] Fixed cloud sessions reporting uncommitted changes every turn after Claude moved a branch to a commit it had pushed from another worktree
[Cloud sessions] Fixed the permission mode picker staying on Auto after a running cloud or Remote Control session refused the switch; it now shows the mode in use and tells you
[Cloud sessions] Improved cloud session transcripts: a rename row now names the new title, and repository and environment lists show as a table instead of one line of JSON
[Cloud sessions] Changed cloud sessions from the web, desktop and mobile apps to start even when a setup script exits with an error, instead of failing to start
Fix Vim mode overshooting line ends, paste whole lines accurately, and preserve line breaks
When using Vim shortcuts to edit prompt input, cursor actions that exceed expected boundaries often accidentally modify text on the next line. Commands such as dw, dW, yw, and yW are now strictly confined to the current line instead of carrying past the end of the line. Moving forward with w or W stops properly on empty lines. Selecting words with text objects aw and iw no longer accidentally absorbs trailing line breaks at the end of the line. In addition, pressing p to paste over a character selection faithfully recognizes whether the clipboard holds whole lines or partial text, accurately restoring full lines. While editing commands in Vim mode inside the terminal previously risked accidentally deleting neighboring lines, word boundaries and multi-line pasting now adhere cleanly to standard editing conventions.
Original changelog
Fixed vim mode dw, dW, yw and yW carrying on past the end of the line, and made w and W stop on empty lines
Fixed vim mode p over a character selection ignoring whether the yanked text was whole lines
Fixed vim mode aw and iw taking the line break at the end of a line
Fix lost pastes in prompts and support collapsed long text pills in history search
When pasting long logs or dragging file paths into the prompt, having content vanish forces you to start over and copy again. In Claude's question dialog, pasting text or dragging files directly no longer loses content even when focus is not on the "Other" row. Pasted text is also reliably routed to the input box when a specific row in the prompt footer is selected. Pressing the down arrow to browse downwards no longer selects hidden items covered by the help menu or command list. ⟦In a quick-note folder, filed drafts tucked into sleeves once hid from searches, but now clipped notes are never misplaced and keyword lookups peer straight through the sleeves.⟧ In addition, pressing Ctrl+R in the terminal to search prompt history now matches text collapsed inside pasted text pills.
Original changelog
Fixed pasted text and dragged-in files being lost in Claude's question dialog unless the "Other" row had focus
Fixed pasted text being lost when a row in the prompt footer was selected
Fixed ↓ selecting footer items hidden by the ? help menu, the command list or a paste hint
Improved prompt history: Ctrl+R now matches text inside collapsed [Pasted text] pills
Protect disconnected self-hosted runner pauses and provide clear fixes for unpushed branches
When using self-hosted runners to run sessions, brief network drops or unsynced branches often create debugging difficulties. When an idle session requests to pause, if the runner loses its connection before receiving official confirmation, the system now enters a paused state safely instead of mistakenly migrating the session to another runner. When the branch specified for a session is not found on the remote Git repository, the error message now covers cases where the branch was never pushed, providing corresponding remediation steps for each situation rather than blindly suggesting a retry. ⟦When a tradesperson steps away from the workbench, the site stays on standby instead of passing unfinished pieces to another crew, and missing blueprints point directly to the right cabinet instead of prompting blind retries.⟧
Original changelog
Self-hosted runner: Fixed an idle session moving to another runner instead of pausing when the runner's request to pause it lost its connection before Anthropic answered
Self-hosted runner: Improved the error shown when a session's branch isn't on the git remote: it now covers a never-pushed branch, says how to fix each case, and no longer suggests retrying
Fix cross-workspace Slack restarts and post thread notices while waiting for runners
When collaborating with Claude directly in Slack team channels, unstable permissions and message synchronization across enterprise groups can easily disrupt communication. Entering @Claude !restart in channels shared across workspaces automatically retries once if a check fails, guiding you to run it again when necessary. Connecting accounts repeatedly via the same link within a short window no longer sends duplicate confirmation direct messages or channel notifications. ⟦Serving as an intelligent assistant in a multi-party conference, it actively retries when connections drop and posts status updates while waiting in server queues instead of sitting in silence.⟧ When a session waits for a self-hosted runner in the background, it actively posts a wait notice in the thread so members know the task is queued rather than frozen. In external shared channels where both organizations have installed Claude, it also responds normally to tags inside dedicated threads.
Original changelog
[Claude Tag] Fixed @Claude !restart giving up after one failed workspace check in channels shared across Enterprise Grid workspaces; it now retries, then asks you to run it again
[Claude Tag] Fixed a second confirmation DM and channel note when you connect your Claude account from Slack twice from the same link within a few minutes
[Claude Tag] Fixed follow-up messages in Slack showing no sign of progress while Claude's session waits for a self-hosted runner; Claude now posts a wait notice in the thread
[Claude Tag] Fixed Claude sometimes not answering a tag in its own thread in Slack Connect channels where both organizations have installed Claude