[FEATURE] Add setting to configure default option in plan mode approval dialog
Status Fixed / completed
Maintainer reply None cached
Activity 8 comments · opened Jan 16, 2026 · closed Aug 17, 2026
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
When approving a plan after plan mode, I see this dialog:
❯ 1. Yes, clear context and auto-accept edits (shift+tab)
- Yes, auto-accept edits
- Yes, manually approve edits
- Type here to tell Claude what to change
The default selection is option 1 which clears the context. I always want option 2 ("Yes, auto-accept edits") because:
- Context preservation improves performance - For complex, multi-step problems, keeping the full conversation context helps Claude understand the broader picture and make better decisions during implementation
- I already have auto-compact enabled - Context management is handled automatically, so forcing a clear at plan approval is unnecessary
- Clearing loses valuable context
Every time I approve a plan, I have to press down arrow to select option 2 instead of accidentally clearing my context.
Proposed Solution
Add a setting (e.g., planApprovalDefaultOption) that allows users to configure which option is selected by default:
{
"planApprovalDefaultOption": 2
}
Or with named values:
- "clearAndAutoAccept" (current default)
- "autoAccept"
- "manualApprove"
Alternative Solutions
_No response_
Priority
Medium - Would be very helpful
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_
Showing cached comments. Read the full discussion on GitHub ↗
7 Comments
Or add an option
compactAndAcceptPlanto compact context before accept plan.Agree on this one. I find myself hitting option 1 to clear context. And then get poor performance out of the agent making misstakes because lacking of context.
Please add this, I _never ever_ want auto-accept and it's way too easy to hit the wrong option.
Casting my vote for this as well, as a secondary option it's fine but the default should be
Yes, auto-accept editsThis could yield such awesome setups, 10x than ralph-loop.
I would like to see default use-git-worktrees, it would save a lot of headaches tbh if someone runs 1+ implementation over the same repository.
This has become even more relevant with the addition of the Ultraplan option in the plan approval dialog.
When web mode is disabled (e.g. via admin policy), the "No, refine with Ultraplan on Claude Code on the web" option is still shown, but it simply doesn't work. Unavailable options should ideally be hidden automatically, or there should be a setting to configure which options appear.