Each compaction round was re-nesting the previous summary under '- Previously compacted context:', causing the summary to grow by ~depth * overhead per compaction cycle. After 20+ compactions the summary was 30+ levels deep and 500KB+. The fix flattens prior compaction highlights directly into the top-level list (prefixed with '-'), while keeping the current round's highlights under '- Newly compacted context:'. This means compaction summary size is now O(depth) rather than O(depth^2). |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||