Plan mode no longer suggests context clear before executing plan

Status Closed — duplicate
Maintainer reply None cached
Activity 3 comments · opened Mar 27, 2026 · closed Mar 30, 2026

Description

Plan mode previously offered an option to clear context before executing an approved plan. This behavior has stopped occurring.

Expected behavior

When a plan is approved via ExitPlanMode, the user should be presented with an option to clear context before execution begins. This is important because:

  • Planning conversations consume significant context window (exploration agents, design discussion, iterative plan edits)
  • Implementation needs the freed context headroom, especially for multi-file plans
  • The user should not have to manually remember the plan file path after clearing -- the system should handle the plan file reference seamlessly

Current behavior

ExitPlanMode approves the plan and immediately begins execution without offering to clear context. The user must manually run /clear and then remember/re-reference the plan file path.

Impact

  • Context pressure during implementation of complex plans
  • Manual workaround required (user runs /clear then re-prompts with plan path)
  • Regression from prior behavior that users relied on

Environment

  • Claude Code CLI on Windows 11
  • Model: claude-sonnet-4-6 / claude-opus-4-6
  • Observed: 2026-03-26

View original on GitHub ↗

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