[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)

  1. Yes, auto-accept edits
  2. Yes, manually approve edits
  3. 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:

  1. 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
  2. I already have auto-compact enabled - Context management is handled automatically, so forcing a clear at plan approval is unnecessary
  3. 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_

View original on GitHub ↗

7 Comments

Joilence · 7 months ago

Or add an option compactAndAcceptPlan to compact context before accept plan.

jacobhallgren · 7 months ago

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.

matthewconolly-lambda · 7 months ago

Please add this, I _never ever_ want auto-accept and it's way too easy to hit the wrong option.

rbonestell · 6 months ago

Casting my vote for this as well, as a secondary option it's fine but the default should be Yes, auto-accept edits

Nucs · 6 months ago

This could yield such awesome setups, 10x than ralph-loop.

yangwao · 6 months ago

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.

sjoulbak · 4 months ago

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.

Showing cached comments. Read the full discussion on GitHub ↗