Problem
Full-text search cannot reliably retrieve conceptually related code, plans, decisions, and history when terminology differs.
Proposed behavior
Add embedding provider/model/dimension configuration, portable model-versioned canonical vectors, hybrid lexical/vector ranking, bounded exact-vector fallback, and an optional capability-detected pgvector projection. Expose semantic coverage, cost, freshness, and degraded status.
Reuse the inference gateway embedding endpoints and accounting plus the canonical knowledge chunks and authorization from lexical retrieval.
Acceptance criteria
- Missing embedding configuration leaves lexical retrieval functional.
- Model migration serves the previous complete index until replacement is ready.
- pgvector absence never breaks Roomote.
- Semantic retrieval cannot bypass project boundaries or permissions.
- Evaluations improve conceptual retrieval without weakening citations.
Dependency
Problem
Full-text search cannot reliably retrieve conceptually related code, plans, decisions, and history when terminology differs.
Proposed behavior
Add embedding provider/model/dimension configuration, portable model-versioned canonical vectors, hybrid lexical/vector ranking, bounded exact-vector fallback, and an optional capability-detected pgvector projection. Expose semantic coverage, cost, freshness, and degraded status.
Reuse the inference gateway embedding endpoints and accounting plus the canonical knowledge chunks and authorization from lexical retrieval.
Acceptance criteria
Dependency