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> |
||
|---|---|---|
| .. | ||
| benchmark | ||
| build | ||
| ci | ||
| deploy | ||
| lib | ||
| patches/hnsw_rs | ||
| publish | ||
| sona-drift | ||
| test | ||
| training | ||
| validate | ||
| analyze-evolution.js | ||
| analyze-ham10000.js | ||
| build-solver.sh | ||
| check_brain_status.sh | ||
| claude-code-decompile.sh | ||
| claude-code-rvf-corpus.sh | ||
| create-brainpedia.py | ||
| deploy-crawl-phase1.sh | ||
| deploy-dragnes.sh | ||
| deploy-gemini-agents.sh | ||
| deploy-wet-job.sh | ||
| deploy_brain_services.sh | ||
| deploy_trainer.sh | ||
| discover_and_train.sh | ||
| extract-ruqu-rvdna-submodules.sh | ||
| gemini-agents.js | ||
| generate-rvf-manifest.py | ||
| historical-crawl-import.sh | ||
| publish-rvf.sh | ||
| README.md | ||
| rebuild-all-versions.mjs | ||
| run_mincut_bench.sh | ||
| seed-brain-all.py | ||
| seed-brain.rs | ||
| seed-specialized.py | ||
| setup-gcs-examples.sh | ||
| sql-audit-v3.sql | ||
| swarm_train_15.sh | ||
| sync-lockfile.sh | ||
| train-lora.py | ||
| train_brain.sh | ||
| training_orchestrator.sh | ||
| upvote_memories.py | ||
| vote-boost.py | ||
| wet-filter-inject.js | ||
| wet-full-import.sh | ||
| wet-job.yaml | ||
| wet-orchestrate.sh | ||
| wet-processor.sh | ||
RuVector Automation Scripts
This directory contains automation scripts organized by purpose.
📁 Directory Structure
scripts/
├── README.md # This file
├── benchmark/ # Performance benchmarking
├── build/ # Build utilities
├── ci/ # CI/CD automation
├── deploy/ # Deployment scripts
├── patches/ # Patch files
├── publish/ # Package publishing
├── test/ # Testing scripts
└── validate/ # Validation & verification
🚀 Deployment
Scripts for deploying to production.
| Script | Description |
|---|---|
deploy/deploy.sh |
Comprehensive deployment (crates.io + npm) |
deploy/test-deploy.sh |
Test deployment without publishing |
deploy/DEPLOYMENT.md |
Full deployment documentation |
deploy/DEPLOYMENT-QUICKSTART.md |
Quick deployment guide |
Usage:
# Full deployment
./scripts/deploy/deploy.sh
# Dry run
./scripts/deploy/deploy.sh --dry-run
# Test deployment
./scripts/deploy/test-deploy.sh
📦 Publishing
Scripts for publishing packages to registries.
| Script | Description |
|---|---|
publish/publish-all.sh |
Publish all packages |
publish/publish-crates.sh |
Publish Rust crates to crates.io |
publish/publish-cli.sh |
Publish CLI package |
publish/publish-router-wasm.sh |
Publish router WASM package |
publish/check-and-publish-router-wasm.sh |
Check and publish router WASM |
Usage:
# Set credentials first
export CRATES_API_KEY="your-crates-io-token"
export NPM_TOKEN="your-npm-token"
# Publish all
./scripts/publish/publish-all.sh
# Publish crates only
./scripts/publish/publish-crates.sh
📊 Benchmarking
Performance benchmarking scripts.
| Script | Description |
|---|---|
benchmark/run_benchmarks.sh |
Run core benchmarks |
benchmark/run_llm_benchmarks.sh |
Run LLM inference benchmarks |
Usage:
# Run core benchmarks
./scripts/benchmark/run_benchmarks.sh
# Run LLM benchmarks
./scripts/benchmark/run_llm_benchmarks.sh
🧪 Testing
Testing and validation scripts.
| Script | Description |
|---|---|
test/test-wasm.mjs |
Test WASM bindings |
test/test-graph-cli.sh |
Test graph CLI commands |
test/test-all-graph-commands.sh |
Test all graph commands |
test/test-docker-package.sh |
Test Docker packaging |
Usage:
# Test WASM
node ./scripts/test/test-wasm.mjs
# Test graph CLI
./scripts/test/test-graph-cli.sh
✅ Validation
Package and build verification scripts.
| Script | Description |
|---|---|
validate/validate-packages.sh |
Validate package configs |
validate/validate-packages-simple.sh |
Simple package validation |
validate/verify-paper-impl.sh |
Verify paper implementation |
validate/verify_hnsw_build.sh |
Verify HNSW build |
Usage:
# Validate packages
./scripts/validate/validate-packages.sh
# Verify HNSW
./scripts/validate/verify_hnsw_build.sh
🔄 CI/CD
Continuous integration scripts.
| Script | Description |
|---|---|
ci/ci-sync-lockfile.sh |
Auto-fix lock files in CI |
ci/sync-lockfile.sh |
Sync package-lock.json |
ci/install-hooks.sh |
Install git hooks |
Usage:
# Install git hooks (recommended)
./scripts/ci/install-hooks.sh
# Sync lockfile
./scripts/ci/sync-lockfile.sh
🛠️ Build
Build utility scripts located in build/.
🩹 Patches
Patch files for dependencies located in patches/.
🚀 Quick Start
For Development
-
Install git hooks (recommended):
./scripts/ci/install-hooks.sh -
Run tests:
./scripts/test/test-wasm.mjs
For Deployment
-
Set credentials:
export CRATES_API_KEY="your-crates-io-token" export NPM_TOKEN="your-npm-token" -
Dry run first:
./scripts/deploy/deploy.sh --dry-run -
Deploy:
./scripts/deploy/deploy.sh
🔐 Security
Never commit credentials! Always use environment variables or .env file.
See deploy/DEPLOYMENT.md for security best practices.