Unclear It is not clear whether this command is available on every operating system.
What
Claude Code now remembers where it found the programs it relies on and warns when they change. There is a new command, claude accept-program [path], to approve a change.
- Claude Code looks up helper programs on PATH, the list of folders your system searches for commands. These include
bwrapandsocat, which the sandbox uses to limit what commands can reach, plusgh,git,sshand a long list of other tools. It stores what it found instoredPrograms. - When PATH finds a copy somewhere other than the trusted place, it warns, for example 'PATH now finds ... Claude Code won't run it yet', or says it mostly keeps running the old one, 'in case a command put it there'.
claude accept-programlets Claude Code run a moved or newly installed program such as git or bwrap. With no path, it lists what changed.- A hint tells you to run
claude accept-programin your own terminal with the full path of the program, then restart Claude Code. - A new warning says the sandbox is off and 'Commands run WITHOUT sandboxing', naming bwrap or socat when they are on PATH but not accepted.
accept-programjoins the list of subcommand names that includesworkspace-trust.- Git pathspec environment variables are cleared in the environment of programs Claude Code starts.
- Separately, the stream filter now treats system
api_errormessages as ones it can drop.
Why
If git or a sandbox helper moves, for example after an upgrade, Claude Code may stop using it until you approve the new location. Watch for the new warnings, especially one saying commands run without sandboxing.
Names in the bundleclaude accept-program
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 command is available on every operating system.