Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Bridge-started sessions that may run unattended are held to auto mode

Bridge-started sessions that may run unattended now keep only auto mode, dropping other --permission-mode choices and bypass permissions

You'll notice Improvements
JSON All of v2.1.331
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.331,
ImprovementsSection of the release

Unclear Which bridge sessions Claude Code treats as possibly unattended is not stated.

What

A permission mode decides how Claude Code asks before it acts. Claude Code can start child sessions, which are separate Claude Code runs launched by another session, through its bridge connection. When such a session may run with nobody watching, Claude Code now holds it to auto mode:

  • an explicit --permission-mode other than auto is dropped, with a warning saying the session may be unattended
  • any other permission mode is removed from the list of modes you can pick
  • bypass permissions mode is unavailable, with a message saying so

The child session is marked with the new environment variable CLAUDE_CODE_BRIDGE_CHILD_HELD_TO_AUTO set to 1. Claude Code deletes that variable before it starts any further process, alongside CLAUDE_CODE_CHILD_SESSION and CLAUDE_CODE_BRIDGE_SESSION_ID, so those processes do not inherit it.

Why

This is a safeguard. A session nobody is watching cannot be switched into a mode that skips permission checks.

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 doubtWhich bridge sessions Claude Code treats as possibly unattended is not stated.

See this entry in the whole of v2.1.331 →

Feedback