Skip to content

claw-ctx v6.5.0: MECW-Aware Compaction

Choose a tag to compare

@petercheng petercheng released this 13 Aug 23:41
· 37 commits to main since this release

v6.5.0 — 2026-08-14

Added

  • MECW-Aware Compaction: compression threshold from static ratio → dynamic computation based on Maximum Effective Context Window (MECW)
  • New MecwEstimator (src/mecw/) + configurable complexityFactor table (SIMPLE 1.0 / MULTI 0.8 / SUMMARIZATION 0.7 / COMPLEX_REASONING 0.6)
  • ProactiveCompactionController.shouldCompact optional taskType param (backward compatible fallback to static compressionThreshold)
  • detectTaskType wired into full pipeline
  • Complex tasks MECW < simple tasks (core dynamic threshold semantics)

Tests

  • 85 files / 1143 tests / 5 skipped / 0 failed (independent QC APPROVED)