ruvector/docs/adr
rUv ce1afecb22
feat(wasm): publish @ruvector/rabitq-wasm and @ruvector/acorn-wasm to npm (#394)
* feat(ruvector-rabitq-wasm): WASM bindings for RaBitQ via wasm-bindgen

Closes the WASM gap from `docs/research/rabitq-integration/` Tier 2
("WASM / edge: 32× compression makes on-device RAG feasible") and
ADR-157 ("VectorKernel WASM kernel as a Phase 2 goal"). Adds a
`ruvector-rabitq-wasm` sibling crate that exposes `RabitqIndex` to
JavaScript/TypeScript callers (browsers, Cloudflare Workers, Deno,
Bun) via wasm-bindgen.

```js
import init, { RabitqIndex } from "ruvector-rabitq";
await init();

const dim = 768;
const n = 10_000;
const vectors = new Float32Array(n * dim);  // populate
const idx = RabitqIndex.build(vectors, dim, 42, 20);
const query = new Float32Array(dim);
const results = idx.search(query, 10);  // [{id, distance}, ...]
```

## Surface

- `RabitqIndex.build(vectors: Float32Array, dim, seed, rerank_factor)`
- `idx.search(query: Float32Array, k) → SearchResult[]`
- `idx.len`, `idx.isEmpty`
- `version()` — crate version baked at build time
- `SearchResult { id: u32, distance: f32 }` — mirrors the Python SDK
  (PR #381) shape so callers porting code between languages get
  identical structures.

## Native compatibility tweak

`ruvector-rabitq` had one rayon call site in
`from_vectors_parallel_with_rotation`. WASM is single-threaded — gated
that path on `cfg(not(target_arch = "wasm32"))` with a sequential
`.into_iter()` fallback for wasm. Output is bit-identical because the
rotation matrix is deterministic (ADR-154); parallel ordering doesn't
affect bytes.

`rayon` is now `[target.'cfg(not(target_arch = "wasm32"))'.dependencies]`
so the wasm build doesn't pull it in. Native build behavior unchanged
(39 / 39 lib tests still pass).

## Crate layout

  crates/ruvector-rabitq-wasm/
    Cargo.toml      cdylib + rlib, wasm-bindgen 0.2, abi-3-friendly
    src/lib.rs      ~150 LoC of bindings; tests gated to wasm32 via
                    wasm_bindgen_test (native test would panic in
                    wasm-bindgen 0.2.117's runtime stub).

## Testing strategy

Native tests of WASM bindings panic by design — `JsValue::from_str`
calls into a wasm-bindgen runtime stub that's `unimplemented!()` on
non-wasm32 targets (since 0.2.117). The right path is
`wasm-pack test --node` or `wasm-pack test --headless --chrome`,
which we'll wire into CI as a follow-up.

The numerical correctness is already covered by `ruvector-rabitq`'s
own test suite. This crate only adds the JS-facing surface.

## Verification (native)

  cargo build --workspace                                              → 0 errors
  cargo build -p ruvector-rabitq-wasm                                  → clean
  cargo clippy -p ruvector-rabitq-wasm --all-targets --no-deps -- -D warnings → exit 0
  cargo test -p ruvector-rabitq                                        → 39 / 39 (unchanged)
  cargo fmt --all --check                                              → clean

WASM target build (`wasm32-unknown-unknown`) requires `rustup target
add wasm32-unknown-unknown` — not exercised in this PR; will be
covered by a follow-up CI job.

Refs: docs/research/rabitq-integration/ Tier 2, ADR-157
("Optional Accelerator Plane"), PR #381 (Python SDK shape mirror).

Co-Authored-By: claude-flow <ruv@ruv.net>

* feat(acorn): add ruvector-acorn crate — ACORN predicate-agnostic filtered HNSW

Implements the ACORN algorithm (Patel et al., SIGMOD 2024, arXiv:2403.04871)
as a standalone Rust crate. ACORN solves filtered vector search recall collapse
at low predicate selectivity by expanding ALL graph neighbors regardless of
predicate outcome, combined with a γ-augmented graph (γ·M neighbors/node).

Three index variants:
- FlatFilteredIndex: post-filter brute-force baseline
- AcornIndex1: ACORN with M=16 standard edges
- AcornIndexGamma: ACORN with 2M=32 edges (γ=2)

Measured (n=5K, D=128, release): ACORN-γ achieves 98.9% recall@10 at 1%
selectivity. cargo build --release and cargo test (12/12) both pass.

https://claude.ai/code/session_0173QrGBttNDWcVXXh4P17if

* perf(acorn): bounded beam, parallel build, flat data, unrolled L2²

Five linked optimizations to ruvector-acorn (≈50% smaller search
working set, ≈6× faster build on 8 cores, comparable or better
recall at every selectivity):

1. **Fix broken bounded-beam eviction in `acorn_search`.**
   The previous implementation admitted that its `else` branch was
   "wrong" (the comment literally said "this is wrong") and pushed
   every neighbor into `candidates` unconditionally, growing the
   frontier to O(n). Replace with a correct max-heap eviction:
   when `|candidates| >= ef`, only admit a neighbor if it improves
   on the farthest pending candidate, evicting that one. This gives
   the documented O(ef) memory bound and stops wasted neighbor
   expansions at the prune cutoff.

2. **Parallelize the O(n²·D) graph build with rayon.**
   The forward pass (each node finds its M nearest predecessors) is
   embarrassingly parallel — `into_par_iter` over rows. Back-edge
   merge stays serial behind a `Mutex<Vec<u32>>` per node so the
   merge is deterministic. ~6× faster on an 8-core box for 5K×128.

3. **Flat row-major vector storage.**
   `data: Vec<Vec<f32>>` → `data: Vec<f32>` (length n·dim) with a
   `row(i)` accessor. Eliminates the per-vector heap indirection,
   keeps the L2² inner loop on contiguous memory the compiler can
   vectorize, and trims index size by ~one allocation per row.

4. **`Vec<bool>` for `visited` instead of `HashSet<u32>`.**
   O(1) lookup with no hashing or allocator pressure on the hot path.

5. **Hand-unroll L2² by 4.**
   Four independent accumulators give LLVM enough room to issue
   AVX2/SSE/NEON FMA chains on contemporary x86_64 / aarch64.
   3-5× faster for D ≥ 64 in microbenchmarks.

Other:
- `exact_filtered_knn` parallelizes across data via rayon (recall
  measurement only — needs `+ Sync` on the predicate).
- `benches/acorn_bench.rs` switches `SmallRng` → `StdRng` (the
  workspace doesn't enable rand's `small_rng` feature so the bench
  failed to compile).
- `cargo fmt` applied across the crate; CI's Rustfmt check was the
  blocking failure on the original PR.

Demo run on x86_64, n=5000, D=128, k=10:
  Build:  ACORN-γ ≈ 23 ms (was 1.8 s)
  Recall: 96.0% @ 1% selectivity (paper: ~98%)
          92.0% @ 5% selectivity
          79.7% @ 10% selectivity
          34.5% @ 50% selectivity (predicate dilutes top-k truth)
  QPS:    18 K @ 1% sel, 65 K @ 50% sel

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(acorn): clippy clean-up — sort_by_key, is_empty, redundant closures

CI's `Clippy (deny warnings)` flagged three lints introduced by the
previous optimization commit:

- `unnecessary_sort_by` (graph.rs:158, 176) → use `sort_by_key`
- `len_without_is_empty` (graph.rs) → add `AcornGraph::is_empty`
  and `if graph.is_empty()` in search.rs
- `redundant_closure` (main.rs:65, 159, 160) → pass the predicate
  directly to `recall_at_k` instead of `|id| pred(id)`

No semantic change.

Co-Authored-By: claude-flow <ruv@ruv.net>

* feat(wasm): publish @ruvector/rabitq-wasm and @ruvector/acorn-wasm to npm

Two new WASM packages (both v0.1.0, MIT OR Apache-2.0, scoped under
@ruvector). Mirrors the existing @ruvector/graph-wasm packaging
pattern so release tooling treats all three uniformly.

- ADR-161: @ruvector/rabitq-wasm — RaBitQ 1-bit quantized vector
  index. 32× embedding compression with deterministic rotation.
  Wraps the existing crates/ruvector-rabitq-wasm crate.
- ADR-162: @ruvector/acorn-wasm — ACORN predicate-agnostic filtered
  HNSW. 96% recall@10 at 1% selectivity with arbitrary JS predicates.
  Adds crates/ruvector-acorn-wasm (new), wrapping the ruvector-acorn
  crate from PR #391.

Each crate ships with:
- `build.sh` that runs `wasm-pack build` for web / nodejs / bundler
  targets, emitting into npm/packages/{rabitq,acorn}-wasm/{,node/,bundler/}.
- A canonical scoped package.json (kept under git as
  package.scoped.json because wasm-pack regenerates package.json from
  Cargo metadata on every build).
- A README.md with install + usage for browser, Node.js, and bundler
  contexts.
- A `.gitignore` that excludes the wasm-pack-generated artifacts
  (.wasm + .js + .d.ts) so only canonical source lives in the repo.

Build sanity:
- `cargo check -p ruvector-acorn-wasm -p ruvector-rabitq-wasm` clean
- `cargo clippy -- -D warnings` clean for both
- `wasm-pack build` succeeds for all three targets on both crates

Published:
- @ruvector/rabitq-wasm@0.1.0 — 40 KB tarball, 71 KB wasm
- @ruvector/acorn-wasm@0.1.0  — 49 KB tarball, ~85 KB wasm

Root README updated with both packages in the npm packages table.

Note: this branch also carries cherry-picks of PR #391's `ruvector-acorn`
crate (commits b90af9caa, 0b4eab11f, eb88176bd, f5913b783) and PR
#391's predecessor commit a674d6eba for `ruvector-rabitq-wasm` itself,
because both base crates are required to build the new WASM wrappers.

Co-Authored-By: claude-flow <ruv@ruv.net>

---------

Co-authored-by: ruvnet <ruvnet@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-04-26 23:10:39 -04:00
..
coherence-engine feat(prime-radiant): Universal Coherence Engine with Sheaf Laplacian AI Safety (#131) 2026-01-22 21:27:27 -05:00
delta-behavior feat(delta-behavior): Complete Δ-behavior implementation with WASM 2026-01-28 04:18:34 +00:00
quantum-engine feat(ruqu): add quantum execution intelligence engine with 5 backends 2026-02-12 12:55:21 -05:00
temporal-tensor-store feat(rvf): RuVector Format — Universal Cognitive Container SDK (#166) 2026-02-14 13:14:49 -05:00
ADR-001-ruvector-core-architecture.md feat(rvf): RuVector Format — Universal Cognitive Container SDK (#166) 2026-02-14 13:14:49 -05:00
ADR-002-ruvllm-integration.md feat(training): RuvLTRA v2.4 Ecosystem Edition - 100% routing accuracy (#123) 2026-01-20 20:08:30 -05:00
ADR-003-simd-optimization-strategy.md feat(training): RuvLTRA v2.4 Ecosystem Edition - 100% routing accuracy (#123) 2026-01-20 20:08:30 -05:00
ADR-004-kv-cache-management.md feat(training): RuvLTRA v2.4 Ecosystem Edition - 100% routing accuracy (#123) 2026-01-20 20:08:30 -05:00
ADR-005-wasm-runtime-integration.md feat(rvf): RuVector Format — Universal Cognitive Container SDK (#166) 2026-02-14 13:14:49 -05:00
ADR-006-memory-management.md fix(docs): correct ADR cross-references in ADR-006 Related field 2026-04-15 13:20:47 -03:00
ADR-007-security-review-technical-debt.md feat(training): RuvLTRA v2.4 Ecosystem Edition - 100% routing accuracy (#123) 2026-01-20 20:08:30 -05:00
ADR-008-mistral-rs-integration.md feat(training): RuvLTRA v2.4 Ecosystem Edition - 100% routing accuracy (#123) 2026-01-20 20:08:30 -05:00
ADR-009-structured-output.md feat(training): RuvLTRA v2.4 Ecosystem Edition - 100% routing accuracy (#123) 2026-01-20 20:08:30 -05:00
ADR-010-function-calling.md feat(training): RuvLTRA v2.4 Ecosystem Edition - 100% routing accuracy (#123) 2026-01-20 20:08:30 -05:00
ADR-011-prefix-caching.md feat(training): RuvLTRA v2.4 Ecosystem Edition - 100% routing accuracy (#123) 2026-01-20 20:08:30 -05:00
ADR-012-security-remediation.md feat(training): RuvLTRA v2.4 Ecosystem Edition - 100% routing accuracy (#123) 2026-01-20 20:08:30 -05:00
ADR-013-huggingface-publishing.md feat(training): RuvLTRA v2.4 Ecosystem Edition - 100% routing accuracy (#123) 2026-01-20 20:08:30 -05:00
ADR-014-coherence-engine.md feat(prime-radiant): Universal Coherence Engine with Sheaf Laplacian AI Safety (#131) 2026-01-22 21:27:27 -05:00
ADR-015-coherence-gated-transformer.md feat(prime-radiant): Universal Coherence Engine with Sheaf Laplacian AI Safety (#131) 2026-01-22 21:27:27 -05:00
ADR-016-delta-behavior-ddd-architecture.md feat(delta-behavior): Complete Δ-behavior implementation with WASM 2026-01-28 04:18:34 +00:00
ADR-017-temporal-tensor-compression.md feat: Add ADR-017 temporal tensor compression with tiered quantization 2026-02-06 00:28:21 +00:00
ADR-024-craftsman-ultra-30b-1bit-bitnet-integration.md fix: ADR structural cleanup — resolve duplicates, fix filenames, enable Firestore persistence (#232) 2026-03-03 18:54:24 +00:00
ADR-025-exo-ai-multiparadigm-integration.md fix: ADR structural cleanup — resolve duplicates, fix filenames, enable Firestore persistence (#232) 2026-03-03 18:54:24 +00:00
ADR-026-rvcow-branching-and-real-cognitive-containers.md fix: ADR structural cleanup — resolve duplicates, fix filenames, enable Firestore persistence (#232) 2026-03-03 18:54:24 +00:00
ADR-027-hnsw-parameterized-query-fix.md fix: ADR structural cleanup — resolve duplicates, fix filenames, enable Firestore persistence (#232) 2026-03-03 18:54:24 +00:00
ADR-028-ehealth-platform-architecture.md feat: add package.json for rvdna example with WASM bindings and build scripts 2026-02-12 15:32:55 +00:00
ADR-029-rvf-canonical-format.md docs(adr): update ADRs with implementation details from rvf-types 2026-02-16 02:58:43 +00:00
ADR-030-rvf-cognitive-container.md docs(adr): update ADRs with implementation details from rvf-types 2026-02-16 02:58:43 +00:00
ADR-031-rvf-example-repository.md feat(rvf): RuVector Format — Universal Cognitive Container SDK (#166) 2026-02-14 13:14:49 -05:00
ADR-032-rvf-wasm-integration.md feat(rvf): expose AGI components via npm packages 2026-02-17 01:41:13 +00:00
ADR-033-progressive-indexing-hardening.md harden(adr-033): QualityEnvelope, triple budget caps, selective scan, fuzz benchmark 2026-02-15 16:00:16 +00:00
ADR-034-qr-cognitive-seed.md feat(adr-034): zero-dep QR cognitive seed with real crypto and mobile FFI 2026-02-15 17:54:26 +00:00
ADR-035-capability-report.md feat(adr-035): capability report — witness bundles, scorecards, governance 2026-02-15 18:22:15 +00:00
ADR-036-agi-cognitive-container.md feat(rvf): expose AGI components via npm packages 2026-02-17 01:41:13 +00:00
ADR-037-publishable-rvf-acceptance-test.md feat(rvf): expose AGI components via npm packages 2026-02-17 01:41:13 +00:00
ADR-038-npx-ruvector-rvlite-witness-integration.md docs(adr): ADR-038 npx ruvector & rvlite witness verification integration 2026-02-16 00:17:00 +00:00
ADR-039-rvf-solver-wasm-agi-integration.md feat(rvf): add Causal Atlas dashboard, solver fixes, and desktop app 2026-02-20 18:01:09 +00:00
ADR-040-causal-atlas-rvf-runtime-planet-detection.md docs: update ADR-040/040b with recent enhancements 2026-03-16 23:14:43 -04:00
ADR-040a-planet-detection-dashboard.md docs: ADR-040 sub-splits and real_microlensing doc cleanup 2026-03-16 23:14:43 -04:00
ADR-040b-microlensing-graphcut-extensions.md docs: update ADR-040/040b with recent enhancements 2026-03-16 23:14:43 -04:00
ADR-042-Security-RVF-AIDefence-TEE.md feat(security): Security Hardened RVF v3.0 — 30 capabilities verified 2026-02-21 17:39:58 +00:00
ADR-043-external-intelligence-providers.md feat(intelligence): ADR-043 External Intelligence Providers for SONA Learning 2026-02-21 18:00:06 +00:00
ADR-044-ruvector-postgres-v03-extension-upgrade.md feat: add 43 new SQL functions in ruvector-postgres v0.3.0 (ADR-044) 2026-02-21 20:38:43 +00:00
ADR-045-lean-agentic-integration.md feat: add formal verification layer with lean-agentic dependent types 2026-02-25 03:45:18 +00:00
ADR-046-graph-transformer-architecture.md feat: proof-gated graph transformer with 8 verified modules 2026-02-25 14:24:53 +00:00
ADR-047-proof-gated-mutation-protocol.md feat: proof-gated graph transformer with 8 verified modules 2026-02-25 14:24:53 +00:00
ADR-048-sublinear-graph-attention.md feat: proof-gated graph transformer with 8 verified modules 2026-02-25 14:24:53 +00:00
ADR-049-verified-training-pipeline.md feat: proof-gated graph transformer with 8 verified modules 2026-02-25 14:24:53 +00:00
ADR-050-graph-transformer-bindings.md feat: proof-gated graph transformer with 8 verified modules 2026-02-25 14:24:53 +00:00
ADR-051-physics-informed-graph-layers.md feat: proof-gated graph transformer with 8 verified modules 2026-02-25 14:24:53 +00:00
ADR-052-biological-graph-layers.md feat: proof-gated graph transformer with 8 verified modules 2026-02-25 14:24:53 +00:00
ADR-053-temporal-causal-graph-layers.md feat: proof-gated graph transformer with 8 verified modules 2026-02-25 14:24:53 +00:00
ADR-054-economic-graph-layers.md feat: proof-gated graph transformer with 8 verified modules 2026-02-25 14:24:53 +00:00
ADR-055-manifold-graph-layers.md feat: proof-gated graph transformer with 8 verified modules 2026-02-25 14:24:53 +00:00
ADR-056-rvf-knowledge-export.md Add developer quickstart guide and knowledge export JSON 2026-02-27 03:41:13 +00:00
ADR-057-federated-rvf-transfer-learning.md fix(brain): defer sparsifier build on startup for large graphs 2026-03-24 12:29:52 +00:00
ADR-058-hash-security-optimization.md fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
ADR-059-shared-brain-google-cloud.md fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
ADR-060-shared-brain-capabilities.md fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
ADR-061-reasoning-kernel-architecture.md fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
ADR-062-brainpedia-architecture.md fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
ADR-063-wasm-executable-nodes.md fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
ADR-064-pi-brain-infrastructure.md fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
ADR-065-npm-publishing-strategy.md fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
ADR-066-sse-mcp-transport.md feat(sse): decouple SSE to mcp.pi.ruv.io proxy + Claude Code source research 2026-04-02 23:39:56 +00:00
ADR-067-mcp-gate-permit-system.md fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
ADR-068-domain-expansion-transfer-learning.md fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
ADR-069-google-edge-network-deployment.md feat(sse): decouple SSE to mcp.pi.ruv.io proxy + Claude Code source research 2026-04-02 23:39:56 +00:00
ADR-070-npx-ruvector-unified-integration.md fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
ADR-071-npx-ruvector-ecosystem-gap-analysis.md fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
ADR-072-rvf-example-management-downloads.md fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
ADR-073-pi-platform-security-optimization.md fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
ADR-074-ruvllm-neural-embeddings.md fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
ADR-075-rvf-agi-stack-brain-integration.md fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
ADR-076-agi-capability-wiring-architecture.md fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
ADR-077-midstream-brain-integration.md fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
ADR-078-npx-ruvector-midstream-integration.md fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
ADR-079-sql-audit-script-hardening.md fix: ruvector-postgres v0.3.2 — 100% audit pass (HNSW + hybrid fixes) (#230) 2026-03-03 13:21:48 -05:00
ADR-080-npx-ruvector-deep-capability-audit.md fix: correct ADR-080 audit discrepancies verified against source (#231) 2026-03-03 13:28:27 -05:00
ADR-081-brain-server-v028-deploy-cli-fixes.md feat: brain server v0.2.10 — bug fixes, GET /v1/pages, 9 MCP tools (#234) 2026-03-03 17:06:23 -05:00
ADR-082-brain-security-hardening.md feat: brain training loops — background SONA + Pareto, POST /v1/train, CLI + MCP (#236) 2026-03-06 08:35:50 -05:00
ADR-083-brain-training-loops.md feat: brain training loops — background SONA + Pareto, POST /v1/train, CLI + MCP (#236) 2026-03-06 08:35:50 -05:00
ADR-084-ruvllm-wasm-publish.md feat: ruvllm-wasm v2.0.0 — first functional WASM publish 2026-03-06 14:55:34 +00:00
ADR-085-neural-trader-ruvector.md fix: renumber ADR-084 → ADR-085, fix unused deps in neural-trader crates 2026-03-06 19:12:33 +00:00
ADR-086-neural-trader-wasm.md feat: add neural-trader-wasm crate with WASM bindings and ADR-086 2026-03-08 16:17:58 +00:00
ADR-087-ruvix-cognition-kernel.md feat(ruvix): implement CLI, kernel shell, and PBFT consensus (#261) 2026-03-14 16:25:03 -04:00
ADR-088-cnn-contrastive-integration.md feat(ruvector-cnn): CNN contrastive learning + SIMD optimization fixes (#252) 2026-03-11 17:41:53 -04:00
ADR-089-cnn-browser-demo.md feat: add interactive CNN browser demo for GitHub Pages (#253) 2026-03-11 17:50:42 -04:00
ADR-090-implementation-checklist.md docs(adr): add governance improvements to ADR-090/091, create ADR-092, add implementation checklists 2026-03-12 10:47:00 -04:00
ADR-090-ultra-low-bit-qat-pi-quantization-ddd.md feat(ruvllm): implement ADR-090 Ultra-Low-Bit QAT & Pi-Quantization 2026-03-12 12:36:36 -04:00
ADR-091-implementation-checklist.md docs(adr): add governance improvements to ADR-090/091, create ADR-092, add implementation checklists 2026-03-12 10:47:00 -04:00
ADR-091-int8-cnn-quantization-ddd.md feat(ruvllm): implement ADR-090 Ultra-Low-Bit QAT & Pi-Quantization 2026-03-12 12:36:36 -04:00
ADR-092-moe-memory-aware-routing-ddd.md docs(adr): add governance improvements to ADR-090/091, create ADR-092, add implementation checklists 2026-03-12 10:47:00 -04:00
ADR-093-daily-discovery-brain-training.md feat: update ADR-093 + add deploy_trainer.sh for Cloud Run scheduling 2026-03-16 23:14:43 -04:00
ADR-093-deepagents-rust-conversion-overview.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-094-deepagents-backend-protocol-traits.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-094-pi-shared-web-memory.md fix: deep review of ADR-094 web memory — no stubs, all capabilities verified 2026-03-16 23:16:24 -04:00
ADR-095-deepagents-middleware-pipeline.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-095-pi-api-v2-capabilities.md docs: ADR-095 — π.ruv.io API v2 full capability surface 2026-03-16 23:16:24 -04:00
ADR-096-cloud-pipeline-realtime-optimization.md docs: ADR-096 cloud-native pipeline, real-time injection & Common Crawl integration 2026-03-16 23:17:01 -04:00
ADR-096-deepagents-tool-system.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-097-deepagents-subagent-orchestration.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-098-deepagents-memory-skills-summarization.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-099-deepagents-cli-acp-server.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-100-deepagents-rvf-integration-crate-structure.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-101-deepagents-testing-strategy.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-102-deepagents-implementation-roadmap.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-103-deepagents-review-amendments.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-104-rvagent-mcp-skills-topology.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-105-rvagent-mcp-implementation-details.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-106-ruvix-kernel-rvf-integration.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-107-rvagent-native-swarm-wasm.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-108-rvagent-ruvbot-integration.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-109-backup-disaster-recovery.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-110-neural-symbolic-internal-voice.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-111-ruvocal-ui-rvagent-integration.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-112-rvagent-mcp-server.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-113-rvf-app-gallery-ruvix-applications.md feat(rvAgent): Complete DeepAgents Rust Conversion (ADR-093 → ADR-103) (#262) 2026-03-16 09:52:32 -04:00
ADR-114-ruvector-core-hash-placeholders.md feat(ruvector-core): add OnnxEmbedding for real semantic embeddings (#265) 2026-03-16 11:46:47 -04:00
ADR-115-common-crawl-temporal-compression.md feat: DrAgnes + Common Crawl WET + Gemini grounding agents (#282) 2026-03-23 10:12:50 -04:00
ADR-116-spectral-sparsifier-brain-integration.md chore: move ADR-116 to docs/adr/ 2026-03-20 15:15:39 +00:00
ADR-117-canonical-mincut-pseudo-deterministic.md docs: update ADR-117/124 to shipped status, bump sona to 0.1.9 2026-03-24 14:46:15 +00:00
ADR-117-dragnes-dermatology-intelligence-platform.md feat: DrAgnes + Common Crawl WET + Gemini grounding agents (#282) 2026-03-23 10:12:50 -04:00
ADR-118-cost-effective-crawl-strategy.md feat: DrAgnes + Common Crawl WET + Gemini grounding agents (#282) 2026-03-23 10:12:50 -04:00
ADR-119-historical-crawl-evolutionary-comparison.md feat: DrAgnes + Common Crawl WET + Gemini grounding agents (#282) 2026-03-23 10:12:50 -04:00
ADR-120-wet-processing-pipeline.md feat: DrAgnes + Common Crawl WET + Gemini grounding agents (#282) 2026-03-23 10:12:50 -04:00
ADR-121-gemini-grounding-integration.md feat: DrAgnes + Common Crawl WET + Gemini grounding agents (#282) 2026-03-23 10:12:50 -04:00
ADR-122-rvagent-gemini-grounding-agents.md feat: DrAgnes + Common Crawl WET + Gemini grounding agents (#282) 2026-03-23 10:12:50 -04:00
ADR-123-brain-cognitive-enrichment.md fix(brain): add 30s grace period to SSE session cleanup + ADR-123 cognitive enrichment 2026-03-23 21:24:59 +00:00
ADR-124-dynamic-partition-cache.md docs: update ADR-117/124 to shipped status, bump sona to 0.1.9 2026-03-24 14:46:15 +00:00
ADR-125-resend-email-brain-integration.md feat(brain): add Resend email integration with pixel tracking (ADR-125) 2026-03-24 22:37:01 +00:00
ADR-126-google-chat-brain-integration.md feat(brain): add Google Chat bot handler with Cards V2 (ADR-126) 2026-03-24 23:04:45 +00:00
ADR-127-gist-deep-research-loop.md docs: ADR-127 gist deep research loop architecture 2026-03-25 17:40:38 +00:00
ADR-128-sota-gap-implementations.md Add SOTA gap implementations: hybrid search, MLA, KV-cache, SSM, Graph RAG (#304) 2026-03-27 10:12:48 -04:00
ADR-129-ruvltra-gcloud-training-turboquant.md feat(training): ADR-129 RuvLTRA training pipeline — calibration, SFT, benchmarks, HF publishing 2026-03-30 07:58:07 -04:00
ADR-130-mcp-sse-decoupling-midstream-queue.md feat(sse): decouple SSE to mcp.pi.ruv.io proxy + Claude Code source research 2026-04-02 23:39:56 +00:00
ADR-131-consciousness-metrics-crate.md feat(consciousness): SOTA IIT Φ, causal emergence, quantum collapse crate (ADR-131) 2026-03-31 16:36:25 -04:00
ADR-132-e2e-browser-testing-claude-flow.md feat(decompiler): 95.7% accuracy — beats SOTA by 32.7 points 2026-04-03 02:58:36 +00:00
ADR-132-ruvix-hypervisor-core.md feat(rvm): security audit remediation, TEE cryptographic verification, performance hardening 2026-04-04 18:01:48 -04:00
ADR-133-claude-code-source-analysis.md feat(sse): decouple SSE to mcp.pi.ruv.io proxy + Claude Code source research 2026-04-02 23:39:56 +00:00
ADR-133-partition-object-model.md feat(rvm): RVM — Coherence-Native Microhypervisor for the Agentic Age 2026-04-04 12:10:19 -04:00
ADR-134-ruvector-claude-code-deep-integration.md feat(sse): decouple SSE to mcp.pi.ruv.io proxy + Claude Code source research 2026-04-02 23:39:56 +00:00
ADR-134-witness-schema-log-format.md feat(rvm): security audit remediation, TEE cryptographic verification, performance hardening 2026-04-04 18:01:48 -04:00
ADR-135-mincut-decompiler-with-witness-chains.md docs(adr): update ADR-135 — expand to 8-phase pipeline 2026-04-03 03:26:21 +00:00
ADR-135-proof-verifier-design.md feat(rvm): security audit remediation, TEE cryptographic verification, performance hardening 2026-04-04 18:01:48 -04:00
ADR-136-gpu-trained-deobfuscation-model.md docs(adr): update ADR-136 — real source map training (140K+ pairs) 2026-04-03 03:49:48 +00:00
ADR-136-memory-hierarchy-reconstruction.md feat(rvm): RVM — Coherence-Native Microhypervisor for the Agentic Age 2026-04-04 12:10:19 -04:00
ADR-137-bare-metal-boot-sequence.md feat(rvm): RVM — Coherence-Native Microhypervisor for the Agentic Age 2026-04-04 12:10:19 -04:00
ADR-137-npm-decompiler-cli-and-mcp.md docs(adr): update ADR-137 — deployed status, --runnable mode, --validate 2026-04-03 03:39:12 +00:00
ADR-138-llm-weight-decompiler.md feat(decompiler): LLM weight decompiler + API prober (ADR-138) 2026-04-03 19:08:30 +00:00
ADR-138-seed-hardware-bring-up.md feat(rvm): RVM — Coherence-Native Microhypervisor for the Agentic Age 2026-04-04 12:10:19 -04:00
ADR-139-appliance-deployment-model.md feat(rvm): RVM — Coherence-Native Microhypervisor for the Agentic Age 2026-04-04 12:10:19 -04:00
ADR-139-rvagent-claude-code-optimization.md docs(adr): ADR-139 RVAgent optimization using decompiled Claude Code 2026-04-03 21:08:13 +00:00
ADR-140-agent-runtime-adapter.md feat(rvm): RVM — Coherence-Native Microhypervisor for the Agentic Age 2026-04-04 12:10:19 -04:00
ADR-141-coherence-engine-kernel-integration.md docs(rvm): update README stats, add ADR-141 coherence engine integration 2026-04-04 16:01:35 -04:00
ADR-142-tee-backed-cryptographic-verification.md feat(rvm): security audit remediation, TEE cryptographic verification, performance hardening 2026-04-04 18:01:48 -04:00
ADR-143-hearmusica-tympan-rust-port.md feat(musica): structure-first audio separation via dynamic mincut (#337) 2026-04-08 12:23:48 -05:00
ADR-143-implement-missing-capabilities.md feat(ruvector): integrate @ruvector/diskann as optional peerDep 2026-04-06 22:16:06 -04:00
ADR-144-candle-whisper-musica-transcription.md feat(musica): structure-first audio separation via dynamic mincut (#337) 2026-04-08 12:23:48 -05:00
ADR-144-diskann-vamana-implementation.md docs(adr): ADR-144 DiskANN/Vamana implementation design + benchmarks 2026-04-06 22:18:43 -04:00
ADR-144-monorepo-quality-analysis-strategy.md feat(quality): ADR-144 monorepo quality analysis — Phase 1 critical fixes (#336) 2026-04-06 21:19:13 -04:00
ADR-145-wasm-training-pipeline-fixes.md fix(training): WASM contrastive loss + NAPI optimizer step (#339) 2026-04-06 21:41:54 -04:00
ADR-146-diskann-vamana-implementation.md feat(musica): structure-first audio separation via dynamic mincut (#337) 2026-04-08 12:23:48 -05:00
ADR-147-stacked-kv-cache-triattention-turboquant.md research(kv-cache): TriAttention + TurboQuant stacked compression analysis (#342) 2026-04-08 13:29:16 -05:00
ADR-148-brain-hypothesis-engine.md feat(brain): autonomous discovery pipeline + daily gist publishing + email improvements (#349) 2026-04-13 16:05:38 -04:00
ADR-149-brain-performance-optimizations.md docs(adr): ADR-149 brain performance optimizations — SIMD + quality gate + batch graph + incremental LoRA 2026-04-13 17:11:20 -04:00
ADR-150-pi-brain-ruvltra-tailscale.md docs(adr): ADR-150 π Brain + RuvLtra via Tailscale — semantic embedding upgrade 2026-04-14 17:47:44 -04:00
ADR-151-miller-rabin-prime-optimizations.md docs(adr): ADR-151 + PRD §6 — Phase 0 findings, revised perf targets, Grok review 2026-04-16 14:41:02 -04:00
ADR-153-kalshi-neural-trader-integration.md Merge main into feat/ruvector-kalshi; renumber kalshi ADR 151→153 2026-04-21 10:03:23 -04:00
ADR-154-rabitq-rotation-binary-quantization.md feat(rabitq): add RaBitQ rotation-based 1-bit quantization crate (ADR-154) 2026-04-23 07:56:23 +00:00
ADR-155-rulake-datalake-layer.md docs(adr-155): cache-first reframe + 95% gate + strategic questions 2026-04-23 19:56:38 -04:00
ADR-156-rulake-as-memory-substrate.md test(rulake): brain_substrate_acceptance — the six-guarantee loop 2026-04-23 20:28:16 -04:00
ADR-157-optional-accelerator-plane.md docs(adr-157): optional accelerator plane — VectorKernel trait + dispatch 2026-04-23 20:04:58 -04:00
ADR-158-optional-rotation-and-qvcache-positioning.md feat(rabitq): Hadamard rotation integration + ADR-158 positioning 2026-04-23 23:07:50 -04:00
ADR-159-rvagent-a2a-protocol.md docs(adr): add ADR-159 — A2A (Agent-to-Agent) Protocol Support for rvAgent 2026-04-25 16:58:16 -04:00
ADR-161-rabitq-wasm-npm-package.md feat(wasm): publish @ruvector/rabitq-wasm and @ruvector/acorn-wasm to npm (#394) 2026-04-26 23:10:39 -04:00
ADR-162-acorn-wasm-npm-package.md feat(wasm): publish @ruvector/rabitq-wasm and @ruvector/acorn-wasm to npm (#394) 2026-04-26 23:10:39 -04:00