Dashboard Reliability + Automatic Background Indexing
Added
- Background indexing orchestrator — automatically builds and refreshes dependency graph, BM25 index, call graph, and route map in the background once a project root is known.
- Dashboard status endpoint —
GET /api/statusexposes per-index build states (idle|building|ready|failed) for progress display and troubleshooting. - Routes cache — dashboard route map results are cached per project to avoid repeated scans.
Improved
- Dashboard APIs are non-blocking — graph/search/call-graph/routes endpoints return a
buildingstatus instead of hanging while indexes are being built. - Dashboard UI — views show “Indexing…” + auto-retry with backoff instead of confusing empty states or timeouts.
- Auto-build on real usage — MCP server triggers background builds when the project root is detected from
ctx_readand also fromctx_shell(via effective working directory), without requiring manual reindex commands.
CI
- AUR release hardening — AUR job runs only when
AUR_SSH_KEYis present, verifies SSH access up front, and fails loudly on auth issues. - Homebrew verification — formula update step asserts the expected version + SHA are written before pushing.
Kiro IDE Support
- Kiro steering file —
lean-ctx init --agent kiroandlean-ctx setupnow create.kiro/steering/lean-ctx.mdalongside the MCP config, ensuring Kiro uses lean-ctx tools instead of native equivalents. - Project-level detection —
install_project_rules()automatically creates the steering file when a.kiro/directory exists.
Fixed
lean-ctx doctorshowed 9/10 instead of 10/10 — session state check was displayed but never counted towards the pass total.- Dashboard browser error on Linux — suppressed Chromium stderr noise (
sharing_service.cc) when opening dashboard viaxdg-open.
Upgrade
cargo install lean-ctx # or
npm update -g lean-ctx-bin # or
brew upgrade lean-ctxFull Changelog: v3.0.3...v3.0.3