Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.251 Home All releases olderv2.1.250
Claude Code v2.1.251

Sandbox checks the task output directory path before denying writes to it

You'll notice
Useful2 Signal2
Sandbox

The sandbox verifies the task output path is real directories before locking it down.

What

Before making the sandboxed task output directory read-only, Claude Code now verifies that every directory from your home directory down to it is a plain directory rather than a symlink or other special entry. If the chain does not check out, the read-only rule is skipped and a warning is logged instead of applying a rule to a path that may not be the one intended.

Details
  • Always on; there is no flag.
  • The warning names the offending path: [sandbox] task output dir chain is not plain directories; read-only deny skipped: ${Q}.
Evidence

[sandbox] task output dir chain is not plain directories; read-only deny skipped: ${Q}

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.251 →