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
Before running a PowerShell command that touches files, Claude Code reads which paths it uses so it can decide whether to ask your permission. That reading now also looks at:
names passed with -Filter or -Stream
names given to Get-ChildItem without a parameter name
parameters that are missing a value
whether the command moves its folder
A new check can turn these into a permission decision. A separate check on wildcard patterns can now be skipped in some cases.
Why
Permission checks on PowerShell file commands are tighter, so these parameters are harder to use to reach files the path check would miss.