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

Prewarmed and dispatched background sessions inherit restriction

You'll notice
Useful3 Signal3
Permissions

Background sessions spawned from a restricted session stay restricted.

--restricted
What

Background sessions that Claude Code starts ahead of time, and sessions started by dispatch, now always get --restricted when the parent session is restricted, so restriction is not lost at spawn.

Details
  • The spare-session pool keeps both the caller's arguments and a copy with --restricted prepended, and hands back the restricted copy while the session is restricted.
  • Dispatch sites do the same, prepending the flag rather than replacing the argument list.
Evidence

this.#t = e.includes("--restricted") ? e : ["--restricted", ...e]

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