v3.6.20
Fixed
- Critical: OnceLock reentrancy deadlock on Linux (#301): All shell hook commands (
ls,cat, etc.) andlean-ctx updatehung after upgrading to v3.6.19. Caused byactive_profile_name()callingConfig::load(), which re-enteredfind_project_root()'sOnceLockviaSessionState::load_latest()→normalize_loaded_session()→active_profile(). Fixed by reading theprofileconfig key directly from disk (bypassing the fullConfig::load()pipeline) and removing theactive_profile()call from session normalization.
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.20...v3.6.20