Bug
search_code returns 0 matches for all patterns when the indexed repository path contains a space character on macOS. This is a common scenario for users with directories like /Users/name/My Project/.
Reproduction
- Create or clone a repo into a path with spaces, e.g.
/tmp/test repo/
- Run
index_repository on that path
- Run
search_code with any pattern that should match
- Observe 0 results despite the graph being indexed
Expected
search_code should return matches regardless of spaces in the repo path.
Environment
- macOS (Darwin)
- codebase-memory-mcp v0.8.1+
Related
Bug
search_codereturns 0 matches for all patterns when the indexed repository path contains a space character on macOS. This is a common scenario for users with directories like/Users/name/My Project/.Reproduction
/tmp/test repo/index_repositoryon that pathsearch_codewith any pattern that should matchExpected
search_code should return matches regardless of spaces in the repo path.
Environment
Related