Repository navigation
feat(search): default to ripgrep scanning and parallel lexical/semantic query routing - #140
Merged
Merged
Conversation
added 3 commits
November 13, 2026 10:35
spelech
force-pushed
the
feat/ripgrep-default-and-parallel-query-router
branch
from
November 13, 2026 17:36
4b9dcda to
8591bb7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ripgrep(rg) engine across grep and indexing (ripgrep_runner.py, code_grep_scanner.py, grep_handlers.py, local_syncer.py, git_delta_scanner.py): Replaces Pythonos.walk+ line-by-linere.searchscans with streamingrg --jsonandrg --files, including PCRE2 fallback for lookarounds, broken symlink safety, and pure-Python fallback whenrgis unavailable. Removes the duplicated 100-line extendedos.walkloop fromgrep_handlers.py.lexical_exact), agent keyword-series queries such as"order processor retry payment"(lexical_keywords), and conceptual natural-language questions (semantic_prose) using word-token morphology and prose stopword/interrogative density.rgmulti-token cluster scan + file summaries) concurrently att=0alongside Track B (embedding + vector search).CODE_CHUNK_SIZE=4000(up from1500) so functions and methods stay intact in single AST chunks.rg.exebundling (build_portable_windows.ps1, build-portable-windows.yml): Downloads and packagesrg.exealongsidecontextcortex.exewith CI smoke verification.Verification
pytest -q: 678 passed, 16 skipped (including new tests intests/test_ripgrep_and_query_router.pyand style guardrails<= 500 LOC/ semantic naming checks).