{"version":"2.1.304","anchor":"exitplanmode-can-pass-the-plan-inline-in-sessions-with-no-pl","canonical_anchor":"exitplanmode-can-pass-the-plan-inline-in-sessions-with-no-pl","heading":"Plan mode can pass the plan straight to ExitPlanMode in sessions without a plan file","tier":"notice","area":"Plan Mode","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.304\/e\/exitplanmode-can-pass-the-plan-inline-in-sessions-with-no-pl","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.304","markdown":"### Plan mode can pass the plan straight to ExitPlanMode in sessions without a plan file\n\nIn sessions with no plan file, Claude now hands the whole plan to ExitPlanMode for your approval instead of writing it to a file\n\n**Unclear.** Which sessions have no plan file, and so need the plan passed this way, is not stated.\n\n**What**\n\nPlan mode is where Claude plans its work for your approval before changing anything. Normally the plan is written to a file. In sessions that have no plan file:\n\n- Claude is told to call `ExitPlanMode`, the plan-approval tool, with the whole plan in Markdown as its `plan` argument, and not to write it to a file: \"This session has no plan file, so do not write the plan to a file.\"\n\n- You see the plan on an approval card. Approving ends plan mode; declining keeps plan mode so Claude revises the plan.\n\n- In the 'sparse' version of the instructions, Claude is told never to ask about plan approval in text.\n\n- The plan-mode reminder for these sessions gains a variant (`planGoesToExitTool`) with a \"Phase 5: Call ...\" step. Before, it said \"Give your plan to the user as text in your reply\".\n\n- `ExitPlanMode` requires the `plan` argument there and refuses subagents (helper copies of Claude), empty plans and plans over a size limit: \"Pass the whole plan as non-empty text in the `plan` argument, and pass no other argument. This session has no plan file to read it from.\"\n\n- The approval result includes \"Your plan has been saved to\" only when a plan file exists.\n\n- Whether a plan can return to auto mode is now decided by `canPlanReturnToAutoMode` instead of `isAutoModeGateEnabled`.\n\nThe stock `ExitPlanMode` description captured under this release is 1,849 characters and unchanged from the previous release.\n\n**Why**\n\nPlan mode works in sessions that have nowhere to save a plan file, and you still approve or decline the plan through the same card.\n\n- Area: Plan Mode\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}