[Feature] Build an approved plan in a new session

Author: crisperitCreated Sep 23, 2026Updated Sep 23, 2026

What I want When Claude finishes a plan in plan mode, the plan card has only two buttons, Revise and Build (src/modules/chat/tools/PlanDisplay.tsx). Both keep going in the same session.

When you approve a plan in the Claude Code CLI, it gives you a third choice: clear the context and start building in a fresh session, with the plan as the first message. I'd like the same in CloudCLI.

Why Planning uses up a lot of context: reading files, searching, back and forth. Once the plan is approved, most of that is noise. Starting fresh with just the plan gives the build a clean context and more room before compaction kicks in.

The workaround today is to copy the plan, open a new session, paste it in, and switch the permission mode by hand. That's awkward, and worse on a phone.

Proposal Turn Build into a split button with a small dropdown:

  • Same session: works like Build does today.
  • New session: deny the pending ExitPlanMode request so the current session stops cleanly, start a new session in the same project, send the plan as the first message with the same permission mode Build uses, then switch the view to the new session.

It would also be nice to keep a link back to the planning session so it's easy to find later.

Setting Add a preference in Settings for what the main Build button does:

  • Same session (default, so nothing changes for current users)
  • New session

The main button and the ⌘↩ shortcut follow this setting. The dropdown always offers the other option, so you can pick per plan without changing the setting.

Related

  • #873, routing ExitPlanMode to the UI in auto mode
  • #1186, plan mode persisting across sessions