Unclear It is not clear whether these stricter checks apply in every session or only under a particular shell mode.
What
Before approving a shell command automatically, Claude Code checks whether it is safe. That check is now stricter. It refuses:
- words with
*or?that the shell would expand into a list of files, including where an even number of backslashes does not escape them pushd -n, which puts a directory on the stack without entering it, so a later~1refers to itdirswords that do the same
It also checks values passed to ssh dynamic options. Each case has its own refusal message. For pushd -n, the message suggests using pushd without -n, or cd.
Why
More commands will ask for your permission instead of running automatically.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not clear whether these stricter checks apply in every session or only under a particular shell mode.