ruvector/.github/workflows
rUv 0247c1fc2b
feat(diskann): Vamana ANN + PQ + NAPI bindings — 14 tests, 1.0 recall, 90µs search (#334)
* feat(ruvector): implement missing capabilities (ADR-143)

- speculativeEmbed: real FNV-1a hash embedding (128-dim) from file content
- ragRetrieve: cosine similarity on embeddings + TF-IDF keyword fallback
- contextRank: TF-IDF weighted scoring instead of raw keyword matching
- Remove false DiskANN claim (will implement as Rust crate next)

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

* feat(diskann): Vamana graph + PQ — SSD-friendly billion-scale ANN (ADR-143)

New Rust crate: ruvector-diskann

Core algorithm (NeurIPS 2019 DiskANN paper):
- Vamana graph with α-robust pruning (bounded out-degree R)
- k-means++ seeded Product Quantization (M subspaces, 256 centroids)
- Asymmetric PQ distance tables for fast candidate filtering
- Two-phase search: PQ-filtered beam search → exact re-ranking
- Memory-mapped persistence (mmap vectors + binary graph)

Performance characteristics:
- L2-squared distance with 8-wide loop unrolling (auto-vectorized)
- Greedy beam search with bounded visited set
- Save/load with flat binary format (mmap-friendly)

9 tests passing: distance, PQ train/encode, Vamana build/search,
bounded degree, full index CRUD, PQ-accelerated search, save/load.

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

* feat(diskann): NAPI-RS bindings + npm package + 14 tests passing

Rust core (ruvector-diskann):
- 4-accumulator L2 distance for ILP optimization
- Recall@10 = 1.000 on 2K vectors
- Search latency: 90µs (5K vectors, 128d, k=10)
- 14 tests: distance, PQ, Vamana, recall, scale, edge cases

NAPI-RS bindings (ruvector-diskann-node):
- Sync + async build/search
- Batch insert (flat Float32Array)
- Save/load, delete, count
- Thread-safe via parking_lot::RwLock

npm package (@ruvector/diskann):
- Platform-specific loader (linux/darwin/win)
- TypeScript declarations
- Node.js test passing

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

* ci(diskann): add cross-platform build + publish workflow

5 targets: linux-x64, linux-arm64, darwin-x64, darwin-arm64, win32-x64

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

* perf(diskann): FlatVectors + VisitedSet + ILP + optional SIMD/GPU

Optimizations applied:
- FlatVectors: contiguous f32 slab (eliminates Vec<Vec> indirection)
- VisitedSet: O(1) clear via generation counter (replaces HashSet)
- 4-accumulator ILP for L2 distance (auto-vectorized)
- Flat PQ distance table (cache-line friendly)
- Parallel medoid finding via rayon
- Zero-copy save (write flat slab directly)
- Optional simsimd feature for hardware NEON/AVX2/AVX-512
- Optional gpu feature with Metal/CUDA/Vulkan dispatch stubs

Results (5K vectors, 128d):
- Search: 90µs → 55µs (1.6x faster)
- Build: 6.9s → 6.2s (10% faster)
- Recall@10: 0.998 (maintained)
- 17 tests passing

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

---------

Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
2026-04-06 17:55:06 -04:00
..
agentic-synth-ci.yml feat(agentic-synth): Update RuVector adapter to use native NAPI-RS bindings (#34) 2025-12-01 13:17:26 -05:00
benchmarks.yml ci: fix benchmarks by installing PostgreSQL 17 and pgrx 2025-12-30 15:36:30 +00:00
build-attention.yml fix: use git add -f in CI workflows to commit .node binaries past .gitignore 2026-02-25 14:35:14 +00:00
build-diskann.yml feat(diskann): Vamana ANN + PQ + NAPI bindings — 14 tests, 1.0 recall, 90µs search (#334) 2026-04-06 17:55:06 -04:00
build-gnn.yml fix: use git add -f in CI workflows to commit .node binaries past .gitignore 2026-02-25 14:35:14 +00:00
build-graph-node.yml feat(postgres): Add HNSW index and embedding functions support (#62) 2025-12-09 11:14:52 -05:00
build-graph-transformer.yml fix: use git add -f in CI workflows to commit .node binaries past .gitignore 2026-02-25 14:35:14 +00:00
build-native.yml fix: use git add -f in CI workflows to commit .node binaries past .gitignore 2026-02-25 14:35:14 +00:00
build-router.yml fix(ci): read version from package.json instead of hardcoded value 2026-01-24 12:35:23 -05:00
build-rvf-node.yml fix(ci): resolve all build-rvf-node failures 2026-02-16 22:39:04 +00:00
build-tiny-dancer.yml feat(postgres): Add HNSW index and embedding functions support (#62) 2025-12-09 11:14:52 -05:00
build-verified.yml feat: add formal verification layer with lean-agentic dependent types 2026-02-25 03:45:18 +00:00
copilot-setup-steps.yml fix: Add Copilot setup workflow with git clone cleanup step 2026-01-29 11:05:28 -05:00
docker-publish.yml fix(docker): include gated-transformer dependency in builds 2025-12-26 23:39:06 +00:00
edge-net-models.yml chore: Update dependency versions for crates.io publishing 2026-01-04 19:44:24 +00:00
hooks-ci.yml fix(ci): use --memory-type flag for hooks remember command 2025-12-29 17:58:38 +00:00
postgres-extension-ci.yml fix: add missing pg17 feature flag in pgrx test commands and fix rustdoc link errors 2026-02-21 22:44:28 +00:00
publish-all.yml fix: Update ruvector-math-wasm to use @ruvector/math-wasm scoped package 2026-01-11 17:21:16 +00:00
RELEASE-FLOW.md feat: Implement GNN forgetting mitigation (#17) 2025-11-26 23:17:07 +00:00
release-rvf-cli.yml feat(rvf-cli): add cross-platform release workflow and update README 2026-02-16 23:19:39 +00:00
RELEASE.md feat: Implement GNN forgetting mitigation (#17) 2025-11-26 23:17:07 +00:00
release.yml fix: Remove automatic npm publish from CI/CD workflows 2025-11-30 21:23:39 +00:00
ruvector-postgres-ci.yml fix: update pgrx to 0.12.9 in both CI workflows and fix formatting 2026-02-21 22:34:37 +00:00
ruvllm-benchmarks.yml feat(training): RuvLTRA v2.4 Ecosystem Edition - 100% routing accuracy (#123) 2026-01-20 20:08:30 -05:00
ruvllm-build.yml feat: SONA Neural Architecture, RuvLLM, npm packages v0.1.31, and path traversal fix (#51) 2025-12-03 18:40:25 -05:00
ruvllm-native.yml feat: SONA Neural Architecture, RuvLLM, npm packages v0.1.31, and path traversal fix (#51) 2025-12-03 18:40:25 -05:00
ruvltra-tests.yml fix: CI clippy errors and Windows test failures 2026-03-16 23:21:01 -04:00
sona-napi.yml feat: SONA Neural Architecture, RuvLLM, npm packages v0.1.31, and path traversal fix (#51) 2025-12-03 18:40:25 -05:00
sync-rvf-examples.yml fix: ruvector-postgres v0.3.1 — audit bug fixes, 46 SQL functions, Docker publish (#227) 2026-03-03 12:53:10 -05:00
thermorust-ci.yml feat(thermorust): add thermodynamic neural-motif crate 2026-02-27 14:22:44 +00:00
validate-lockfile.yml fix: Resolve CI failures from platform-specific npm package conflicts 2025-11-27 15:38:11 +00:00
wasm-dedup-check.yml fix(rvf-wasm): fix Node.js CJS/ESM glue and add rvf-node CI 2026-02-16 21:33:14 +00:00