Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.321 ·

Settings for user delegated sessions are passed on, and some commands refuse to run in them

Two user delegated session variables are passed to spawned processes, and --bg and plugin eval refuse to run when the direct API one is set

Use it now Notable New Features
JSON All of v2.1.321
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
Delegated SessionsArea: what it touches
New FeaturesKind: in v2.1.321,
What probably matters to youSection of the release

Unclear It is not clear what values CLAUDE_CODE_USER_DELEGATED_SESSION_ALLOWED_CHECK_MODELS accepts or which models it lets through.

What

Claude Code now recognises two environment variables (named settings passed to a program when it starts) for what it calls a user delegated session:

Both are copied into the environment of the processes and sessions Claude Code starts. CLAUDE_CODE_CCR_REQUESTS_BY_FETCH is also on that list. For sessions on your own infrastructure, CLAUDE_CODE_USER_DELEGATED_SESSION_DIRECT_API is set to 1 when the matching option is on. CLAUDE_CODE_USER_DELEGATED_SESSION_ALLOWED_CHECK_MODELS is filled in for sessions that run the agent loop.

When CLAUDE_CODE_USER_DELEGATED_SESSION_DIRECT_API is set:

  • --bg, which starts a background session, refuses to run and tells you to run the task in the current session instead.
  • plugin eval refuses to run and says nothing was run.
  • In auto mode, a model checks each action before it runs. When that check is unavailable, the message now reads "No allowed model can check this action". Without the variable, the message is still "Claude Code no longer checks actions itself".
Why

This prepares for delegated sessions that call the API directly and limit which models may run the permission check on each action. If you see one of these refusals or the new auto mode message, a delegated session setting is in effect.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear what values `CLAUDE_CODE_USER_DELEGATED_SESSION_ALLOWED_CHECK_MODELS` accepts or which models it lets through.

See this entry in the whole of v2.1.321 →

Feedback