Auto-compaction in 1.0 uses checkpoint-based session persistence, replacing the previous fixed-threshold summarization with a structured approach that retains task-level awareness across restarts.
When context approaches the compaction threshold:
Use /compact in the chat input to trigger compaction at any point. Useful if a session is large and responses feel slow. The summary includes the same structured content as auto-compaction.
| Always preserved | May be summarized |
|---|---|
| Task status (done / in-progress / pending) | Individual tool call details |
| File paths modified | Intermediate reasoning steps |
| Key decisions and constraints | Code snippets in earlier messages |
| Next steps | Error details from resolved issues |
Compaction is one-way — the full conversation history before the checkpoint is not recoverable within the session. Export your session before manual compaction if you need to preserve full history.
For how compaction works across all surfaces, see Compaction.
Improved compaction