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.232 Home All releases olderv2.1.231 v2.1.233newer
Claude Code v2.1.232

Cloud gateway sign-in explains its restart, and refuses when it cannot

You'll notice
Useful3 Signal3
Cloud Gateway

Cloud gateway sign-in explains its restart, and ends the session when a restart can't carry state.

What

After signing in through a Cloud gateway, Claude Code used to silently restart itself when managed settings failed to load or had changed. It now tells you why first ("Signed in to Cloud gateway", the failure reason, then "Restarting Claude Code to retry"), and ends the session instead of restarting when the session holds state a restart cannot carry, with the message "this session has restrictions a restart can't carry over".

Details
  • Reasons for refusing include permission rules set for this session only, and launch flags.
  • Background sessions never restart: "a background session cannot restart itself (sign in from a session started directly with claude)".
  • When a restart does happen, command-line restrictions are replayed via --allowed-tools, --disallowed-tools, --agent, --agents and --append-system-prompt.
Evidence

this session has restrictions a restart can't carry over

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