bashCommandClamp
A Claude Code settings key, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
If a clamped agent's permission check crashes, the shell command is denied rather than allowed.
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.227.
In the changelogs
7Releases whose published page names bashCommandClamp.
-
v2.1.227
Command clamps deny rather than fall open
If a clamped agent's permission check crashes, the shell command is denied rather than allowed.
found in this entry's text
-
v2.1.227
agent() refuses spawns whose tool restrictions cannot be applied
Spawning a sub-agent fails outright if its disallowed-tools list can't actually be applied.
found in this entry's text
-
v2.1.227
agent() refuses spawns where the Bash command clamp would not bite
Sub-agent spawns are refused when the Bash command restriction couldn't be enforced.
found in this entry's text
-
v2.1.227
PowerShell is denied for agents with a shell command clamp
Agents with a shell command restriction can't use PowerShell at all now.
found in this entry's text
-
v2.1.227
Clamped agents are blocked on every execution surface
Command-restricted agents are now blocked on PowerShell and the Monitor tool too, and fail closed.
found in this entry's text
-
v2.1.227
Spawned agents can be clamped to a fixed set of shell commands
Spawning an agent with a bad command clamp list now fails immediately instead of running unclamped.
named in this entry, found in this entry's text
-
v2.1.227
Subagents can be locked to a fixed list of Bash commands
Workflow scripts can restrict a spawned agent's shell to a fixed list of allowed commands.
named in this entry, found in this entry's text
First cited
5The earliest release whose published evidence quoted bashCommandClamp was v2.1.227, 10 Aug 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.
Presence across releases
0The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the settings key does. All settings keys.