feat(index): AST-based code indexing and semantic retrieval pipeline - #190
Merged
Conversation
…179) New crate zeph-index providing codebase understanding through tree-sitter parsing, contextualized embeddings in Qdrant, hybrid retrieval (semantic + grep routing), and lightweight repo map generation. Modules: languages, chunker, context, store, indexer, retriever, repo_map. Feature-gated tree-sitter grammars (Rust, Python, JS/TS, Go, Bash, config). Dual-write storage (Qdrant + SQLite) with INT8 quantization. Budget-aware retrieval with query classification (Semantic/Grep/Hybrid). Integrated into agent loop via BudgetAllocation.code_context slot. Opt-in via [index] config section, disabled by default. Closes #179, closes #180, closes #181, closes #182, closes #183, closes #184, closes #185, closes #186, closes #187
bug-ops
force-pushed
the
feat/zeph-index
branch
from
February 12, 2026 17:53
074cfad to
086148e
Compare
Codecov Report❌ Patch coverage is @@ Coverage Diff @@
## main #190 +/- ##
==========================================
- Coverage 86.17% 85.16% -1.02%
==========================================
Files 70 77 +7
Lines 19282 20644 +1362
==========================================
+ Hits 16617 17582 +965
- Misses 2665 3062 +397
🚀 New features to boost your workflow:
|
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
zeph-indexcrate: AST-based code indexing via tree-sitter, semantic retrieval via Qdrant, hybrid query routing, and lightweight repo map generationlanguages,chunker,context,store,indexer,retriever,repo_mapBudgetAllocation.code_contextslot andinject_code_context()[index] enabled = trueconfig — disabled by default, zero impact on existing functionalityArchitecture
Dependency graph
Validation
Test plan
cargo nextest run -p zeph-index— 54 unit testscargo nextest run --workspace --lib --bins— 1190 testscargo clippy --workspace -- -D warnings— zero warningscargo +nightly fmt --check— cleanCloses #179, Closes #180,Closes #181,Closes #182,Closes #183,Closes #184,Closes #185,Closes #186,Closes #187