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
cora brain search returns cross-project noise in workspace setups #382
cora brain (hybrid FTS5 + vector + graph search) returns irrelevant results from foreign crates in a Cargo workspace. Signal-to-noise ratio is low for project-specific queries.
6 of 17 results are from uteke-core or nginjen-core — completely unrelated to the query about cora-api's generate endpoint.
Expected Behavior
Brain search should prioritize results from the current project (cora-api) over foreign workspace members (uteke, nginjen). At minimum, the top results should be from the project being worked on.
Suggested Fix
Project-scoped search — filter results to the project root where .cora.yaml lives
.cora.yaml ignore patterns — respect ignore.files patterns in brain search (currently only applies to scan and review, not brain)
Workspace member weighting — boost score for symbols in the same crate as the query context
Then cora index --rebuild. But this is global — removes uteke/nginjen from index entirely, which may not be desired if working on those projects separately.
Activity
fix(brain): filter vector search by project_id (#382) (#389)