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.248 Home All releases olderv2.1.247 v2.1.250newer
Claude Code v2.1.248

Clearer refusals when the socket directory is unsafe, plus container uid detection

You'll notice
Useful3 Signal2
Cross-Session Messaging

Unsafe socket directories now name the owner, group and mode, and containers are detected.

What

The check that vets the directory Claude Code uses for its local Unix sockets was reworked. Refusals now name the offending directory with its owner, group and mode and tell you how to fix it, and a container or sandbox where your uid is unmapped is now detected and refused explicitly instead of failing obscurely.

Details
  • New uid_collapse refusal fires when running in a user namespace with no uid mapping, detected because your own uid reads back as the kernel overflow uid. The message suggests starting with a uid map, e.g. unshare -Ur.
  • Symlinked path components are resolved so real ownership is checked.
  • A world-writable directory without the sticky bit suggests chmod o-w.
  • Alternatives offered in every refusal: set XDG_RUNTIME_DIR or CLAUDE_CODE_TMPDIR, or pass --messaging-socket-path.
Evidence

start it with a uid map (e.g. unshare -Ur), or pass --messaging-socket-path

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

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.248 →