Skip to content
Runtime Brief RB markRBRuntimeBrief

The latest on AI moving into production.

Model watch

Claude Code v2.1.314 adds IdP group filtering and auto-compaction for long sessions

The latest release introduces directory-based write restrictions, group-based routing for gateway upstreams and automatic conversation compaction for long sessions.

Depth
1 outlet · newest source 721h ago
Claude Code v2.1.314 adds IdP group filtering and auto-compaction for long sessions

Key points

  • New permission setting blocks writes outside working directories in all modes.
  • Idle conversations exceeding the token threshold are summarised when the cache expires.
  • Gateway upstreams now support IdP group filtering and Bedrock guardrail logging.

Anthropics released Claude Code version 2.1.314, introducing a new permission setting that prevents write, edit and notebook operations outside designated working directories. This change applies across every permission mode, according to the official release notes. The update also adds idle compaction to VS Code and Claude Desktop, summarising long conversations when prompt caches expire.

Evidence: confirmedv2.1.314

aifleet-claude-code

Evidence: reportedv2.1.314

aifleet-claude-code

How we got here

Previous versions faced issues with effort level caps causing session failures, which this release addresses by lowering effort and retrying. Earlier builds also struggled with Bedrock image limits, Microsoft Foundry model deployments and tool search refusals behind restrictive gateways. These fixes resolve specific errors documented in the release notes.

What is new

The release adds an optional groups list to Claude apps gateway upstreams, restricting access to developers in specific Identity Provider groups. It introduces guardrail_trace for Bedrock upstreams to log which filters fired without exposing matched text. Idle compaction now summarises conversations left idle, using the summary for subsequent messages if the prompt cache has expired.

Where this leaves builders

Developers using managed settings will find improved TLS trust application and model upgrade handling. The update fixes issues with MCP server authentication states, CI job trust prompts and plugin directory failures. Sessions address specific errors related to effort levels, image inputs and tool search refusals as detailed in the release notes.

What the paper shows

This release notes document outlines functional changes to access controls and session management. It specifies that write operations are now blocked outside working directories, preventing paths outside working directories in every permission mode. The idle compaction feature targets long-running conversations, summarising content when caches expire to maintain context. Limitations include reliance on specific gateway configurations for group-based routing and guardrail logging.

Why it matters

  • Stricter write permissions prevent operations outside working directories, limiting scope of file modifications.
  • Group-based gateway routing allows restriction of model access to specific IdP groups, controlling user access.
  • Idle compaction summarises long conversations when caches expire, managing context for subsequent messages.
  • Guardrail tracing logs which Bedrock filters fired without matched text, supporting audit logging requirements.

Topics: Claude Code, Anthropic, AI tools, permissions, gateway, session management

Updated

Ask the article

Local keyword search of this article; no generated answers.

Which of these is confirmed?

Check the answer

Anthropics released Claude Code version 2.1.314, introducing a new permission setting that prevents write, edit and notebook operations outside designated working directories.

The matched primary source and announcement wording support the confirmed label.

Did this article give you the evidence you needed?

No vote saved on this device.
Your choice stays on this device. No public tally.

Questions readers ask

How does the new write permission setting work?

It blocks write, edit and notebook operations outside working directories in all permission modes, according to release notes.

What happens to idle conversations in this version?

Long conversations are summarised when left idle, with the summary used for next messages if the prompt cache expires.

Does this update affect gateway configurations?

Yes, it adds group-based routing for upstreams and guardrail logging for Bedrock, restricting access and improving auditability.

Connected stories

This storyIndieWeb creator launches IndieKey after rewriting legacy Ruby code with ClaudeIndieWeb creator launches IndieKAmazon and Google stake in Anthropic IPO could surge to hundreds of billionsAmazon and Google stake in AnthrAnthropic IPO roadshow targets $1.02 trillion valuation amid AI scepticismAnthropic IPO roadshow targets $Anthropic may list before OpenAI as compute costs press for public capitalAnthropic may list before OpenAI

Reading receipt

  • New permission setting blocks writes outside working directories in all modes.
  • Idle conversations exceeding the token threshold are summarised when the cache expires.
  • Gateway upstreams now support IdP group filtering and Bedrock guardrail logging.
Time spent: 0:00 · Depth: Full

Sources

  1. Claude Code releases

Related stories

Background reading