[FEATURE]: "Compact above" - Partial Compaction #7111

Open
opened 2026-02-16 18:06:12 -05:00 by yindo · 1 comment
Owner

Originally created by @JosXa on GitHub (Jan 21, 2026).

Originally assigned to: @thdxr on GitHub.

Describe the enhancement you want to request

In a long-running session, you often know exactly which part of the conversation has become less relevant and can be compacted. The same way, you know that e.g. the last 8 messages of the dialog are critical and must be retained verbatim.

What if we added a "Compact above" (or "Compact up to here" or "Compact from here") action to the Message Actions?

Image (nanobanana mockup)

Loosely related to #4659

Originally created by @JosXa on GitHub (Jan 21, 2026). Originally assigned to: @thdxr on GitHub. ### Describe the enhancement you want to request In a long-running session, you often know exactly which part of the conversation has become less relevant and can be compacted. The same way, you know that e.g. the last 8 messages of the dialog are critical and must be retained verbatim. What if we added a "Compact above" (or "Compact up to here" or "Compact from here") action to the Message Actions? <img width="1696" height="624" alt="Image" src="https://github.com/user-attachments/assets/392d5252-34cd-4d08-bd7c-0a750300b49a" /> (nanobanana mockup) Loosely related to #4659
yindo added the discussion label 2026-02-16 18:06:12 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 21, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #8932: [FEATURE]: Allow pinning important instructions/messages per session to keep them after compaction
  • #7712: [FEATURE]: I want to be able to edit the context to delete messages
  • #4659: [FEATURE] Sliding window context management for long-running sessions

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 21, 2026): This issue might be a duplicate of existing issues. Please check: - #8932: [FEATURE]: Allow pinning important instructions/messages per session to keep them after compaction - #7712: [FEATURE]: I want to be able to edit the context to delete messages - #4659: [FEATURE] Sliding window context management for long-running sessions Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7111