{"name":"CLAUDE_CODE_USER_DELEGATED_SESSION_ALLOWED_CHECK_MODELS","slug":"claude-code-user-delegated-session-allowed-check-models","family":"env","title":"Environment variables","noun":"environment variable","description":"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","description_source":"entry","described_by":{"version":"2.1.321","anchor":"user-delegated-session-env-vars-forwarded-to-shellcommand-e"},"presence":{"first_seen":"2.1.321","removed_in":null,"in_current_build":true,"newest_mined":"2.1.322","builds":2,"mined_builds":161,"first_cited":{"version":"2.1.321","released_at":"2026-11-09 19:02:47","spans":1}},"aliases":[],"entries":[{"version":"2.1.321","anchor":"user-delegated-session-env-vars-forwarded-to-shellcommand-e","heading":"Settings for user delegated sessions are passed on, and some commands refuse to run in them","line":"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","released_at":"2026-11-09 19:02:47","reason":"found in this entry's text"}],"entries_total":1,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_USER_DELEGATED_SESSION_DIRECT_API","slug":"claude-code-user-delegated-session-direct-api","description":"Setting CLAUDE_CODE_USER_DELEGATED_SESSION_DIRECT_API gives remote sessions a separate failure type when their route is refused"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-user-delegated-session-allowed-check-models","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}