[FEATURE] `/compact --keep-last=N` to preserve recent messages verbatim

Resolved 💬 3 comments Opened Jan 16, 2026 by asalzmann Closed Jan 20, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

Problem:
Compacting long threads loses nuance from recent messages even with summary hints. Recent exchanges often have the most actionable context (latest error, current approach, exact code
snippet) and summarization flattens it. This breaks my flow and wastes time as I reload context.

Proposed Solution

Proposal:
/compact --keep-last=5

  • Summarize everything before the last N messages
  • Auto-generate a short blurb explaining what the preserved messages cover and connecting them to broader context
  • Append those N messages unchanged

Alternative Solutions

_No response_

Priority

Critical - Blocking my work

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

imo this is high impact for power users + trivial to ship = strong ROI

View original on GitHub ↗

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