research(nightly): coherence-gated multi-tenant vector namespace router#545
Draft
ruvnet wants to merge 4 commits into
Draft
research(nightly): coherence-gated multi-tenant vector namespace router#545ruvnet wants to merge 4 commits into
ruvnet wants to merge 4 commits into
Conversation
Introduces crates/ruvector-namespace-router with three variants: FlatIsolated (strict per-namespace scan), CentroidRouted (centroid pruning with configurable probe), CoherenceGated (coherence threshold gating with WitnessLog audit). All 16 tests pass; recall@10=1.000 for all variants on N=4,000 D=128 benchmark.
Documents the NamespaceIndex trait design, three variant trade-offs, benchmark evidence, failure modes, security considerations, and migration path. Status: accepted.
…ace-router Research doc covers 2026 SOTA multi-tenant vector isolation survey, 10-20 year forward thesis, full benchmark methodology, real measured results, practical and exotic applications, and production hardening roadmap. Gist includes comparison table against Milvus, Qdrant, Weaviate, Pinecone, LanceDB, FAISS, pgvector, Chroma, Vespa.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Nightly RuVector Research — 2026-06-07
coherence-gated-namespace-router
Adds the retrieval-layer isolation primitive that multi-agent RuVector deployments need: a multi-tenant vector namespace router with three variants of increasing semantic awareness, a coherence-based federation gate, and a tamper-evident witness log for cross-boundary access events.
What's included
Working Rust PoC —
crates/ruvector-namespace-routerFlatIsolated: strict per-namespace linear scan (zero cross-namespace visibility)CentroidRouted: centroid-pruned namespace selection with configurableprobedepthCoherenceGated: coherence threshold τ gates cross-namespace results +WitnessLogauditnamespace-bench)ADR —
docs/adr/ADR-196-coherence-namespace-router.mdResearch document —
docs/research/nightly/2026-06-07-coherence-namespace-router/README.mdSEO gist —
docs/research/nightly/2026-06-07-coherence-namespace-router/gist.mdReal benchmark results
All numbers from
cargo run --release -p ruvector-namespace-router, Intel Celeron N4020, x86-64, Linux 6.18.5, rustc 1.94.1. N=4,000 (8 namespaces × 500 vectors), D=128, 1,600 queries, K=10.ACCEPTANCE: PASS — all variants recall@10 ≥ 0.99
CoherenceGated adds ~7.8% latency overhead over FlatIsolated for coherence computation + witness log infrastructure.
Ecosystem connections
Research doc:
docs/research/nightly/2026-06-07-coherence-namespace-router/README.mdADR:
docs/adr/ADR-196-coherence-namespace-router.mdGist:
docs/research/nightly/2026-06-07-coherence-namespace-router/gist.mdGenerated by Claude Code