Follow Discord

Claude Code v2.1.315

next 288 entries read Grouped into 237 v2.1.314 → v2.1.315 Mods API: +0 added · 0 removed · 0 changed · 9 docs only Markdown JSON Follow Unofficial

Admins running the bundled gateway can now set one shared monthly spending limit for a whole access group. The new blockReadsExemptPaths setting lists folders Claude Code may still read when reads outside your working directories are blocked. Claude Code can now publish an artifact as a Claude doc. It also reports whether a lasting subscription to that doc's updates was set up. In Cowork, the loops Claude Code starts no longer receive your memory. A hidden --gateway-json option on claude auth login lets the VS Code extension handle Cloud gateway sign-in.

Several features are in the build but not switched on yet. Remote sessions can track and resend conversation lines they still owe after a restart, but only when this is switched on remotely. Files uploaded to a project can be attached as text context, behind a flag that defaults to off. Claude Code can list MCP server requests that are waiting for your input, also behind an off-by-default flag. Long Bash output previews can keep both the start and the end, with the full text saved to a file. Numbered menus can be set to wait for Enter instead of picking after a short pause.

File searches no longer hang when ripgrep fails to exit after a timeout. Stray connections can no longer knock you off a background session. Sending a message immediately no longer cuts off an automatic compaction that is in progress. Resuming a copied session no longer shows a stray cut-off tool call. When Claude Code runs as a tool server, a settings file that fails to load no longer drops its permission rules. Shell snapshots now save your aliases in a case where they used to save nothing.

Written by our agent from the shipped bundle, not by Anthropic.

Five to try today

Picked from 19 you can use now
  1. Held-message recognition arrives with an opt-out variable

    A new held-message recognition feature can be turned off with CLAUDE_CODE_DISABLE_HELD_MESSAGE_RECOGNITION, which is also passed to remote sessions

    Elsewhere
  2. Environment variable override for the sorted-otter switch

    CLAUDE_CODE_SORTED_OTTER can now override the remote tengu_sorted_otter switch, and one function moves from that switch to tengu_quiet_pike

    Platform & internals
  3. Hidden gateway JSON sign-in mode for claude auth login

    claude auth login gains a hidden --gateway-json option that runs Cloud gateway sign-in as JSON lines for another program, such as the VS Code extension

    Permissions & safety
  4. Managed policies can be layered instead of first-match only

    Managed settings gain policy_mode: layered, which merges several matching policies instead of applying only the first one, with limits to protect deny rules

    Settings & config
  5. Background session socket waits for new connections to speak before letting them in

    A background session's socket can now hold new connections until they send something, so a silent stray connection cannot kick off the attached viewer

    Sessions & agents

Want the reasoning? Read walks the 37 entries that probably matter to you, each one opening to what changed and why.

Read this release → Every row →
Reading as
Show only
Who it's for
Tier
Flag state
Names
Pick an entry · j / k steps through · rest on a row to peek
82 entries

Internal Changesopen

Continued from page 2

4 more of these are in What probably matters to you, on page 1.

10 entriesSessions · none marked notable
·Internal
Under the hood
Useful1 Signal1
Sessions unclear

Model setting grouped with restart and resume settings for remote workers#

A list of remote worker settings that Claude Code handles together with restarts and resumes now includes the model setting

Unclear It is not stated what this list controls, so whether the chosen model now carries over a restart or resume is unconfirmed.

Details 0 0 Feedback
5 entriesGit Integration · none marked notable
·Internal
Under the hood
Useful2 Signal2
Git Integration unclear

Git status tracking can check files when read instead of polling them#

Claude Code can now check git files when they are read, instead of repeatedly polling them for changes

Unclear It is not clear what decides which method is used, or whether the new one is used by default.

Details 0 0 Feedback
·Internal
Under the hood
Useful2 Signal2
Git Integration unclear

Safer way to add entries to a repository's git exclude file#

Claude Code can now add entries to .git/info/exclude, skipping links and files over 1 MiB, and saying why

Unclear It is not clear when Claude Code writes to a repository's exclude file, or what it adds there.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal0
Git Integration

Git change summaries try the per-file count first#

Claude Code now runs --numstat first for git change summaries and uses --shortstat only where the comparison was too large before

Details 0 0 Feedback
4 entriesCloud Sessions · none marked notable
·Internal
Under the hood
Useful1 Signal3
Cloud Sessions unclear

Starting a cloud session now runs an extra preparation step first#

Before creating a cloud session, Claude Code now waits for an extra step related to file connections to finish

Unclear What the new preparation step does, and whether a user would notice it, is not stated.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal2
Cloud Sessions

Idle CPU measurements for hosted cloud sessions#

Hosted cloud sessions can now record CPU use, open shells and listening network ports while idle, at set minute marks

Details 0 0 Feedback
4 entriesManaged Settings · none marked notable
3 entriesMCP · none marked notable
·Internal
Under the hood
Useful2 Signal3
MCP unclear

Claude docs MCP tools get extra handling and one result-size rule is narrower#

Tools from a Claude docs MCP server are now wrapped in an extra step, and one condition for treating a tool result's size specially no longer applies

Unclear It is not clear which servers count as a Claude docs server or what the extra step does for them.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal2
MCP unclear

Input files for mcp_call can now be written through a safer path#

Files staged as input for mcp_call can now be written under a resolved real folder, guarding against redirected links

Unclear What decides whether the safer write is used is not stated.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal0
MCP

Header variable expansion does less work#

Claude Code now only prepares variable expansion for MCP and remote headers whose value contains ${, with no change to the result

Details 0 0 Feedback
3 entriesPermissions · none marked notable
·Internal
Under the hood
Useful2 Signal2
Permissions unclear

Working-folder check can count extra folders as inside#

Claude Code's check for whether a path is inside your working folders can now also accept paths inside an extra list of folders

Unclear It is not clear which extra folders are passed to this check or in which situations.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal1
Permissions

Refusals in don't-ask mode now say so#

When a permission question has nobody to answer it, the refusal now records don't-ask mode as the reason when that mode is on

Details 0 0 Feedback
3 entriesPlugins · none marked notable
·Internal
Under the hood
Useful1 Signal0
Plugins unclear

Plugin loading reorganised with no visible change#

The code that loads plugins was reorganised, and the list of enabled plugins is now prepared ahead of time

Unclear It is not clear whether the list of enabled plugins now comes from exactly the same settings as before.

Details 0 0 Feedback
enabledPlugins
·Internal
Under the hood
Useful1 Signal0
Plugins unclear

Changed wording when a plugin sends a message between turns#

The text Claude Code wraps around a message a plugin sends between turns is now assembled from shared pieces

Unclear The new wording is not known, so it is unclear whether the model now reads plugin messages differently.

Details 0 0 Feedback
2 entriesBackground Tasks · none marked notable
·Internal
Under the hood
Useful2 Signal3
Background Tasks

Task notifications can now be marked passive#

Messages queued when a background task reports back can now be marked passive, and sessions now pass on whether they began as a copy

Details 0 0 Feedback
2 entriesBash Tool · none marked notable
2 entriesChrome · none marked notable
2 entriesInternals · none marked notable
·Internal
Under the hood
Useful1 Signal1
Internals unclear

Feature flag settings are not saved in one mode#

In one mode, Claude Code no longer saves feature flag settings to its config or logs which flags were used

Unclear It is not clear which mode turns this off, so readers cannot tell when it applies to them.

Details 0 0 Feedback
2 entriesMemory · none marked notable
·Internal
Under the hood
Useful1 Signal0
Memory unclear

Memory path check now looks for the word "memory" first#

A check for memory file paths now gives up straight away when the path does not contain the word "memory"

Unclear It is unclear whether any memory folder can have a path without the word "memory" and so be missed.

Details 0 0 Feedback
2 entriesSandbox · none marked notable
·Internal
Under the hood
Useful1 Signal1
Sandbox unclear

Sandbox now logs when its clean-up moves aside an unrecognised item#

After a sandboxed command, Claude Code now logs a message when its clean-up moves aside an item it could not classify

Unclear What counts as an indicator, and when the clean-up moves one aside, is not known.

Details 0 0 Feedback
1 entry

Removedopen

−Removed
You'll notice
Useful2 Signal2
System Prompt unclear

Line asking the model to match surrounding code style removed from one prompt option#

One option in Claude Code's instructions to the model no longer adds the line telling it to write code that matches the surrounding code

Unclear It is not clear whether the line was dropped outright or moved elsewhere in the prompt, so whether the model still gets this instruction is unsettled.

Details 0 0 Feedback
Verbatim
Awaiting notes

Official release notes pending

Anthropic has not published official notes for v2.1.315 yet. This section updates automatically when the entry appears in the upstream changelog. Everything else on this page came out of the bundle instead, which is why the two lists don't match.

System prompt

4 prompts changed.

Claude Code, interactive mode

12 prompt changes in this release could not be quoted from the build, so no entry on this page describes them.

Documentation

What the docs did around this release

629 documentation changes were recorded within 24 hours either side of this release, nearest first. The closest 12 are below. They're here because they happened near this release in time. That's not a claim that this release caused the edit, or that the page documents anything in it.

Switches

Every name in this release

The 44 literal strings found in the bundle, with the number of entries that name each one. Picking one searches for it. A name is here because this build's code mentions it, which is not the same as it working or being finished.

Slash commands

CLI flags

Environment variables

Settings and names in the code

Feedback