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

Restricted sessions drop implicit file allowances and cannot be talked out of a denial

You'll notice
Useful3 Signal3
Permissions

Restricted sessions drop implicit file allowances, and a denial can't be argued away.

--restrictedCLAUDE_CODE_RESTRICTED
What

In a restricted session the permission checker skips the usual implicit allowances (workflow script files, agent memory .md files, .claude/launch.json, and "project directory files are allowed for reading"), and a denial from a safety check can no longer be rescued by the automatic approval classifier.

Details
  • Safety-check denials are returned as not classifier-approvable, tagged with a dedicated circuit breaker that is registered as immune to bypass and never routed to the classifier.
  • The relaxations that remote mode normally applies are suppressed when the session is restricted.
  • Only reachable when the session was started with --restricted or CLAUDE_CODE_RESTRICTED.
Evidence

{ classifierApprovable: !1, circuitBreaker: "restrictedMode" }, circuitBreaker: "restrictedMode", restrictedMode: { bypassImmune: !0, classifierRouted: !1 }

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 →