Claude Code 2.1.314 adds a working-directory write boundary
Updated Claude Code
Summary
A new write restriction and group-scoped gateway routing accompany idle compaction and startup fixes.
- Tool
- Claude Code
- Category
- Coding agents
- Date
- Pricing
- Not stated in the sources we cited.
Claude Code 2.1.314 introduces permissions.blockWritesOutsideWorkingDirectories. When configured, Write, Edit and NotebookEdit refuse paths outside the working directories in every permission mode. The note names those tools; it should not be read as a blanket guarantee about every command or external integration.
Gateway and long-session changes
Claude apps gateway upstreams can carry an optional IdP groups list, restricting which developers are sent to that upstream, including during failover. Bedrock upstreams can log the guardrail filter that fired without including the matched text.
VS Code and Desktop's Code tab gain idle compaction for conversations above 200K tokens. A summary is used on the next message if the prompt cache has expired; this does not establish a measured latency or cost improvement.
Automation behavior to check
Headless startup failures now produce an error and exit code 1 instead of silently returning success. The release also corrects sandbox handling when resuming into a worktree and clarifies displays for blocked calls that did not execute. Operators should test their own permission configuration and startup-error handling after upgrading.
See the claude-code hub.
More from Claude Code
Claude Code 2.1.316 adds subagent effort and shared gateway budgets
Claude CodeSubagent defaults, layered gateway policies and cloud forms arrive alongside an Opus fast-mode migration notice.
Category: Coding agents
Pricing: Not stated
Claude Code 2.1.312 changes policy loading and cloud routines
Claude CodeThe update adds cloud-routine effort selection and gateway identity configuration, with fixes for large-file edits and late code-review events.
Category: Coding agents
Pricing: Not stated
Claude Code 2.1.311 repairs background-agent lifecycles
Claude CodeThe release addresses premature worktree cleanup, duplicate hook activity and background-session recovery, with new self-hosted idle controls.
Category: Coding agents
Pricing: Not stated
Claude Code 2.1.310 expands Monitor availability
Claude CodeMonitor and plugin monitors reach Bedrock, Vertex and Foundry, including configurations with telemetry or nonessential traffic disabled.
Category: Coding agents
Pricing: Not stated
Claude Code 2.1.304 adds review levels and guided auto-mode setup
Claude CodeClaude Code adds organization and repository review levels, guided auto-mode setup, and mod permission checks that explicitly require a person.
Category: Coding agents
Pricing: Not stated
Claude Code 2.1.302 changes subagent defaults and adds idle-compaction control
Claude CodeThe October 16 release adds an idle-compaction toggle, expands fork-subagent defaults and fixes cloud routine retries that could repeat work.
Category: Coding agents
Pricing: Not stated
Claude Code 2.1.295 adds hook blocking and gateway controls
Claude CodeClaude Code v2.1.295, released October 8, 2026, adds fail-closed hooks, OSC 7501 status support and new Claude apps gateway upstream controls.
Category: Coding agents
Pricing: Not stated
Questions
What is Claude Code?
The repository describes it as an agentic coding tool that lives in your terminal, understands your codebase, and handles routine tasks and git workflows through natural language commands.
Is Claude Code open source?
Not stated in the cited sources. The GitHub API does not report a recognized license for the repository.
Does Claude Code support MCP?
The docs overview lists connecting your tools with MCP, and the v2.1.295 release notes include MCP fixes.
Filed on Agent Radar. Claims in this note are limited to the sources above.