Parent
Parent PRD: #82
What to build
Implement the /compact slash command. This is a two-phase operation:
- Provider compaction: The server calls the provider adapter's compaction method (e.g., Codex thread/compact/start) to ask the provider to summarize the full conversation history into a compact summary text.
- Trim + summary: Once the summary is returned, the server records it via thread.context.summarize, then trims all messages before the current point via the existing thread.context.trim flow (from Slice 1), attaching the summary to the trim point.
The UI shows a ContextSummaryBanner above the trim point divider displaying the compaction summary. The summary text is also used to bootstrap the restarted provider session.
Acceptance criteria
Blocked by
Parent
Parent PRD: #82
What to build
Implement the /compact slash command. This is a two-phase operation:
The UI shows a ContextSummaryBanner above the trim point divider displaying the compaction summary. The summary text is also used to bootstrap the restarted provider session.
Acceptance criteria
Blocked by