Plan mode: 'Reset context and implement' option can cause loss of important context

Resolved 💬 2 comments Opened Jan 22, 2026 by DiegoSpinola Closed Jan 22, 2026

Problem

When exiting plan mode, there's an option to "reset the context and implement the plan". This option is problematic for several reasons:

  1. Accidental selection: It can be selected when the user doesn't intend to erase the context
  2. Loss of important context: Conversation history contains details that may not be fully captured in the written plan
  3. Implementation errors: The agent implementing the plan may miss critical details that were discussed but not explicitly written in the plan file

Real-world example

I was working on implementing a feature with a clear plan that specified:

  • Feature branches should be created in 3 repos (feature/users-me-endpoint)
  • Changes should be committed to those branches
  • The plan explicitly listed the branch strategy

After the context was reset, the agent proceeded to implement the feature correctly but committed directly to master instead of creating feature branches - completely ignoring the branch strategy that was clearly specified in the plan.

With the full conversation context, the agent would have been more likely to follow the complete workflow. The reset caused the agent to focus narrowly on the implementation steps while missing the broader process requirements.

Feature Request: Add config option to disable "reset context"

Please add a configuration option to disable the "reset context and implement" feature entirely.

Example in .claude/settings.json:

{
  "planMode": {
    "disableResetContext": true
  }
}

This would allow users who rely on conversation context for their workflows to prevent accidental context loss.

Additional suggestions

If a full disable option isn't feasible, consider:

  1. Add a confirmation dialog when "reset context" is selected (e.g., "Are you sure? This will erase conversation history.")
  2. Make "continue with context" the more prominent/default option
  3. Include a warning about what context will be lost before resetting

Environment

  • Claude Code CLI
  • Using plan mode for feature implementation workflows

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗