v3.9.19
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 onlyctx_calladvertised; hooks handle native tool redirection at
runtime, eliminating legacy hook deny logic. lean-ctx checkpointsCLI — list, filter by session/commit, find orphaned
checkpoints.lean-ctx health --watchCLI — continuous terminal refresh (10s interval)
for workspace health monitoring.lean-ctx importCLI — 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 extensions —
ProvenanceCheckpoint,ProvenanceEdit,
HealthChangedevent 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 tool —
ctx_memoryfor 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 toinitialize. - CLI read cache process isolation (#1459) — scope cache hits to current
process to prevent stale reads across restarts. - Dashboard
rawMapReferenceError —cockpit-remaining.jsnow defines
rawMapbefore 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.jsonBash permissions
for interpreter heredoc execution. - Root restriction rules —
ctx_*tools refuse paths outside project root
andallow_paths;lean-ctx doctorshows effective roots. - Windows
npm installEBUSY — 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-ctxNote: After upgrading via cargo/npm/brew, run
lean-ctx setupto refresh shell aliases.lean-ctx updatedoes this automatically.
Full Changelog: v3.9.19...v3.9.19