[FEATURE]: Plan mode should use a temp file #6298

Closed
opened 2026-02-16 18:02:48 -05:00 by yindo · 0 comments
Owner

Originally created by @YPares on GitHub (Jan 15, 2026).

Originally assigned to: @thdxr on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Currently, the agent in plan mode re-prints the whole plan after every suggestion. This is wasting time and tokens. I circumvent that by having it write the plan to a file (but I need to exit Plan mode to do so) and going back and forth with git diffs, but it would be better if the plan was backed by a temp file which I and the agent would edit, showing the diff to the agent when I modify it.

Originally created by @YPares on GitHub (Jan 15, 2026). Originally assigned to: @thdxr on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Currently, the agent in plan mode re-prints the whole plan after every suggestion. This is wasting time and tokens. I circumvent that by having it write the plan to a file (but I need to exit Plan mode to do so) and going back and forth with git diffs, but it would be better if the plan was backed by a temp file which I and the agent would edit, showing the diff to the agent when I modify it.
yindo added the discussion label 2026-02-16 18:02:48 -05:00
yindo closed this issue 2026-02-16 18:02:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6298