Skip to content

v3.9.19

Choose a tag to compare

@github-actions github-actions released this 18 Aug 14:09
· 5451 commits to main since this release

Added

  • OSS Intelligence Layer (Class A/B/C) — full control-plane for open-source
    intelligence features with tiered classification: provenance tracking,
    cross-agent memory sync, workspace health monitoring, and per-agent analytics.
  • Solution Intelligence — complete implementation of solution decision
    tracking, LOC metering, native edit auto-capture, and gain CLI integration.
    10-agent verification pass confirms all pipelines functional.
  • Atlas Adaptation (Waves 1–4) — provenance pipeline with checkpoint/git
    integration, session import engine (Claude Code, Codex, Cursor), dashboard
    provenance and health panels, cross-agent memory extraction, additive stats
    merge, and package-manager bypass for shell hooks.
  • Transparent Codex shadow mode — Codex agents now operate in shadow mode
    with only ctx_call advertised; hooks handle native tool redirection at
    runtime, eliminating legacy hook deny logic.
  • lean-ctx checkpoints CLI — list, filter by session/commit, find orphaned
    checkpoints.
  • lean-ctx health --watch CLI — continuous terminal refresh (10s interval)
    for workspace health monitoring.
  • lean-ctx import CLI — import session histories from Claude Code, Codex,
    and Cursor.
  • Semantic search foundation — keyword-based fallback in knowledge store
    with TODO placeholder for HNSW embedding search.
  • [cross_agent] config section — cross-agent sync, auto-extract, semantic
    search, embedding model, max facts per session.
  • Event bus extensionsProvenanceCheckpoint, ProvenanceEdit,
    HealthChanged event kinds added to context bus.
  • Dashboard workspace health panel — traffic-light cards showing daemon,
    doctor, compression, and config status.
  • Dashboard provenance panel — checkpoint timeline and file touch
    visualization.
  • Per-agent usage analytics — token stats broken down by clientInfo.name
    in stats API and dashboard.
  • 84th MCP toolctx_memory for cross-agent memory operations.

Fixed

  • MCP pre-init handshake (#1454) — reply -32601 to unknown pre-init
    requests (e.g. server/discover) and re-enter handshake loop, allowing
    dual-era clients to fall back to initialize.
  • CLI read cache process isolation (#1459) — scope cache hits to current
    process to prevent stale reads across restarts.
  • Dashboard rawMap ReferenceErrorcockpit-remaining.js now defines
    rawMap before use in trend charts.
  • Shell command classification — git write commands (push/pull/merge) now
    classified as Passthrough instead of Verbatim.
  • Compression corruption prevention (#1444) — PostToolUse corruption guard
    and pre-commit hook to catch lean-ctx marker leaks.
  • Claude Bash permissions (#1466) — respect settings.json Bash permissions
    for interpreter heredoc execution.
  • Root restriction rulesctx_* tools refuse paths outside project root
    and allow_paths; lean-ctx doctor shows effective roots.
  • Windows npm install EBUSY — stop running processes before install.
  • macOS CI benchmark tolerance — proportional cache benchmark timing
    tolerance for CI runners.

Changed

  • Shell allowlist tests expanded with Claude Bash permission parsing.
  • Lock ordering documentation updated with new static locks.
  • Tool count updated across all documentation (83 → 84 MCP tools).

Upgrade

lean-ctx update                 # recommended (auto-downloads + refreshes shell hooks)
cargo install lean-ctx          # or
npm update -g lean-ctx-bin      # or
brew upgrade lean-ctx

Note: After upgrading via cargo/npm/brew, run lean-ctx setup to refresh shell aliases. lean-ctx update does this automatically.

Full Changelog: v3.9.19...v3.9.19