{"version":"2.1.330","anchor":"relaunch-hands-a-bypass-held-marker-to-the-new-process-thr","canonical_anchor":"relaunch-hands-a-bypass-held-marker-to-the-new-process-thr","heading":"Bypass permissions mode can now carry over when Claude Code restarts itself","tier":"internal","area":"Permissions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/relaunch-hands-a-bypass-held-marker-to-the-new-process-thr","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Bypass permissions mode can now carry over when Claude Code restarts itself\n\nWhen Claude Code restarts itself, it can now pass the new process a marker saying bypass permissions mode was held\n\n**Unclear.** What the carried-over hold changes in the restarted session is not stated.\n\n**What**\n\nBypass permissions mode lets Claude Code act without asking for approval. When Claude Code restarts itself, it can now pass the new process a marker through the internal environment variable `CLAUDE_CODE_RELAUNCH_BYPASS_SWITCH`. Claude Code sets this itself; it is not a setting to set by hand.\n\n- The old process writes the marker only when bypass permissions mode is available, or is held for an automatic switch.\n\n- The new process reads the marker at startup, clears it, and checks it against the running process.\n\n- The result is either \"held\" or \"seen\", and a \"held\" result turns on a flag in the new session.\n\n**Why**\n\nIt is groundwork so that a session that restarts itself keeps its bypass permissions hold instead of losing it.\n\n- Area: Permissions\n- Names: `CLAUDE_CODE_RELAUNCH_BYPASS_SWITCH`\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}