{"version":"2.1.337","anchor":"claude-accept-program-command","canonical_anchor":"claude-accept-program-command","heading":"New claude accept-program command for programs that moved or were newly installed","tier":"use","area":"Sandbox","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/claude-accept-program-command","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### New claude accept-program command for programs that moved or were newly installed\n\nClaude Code now checks where programs like git and bwrap live and asks you to approve moved ones with claude accept-program\n\n**Unclear.** It is not clear whether this command is available on every operating system.\n\n**What**\n\nClaude 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.\n\n- Claude Code looks up helper programs on PATH, the list of folders your system searches for commands. These include `bwrap` and `socat`, which the sandbox uses to limit what commands can reach, plus `gh`, `git`, `ssh` and a long list of other tools. It stores what it found in `storedPrograms`.\n\n- 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'.\n\n- `claude accept-program` lets Claude Code run a moved or newly installed program such as git or bwrap. With no path, it lists what changed.\n\n- A hint tells you to run `claude accept-program` in your own terminal with the full path of the program, then restart Claude Code.\n\n- 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.\n\n- `accept-program` joins the list of subcommand names that includes `workspace-trust`.\n\n- Git pathspec environment variables are cleared in the environment of programs Claude Code starts.\n\n- Separately, the stream filter now treats system `api_error` messages as ones it can drop.\n\n**Why**\n\nIf 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.\n\n- Area: Sandbox\n- Names: `claude accept-program`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 3\/5\n- Scope: both\n- Heads-up: no"}