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
[P2][bug] Semantic search ignores --database and returns the active DB's results #1676
nodespace search "<q>" --database <other-db> ignores --database and returns results from the active DB. Structured query honors --database; semantic search does not. Confirmed in validation round-1 (2026-07-16): search "T4 Owner" --database b2test (an empty/other DB) returned the same 14 hits as the un-flagged search against the active DB.
Likely cause
Semantic search resolves the embedding index / query against the daemon's active DB handle; the --database selection isn't threaded into the search path the way it is for structured query.
Fix direction
Thread --database into the semantic-search path (mirror structured query); error clearly on an unknown/missing DB rather than silently falling back to the active one.
Evidence
Validation report val-B2-FAIL.md (round-1 pack, 2026-07-16). Note: a full two-populated-DB A/B was blocked by the new-DB-creation bug (separate issue) — fix that first for clean verification.
Activity