Expand description
Compaction tree — 5-level memory compression hierarchy.
Raw → Daily → Weekly → Monthly → Root
Older memories are progressively compressed into higher-level summaries, preserving key information while reducing storage and context size.
§Levels
| Level | Value | Threshold | Description |
|---|---|---|---|
| Raw | 0 | 200 lines | Uncompressed session data |
| Daily | 1 | 300 lines | Compressed from raw (per-day) |
| Weekly | 2 | 500 lines | Compressed from daily (per-week) |
| Monthly | 3 | ∞ | Compressed from weekly (per-month) |
| Root | 4 | ∞ | Top-level index entry |
Structs§
- Compaction
Tree - Compaction tree manager.
Enums§
- Compaction
Level - Compaction level in the compression hierarchy.