You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PowerShellArea: what it touches
ImprovementsKind: in v2.1.337,
ImprovementsSection of the release
What
Claude Code now checks PowerShell commands for ways to read files outside the folders it is allowed to work in, or under a Read rule. It looks at commands and patterns such as:
git grep, git diff and git blame
findstr, tree, where, ls and cat
Get-ChildItem with -filter
wildcards
When a command may read such a path, Claude Code asks for your approval. If blockReadsOutsideWorkingDirectories is set to true, it refuses instead. The check runs only when a switch controlled by Anthropic's servers is on.
Why
It closes off tricks for reading files outside your project through PowerShell without being asked first.