Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.265 ·

sandboxed Windows exec refusal error object changed shape

Windows sandbox command refusals now throw a different internal error object

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal0worth watching, 1 to 5
AreaSandboxwhat it touches
KindInternal Changesin v2.1.265,
Under the hood

Windows sandbox command refusals now throw a different internal error object

What

When Claude Code's sandbox (a restricted execution environment) refuses to run a command on Windows because of policy, it now throws a cre error built from the command string, instead of the previous Vte error object.

Why

This is an internal implementation detail of how the refusal is represented in code. It doesn't change what happens visibly when a Windows sandbox policy blocks a command, but code that inspected the old error shape would need to account for the new one.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat practical difference the new error object shape makes, if any, is not stated.

See this entry in the whole of v2.1.265 →

Feedback