Agents: safeguard compaction summarization

This commit is contained in:
Shadow
2026-01-10 18:34:40 -06:00
committed by Peter Steinberger
parent 42ff634a9d
commit a96d299971
8 changed files with 248 additions and 0 deletions

View File

@@ -15,6 +15,9 @@ Compaction **summarizes older conversation** into a compact summary entry and ke
Compaction **persists** in the sessions 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 models context window, Clawdbot triggers auto-compaction and may retry the original request using the compacted context.