Claude Code 2.1.314 blocks writes outside working directories
Claude Code 2.1.314 adds permissions.blockWritesOutsideWorkingDirectories, which makes Write, Edit and NotebookEdit refuse paths outside the working directories in every permission mode. Gateway upstreams can be scoped to IdP groups, Bedrock guardrail traces identify which filter fired, and VS Code and Desktop summarize idle 200K+ token conversations.
- Writes outside working directories are blocked in every permission mode.
- Gateway upstreams can be routed by IdP group, including on failover.
- Idle long conversations are compacted in VS Code and Desktop.
New featureCompatibility
Original evidence · 2026-10-29 18h
Claude Code Releases ↗Based on original textWhy it matters
Tighter write boundaries reduce the risk of modifying files outside the repository, a security default relevant to both enterprises and local users.