Skip to content

[Dream Cycle 2026-05-30] performance: MV-HNSW 14× gap, ADR-144 proposed#2242

Draft
ruvnet wants to merge 1 commit into
mainfrom
dream/2026-05-30-performance
Draft

[Dream Cycle 2026-05-30] performance: MV-HNSW 14× gap, ADR-144 proposed#2242
ruvnet wants to merge 1 commit into
mainfrom
dream/2026-05-30-performance

Conversation

@ruvnet

@ruvnet ruvnet commented May 30, 2026

Copy link
Copy Markdown
Owner

Dream Cycle — 2026-05-30 — Performance Deep Dive

Issue: #2241
ADR: ADR-144 — MV-HNSW Agent Memory Upgrade (Status: Proposed)
Research file: v3/docs/research/dream-cycle-2026-05-30-performance.md
Witness stamp: f412ad86592f290e0f38f59c26b08e2a26ba67683b95dc2c7770491b5f96b63b


Rotation

Field Value
SLOT 0
DEEP performance
SCAN security, hive-mind
Session commit e6dc21fc79539af029c4f5e87d2b929ebb794291

What's in this branch

File Purpose
v3/docs/adr/ADR-144-mv-hnsw-agent-memory-upgrade.md New ADR proposing MV-HNSW upgrade to agent memory
v3/docs/research/dream-cycle-2026-05-30-performance.md Full SOTA report with 5 Grade A benchmarks
v3/docs/adr/README.md Added Dream Cycle ADRs section + ADR-144 row

Research Summary

Five Grade A 2026 papers identify three actionable gaps in Ruflo:

  1. MV-HNSW (PVLDB 2026, arXiv:2604.02815) — 14× search-latency reduction at >90% recall vs Ruflo's measured ~1.9×. Multi-field indexing natively fits agent memory structure (core/detail/labels/paths). → ADR-144 proposed.

  2. Structured distillation (arXiv:2603.13017) — 11× token compression (371→38 tok/exchange) with higher retrieval MRR (0.759 vs 0.745). Direct cost reduction per context window. → Implementation-level, no ADR needed.

  3. Hera step-level routing (arXiv:2605.24598) — RL-trained binary classifier achieves 54% Haiku offload at 92.5% cloud-only accuracy. Extension to ADR-026's 3-tier router. → Implementation-level, no ADR needed.

Bonus findings: LAMaS critical-path DAG scheduling (38–46% wall-clock reduction, arXiv:2601.10560) and SSD/Saguaro speculative decoding (5× throughput, ICLR 2026).

Ruflo differentiator confirmed: SONA at 0.0043ms/adapt has no published peer in 2026 literature.


Scan Findings

Security: OWASP ASI01–ASI10 agentic taxonomy now live; Microsoft CVE-2026-26030/25592 confirm the MCP tool exposure pattern is an active attack vector. Extension of ADR-131 scope recommended.

Hive-Mind: SAC (arXiv:2605.09076) and Self-Evolving Coordination (arXiv:2602.02170) validate ADR-132's direction; CP-WBFT credibility weighting adds +85.71% BFT improvement as an enhancement path.


Merge Policy

Do not self-merge. This is a nightly research branch. Leave for human review. The ADR is Proposed — implementation requires a separate feature branch and explicit acceptance decision.

Automatic merge criteria (for human reviewer):

  • ADR-144 reviewed and accepted/rejected
  • No conflicts with any in-progress memory or HNSW work
  • Research content accuracy spot-checked against cited arXiv papers

Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant