{"version":"2.1.290","anchor":"new-relaunchproactivity-env-vars-added-to-a-scrub-list-no","canonical_anchor":"new-relaunchproactivity-env-vars-added-to-a-scrub-list-no","heading":"New variables to turn off proactivity and carry it across a relaunch","tier":"use","area":"Proactivity","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.290\/e\/new-relaunchproactivity-env-vars-added-to-a-scrub-list-no","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.290","markdown":"### New variables to turn off proactivity and carry it across a relaunch\n\nClaude Code adds `CLAUDE_CODE_DISABLE_PROACTIVITY` and variables that pass proactivity state to a relaunched Claude Code\n\n**What**\n\nClaude Code has new environment variables (settings you pass to a program through the shell) related to proactivity, the level that sets how much Claude does on its own ([the --proactivity startup entry](\/v\/2.1.290\/e\/new-proactivity-startup-level-gated-by-tengu-proactivity) has the detail):\n\n- `CLAUDE_CODE_DISABLE_PROACTIVITY`: turns the proactivity selector off. `--proactivity` then has no effect: no proactivity note is sent, the level does not choose the permission mode, and `--proactivity ask` falls back to manual mode with a notice.\n\n- `CLAUDE_CODE_RELAUNCH_PROACTIVITY_BASELINE`, `CLAUDE_CODE_RELAUNCH_PROACTIVITY_LEVEL`, `CLAUDE_CODE_RELAUNCH_PROACTIVITY_DECIDED` and `CLAUDE_CODE_RELAUNCH_PROACTIVITY_EVER_ON`: these hand the proactivity baseline, level and related state to Claude Code when it restarts itself.\n\nWhen Claude Code starts, the part that picks the starting permission mode reads these relaunch variables and then clears them. If the handed-over baseline is `bypassPermissions`, the mode that skips permission prompts, it is dropped unless you passed `--dangerously-skip-permissions` or `--allow-dangerously-skip-permissions`. `CLAUDE_CODE_DISABLE_ATTACHMENTS` was added to the same list of handled variables.\n\n**Why**\n\nThere is now a way to turn proactivity off, and a restart cannot carry you into bypass mode unless you asked for it on the command line.\n\n- Area: Proactivity\n- Names: `CLAUDE_CODE_RELAUNCH_PROACTIVITY_BASELINE`, `CLAUDE_CODE_RELAUNCH_PROACTIVITY_DECIDED`, `CLAUDE_CODE_RELAUNCH_PROACTIVITY_EVER_ON`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 4\/5\n- Scope: individual\n- Heads-up: no"}