What's wrong with this entry?
Automatically clears old tool result content when the user returns after an idle gap, reducing context size without a full compaction.
Feature-flagged by tengu_slate_heron.
- Detects idle gaps between the last assistant message and the current time
- When the gap exceeds a configurable threshold, replaces old tool results with "[Old tool result content cleared]"
- Keeps the N most recent tool results intact (
keepRecentconfig) - Logs token savings: "[TIME-BASED MC] gap Xmin > Ymin, cleared Z tool results (~N tokens), kept last M"
- Triggers automatic compaction marker after clearing
Time-based micro-compaction (gated by tengu_slate_heron, search for "[TIME-BASED MC]" and "[Old tool result content cleared]")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.