You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Phase 3: Brain search enrichment for review & scan — inject semantic context into LLM prompt #458
Inject brain search results (FTS5 + vector + graph RRF fusion) as context enrichment into both cora review and cora scan LLM prompts.
Context
cora scan currently has ZERO context enrichment — only sends raw file content to LLM
cora review has context chain (regex-based) but no brain/semantic context
brain_search() in src/index/brain.rs provides hybrid search (FTS5 + usearch vector + graph BFS → RRF fusion) — only used in CLI and MCP, never in review/scan
Scope
Add enrich_with_brain_search() in new file src/engine/brain_enrichment.rs
Extract key symbols from diff (review) or file batch (scan)
Query brain_search for each symbol, deduplicate, format under token budget
Inject as "## Code Intelligence (brain search)" section in LLM prompt
Activity
feat: intelligent review & scan — wire symbol index, code graph, brai…