{"version":"2.1.331","anchor":"bridge-child-env-var-claude-code-bridge-child-held-to-auto-i","canonical_anchor":"bridge-child-env-var-claude-code-bridge-child-held-to-auto-i","heading":"Bridge-started sessions that may run unattended are held to auto mode","tier":"notice","area":"Permissions","scope":"org","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/bridge-child-env-var-claude-code-bridge-child-held-to-auto-i","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Bridge-started sessions that may run unattended are held to auto mode\n\nBridge-started sessions that may run unattended now keep only auto mode, dropping other `--permission-mode` choices and bypass permissions\n\n**Unclear.** Which bridge sessions Claude Code treats as possibly unattended is not stated.\n\n**What**\n\nA 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:\n\n- an explicit `--permission-mode` other than `auto` is dropped, with a warning saying the session may be unattended\n\n- any other permission mode is removed from the list of modes you can pick\n\n- bypass permissions mode is unavailable, with a message saying so\n\nThe 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.\n\n**Why**\n\nThis is a safeguard. A session nobody is watching cannot be switched into a mode that skips permission checks.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: org\n- Heads-up: yes"}