research(nightly): adaptive-semantic-tiering — hot/warm/cold by semantic temperature#711
Draft
ruvnet wants to merge 1 commit into
Draft
research(nightly): adaptive-semantic-tiering — hot/warm/cold by semantic temperature#711ruvnet wants to merge 1 commit into
ruvnet wants to merge 1 commit into
Conversation
Nightly research for 2026-07-19. Topic: per-vector hot/warm/cold tier placement driven by semantic temperature (recency + coherence + centrality). Solves the cold-start placement problem for agent memory workloads where new knowledge arrives continuously and has no access history. Three scored variants measured on 5,000 × 64-dim dataset: - AccessOnly (baseline): 90.0% hot-tier hit rate after noise-biased warmup - CoherenceScorer: 100.0% — places tight cluster hot without access history - SemanticTempScorer: 100.0% — combines recency + coherence + centrality All 13 tests pass; all 5 acceptance tests pass. Crate: crates/ruvector-adaptive-tiering ADR: docs/adr/ADR-272-adaptive-semantic-tiering.md Research: docs/research/nightly/2026-07-19-adaptive-semantic-tiering/ Co-Authored-By: claude-flow <ruv@ruv.net> Claude-Session: https://claude.ai/code/session_01VyAjzHRxKG8ViAZTcVkhkm
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.
Summary
Nightly research for 2026-07-19: Adaptive Semantic Memory Tiering for RuVector agent stores.
crates/ruvector-adaptive-tieringwith three measured tier placement strategiesWhat it does
Each stored vector is assigned to a Hot, Warm, or Cold physical tier based on a semantic temperature score:
Three scorers are benchmarked on 5,000 × 64-dim vectors (10% hot tier / 30% warm / 60% cold), with 200 warmup queries biased toward the Noise cluster, then 500 eval queries targeting the Important cluster:
Key finding: AccessOnly mis-places 10% of Important-cluster vectors into Cold after noise-biased warmup. Coherence and SemanticTemp achieve 100% because intra-cluster geometric tightness is measurable without any access history.
Deliverables
crates/ruvector-adaptive-tiering— 7 source files, trait-based design, no external service dependenciesdocs/adr/ADR-272-adaptive-semantic-tiering.mddocs/research/nightly/2026-07-19-adaptive-semantic-tiering/README.mddocs/research/nightly/2026-07-19-adaptive-semantic-tiering/gist.mdEcosystem connections
ruvector-diskann→ cold tier backend (production Phase 2)ruvector-coherence-hnsw→ hot tier backend (production Phase 2)ruvector-agent-memory→ compaction policy layered above this tieringruvector-proof-gate→ proof depth as 4th temperature signal (Phase 3)ruFlo→ autonomousevaluate_tiers()workflowmcp-brain→ MCP tool surface:memory_tier_stats,memory_promoteBuild, test, benchmark
Gist: pending publication
Generated by Claude Code