Unclear It is not clear whether this check already reduces permission prompts or is only computed so far.
What
Before Claude Code runs a shell command, it checks whether the command needs your permission. A redirection is the part of a command that sends output somewhere else, such as 2>/dev/null to discard error messages. That check now treats a redirection as safe when both of these are true:
- It targets
/dev/nullor one of a small set of allowed devices. - It applies to standard input, standard output or standard error.
Why
Commands that only discard their output this way could prompt you for permission less often.
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 this check already reduces permission prompts or is only computed so far.