Skip to content

fix(search): search_code returns 0 matches on macOS arm64 (graph index appears valid) #688

Description

@lg320531124

Bug

search_code returns 0 matches for all patterns on macOS arm64 even when the graph index appears to be built successfully. Other tools (search_graph, get_architecture) may work correctly, suggesting the issue is specific to the search_code BM25/grep pipeline on arm64.

Possible causes

  • arm64-specific alignment or pointer issue in the BM25 scorer
  • Tree-sitter grammar loading differs on arm64
  • File walking or mmap behavior difference on arm64 macOS

Environment

  • macOS arm64 (Apple Silicon)
  • codebase-memory-mcp v0.8.1

Related

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

    bugSomething isn't workingux/behaviorDisplay bugs, docs, adoption UX

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions