Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ Compaction triggers when token usage reaches the configured threshold (default:
- **Recent messages**: Last N% of messages (configurable via `protected_recent`)
- **Recent tool results**: The last `protected_tool_results` results (default 5) are protected from both truncation and removal; a protected sibling also prevents removal of its owning call group
- **Tool pairs**: Tool_use and tool_result messages are treated as atomic units
- **Unfinished signed tool turns**: provider thinking remains intact while any
sibling tool result is pending. Context reuses the existing sticky view
without a new compaction decision, or fails closed when that complete view
cannot fit the request budget.

### Request-scoped retention

Expand Down
Loading
Loading