# Claude Code v2.1.315

> Claude Code v2.1.315, released 30 Oct 2026 (2026-10-30). 237 entries read out of the shipped bundle. Unofficial, and not affiliated with Anthropic.

[Web version](https://changelogs.core-directive.com/v/2.1.315)

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.

## Sections

Each section is its own markdown document of whole entries, in pages of about 40 KB. The whole release in one document is [full.md](https://changelogs.core-directive.com/v/2.1.315/full.md).

- [What probably matters to you](https://changelogs.core-directive.com/v/2.1.315/what-probably-matters-to-you.md): 37 entries, 2 pages
- [Improvements](https://changelogs.core-directive.com/v/2.1.315/improvements.md): 88 entries, 3 pages
- [Bug Fixes](https://changelogs.core-directive.com/v/2.1.315/bug-fixes.md): 18 entries
- [In Development](https://changelogs.core-directive.com/v/2.1.315/in-development.md): 11 entries
- [Internal Changes](https://changelogs.core-directive.com/v/2.1.315/internal-changes.md): 82 entries, 2 pages
- [Removed](https://changelogs.core-directive.com/v/2.1.315/removed.md): 1 entry

## What probably matters to you

The first 10 of 37, one line each. The section's own pages have every one in full.

- [A new claudeDoc flag for artifacts and their durable subscriptions](https://changelogs.core-directive.com/v/2.1.315/e/claude-docs-artifacts-armed-for-durable-subscribe.json): Artifact publishing gains a claudeDoc flag that can set up a durable subscription, with a new claude_doc_not_admitted failure reason
- [Held-message recognition arrives with an opt-out variable](https://changelogs.core-directive.com/v/2.1.315/e/held-message-recognition-gated-by-a-killswitch-and-an-env-va.json): A new held-message recognition feature can be turned off with `CLAUDE_CODE_DISABLE_HELD_MESSAGE_RECOGNITION`, which is also passed to remote sessions
- [Environment variable override for the sorted-otter switch](https://changelogs.core-directive.com/v/2.1.315/e/claude-code-sorted-otter-env-override-added-for-the-tengu-so.json): `CLAUDE_CODE_SORTED_OTTER` can now override the remote `tengu_sorted_otter` switch, and one function moves from that switch to `tengu_quiet_pike`
- [Hidden gateway JSON sign-in mode for claude auth login](https://changelogs.core-directive.com/v/2.1.315/e/hidden-gateway-json-flag-on-claude-auth-login-for-cloud.json): `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
- [Remote sessions track transcript rows still owed to the client and resend them](https://changelogs.core-directive.com/v/2.1.315/e/tengu-patient-ledger-new-client-rows-owed-ledger-default-o.json): Remote sessions gain a ledger of transcript rows not yet delivered to the client, resend them later, and hold urgent requests while that happens
- [Managed policies can be layered instead of first-match only](https://changelogs.core-directive.com/v/2.1.315/e/managed-policies-gain-policy-mode-layered.json): Managed settings gain `policy_mode: layered`, which merges several matching policies instead of applying only the first one, with limits to protect deny rules
- [Background session socket waits for new connections to speak before letting them in](https://changelogs.core-directive.com/v/2.1.315/e/silent-peer-admission-for-the-background-socket-is-now-set-f.json): 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
- [Read blocking outside working directories: restricted mode, exempt paths, searches and Chrome uploads](https://changelogs.core-directive.com/v/2.1.315/e/new-permissionsblockreadsexemptpaths-read-only-from-flag-s.json): Restricted mode now blocks reads outside the working directories, searches and Chrome uploads are fenced too, and blockReadsExemptPaths lets chosen paths through
- [Gateway adds spend budgets shared by a whole group](https://changelogs.core-directive.com/v/2.1.315/e/gateway-gains-pooled-per-group-spend-limits.json): The bundled gateway can now cap monthly spend for a whole group, rejects requests when the shared pool runs out, and documents the group_pool limit header
- [Auto mode server checks prepared for host-managed gateway providers](https://changelogs.core-directive.com/v/2.1.315/e/auto-mode-server-classifier-switch-plumbing.json): Claude Code adds groundwork for server-side auto mode checks when a host such as Claude Desktop manages the provider gateway, plus gateway login reporting
