Terms
Merge rules
- cwd = main directory → all additional roots;
- cwd = an additional root → main directory + the other roots;
- Exact path matching: sessions opened in a subdirectory of a root don’t auto-join — add that subdirectory itself as a root to merge it;
- Unconfigured directories can be absorbed: after adding
backendas a root offrontend, sessions inbackendroll up to thefrontendproject card.
Attached context
Each additional root injects:- Instruction files (first non-empty of
AGENTS.md→CLAUDE.md→.claude/CLAUDE.md); - Skill directories (
.kova/skills,.agents/skills,.claude/skills); - File-retrieval scope and write-permission roots.
Storage & safety
Config lives in local SQLite kv (pi.projectDirs) and is deliberately not
stored in the repository — the config injects instructions and retrieval
paths, so following git would mean cloning someone’s repo injects
instructions into your agent. That’s an unacceptable default. The trade-off:
team members don’t share the same virtual directories automatically
(sharing needs an explicit trust-confirmed mechanism).
Manage from the project card’s ”⋯” menu → directory management.