{"version":"2.1.323","anchor":"new-claude-code-user-delegated-session-and-any-check-mod","canonical_anchor":"new-claude-code-user-delegated-session-and-any-check-mod","heading":"Two more user delegated session variables are passed to child processes","tier":"internal","area":"Environment Variables","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323\/e\/new-claude-code-user-delegated-session-and-any-check-mod","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323","markdown":"### Two more user delegated session variables are passed to child processes\n\nCLAUDE_CODE_USER_DELEGATED_SESSION and ..._ANY_CHECK_MODEL now reach processes Claude Code starts, and bridge child spawning handles bad output and errors better\n\n**Unclear.** What these two variables do once they are set.\n\n**What**\n\nEnvironment variables are named settings passed to a program when it starts. Claude Code already passed `CLAUDE_CODE_USER_DELEGATED_SESSION_DIRECT_API` and `CLAUDE_CODE_USER_DELEGATED_SESSION_ALLOWED_CHECK_MODELS` on to the processes it starts. Two new names join them:\n\n- `CLAUDE_CODE_USER_DELEGATED_SESSION`, added to three pass-through lists, including the one used by the bridge, the part of Claude Code that starts child sessions\n\n- `CLAUDE_CODE_USER_DELEGATED_SESSION_ANY_CHECK_MODEL`, added to the same three lists\n\nWhat reads them was not traced. The bridge's spawning code also changed:\n\n- A line of child output that fails to process is now logged and skipped, instead of the error going uncaught\n\n- The error shown when a child cannot be started now suggests checking that the program and the working folder exist\n\n**Why**\n\nChild processes and bridge sessions now inherit these user delegated session settings along with the existing two. A malformed line from a child no longer breaks its handling, and a failed start points you to the likely things to check.\n\n- Area: Environment Variables\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}