Unclear Nothing says when the stricter check is switched on.
What
Before Claude Code runs a shell command, it analyses the command to decide whether it is safe to run without asking you. Several of these checks changed.
- A new option,
runsTextHeld, is added to the command analysis. It is on unless explicitly set tofalse, and sits next to other checks such asforNameDoandrubyAttachedPattern. - For Python commands run with
-Por-I, whenrunsTextHeldis set, code passed with-cthat mentionsexec,evalorexecfileis flagged, as are programs fed in through standard input. Before,-Por-Iended the check with nothing further examined. Other interpreters keep their existing behaviour. - The part that reads command prefixes for
run,foreach,-xand--execnow looks at the correct list of words. - The shell
-scheck now tests a path with a helper instead of only checking whether it starts with/,~or$.
Why
These changes affect whether certain commands are run automatically or need your approval. Some Python commands that previously passed may now ask for permission.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
Nothing says when the stricter check is switched on.