v2.9.1 — Activate Dormant Compression + Scientific Safeguards
Highlights
Fixed
- git log compression: 1% → 50-88% savings. Fixed overly conservative safeguard + added 20-entry truncation for both
--onelineand standard format - ctx_search SymbolMap: Now applies compression universally (was TDD-only), consistent with ctx_read
Added
- Dormant compression activation: SymbolMap with ROI >= 5% gate,
lightweight_cleanup()fallback, active FeedbackStore learning - 7 scientific safeguards: Shannon entropy floor, Kolmogorov complexity gate (K>0.7), Symbol-Map ROI guarantee, token ratio bounds [0.15, 1.0], edit integrity, feedback dampening (EWMA), benchmark monotonicity
- Thinking token optimization: SNR metric, adaptive CEP output budget, token budget hints
- Output token optimization: Auto filler removal on checkpoints, CRP defaults to TDD
- Codebook deduplication: Cross-file TF-IDF applied during auto-checkpoints
Install / Update
cargo install lean-ctx # Rust
brew upgrade lean-ctx # Homebrew
npm update -g lean-ctx-bin # npm
yay -S lean-ctx # AUR
lean-ctx update # Self-updateFull changelog: https://github.com/yvgude/lean-ctx/blob/main/CHANGELOG.md
Full Changelog: v2.9.0...v2.9.1