Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code 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.

You'll notice Improvements
JSON All of v2.1.227
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.227,
ImprovementsSection of the release
What

An agent spawned with a clamp restricting which shell commands it may run now has PowerShell refused outright, since PowerShell commands cannot be matched against Bash command forms. If the PowerShell permission check itself throws, it fails closed instead of running an unverified command. Agents without a clamp are unaffected.

Evidence

this agent carries a per-spawn bashCommandClamp, which scopes shell execution to a

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.227 →

Feedback