Skip to content

/foo: path is too broad... #2014

Description

@kobaz

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

  • I searched existing issues and this is not a duplicate.
  • My reproduction uses shareable code (a dummy snippet or a public OSS repository), not proprietary code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority/normalStandard review queue; useful PR with ordinary maintainer urgency.securitySecurity vulnerabilities, hardeningux/behaviorDisplay bugs, docs, adoption UX

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions