Skip to content

v2.16.0 — Intelligence Layer, ctx_search Fix, Report Issue

Choose a tag to compare

@yvgude yvgude released this 03 Apr 10:19

Intelligence Layer, ctx_search Fix, Report Issue

Highlights

  • lean-ctx report-issue — One-command bug reporting with full diagnostics (9 sections), auto-anonymization, and direct GitHub issue creation
  • ctx_search hang fix — Previously hung for minutes; now completes in <100ms (spawn_blocking + 30s timeout, 512KB file size limit, depth limit)
  • Graph impact analysis fixedctx_graph impact now correctly identifies dependents by resolving Rust module paths to file paths
  • Intelligence block — Output efficiency hints in MCP instructions reduce output tokens by 15–40% without affecting thinking quality
  • Task briefing pipeline — Automatic task classification (9 types) with OUTPUT-HINT directives, injected via autonomy pipeline

Bug Fixes

  • ctx_search: spawn_blocking wrapper, 30s timeout, 512KB file size limit, max directory depth 20, extended binary/generated file detection (43+ extensions)
  • ctx_graph impact was always returning "No files depend on X" — fixed module path ↔ file path resolution
  • Security audit: removed all lab-specific references from source code
  • Test cleanup: removed 7 machine-dependent benchmarks, fixed hardcoded developer paths

Performance

462/462 tests pass
59% average token savings in Cursor sessions
91% compression on git log --stat
98% compression on cargo test --no-run
<100ms ctx_search response (previously hung for minutes)

Install / Update

# New install
curl -fsSL https://leanctx.com/install.sh | sh
lean-ctx setup

# Update existing
lean-ctx update

Full changelog: https://github.com/yvgude/lean-ctx/blob/main/CHANGELOG.md

Full Changelog: v2.15.0...v2.16.0