You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SandboxArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release
What
The sandbox limits which files commands run by Claude Code can read or change. When blockReadsOutsideWorkingDirectories is on, Claude Code now ignores an allowWrite grant from project or local settings if it would open anything in:
~/.ssh
~/.claude/remote
Claude Code shows a message saying that project and local settings open nothing in those folders, and that you should name ~/.ssh in your user or managed settings instead.
Why
Project settings can come from a repository you cloned, so this stops a repository from granting itself write access to your SSH keys or Claude Code's remote folder. If you really need that access, you have to grant it yourself in settings you control.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Added sinceA small documentation edit on SSH remote sessions in Claude Desktop on 3P touched a line naming blockReadsOutsideWorkingDirectories after this was published.* [`blockReadsOutsideWorkingDirectories`](https://claude.com/docs/third-party/claude-desktop/configuration#blockreadsoutsideworkingdirectories), evaluated on the host, so the working directories and the home directory it hides from shell c…third-party/claude-desktop/ssh-remote-sessionssee the edit
Confirmed sinceAnthropic's documentation has since written up blockReadsOutsideWorkingDirectories, on Claude Code changelog.* Changed `permissions.blockReadsOutsideWorkingDirectories` to ask about more Bash commands in bypass and auto modes, and to deny some in auto modechangelogsee the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up blockReadsOutsideWorkingDirectories, on Claude Code changelog.