v0.9.28
What's New
Added
- Sliding window context management: Deterministic 1-line tool result summaries (e.g., "terminal: cargo test -> exit 0") for compact context preservation
- Adaptive sliding window: Budget-aware
calculate_window_size()replaces brittleis_new_taskbranching — adapts to context size naturally - Age-based tool result clearing: 3-tier system — current interaction keeps all, Prior 1 gets 1-line summaries, Prior 2+ drops entirely
- Compaction module: Trigger detection (idle gap, file upload, window overflow), pending-pair tracking, LLM-based summarization
- Skeleton extraction:
extract_skeleton()utility for compaction module
Changed
- Orphaned assistant messages preserved with "[Action completed]" instead of being dropped
- Identity-critical tool results exempt from summarization
Fixed
- 6 integration tests updated for sliding window context changes
- Temp DB file lifetime in manage_oauth tests — prevented CI flakiness from early file cleanup
Full Changelog: v0.9.27...v0.9.28