653 B
653 B
ADR-0004: Embedding-space changes require explicit migration
Status: Accepted
Decision
A deployment change for a vector-producing capability is requires_reindex unless compatibility has been explicitly proven by the capability contract.
Required migration shape
- create a shadow index/version;
- backfill using the candidate embedding deployment;
- validate corpus and counts;
- execute project-specific retrieval benchmarks/shadow queries;
- promote the new index atomically;
- retain old index and deployment for rollback until retention expires.
Matching vector dimension alone is never evidence of semantic compatibility.