Phase 11: Embedding versioning — model-proof vector layer

- IndexRegistry: tracks all vector indexes with model metadata
  (model_name, model_version, dimensions, build stats)
- Index metadata persisted as JSON in vectors/meta/
- Rebuilt on startup for crash recovery
- GET /vectors/indexes — list all indexes (filter by source/model)
- GET /vectors/indexes/{name} — get index metadata
- Background jobs auto-register metadata on completion
- Multi-version support: same data, different models, coexist
- Per ADR-014: enables incremental re-embed on model upgrade

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
root
2026-03-27 09:27:10 -05:00
co-authored by Claude Opus 4.6
parent 6d49f81ebf
commit 6cd1daeb51
4 changed files with 185 additions and 10 deletions
+1
View File
@@ -1,4 +1,5 @@
pub mod chunker;
pub mod index_registry;
pub mod jobs;
pub mod store;
pub mod search;