{"version":"2.1.331","anchor":"bypass-permissions-mode-no-longer-auto-allows-when-plan-mode","canonical_anchor":"bypass-permissions-mode-no-longer-auto-allows-when-plan-mode","heading":"Plan mode now remembers who entered it, and bypass mode stops auto-allowing in that case","tier":"notice","area":"Permissions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/bypass-permissions-mode-no-longer-auto-allows-when-plan-mode","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Plan mode now remembers who entered it, and bypass mode stops auto-allowing in that case\n\nClaude Code keeps track of whether the model entered plan mode, and bypass permissions mode asks instead of auto-allowing while that is recorded\n\n**Unclear.** Which ways of entering plan mode trigger the extra prompts is not stated.\n\n**What**\n\nPlan mode is the mode where Claude plans before making changes. Claude Code records what put a session into plan mode in a value called `planEnteredBy`, and this release changes how that value is kept and used.\n\n- Bypass permissions mode (`bypassPermissions`), which normally lets tool calls run without asking you, is now treated as unavailable while `planEnteredBy` is set. In that case Claude Code answers \"ask\" instead of \"allow\".\n\n- A new check lets tools from certain MCP servers still be auto-allowed under bypass mode, but only when a further check passes.\n\n- When the model entered plan mode and you switch to another mode, `planEnteredBy` is now set to `model_from_other_mode` instead of being cleared.\n\n- The `plan_entered_by` field in session metadata is now \"model\" only when the mode is plan and the model entered it, and null otherwise. Clearing it now happens only when the model entered plan mode, not for any entrant.\n\n- In the same session-metadata change, Claude Code now records `replCloudsOnly` next to `replMode`, and uncommitted diff hunks (`uncommittedHunks`) count toward the diff size limit.\n\n**Why**\n\nBypass mode now skips prompts in fewer situations: if something else put the session into plan mode, you are asked before tools run. Plan mode entered by the model is also remembered across a mode switch rather than forgotten.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: yes"}