Skip to content

[Feature]: When finishing Plan mode, provide an option for clearing context before starting implementation #1058

Description

@syz51

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I am describing a concrete problem or use case, not just a vague idea.

Area

apps/desktop

Problem or use case

In plan mode, multiple rounds of interations could happen, which results in a large chunk of the context being taken. When plan finished and ready for implementation, it would be nice to provide an option to clear the existing context and only leave the plan file, for use to implementation. Claude code in a recent version supports this. I think this could at least be an option for people to have.
Not sure if codex supports this though. Happy to investigate further if this is something you think would help.

Proposed solution

When plan finished and ready for implementation, provide an option, when existing plan mode, to clear exisitng context, and only use the created plan file for implmentations.

Why this matters

Context management better, not taken by interations during plan phase.

Smallest useful scope

clear context when exiting plan mode

Alternatives considered

No response

Risks or tradeoffs

No response

Examples or references

No response

Contribution

  • I would be open to helping implement this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequested improvement or new capability.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions