Skip to content

fix(mcp): prefilter scoped search_code paths#756

Open
yutianyu111602-glitch wants to merge 1 commit into
DeusData:mainfrom
yutianyu111602-glitch:codex/search-code-path-filter-dco
Open

fix(mcp): prefilter scoped search_code paths#756
yutianyu111602-glitch wants to merge 1 commit into
DeusData:mainfrom
yutianyu111602-glitch:codex/search-code-path-filter-dco

Conversation

@yutianyu111602-glitch

Copy link
Copy Markdown

Summary

  • Apply path_filter while writing the indexed file list used by scoped search_code grep.
  • Keep the existing post-grep path filter as a defensive fallback.
  • Normalize indexed Windows paths before regex matching so filter semantics stay aligned with result paths.

Verification

  • git diff --check origin/main...HEAD
  • wsl.exe bash -lc 'cd /mnt/c/code/githubstar/codebase-memory-mcp && make -f Makefile.cbm cbm -j2'

Signed-off-by: yutianyu111602-glitch <yutianyu111602@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant