Fixed
- Knowledge recall blocks all agents for 58s — Embedding engine loading (ONNX model ~25MB) no longer blocks recall. New
try_shared_engine()returns instantly if model isn't loaded yet; auto/hybrid mode uses non-blocking path. Only explicitmode=semanticmay trigger model load. Retrieval signal persistence moved to background thread (save_knowledge_deferred) so 436KB+ JSON writes don't stall the MCP thread (#ReDev1L report) start_line=1forces unnecessary disk re-reads (#253) — Clients like opencode that always sendstart_line=1no longer trigger mode override tolines:1-999999+fresh=true.start_line=1is now correctly treated as a no-op since line 1 is the default. Onlystart_line > 1activates the lines-mode override- Git write-commands incorrectly compressed —
git commit,git push,git pull,git merge,git rebase,git cherry-pick,git tag,git resetare now classified as verbatim (zero compression). Prevents terse engine from abbreviating subcommands in output that AI agents may re-use (daviddatu_ report) - PowerShell command wrapping — Single full-command strings (e.g.
git commit -m "...") are no longer incorrectly wrapped in& '...'quotes on PowerShell, which caused "executable not found" errors - Terse dictionary safety — Removed git subcommand abbreviations (
commit→cmt,branch→br,checkout→co,merge→mrg,rebase→rb,stash→st) from the GIT dictionary to prevent output corruption
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.6.10...v3.6.10