Repository navigation
Replies: 3 comments 2 replies
|
Hi @aathanwwt, great question — this is a common setup and lean-ctx handles it well. How Project Root Detection Workslean-ctx automatically detects the project root per-session — you do NOT need to set a single global root. Here's how:
Best practice: Don't set your entire coding directory as the project root. Instead, just Multiple Tools / Agents in Parallel
Recommended SetupInstead of giving a single root: # DON'T do this:
lean-ctx setup --project-root ~/coding/
# DO this — just run lean-ctx from within each project:
cd ~/coding/project-a && lean-ctx doctor
cd ~/coding/project-b && lean-ctx doctorOr simply let your editor handle it — lean-ctx will auto-detect per session. Hope that clears things up! Let me know if you have follow-up questions. |
|
Update — correction to my previous answer: I understated lean-ctx's multi-root capabilities. lean-ctx actually has full multi-root workspace support, not just single-root auto-detection. Here's the complete picture: True Multi-Root Support1. MCP
|
|
I'm using lean-ctx with cursor on Windows. But I'm getting this on cursor: I've also tried: Nothing changes Any hint? |
Uh oh!
There was an error while loading. Please reload this page.
I probably didn't RTFM carefully enough, but can someone nutshell how lean-ctx does or does not handle multiple project roots, and multiple distinct tools in flight? I am working on several projects with other coders using a variety of coding agents (clauder code, windsurf, etc etc) somtimes using multiple agents on the same project. Lean-ctx asked for a project root during install, so I gave it the root of my coding directory, under which I have several git repos cloned. Not sure what the best practice is. Comments?
All reactions