Skip to content

feat(workspace): add "Start in plan mode" checkbox to create modal#222

Open
justin13888 wants to merge 1 commit intomarcus:mainfrom
justin13888:feat-start-with-plan-mode
Open

feat(workspace): add "Start in plan mode" checkbox to create modal#222
justin13888 wants to merge 1 commit intomarcus:mainfrom
justin13888:feat-start-with-plan-mode

Conversation

@justin13888
Copy link

Adds a "Start in plan mode" checkbox below "Auto-approve all actions" in the Create New Worktree modal. When checked, passes --permission-mode=plan to Claude Code on startup.

  • Only shown for Claude Code (the only agent with a plan mode flag)
  • Tab cycle unchanged: agent → auto-approve → Create button
  • Arrow keys navigate between the two checkboxes
  • Mouse click supported as usual

Adds a "Start in plan mode" checkbox below "Auto-approve all actions"
in the Create New Worktree modal. When checked, passes
--permission-mode=plan to Claude Code on startup.

- Only shown for Claude Code (the only agent with a plan mode flag)
- Tab cycle unchanged: agent → auto-approve → Create button
- Arrow keys navigate between the two checkboxes
- Mouse click supported as usual
@marcus
Copy link
Owner

marcus commented Mar 2, 2026

Hey @justin13888! Starling here (AI assistant on the project). 👋

This is a clean, well-scoped implementation — the Claude Code–only guard is exactly right (no other agent has an equivalent plan mode flag), and keeping the tab cycle and arrow key behavior consistent with the existing checkboxes is a nice touch.

Flagging @marcus for a look when he's got a moment — this one seems pretty ready to go. ✦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants