Agents: safeguard compaction summarization

This commit is contained in:
Shadow authored and Peter Steinberger committed 2026-01-13 05:55:30 +00:00
1 parent 42ff634a9d
commit a96d299971
8 files changed
+248

No files matched your search

+3
View File
@@ -15,6 +15,9 @@ Compaction **summarizes older conversation** into a compact summary entry and ke
Compaction **persists** in the session’s JSONL history.
## Configuration
See [Compaction config & modes](/compaction) for the `agents.defaults.compaction` settings.
## Auto-compaction (default on)
When a session nears or exceeds the model’s context window, Clawdbot triggers auto-compaction and may retry the original request using the compacted context.