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
88 entries

Improvementsopen

Continued from page 1

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

18 entries

Bug Fixesopen

✓Fixed
You'll notice
Useful2 Signal3
Charts

Chart tool stops when it gets no data#

The chart tool now refuses to continue when fetching its data returns nothing, instead of carrying on

Details 0 0 Feedback
✓Fixed
You'll notice
Useful2 Signal1
Shell Snapshot unclear

Shell snapshots now save your aliases in a fallback case#

When Claude Code snapshots your shell setup, it now saves your aliases in a case where it used to save nothing

Unclear Which shells take this new branch is not settled.

Details 0 0 Feedback
✓Fixed
You'll notice
Useful1 Signal1
Elsewhere

Overly long locale settings are now ignored#

Claude Code now ignores a locale setting that is too long, as it already did for empty, C and POSIX values

Details 0 0 Feedback
LANG
✓Fixed
You'll notice
Useful1 Signal1
Memory

Auto memory is read again until two reads match#

Claude Code now reads the auto memory file repeatedly and uses it only once two reads in a row match, instead of reading it once

Details 0 0 Feedback
11 entries

In Developmentopen

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

◌In dev
Nothing to try yet
Useful1 Signal3
Bash Safety unclear

Stricter safety check for complex shell commands#

The check that lets some shell commands run without asking now refuses more risky patterns, including file patterns that may match nothing

Unclear It is not stated whether a command refused by this check is put to you for approval or blocked outright.

Details 0 0 Feedback
◌In dev
Nothing to try yet
Useful1 Signal3
Internals unclear

A new remotely controlled per-platform switch, with no known use yet#

Claude Code now checks a remote list of platforms, which is empty by default, but what it controls is not known

Unclear What this check controls, and whether anything uses it yet, is not known.

Details 0 0 Feedback
◌In dev
Nothing to try yet
Useful1 Signal2
Bash Safety unclear

Shell commands using { ... } after for ((...)) are flagged#

Claude Code's shell command reader now flags a { ... } body after for ((...)) and suggests do ...; done

Unclear What turns the internal check on is not known, so this may not apply to every user.

Details 0 0 Feedback
◌In dev
Nothing to try yet
Useful1 Signal2
Elsewhere

Earlier sender-address lookup, off by default#

Claude Code can look up a sender address earlier at startup, but only when remote switches turn it on; both default to off

Details 0 0 Feedback
82 entries

Internal Changesopen

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

·Internal
Under the hood
Useful3 Signal3
Group of 2 Bash Tool unclear

Bash tool can pass command text to the shell a new way, with a fallback#

Claude Code's Bash tool can now carry the command text into the shell separately in one no-sandbox case, and falls back if the shell rejects it

Unclear It is not clear what triggers the new path or what it changes in how a command behaves.

Details 0 0 Feedback
·Internal
Under the hood
Useful2 Signal3
Group of 2 Sandbox unclear

Sandbox gains a write block on the plugin tool staging folder#

The sandbox adds a feature-flag-controlled write block on the staged mcp_call folder, plus caching for parent-folder scrubbing

Unclear It is not clear whether sandboxed commands can now no longer write to plugin tool staging folders.

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

Sessions can now watch for an Artifacts MCP entry when they start#

When a session starts, Claude Code now starts an optional watch for an Artifacts MCP entry and reports it if that watch fails

Unclear Whether the part of Claude Code that runs this watch is included in this build is not known.

Details 0 0 Feedback
·Internal
Under the hood
Useful2 Signal3
Auto Mode unclear

Auto mode's safety check can be given fewer of your permission rules#

In some cases the auto mode safety check now runs without your ask rules, extra directories or full allow-rule list, and Claude Code records which part was left out

Unclear It is not clear which situations cause the permission rules to be left out of the auto mode check.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal3
Skills unclear

A skill-listing helper now returns nothing#

A helper that works with skill listings returns nothing in all three places Claude Code uses it

Unclear Whether the empty result changes which skills Claude Code lists or uses is not stated.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal2
System Prompt unclear

Some automatic reminders are now removed from messages in one mode#

In one message mode, Claude Code can now strip a kind of automatic reminder from your messages and avoids adding a notice twice

Unclear It is not clear which kind of reminder is removed or when the new condition holds.

Details 0 0 Feedback
14 entriesElsewhere · none marked notable
·Internal
Under the hood
Useful2 Signal2
Elsewhere

Worktree locks can be written without running git#

Behind a remote switch, Claude Code can lock a git worktree by writing git's lock file itself instead of running git worktree lock

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal2
Elsewhere no docs found unclear

Coworker mode detection drops one of its conditions#

Claude Code now recognizes coworker mode only from a local-agent entrypoint or a claude-coworker prefix, with one other check removed

Unclear It is not stated which environments relied on the removed check and are no longer treated as coworker mode.

Details 0 0 Feedback
CLAUDE_CODE_ENTRYPOINT
·Internal
Under the hood
Useful1 Signal2
Elsewhere unclear

Project imports can use a safer way of writing files#

Importing memory files, skills, commands and settings into a project can now use safer file writing, and reports links and permissions not copied

Unclear It is not stated what condition switches the safer writing on, so whether it applies to a given import is unknown.

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

Remote settings for a summary feature reduced to a single mode#

A remotely controlled summary setting now only chooses between "full" and "short", with refresh, token and per-model limits removed

Unclear Which feature this summary setting controls is not stated.

Details 0 0 Feedback
·Internal
Under the hood
Useful2 Signal1
Elsewhere unclear

Claude Code's pattern parser now understands more regular expression features#

Claude Code's regular expression parser now handles counted repeats, lookahead and named groups, and gives a reason when it refuses a pattern

Unclear Where Claude Code uses this parser, and so which patterns a user writes are affected, is not stated.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal1
Elsewhere unclear

Runs that end in an error now keep a note about auto mode stopping#

When a run ends with an error during execution, Claude Code now works out an auto mode stop notice and keeps it with that result

Unclear It is not clear whether, or where, these stop notices are shown to you.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal1
Elsewhere unclear

Messages for unattended runs and interrupted helper agents have changed#

The note Claude gets in scheduled or triggered runs, and the result it sees for an interrupted subagent call, have both changed

Unclear Where these two messages are used, and how their wording differs from before, is not clear.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal0
Elsewhere unclear

Text with no ${ is no longer run through environment variable expansion#

Claude Code now leaves text containing no ${ untouched instead of fully parsing it for environment variable references

Unclear It is not clear whether the full parsing step ever changed text that has no ${ in it, which this shortcut would now skip.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal0
Elsewhere unclear

Command previews now choose between stored and shown command text#

Claude Code's command-preview step now picks either the stored or the shown version of a command's text

Unclear It is not clear how the stored and shown modes differ, so the visible effect on summaries is unknown.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal0
Elsewhere unclear

Changed check for long runs of Unicode combining marks#

Claude Code changed a pattern that spots runs of 32 or more stacked Unicode combining marks, including halfwidth katakana voicing marks

Unclear It is not clear which text this pattern is applied to.

Details 0 0 Feedback
12 entriesTelemetry · none marked notable
·Internal
Under the hood
Useful1 Signal1
Telemetry unclear

Six more commands are recognized as build tools#

Claude Code now counts tsgo, rspack, tsdown, maturin, configure and protoc as build commands

Unclear It is not stated what Claude Code does differently with a command once it counts it as a build.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal1
Telemetry unclear

Ten more test runners are recognised as test commands#

Commands using ava, jasmine, karma, tap, nyc, c8, behave, pest, gotestsum or ginkgo are now recognised as test runs

Unclear What a reader sees differently when a command is recognised as a test run is not stated.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal1
Telemetry unclear

Claude Code recognises many more developer tools in shell commands#

Two lists of command names Claude Code recognises in shell commands now include tools such as tsgo, oxlint, just, zig, flutter and swiftlint

Unclear It is not clear what the lists control, so it is unknown whether recognising these tools changes anything a user sees, such as permission prompts.

Details 0 0 Feedback
·Internal
Under the hood
Useful1 Signal1
Telemetry unclear

Claude Code recognizes more Python tools in shell commands#

Claude Code's list of Python tools now includes ty, basedpyright, dmypy, behave, django-admin, fastapi and maturin

Unclear It is not clear whether being on this list changes when these commands run without asking for permission.

Details 0 0 Feedback
10 entriesSessions · none marked notable
·Internal
Under the hood
Useful1 Signal2
Sessions

Small additions to remote session data#

Remote sessions gain a few small fields, including a "self" permission scope and a voice hint counter

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

Counts added for held transcript uploads#

Claude Code now counts when it holds a whole turn's transcript upload and when that hold ends early, and one explicit early release was removed

Unclear It is not confirmed whether removing the early release changes when transcript uploads are actually sent.

Details 0 0 Feedback

Continues on page 3 →

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

653 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