mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-07-10 01:38:44 +00:00
* docs(adr): ADR-257 extract ruqu + rvdna into standalone repos via submodules Two separate standalone repos — ruvnet/ruqu (both clusters: quantum-sim ruqu-* + min-cut ruQu + ruqu-wasm npm) and ruvnet/rvdna (examples/dna + rvdna npm) — re-referenced as git submodules at external/ruqu, external/rvdna. Includes the full coupling analysis (rvdna path-depends on 9 unpublished ruvector crates; ruQu on ruvector-mincut; ruqu consumed by OSpipe/rvf; code spans crates/ + npm/), the honest standalone-build caveat, migration steps, and rollback. Adds scripts/extract-ruqu-rvdna-submodules.sh — idempotent, DRY-RUN by default; --execute required to create the public repos. Dry-run verified. Co-Authored-By: claude-flow <ruv@ruv.net> * docs(adr): ADR-257 correction — ruvector deps ARE published (closure at 2.2.3) The earlier "rvdna/ruQu can't build standalone" claim was based on a crates.io API rate-limit misread. Authoritative sparse-index check shows all ruvector-* deps were already published; the full rvdna closure is now synced to 2.2.3 (published collections/filter/math/dag/cluster/raft/replication/gnn/attention; solver/core/graph already there). Standalone builds now only need the mechanical path->version dep rewrite in the extracted repos. Added an Update section. Co-Authored-By: claude-flow <ruv@ruv.net> * refactor: reference ruqu + rvdna as submodules (ADR-257) - Remove crates/ruqu-*, crates/ruQu, examples/dna, and the two npm wrappers from the monorepo; they now live in standalone repos ruvnet/ruqu and ruvnet/rvdna (both build standalone against published ruvector-* 2.2.3). - Add them as git submodules at external/ruqu and external/rvdna; exclude those nested workspaces from the root workspace. - Repoint examples/OSpipe and examples/rvf path deps to external/ruqu/crates/*. - CI: drop the ruqu-quantum shard + ruqu --exclude lines (no longer workspace members), add `submodules: recursive` to checkout steps. - cargo metadata + full dependency resolution verified green. Refs #579 Co-Authored-By: claude-flow <ruv@ruv.net> * fix(ci): exclude examples/OSpipe + examples/rvf from workspace (ADR-257) These two example crates are the only workspace members that path-dep into the external/ruqu submodule. As members, they forced EVERY workflow that resolves the workspace (Build Native Modules, etc.) to need `submodules: recursive` — those jobs checkout submodules:false and failed: failed to read external/ruqu/crates/ruqu-algorithms/Cargo.toml (os error 3) Moving them to `exclude` makes the workspace resolve without the submodules (verified: 0 members reference external/), so all Build jobs pass. The crates remain buildable on demand (`cargo build -p ospipe` with submodules checked out). Refs #579 --------- Co-authored-by: ruv <ruvnet@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| a2a-swarm | ||
| agentic-jujutsu | ||
| apify | ||
| app-clip | ||
| benchmarks | ||
| boundary-discovery | ||
| brain-boundary-discovery | ||
| climate-consciousness | ||
| cmb-boundary-discovery | ||
| cmb-consciousness | ||
| data | ||
| decompiler-dashboard | ||
| delta-behavior | ||
| docs | ||
| dragnes | ||
| earthquake-boundary-discovery | ||
| ecosystem-consciousness | ||
| edge | ||
| edge-full/pkg | ||
| edge-net | ||
| esp32-mmwave-sensor | ||
| exo-ai-2025 | ||
| frb-boundary-discovery | ||
| gene-consciousness | ||
| google-cloud | ||
| graph | ||
| gw-consciousness | ||
| health-boundary-discovery | ||
| infrastructure-boundary-discovery | ||
| market-boundary-discovery | ||
| meta-cognition-spiking-neural-network | ||
| mincut | ||
| music-boundary-discovery | ||
| neural-trader | ||
| nodejs | ||
| onnx-embeddings | ||
| onnx-embeddings-wasm | ||
| OSpipe | ||
| pandemic-boundary-discovery | ||
| prime-radiant | ||
| pwa-loader | ||
| quantum-consciousness | ||
| real-eeg-analysis | ||
| real-eeg-multi-seizure | ||
| refrag-pipeline | ||
| robotics | ||
| rust | ||
| ruvLLM | ||
| rvf | ||
| rvf-desktop | ||
| rvf-kernel-optimized | ||
| scipix | ||
| seizure-clinical-report | ||
| seizure-therapeutic-sim | ||
| seti-boundary-discovery | ||
| seti-exotic-signals | ||
| spiking-network | ||
| subpolynomial-time | ||
| temporal-attractor-discovery | ||
| train-discoveries | ||
| ultra-low-latency-sim | ||
| vectorvroom@4c2527b452 | ||
| verified-applications | ||
| vibecast-7sense | ||
| void-boundary-discovery | ||
| vwm-viewer | ||
| wasm/ios | ||
| wasm-react | ||
| wasm-vanilla | ||
| weather-boundary-discovery | ||
| bounded_instance_demo.rs | ||
| README.md | ||
| security_hardened.rvf | ||
RuVector Examples
Comprehensive examples demonstrating RuVector's capabilities across multiple platforms and use cases.
Directory Structure
examples/
├── rust/ # Rust SDK examples
├── nodejs/ # Node.js SDK examples
├── graph/ # Graph database features
├── wasm-react/ # React + WebAssembly integration
├── wasm-vanilla/ # Vanilla JS + WebAssembly
├── agentic-jujutsu/ # AI agent version control
├── exo-ai-2025/ # Advanced cognitive substrate
├── refrag-pipeline/ # Document processing pipeline
└── docs/ # Additional documentation
Quick Start by Platform
Rust
cd rust
cargo run --example basic_usage
cargo run --example advanced_features
cargo run --example agenticdb_demo
Node.js
cd nodejs
npm install
node basic_usage.js
node semantic_search.js
WebAssembly (React)
cd wasm-react
npm install
npm run dev
WebAssembly (Vanilla)
cd wasm-vanilla
# Open index.html in browser
Example Categories
| Category | Directory | Description |
|---|---|---|
| Core API | rust/basic_usage.rs |
Vector DB fundamentals |
| Batch Ops | rust/batch_operations.rs |
High-throughput ingestion |
| RAG Pipeline | rust/rag_pipeline.rs |
Retrieval-Augmented Generation |
| Advanced | rust/advanced_features.rs |
Hypergraphs, neural hashing |
| AgenticDB | rust/agenticdb_demo.rs |
AI agent memory system |
| GNN | rust/gnn_example.rs |
Graph Neural Networks |
| Graph | graph/ |
Cypher queries, clustering |
| Node.js | nodejs/ |
JavaScript integration |
| WASM React | wasm-react/ |
Modern React apps |
| WASM Vanilla | wasm-vanilla/ |
Browser without framework |
| Agentic Jujutsu | agentic-jujutsu/ |
Multi-agent version control |
| EXO-AI 2025 | exo-ai-2025/ |
Cognitive substrate research |
| Refrag | refrag-pipeline/ |
Document fragmentation |
Feature Highlights
Vector Database Core
- High-performance similarity search
- Multiple distance metrics (Cosine, Euclidean, Dot Product)
- Metadata filtering
- Batch operations
Advanced Features
- Hypergraph Index: Multi-entity relationships
- Temporal Hypergraph: Time-aware relationships
- Causal Memory: Cause-effect chains
- Learned Index: ML-optimized indexing
- Neural Hash: Locality-sensitive hashing
- Topological Analysis: Persistent homology
AgenticDB
- Reflexion episodes (self-critique)
- Skill library (consolidated patterns)
- Causal memory (hypergraph relationships)
- Learning sessions (RL training data)
- Vector embeddings (core storage)
EXO-AI Cognitive Substrate
- exo-core: IIT consciousness, thermodynamics
- exo-temporal: Causal memory coordination
- exo-hypergraph: Topological structures
- exo-manifold: Continuous deformation
- exo-exotic: 10 cutting-edge experiments
- exo-wasm: Browser deployment
- exo-federation: Distributed consensus
- exo-node: Native bindings
- exo-backend-classical: Classical compute
Running Benchmarks
# Rust benchmarks
cargo bench --example advanced_features
# Refrag pipeline benchmarks
cd refrag-pipeline
cargo bench
# EXO-AI benchmarks
cd exo-ai-2025
cargo bench
Related Documentation
License
MIT OR Apache-2.0