Claude Code 2.1.314 adds a setting that blocks AI file writes outside the project folder

Claude Code 2.1.314 (30 October 2026) adds permissions.blockWritesOutsideWorkingDirectories, so Claude's file-editing tools refuse any path outside the project in every permission mode.

Claude Code 2.1.314, released on 30 October 2026, adds a setting called permissions.blockWritesOutsideWorkingDirectories. When it is on, Claude’s Write, Edit and NotebookEdit tools refuse any file path outside the working directories, in every permission mode.

Why the detail matters

Permission modes decide how often an AI coding agent asks before acting. Teams that let it run with fewer prompts, to move faster, have until now had less of a hard boundary around where it can write. This setting is a fixed edge: whatever mode is in use, file edits stay inside the project.

Other changes in the release

Idle conversations over 200K tokens are now summarised automatically in VS Code and the Desktop Code tab. FORCE_HYPERLINK=false now turns hyperlinks off, where it previously turned them on. Sessions that failed repeatedly with an “Invalid effort level” error, when an admin caps a model’s effort, now lower the effort and retry. And claude -p now prints an error and exits with code 1 on startup failure instead of exiting silently with code 0.

What it means

The pattern across recent AI coding releases is consistent: speed arrives first, then the controls that make it safe to use on real products. A boundary on where an agent can write is a basic control, and it is now one setting.

So what

If a supplier builds your software with AI agents, ask what limits they have set on what those agents can change. Guardrails like this belong in the working agreement, not in someone’s memory. Our AI-assisted development service defines them from day one. To start, start a project.

← All research

More research.

GitHub Copilot SDK is becoming the Microsoft Copilot SDK: what builders of AI products should know

On 28 October 2026 GitHub said its Copilot SDK is being renamed Microsoft Copilot SDK, the programmable layer for the shared Microsoft and GitHub agent harness. No immediate action is needed.

Read ›

GitHub Agent Merge: Copilot now watches your pull requests and fixes what blocks the merge

On 28 October 2026 GitHub added Agent Merge to pull requests: a 'Watch and fix' option where Copilot repairs failing Actions workflows and merge conflicts in the cloud, optionally with auto-merge.

Read ›

GitHub Enterprise now includes Copilot: seats are bundled, AI usage moves to your budget

From 28 October 2026 account-team customers can get Copilot included with every GitHub Enterprise licence, with AI usage metered against an enterprise budget from the first request. Standalone Copilot is $10 per user per month.

Read ›

GitHub Copilot Fusion goes GA: one pick, many models, and a 30% launch discount

On 28 October 2026 GitHub made Copilot Fusion generally available: instead of choosing a model, developers pick an effort level and Copilot routes each task across models. Paid plans get 30% off model costs for a limited time.

Read ›

GitHub Agentic Workflows is generally available: automations written in plain Markdown

On 28 October 2026 GitHub made Agentic Workflows generally available: AI agents that triage issues, analyse CI failures and update docs, defined in Markdown and run inside GitHub Actions with read-only defaults.

Read ›

GitHub Copilot server-to-server authentication: AI agents get their own identity, billed to the organisation

GitHub put Copilot server-to-server authentication into public preview on 27 October 2026, letting AI agents built with the Copilot SDK run as a GitHub App rather than as a signed-in developer. For anyone buying AI software development, it means automated AI work can be tracked and billed per organisation.

Read ›

Start a project

Building with AI? Let's talk.

Tell us what you are building. We'll give you an honest view of the right approach.

Start a projectSee our work