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

Auto-memory is off in restricted sessions

You'll notice
Useful3 Signal3
Memory

Restricted sessions never write auto-memory, regardless of your settings.

CLAUDE_CODE_DISABLE_AUTO_MEMORY--restrictedCLAUDE_CODE_RESTRICTED
What

Restricted sessions no longer write auto-memory. The eligibility check bails out before it even looks at CLAUDE_CODE_DISABLE_AUTO_MEMORY.

Details
  • Triggered by the same option behind the --restricted argument that Claude Code passes to its own child sessions, along with the CLAUDE_CODE_RESTRICTED: "1" environment variable it forwards.
  • Defaults to false, so ordinary sessions are unaffected.
Evidence

CLAUDE_CODE_DISABLE_AUTO_MEMORY

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 →