-
Notifications
You must be signed in to change notification settings - Fork 3.4k
/foo: path is too broad... #2014
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestpriority/normalStandard review queue; useful PR with ordinary maintainer urgency.Standard review queue; useful PR with ordinary maintainer urgency.securitySecurity vulnerabilities, hardeningSecurity vulnerabilities, hardeningux/behaviorDisplay bugs, docs, adoption UXDisplay bugs, docs, adoption UX
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpriority/normalStandard review queue; useful PR with ordinary maintainer urgency.Standard review queue; useful PR with ordinary maintainer urgency.securitySecurity vulnerabilities, hardeningSecurity vulnerabilities, hardeningux/behaviorDisplay bugs, docs, adoption UXDisplay bugs, docs, adoption UX
Version
codebase-memory-mcp 0.10.8
Platform
Linux (x64)
Install channel
GitHub release archive / install.sh / install.ps1
Binary variant
ui
What happened, and what did you expect?
Our projects live in for example a path called /platform
And then we have /platform/System (git repo)
/platform/Modules/Core (git repo)
/platform/Modules/Web (git repo)
codebase-memory-mcp refuses to index this as one project (saying path too broad)
My workaround is setting up a separate path containing hard links to everything and then indexing THAT, which is cumbersome and really unworkable at scale.
It looks like there's a hard coded check where if the path element is a single crumb like 'platform' versus like /opt/platform, it will outright reject this. And it looks like there's no way to override this via options or env variables.
Reproduction
create /platform/System
create /platform/Modules/Core
create /platform/Modules/Web
index_repository /platform
Logs
Diagnostics trajectory (memory / performance / leak issues)
Project scale (if relevant)
No response
Confirmations