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 →
220 of 237 shownClear
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
32 entries here

What probably matters to you

Anything you can use today, anything that visibly changes, and anything worth poking at. One line each, open for detail.

+New
You'll notice
Useful4 Signal5
Group of 2 Artifacts Notable unclear

A new claudeDoc flag for artifacts and their durable subscriptions#

Artifact publishing gains a claudeDoc flag that can set up a durable subscription, with a new claude_doc_not_admitted failure reason

Unclear It is not clear what triggers Claude doc publishing or whether users can reach it in this release.

Details 0 0 Feedback
+New
Use it now
Useful4 Signal4
Group of 2 Auth Notable unclear

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

Unclear It is not clear which setting makes a Cloud gateway count as available on a machine.

Details 0 0 Feedback
claude auth login
+New
Use it now
Useful5 Signal3
Group of 2 Sessions Notable no docs found unclear

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

Unclear It is not settled which program's environment receives this variable, or what the remote switch falls back to when the server sends nothing.

Details 0 0 Feedback
CLAUDE_BG_SOCK_ADMIT_SILENT_PEERS
+New
Use it now
Useful5 Signal3
Group of 6 Permissions Notable unclear

Read blocking outside working directories: restricted mode, exempt paths, searches and Chrome uploads#

Restricted mode now blocks reads outside the working directories, searches and Chrome uploads are fenced too, and blockReadsExemptPaths lets chosen paths through

Unclear Under some conditions the exempt list is treated as empty, and it is not clear what those conditions are.

Details 0 0 Feedback
permissions.blockReadsExemptPathsblockReadsOutsideWorkingDirectories
·Internal
Under the hood
Useful4 Signal4
Models unclear

Many models gain a new "tool loaded text" capability#

Many entries in Claude Code's list of model capabilities now include a capability named tool_loaded_text

Unclear It is not stated what this capability changes in how Claude Code works with these models.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal4
MCP unclear

An MCP server can be connected automatically after you sign in#

After sign-in, Claude Code can now load a dynamic MCP setup and add a server, unless strict or managed MCP settings apply

Unclear It is not clear which server gets added or what decides whether one is added.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal4
Artifacts unclear

Creating a document with the artifact tool in a remote session can set a wake#

In remote sessions, successfully creating a document with the artifact tool can now set a wake, when artifacts and comments are both on

Unclear It is not clear what setting a wake does after a document is created.

Details 0 0 Feedback
CLAUDE_CODE_REMOTE
·Internal
Under the hood
Useful3 Signal4
Models unclear

Model options can now carry an early access marker#

The description of each model option now accepts an optional early access field

Unclear It is not clear whether the model picker shows anything different for models marked as early access.

Details 0 0 Feedback
·Internal
Under the hood
Useful2 Signal4
Artifacts unclear

Claude Code accepts an optional Claude doc field in incoming data#

One of the data formats Claude Code reads now has an optional claude_doc field, ignored if it is missing or malformed

Unclear What the claude_doc field carries and whether a user ever sees anything from it is not known.

Details 0 0 Feedback
Were these the right ones to put at the top? 0 answered
Below the fold

Everything else

Smaller changes and internals, grouped as the pipeline found them. Nothing is dropped, it is only further down.

82 entries here

Improvementsopen

5 more of these are in What probably matters to you, above.

↑Improved
You'll notice
Useful2 Signal3
Permissions unclear

An approval option in permission prompts can now appear greyed out#

In the expanded permission prompt, one approval option can now show a fixed label and refuse to be selected when a condition is not met

Unclear Which conditions disable the option, and what label replaces it, are not stated.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal3
Auto Mode unclear

Auto mode's automatic approval of two tools now depends on a remote switch#

Auto mode now checks a remote switch, off unless switched on remotely, before approving two particular tools without asking

Unclear Which two tools are affected, and whether they are still approved automatically while the switch is off, is not settled.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal2
Background Tasks unclear

Leftover shell processes are force-stopped when Claude Code exits#

On exit, Claude Code now force-stops shell commands and process trees still running after a grace period, except on Windows

Unclear Apart from never running on Windows, what decides whether this cleanup is switched on is not clear.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Background Tasks unclear

Background shell commands are now marked to be left alone at exit#

Shell commands Claude Code moves to the background are now marked to be left alone when it exits

Unclear Whether background commands now keep running after Claude Code exits is not confirmed.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Auto Mode unclear

Auto mode allow rules are combined per settings source#

Auto mode allow rules are now gathered per settings source, and command-line allow rules are merged with managed policy

Unclear It is not stated how command-line allow rules and policy allow rules are merged.

Details 0 0 Feedback
autoMode
↑Improved
You'll notice
Useful2 Signal2
Subagents unclear

Another model override now turns off relative subagent effort#

Asking a subagent for lower or higher effort is now also turned off when a second kind of model override is set

Unclear It is not stated which setting the new model override reads.

Details 0 0 Feedback
CLAUDE_CODE_SUBAGENT_MODEL_FORCE
↑Improved
You'll notice
Useful2 Signal2
MCP unclear

New notice when MCP permission rules do not apply to a client-hosted server#

Claude Code now warns when a client-hosted MCP server's permission_policy is not applied, so always_ask and always_deny have no effect

Unclear Which kinds of session show this notice is not stated.

Details 0 0 Feedback
permission_policyalways_askalways_deny
↑Improved
You'll notice
Useful2 Signal2
MCP unclear

MCP directory listing now goes through a permission check#

The tool that lists directories from an MCP server now asks for permission or refuses, instead of only erroring when unavailable

Unclear What decides whether directory listing is switched on or off is not stated.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Models unclear

Stricter rule for when Claude Code picks a Haiku model on its own#

Claude Code now chooses a Haiku model itself only when no small-model variable is set, the provider is Anthropic's own, and the main model is the default

Unclear It is not clear which tasks use the model this rule chooses.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Auth

New messages when a saved login is held back#

Claude Code can now hold back a saved login and explain why: an admin setting, missing organization settings, or a needed restart

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
Elsewhere unclear

PowerShell hooks using script blocks get different exit code handling#

Whether Claude Code adds its exit code 2 check to a PowerShell hook now depends on whether the script uses begin, process, end, clean or dynamicparam blocks

Unclear Whether scripts with these blocks now get the added exit code check or now skip it is not clear.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
Memory unclear

Memory-saved messages can now list the files that were written#

The message shown when a memory is saved can now list the written file paths in verbose mode, and its wording comes from a shared source

Unclear Whether the new path list is switched on by default is not stated.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
MCP unclear

MCP reconnects behind a proxy retry only after a 403 refusal#

Claude Code now retries an MCP connection through a proxy only when the proxy refused with a 403, and runs its test less often

Unclear It is not clear when the new check allows the test connection to run.

Details 0 0 Feedback

Continues on page 2 →

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