Bash path rules are checked against more starting folders
Path patterns in Bash permission rules are now tested against several starting folders instead of one, with an added check for hidden tabs and newlines
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.324,
ImprovementsSection of the release
Unclear It is not known whether the extra check for stripped tabs and newlines is switched on by default.
What
Permission rules let you allow or block commands Claude runs in Bash, the command shell. For rules that match file paths, Claude Code now tests the pattern against several candidate starting folders instead of a single one.
A separate check that looks for oddly spelled paths also gains a test for paths with tabs and newlines stripped out. That test sits behind a switch.
Why
It makes permission checks harder to slip past, since a path written in an unexpected way or relative to a different folder is more likely to be matched.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not known whether the extra check for stripped tabs and newlines is switched on by default.