rUv
930fca916f
feat(sse): decouple SSE to mcp.pi.ruv.io proxy + Claude Code source research
...
SSE Proxy Decoupling (ADR-130):
- Fix ruvbrain-sse proxy: proper MCP handshake, session creation, drain polling
- Fix internal queue endpoints: session_create keeps receiver, drain returns buffered messages
- Add response_queues to AppState for SSE proxy communication
- Skip sparsifier for >5M edge graphs (was crashing on 16M edges)
- Add SSE_DISABLED/MAX_SSE env vars for configurable connection limits
- Route SSE to dedicated mcp.pi.ruv.io subdomain (Cloudflare CNAME)
- Serve SSE at root / path on proxy (no /sse needed)
- Update all references from pi.ruv.io/sse to mcp.pi.ruv.io
- Fix Dockerfile consciousness crate build (feature/version mismatches)
Claude Code CLI Source Research (ADR-133):
- 19 research documents analyzing Claude Code internals (3000+ lines)
- Decompiler script + RVF corpus builder for all major versions
- Binary RVF containers for v0.2, v1.0, v2.0, v2.1 (300-2068 vectors each)
- Call graphs, class hierarchies, state machines from minified source
Integration Strategy (ADR-134):
- 6-tier integration plan: WASM MCP, agents, hooks, cache, SDK, plugin
- Integration guide with architecture diagrams and performance targets
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-04-02 23:39:56 +00:00
rUv
3569b697c1
feat(examples): gene, climate, ecosystem, quantum consciousness explorers
...
Four new IIT 4.0 analysis applications:
Gene Networks: 16-gene regulatory network with 4 modules.
Cancer increases degeneracy 9x. Networks are perfectly decomposable.
Climate: 7 climate modes (ENSO, NAO, PDO, AMO, IOD, SAM, QBO).
All modes independent (7/7 rank). IIT auto-discovers ENSO-IOD coupling.
Ecosystems: Rainforest vs monoculture vs coral reef food webs.
Degeneracy predicts fragility: monoculture 1.10 vs rainforest 0.12.
Quantum: Bell, GHZ, Product, W states + random circuits.
IIT Phi disagrees with entanglement. Emergence index tracks it better.
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-31 22:01:55 +00:00
rUv
289ea98274
feat(examples): cosmic consciousness suite — CMB sky map, cross-freq, emergence sweep, GW background
...
Extends CMB explorer and adds gravitational wave background analyzer:
CMB additions:
- Cross-frequency foreground detection (9 Planck bands, Phi per subset)
- Emergence sweep (bins 4→64, finds natural resolution: EI saturates, rank=10)
- HEALPix spatial Phi sky map (48 patches, Cold Spot injection, Mollweide SVG)
New GW background analyzer (examples/gw-consciousness/):
- NANOGrav 15yr spectrum modeling (SMBH, cosmic strings, primordial, phase transition)
- Key finding: SMBH has 15x higher EI than exotic sources, but exotic sources
show 40-50x higher emergence index — a novel source discrimination signature
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-31 21:37:35 +00:00
rUv
0ee72d969e
feat(examples): CMB consciousness explorer — IIT Phi analysis of cosmic microwave background
...
SOTA example application applying Integrated Information Theory (IIT 4.0)
to the Cosmic Microwave Background radiation to search for signatures of
structured intelligence or anomalous integrated information.
Features:
- Downloads real Planck 2018 TT power spectrum (2,507 multipoles)
- Constructs transition probability matrix from angular scale correlations
- Computes IIT Phi (exact/spectral engines) on full system and regions
- Sliding window Phi spectrum across angular scales
- Causal emergence analysis (effective information, determinism, degeneracy)
- SVD emergence (effective rank, spectral entropy, emergence index)
- Null hypothesis testing against Gaussian random field ensemble
- Self-contained SVG report with power spectrum, TPM heatmap, Phi spectrum,
and null distribution visualization
- Comprehensive RESEARCH.md with scientific methodology
Usage: cargo run --release -p cmb-consciousness -- --bins 16 --null-samples 100
2026-03-31 17:30:25 -04:00
github-actions[bot]
7f9e6c871f
chore: Update NAPI-RS binaries for all platforms
...
Built from commit 29377e5229
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-31 20:42:50 +00:00
rUv
29377e5229
feat(consciousness): SOTA IIT Φ, causal emergence, quantum collapse crate (ADR-131)
...
* feat: add ruvector-consciousness crate — SOTA IIT Φ, causal emergence, quantum-collapse
Implements ultra-optimized consciousness metrics as two new Rust crates:
- ruvector-consciousness: Core library with 5 algorithms:
- Exact Φ (O(2^n·n²)) for n≤20
- Spectral Φ via Fiedler vector (O(n²·log n))
- Stochastic Φ via random sampling (O(k·n²))
- Causal emergence / effective information (O(n³))
- Quantum-inspired partition collapse (O(√N·n²))
- ruvector-consciousness-wasm: Full WASM bindings for browser/Node.js
Performance optimizations:
- AVX2 SIMD-accelerated dense matvec, KL-divergence, entropy
- Zero-alloc bump arena for hot partition evaluation loops
- Sublinear spectral and quantum-collapse approximations
- Branch-free KL divergence with epsilon clamping
21 tests + 1 doc-test passing.
https://claude.ai/code/session_01BHwVSfCHmPWiZYcWiogrS1
* docs(adr): add ADR-129 for ruvector-consciousness crate
Documents architecture decisions, SOTA research basis, algorithm
selection strategy, performance characteristics, integration points,
and future enhancement roadmap for the consciousness metrics crate.
https://claude.ai/code/session_01BHwVSfCHmPWiZYcWiogrS1
* feat(consciousness): add P1/P2 enhancements — GeoMIP, RSVD emergence, parallel search
- GeoMIP engine: Gray code iteration, automorphism pruning, balance-first
BFS for 100-300x speedup over exhaustive search (n ≤ 25)
- IIT 4.0 EMD-based information loss (Wasserstein replaces KL-divergence)
- Randomized SVD causal emergence (Halko-Martinsson-Tropp): O(n²·k) vs O(n³),
computes singular value spectrum, effective rank, spectral entropy
- Parallel partition search via rayon: ParallelPhiEngine + ParallelStochasticPhiEngine
with thread-local arenas for zero-contention allocation
- WASM bindings: added computePhiGeoMip() and computeRsvdEmergence() methods
- 38 unit tests + 1 doc-test, all passing
https://claude.ai/code/session_01BHwVSfCHmPWiZYcWiogrS1
* feat(consciousness): complete all phases — GreedyBisection, Hierarchical, 5-tier auto-select, integration tests
All PhiAlgorithm enum variants now have real engine implementations:
- GreedyBisectionPhiEngine: spectral seed + greedy element swap, O(n³)
- HierarchicalPhiEngine: recursive spectral decomposition, O(n² log n)
- GeoMIP/Collapse variants added to PhiAlgorithm enum
5-tier auto_compute_phi selection:
n ≤ 16 → Exact | n ≤ 25 → GeoMIP | n ≤ 100 → GreedyBisection
n ≤ 1000 → Spectral | n > 1000 → Hierarchical
Testing: 63 tests (43 unit + 19 integration + 1 doc-test), all passing
Benchmarks: 12 criterion benchmarks covering all engines + emergence
Updated ADR-129 with final architecture, implementation status, and test matrix.
https://claude.ai/code/session_01BHwVSfCHmPWiZYcWiogrS1
* feat(consciousness): integrate 5 sibling crates for optimized Φ computation
Add feature-gated cross-crate integrations that accelerate consciousness
computation by leveraging existing RuVector infrastructure:
- sparse_accel: CSR sparse matrices from ruvector-solver for O(nnz·k) spectral Φ
- mincut_phi: MinCut-guided partition search via ruvector-mincut builder API
- chebyshev_phi: Chebyshev polynomial spectral filter from ruvector-math (no eigendecomp)
- coherence_phi: Spectral gap bounds on Φ via ruvector-coherence Fiedler analysis
- witness_phi: Tamper-evident witness chains from ruvector-cognitive-container
All 76 tests passing (56 lib + 19 integration + 1 doc).
Features: solver-accel, mincut-accel, math-accel, coherence-accel, witness.
https://claude.ai/code/session_01BHwVSfCHmPWiZYcWiogrS1
* perf(consciousness): optimize hot paths and deduplicate MI computation
Key optimizations:
- Deduplicate pairwise_mi: 4 identical copies → 1 shared `simd::pairwise_mi`
with unsafe unchecked indexing in inner loop
- Zero-alloc partition extraction: replace `set_a()`/`set_b()` Vec heap allocs
with stack-fixed `[usize; 64]` arrays in the hot `partition_information_loss`
- Branchless bit extraction: `(state >> idx) & 1` instead of `if state & (1 << idx)`
- Eliminate per-iteration allocation in sparse Fiedler: remove `.collect::<Vec<_>>()`
in power iteration loop (was allocating every iteration)
- Convergence-based early exit: Rayleigh quotient monitoring in both dense and
sparse Fiedler iterations — typically converges 3-5x faster
- Fused Chebyshev recurrence: merge next[i] computation + result accumulation,
buffer rotation via `mem::swap` instead of allocation per step
- Shared MI builders: `build_mi_matrix()` and `build_mi_edges()` consolidate
MI graph construction across all 6 spectral engines
- Cache-friendly matvec: extract row slice `&laplacian[i*n..(i+1)*n]` for
sequential access pattern in dense power iteration
All 75 tests passing, zero warnings.
https://claude.ai/code/session_01BHwVSfCHmPWiZYcWiogrS1
* feat(consciousness): add IIT 4.0 SOTA modules — iit4, CES, ΦID, PID, streaming, bounds
Implement Tier 1 (IIT 4.0 framework) and Tier 2 (algorithm/performance) modules:
- iit4.rs: Intrinsic information (EMD), cause/effect repertoires, mechanism-level φ
- ces.rs: Cause-Effect Structure with distinction/relation computation and big Φ
- phi_id.rs: Integrated Information Decomposition (redundancy/synergy via MMI)
- pid.rs: Partial Information Decomposition (Williams-Beer I_min)
- streaming.rs: Online Φ with EWMA, Welford variance, CUSUM change-point detection
- bounds.rs: PAC-style bounds (spectral-Cheeger, Hoeffding, empirical Bernstein)
All 100 tests pass (80 unit + 19 integration + 1 doc).
https://claude.ai/code/session_01BHwVSfCHmPWiZYcWiogrS1
* feat(brain): integrate IIT 4.0 consciousness compute into pi.ruv.io
Brain server (mcp-brain-server):
- Add POST /v1/consciousness/compute — runs IIT 4.0 algorithms (iit4_phi,
ces, phi_id, pid, bounds) on user-supplied TPM
- Add GET /v1/consciousness/status — lists capabilities and algorithms
- Add Consciousness + InformationDecomposition brain categories
- Add consciousness_algorithms + consciousness_max_elements to /v1/status
- Add brain_consciousness_compute + brain_consciousness_status MCP tools
pi-brain npm (@ruvector/pi-brain):
- Add consciousnessCompute() and consciousnessStatus() client methods
- Add ConsciousnessComputeOptions/Result TypeScript types
- Add MCP tool definitions for consciousness compute/status
Consciousness crate optimizations:
- cause_repertoire: single-pass O(n) accumulation replaces O(n × purview) nested loop
- intrinsic_difference/selectivity: inline hints for hot-path EMD
- CES: rayon parallel mechanism enumeration for n ≥ 5 elements
https://claude.ai/code/session_01BHwVSfCHmPWiZYcWiogrS1
* perf(consciousness): optimize critical paths — mirror partitions, caching, convergence
- iit4: mirror partition skip (2x speedup), stack buffers for purview ≤64,
allocation-free selectivity via inline EMD
- pid: pre-compute source marginals once in williams_beer_imin (3-5x speedup)
- streaming: lazy TPM normalization with cache invalidation, O(1) ring buffer
replacing O(n) Vec::remove(0), reset clears all cached state
- bounds: convergence early-exit in Fiedler estimation via Rayleigh quotient
delta check, extracted reusable rayleigh_quotient helper
- docs: comprehensive consciousness API documentation
All 100 tests pass.
https://claude.ai/code/session_01BHwVSfCHmPWiZYcWiogrS1
* docs(adr-129): update with IIT 4.0 modules, brain integration, and optimizations
ADR-129 now reflects the complete implementation:
- 6 new SOTA modules: iit4, CES, ΦID, PID, streaming, bounds
- pi.ruv.io REST/MCP integration and NPM client
- 9 performance optimizations (mirror partitions, caching, early-exit)
- Correct test count: 100 tests (was 63)
- Resolved IIT 4.0 migration risk (EMD fully implemented)
https://claude.ai/code/session_01BHwVSfCHmPWiZYcWiogrS1
* feat(brain): enable 4 dormant capabilities — consciousness deploy, sparsifier, SONA, seeds
1. Consciousness compute deployment: add ruvector-consciousness to Docker
workspace and Dockerfile COPY, strip optional deps for minimal build
2. Background sparsifier: spawn async task 15s after startup to build
spectral sparsifier for large graphs (>100K edges) without blocking
health probe
3. SONA trajectory reporting: fix status endpoint to show total recorded
trajectories instead of currently-buffered (always 0 after drain)
4. Consciousness knowledge seeds: add seed_consciousness optimize action
with 8 curated IIT 4.0 SOTA entries (Albantakis, Mediano, Williams-Beer,
Hoel, GeoMIP, streaming, bounds)
5. Crawl category mapping: add Sota, Discovery, Consciousness,
InformationDecomposition to Common Crawl category handler
All 143 brain server tests pass (3 pre-existing failures in crawl/symbolic).
All 100 consciousness tests pass.
https://claude.ai/code/session_01BHwVSfCHmPWiZYcWiogrS1
* fix(adr): rename consciousness ADR from 129 to 131 (avoid conflict with training pipeline)
ADR-129 is already taken by the RuvLTRA training pipeline.
ADR-130 is the MCP SSE decoupling architecture.
Co-Authored-By: claude-flow <ruv@ruv.net>
* fix(consciousness): resolve clippy warnings for CI
Add crate-level allows for clippy lints in ruvector-consciousness.
Co-Authored-By: claude-flow <ruv@ruv.net>
---------
Co-authored-by: Claude <noreply@anthropic.com>
2026-03-31 16:36:25 -04:00
github-actions[bot]
e65aab978c
chore: Update NAPI-RS binaries for all platforms
...
Built from commit bd1e253755
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-30 15:59:16 +00:00
rUv
bd1e253755
feat(brain): ADR-130 service split — SSE proxy, worker, internal queue
...
* fix(brain): SSE connection limiter, pipeline rate limit, Firestore pagination fallback (ADR-130)
Three fixes for recurring pi.ruv.io outages:
1. SSE connection limiter (max 50) — prevents MCP reconnect storms from
exhausting Cloud Run concurrency slots. Tracks active count with
AtomicUsize, rejects excess with 429.
2. Pipeline optimize rate limiter — max 1 concurrent request with 30s
cooldown. Prevents scheduler thundering herd from CPU-saturating
the instance.
3. Firestore pagination offset fallback — when page tokens go stale
after OOM restart (400 Bad Request), switches to offset-based
pagination to load all documents instead of stopping at first batch.
Also adds /v1/ready lightweight probe (zero-cost, no state access)
for Cloud Run health checks.
ADR-130 documents the full decoupling architecture (SSE service split).
Co-Authored-By: claude-flow <ruv@ruv.net>
* feat(brain): ADR-130 service split — SSE proxy, worker binary, internal queue
Implements full MCP SSE decoupling to eliminate recurring outages:
1. ruvbrain-sse: Thin SSE proxy (308 lines) that manages MCP connections
independently from the API. Max 200 concurrent SSE, forwards JSON-RPC
to the API, polls /internal/queue/drain for responses. No business logic.
2. ruvbrain-worker: Batch worker binary (202 lines) for Cloud Run Jobs.
Runs scheduler actions (train, drift, transfer, graph, cleanup, attractor)
with direct Firestore access. Runs once and exits.
3. Internal queue endpoints on the API:
- POST /internal/queue/push (forward JSON-RPC to session)
- GET /internal/queue/drain (poll for responses)
- POST /internal/session/create (register session)
- DELETE /internal/session/:id (cleanup)
4. Deploy infrastructure:
- Dockerfile.sse, Dockerfile.worker
- cloudbuild-sse.yaml, cloudbuild-worker.yaml
- scripts/deploy_brain_services.sh [api|sse|worker|all]
Architecture: SSE (500 concurrency, 512MB) → API (80 concurrency, 4GB) ← Worker (Cloud Run Job, 4GB)
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-30 11:54:01 -04:00
github-actions[bot]
c09235e86b
chore: Update NAPI-RS binaries for all platforms
...
Built from commit 5cac17fd6d
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-30 14:49:15 +00:00
rUv
5cac17fd6d
fix(brain): SSE limiter, pipeline rate limit, Firestore pagination fallback (ADR-130)
...
Three fixes for recurring pi.ruv.io outages:
1. SSE connection limiter (max 50) — prevents MCP reconnect storms from
exhausting Cloud Run concurrency slots. Tracks active count with
AtomicUsize, rejects excess with 429.
2. Pipeline optimize rate limiter — max 1 concurrent request with 30s
cooldown. Prevents scheduler thundering herd from CPU-saturating
the instance.
3. Firestore pagination offset fallback — when page tokens go stale
after OOM restart (400 Bad Request), switches to offset-based
pagination to load all documents instead of stopping at first batch.
Also adds /v1/ready lightweight probe (zero-cost, no state access)
for Cloud Run health checks.
ADR-130 documents the full decoupling architecture (SSE service split).
2026-03-30 10:44:42 -04:00
github-actions[bot]
64d9f3ba06
chore: Update NAPI-RS binaries for all platforms
...
Built from commit 385eb17d08
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-30 12:02:40 +00:00
rUv
385eb17d08
feat(training): ADR-129 RuvLTRA training pipeline — calibration, SFT, benchmarks, HF publishing
...
* docs(adr): update ADR-129 — all phases executing, Phase 4 publishing complete
- Phase 1 Calibration: Complete (all 4 models, benchmarks uploaded to HF)
- Phase 2 SFT: Executing on L4 GPU (rank-16, 2 epochs)
- Phase 3 Benchmarks: Executing (release gates + L4 benchmark job)
- Phase 4 Publishing: Complete (TQ configs + benchmarks + README updates on HF)
Benchmark results (L4 GPU):
- ruvltra-small: 75.4 tok/s
- ruvltra-medium: 62.6 tok/s
- ruvltra-claude-code: 67.1 tok/s
Co-Authored-By: claude-flow <ruv@ruv.net>
* docs: add training pipeline and release gates to root README
Add Continuous Training & Optimization section (ADR-129) to the
capabilities table: nightly training, 7-gate release checks,
TurboQuant profiling, training corpus.
Co-Authored-By: claude-flow <ruv@ruv.net>
* fix(training): include training corpus in Docker build context
The SFT job failed because merged_corpus.jsonl was not in the Docker
image. Copy it to scripts/training/data/training/ so it's included
in the COPY . /app/ step.
Co-Authored-By: claude-flow <ruv@ruv.net>
* fix(training): handle raw text corpus format in SFT pipeline
The training corpus uses a flat 'text' field (brain memories, ADRs)
rather than chat messages or Alpaca instruction format. Add handler
that converts raw text to completion-style messages for SFT.
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-30 07:58:07 -04:00
github-actions[bot]
ad6586aa10
chore: Update NAPI-RS binaries for all platforms
...
Built from commit afc7a08afa
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-28 14:53:39 +00:00
rUv
afc7a08afa
docs(adr): Phase 1 calibration complete — all 4 models benchmarked
...
Calibration results (L4 GPU):
- ruvltra-small: 75.4 tok/s
- ruvltra-medium: 62.6 tok/s
- ruvltra-claude-code: 67.1 tok/s
- ruvltra: pending final execution
TQ profiles + benchmark_results.json uploaded to all HuggingFace models.
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-28 14:48:58 +00:00
github-actions[bot]
8a04312324
chore: Update NAPI-RS binaries for all platforms
...
Built from commit e4b45cf805
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-28 14:47:35 +00:00
github-actions[bot]
4300140a8d
chore: Update NAPI-RS binaries for all platforms
...
Built from commit b1a16e7f1d
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-28 14:44:19 +00:00
rUv
e4b45cf805
docs(adr): update ADR-129 status — Phase 1 calibration running on all models
...
Status: Accepted. ruvltra-small complete, 3 remaining models executing
on L4 GPU (ruvltra-medium, ruvltra-claude-code, ruvltra).
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-28 14:42:54 +00:00
rUv
b1a16e7f1d
docs(adr): mark ADR-129 as Accepted with implementation status
...
Phase 1 calibration deployed and executed on GCloud L4 GPU.
Infrastructure: Docker image built (torch 2.5.1+cu124), 3 Cloud Run
jobs deployed, 2 schedulers enabled. Training corpus exported.
Release gate automation tested. TurboQuant sidecars on HuggingFace.
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-28 14:40:04 +00:00
github-actions[bot]
119045eaa1
chore: Update NAPI-RS binaries for all platforms
...
Built from commit ace0b276d2
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-28 14:30:34 +00:00
rUv
ace0b276d2
fix(training): use torch 2.5.1+cu124 (2.3.1 unavailable on cu124 index)
...
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-28 14:26:28 +00:00
github-actions[bot]
12106939f1
chore: Update NAPI-RS binaries for all platforms
...
Built from commit dc53af1640
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-28 14:25:13 +00:00
rUv
dc53af1640
fix(training): add libgomp1, optimize Dockerfile for cache + CUDA wheels
...
- Add libgomp1 (required by llama-cpp-python OpenMP)
- Use PyTorch cu124 index for proper CUDA wheel
- Set default CMD with --model-id for Cloud Run execution
- Consolidate pip installs for Docker layer cache efficiency
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-28 14:20:54 +00:00
github-actions[bot]
891c786780
chore: Update NAPI-RS binaries for all platforms
...
Built from commit 7f3e0ea1dd
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-28 13:49:15 +00:00
rUv
7f3e0ea1dd
fix(training): use prebuilt llama-cpp-python CUDA wheel
...
The pip install of llama-cpp-python from source requires ninja + cmake
for CUDA compilation. Use the prebuilt wheel from the cu124 index instead.
Falls back to source install, then transformers-only mode.
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-28 13:44:48 +00:00
github-actions[bot]
a0bbcf02d6
chore: Update NAPI-RS binaries for all platforms
...
Built from commit 7407f78230
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-28 13:44:43 +00:00
rUv
7407f78230
refactor(training): use ruvllm-native tooling instead of llama.cpp
...
- Rewrite run_calibration.py to use gguf Python package + llama-cpp-python
prebuilt wheels instead of compiling llama.cpp from source
- Simplify Dockerfile: single-stage, pip install only, no CUDA compilation
(build time: ~5min vs 20+min)
- Update ADR-129 with tooling decision section explaining ruvllm-native choice
- Remove llama-imatrix and llama-quantize binary dependencies
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-28 13:40:14 +00:00
github-actions[bot]
d9fc07745d
chore: Update NAPI-RS binaries for all platforms
...
Built from commit 58f620ca28
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-28 12:26:23 +00:00
rUv
58f620ca28
fix(training): use 3600s timeout for GPU Cloud Run jobs
...
GPU-enabled Cloud Run jobs have a maximum timeout of 1 hour.
The previous 7200s (2hr) setting was rejected by the API.
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-28 12:21:58 +00:00
github-actions[bot]
04aa76ca96
chore: Update NAPI-RS binaries for all platforms
...
Built from commit 850ff6be9a
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-28 12:08:15 +00:00
rUv
850ff6be9a
data: add merged training corpus (230 records, 530K tokens)
...
98 brain memories + 131 ADRs + 1 routing reference.
Governance: SHA-256 dedup, quality >= 0.5, schema validated.
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-28 12:03:23 +00:00
github-actions[bot]
579c5e0153
chore: Update NAPI-RS binaries for all platforms
...
Built from commit 737b18e772
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-28 02:34:44 +00:00
github-actions[bot]
3498599468
chore: Update NAPI-RS binaries for all platforms
...
Built from commit f12e6c1584
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-28 02:31:51 +00:00
rUv
737b18e772
feat: add nightly continuous learning pipeline (ADR-129)
...
- nightly_train.sh: 5-phase nightly pipeline (export brain learnings,
contamination check, incremental LoRA, release gates, push to HF)
- Updated deploy_training.sh with nightly Cloud Run job + scheduler
- Updated ADR-129 with nightly continuous learning section
Schedule: daily 03:00 UTC, ~$4/day, skips if <10 new records.
All 7 release gates must pass before publishing.
Ref: #310
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-28 02:30:25 +00:00
rUv
f12e6c1584
feat: implement ADR-129 training pipeline and TurboQuant sidecar infra
...
Training tooling:
- release_gate.py: Automated 7-gate ship/no-ship checker (G1-G7)
- export_training_data.py: Dataset export with governance (schema,
dedup, quality scoring, contamination check)
- contamination_check.py: 13-gram eval contamination detection
- run_calibration.py: Phase 1 imatrix + TurboQuant profiling
- run_sft.py: Phase 2 LoRA SFT + DPO training
- deploy_training.sh: Cloud Run job creation + Vertex AI setup
- Dockerfile: GPU training image (transformers + peft + trl)
Rust infrastructure:
- turboquant_profile.rs: .turboquant.json sidecar config loading,
per-layer TQ config discovery, default profiles
Ref: ADR-129, #310
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-28 02:27:32 +00:00
github-actions[bot]
d1563cb993
chore: Update NAPI-RS binaries for all platforms
...
Built from commit b15d5d0550
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-28 02:09:19 +00:00
rUv
b15d5d0550
docs(adr): harden ADR-129 with governance, release gates, rollback, ablation
...
Addresses review feedback:
- Add dataset governance: record schema, source allowlist, dedup rules,
eval contamination checks, quality scoring
- Add release gate: 7 ship/no-ship criteria (G1-G7) with automated
release_gate.py checker
- Add ablation matrix: 5 runs (A-E) isolating imatrix, SFT, DPO, TQ
- Add rollback plan: HF git revert, registry rollback, npm patch
- Add TurboQuant serving plan: .turboquant.json sidecar config,
runtime discovery, per-layer profiling
- Relabel cost estimate as "initial experimental compute only"
- Update status to "proposed, pending governance hardening"
- Expand next steps to 21 items across 4 phases
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-28 02:04:59 +00:00
github-actions[bot]
abf0e3b792
chore: Update NAPI-RS binaries for all platforms
...
Built from commit a14fd84ec7
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-28 02:01:17 +00:00
github-actions[bot]
130a983da9
chore: Update NAPI-RS binaries for all platforms
...
Built from commit 80f1d99f36
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-28 01:59:10 +00:00
rUv
a14fd84ec7
docs(adr): update ADR-129 with accurate training infra findings
...
Correct TurboQuant scope (runtime KV-cache only, not weight quant),
add Current Gaps section, document existing training infrastructure
(13 components), clarify LoRA-based fine-tuning approach, reference
related ADRs (049, 090, 093).
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-28 01:56:55 +00:00
rUv
80f1d99f36
docs(adr): ADR-129 RuvLTRA GCloud training with TurboQuant optimization
...
4-phase plan for retraining RuvLTRA models on GCloud:
- Phase 1: TurboQuant-calibrated GGUF quantization (imatrix recalibration)
- Phase 2: WET-augmented SFT + DPO fine-tuning on brain knowledge + Common Crawl
- Phase 3: Benchmarking suite (HumanEval, SWE-Bench, TurboQuant quality, latency)
- Phase 4: Publishing updated models to HuggingFace with -tq variants
Uses existing phi4-finetuning-gpu Cloud Run template, Vertex AI for
training, and brain-wet-daily pipeline for data. Estimated cost: ~$70.
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-28 01:54:59 +00:00
github-actions[bot]
b4921d3bc0
chore: Update NAPI-RS binaries for all platforms
...
Built from commit dd2711f488
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-27 21:55:03 +00:00
rUv
dd2711f488
docs(ruvllm): add TurboQuant KV-cache compression to crate README
...
- Add TurboQuant to key features table (6-8x memory reduction)
- Add v2.5 section with TurboQuant, embedding store, H2O/PyramidKV eviction
- Add full TurboQuant usage section with code examples and compression table
- Update version references from 2.0/2.3 to 2.1
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-27 21:50:44 +00:00
github-actions[bot]
e9791f23e5
chore: Update NAPI-RS binaries for all platforms
...
Built from commit e7e545e22c
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-27 21:48:52 +00:00
rUv
e7e545e22c
Fix CLI dimension field mismatch + add TurboQuant to README ( #309 )
...
* fix(cli): correct field name mismatch in create and benchmark commands
The CLI passed `dimension` (singular) but the native NAPI binding
expects `dimensions` (plural). Also fix `db.save()` call which doesn't
exist on VectorDBWrapper — use `storagePath` constructor option instead.
Fixes #307
Co-Authored-By: claude-flow <ruv@ruv.net>
* docs: add TurboQuant to README capabilities and comparison tables
Co-Authored-By: claude-flow <ruv@ruv.net>
* docs(npm): update ruvector npm package for v2.1 SOTA features
- Add v2.1 section with FlashAttention-3, Graph RAG, hybrid search,
DiskANN, ColBERT, Matryoshka, MLA, Mamba SSM, TurboQuant, OPQ, GraphMAE
- Update description to highlight hybrid retrieval and Graph RAG
- Add keywords: graph-rag, diskann, hybrid-search, colbert, turboquant, mamba
- Bump version to 0.2.19
Co-Authored-By: claude-flow <ruv@ruv.net>
* feat(ruvllm): update npm package with TurboQuant docs and SEO keywords
- Add TurboQuant KV-cache compression section (2-4 bit, 6-8x savings)
- Update description and add v2.5 feature table
- Add SEO keywords: turboquant, kv-cache, quantization, flash-attention,
speculative-decoding, gguf, mamba, edge-ai, local-llm, model-compression
- Bump to v2.5.4, publish ruvllm crate to 2.1.0
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-27 17:44:26 -04:00
github-actions[bot]
8e0943acac
chore: Update NAPI-RS binaries for all platforms
...
Built from commit ce68396188
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-27 21:23:24 +00:00
rUv
ce68396188
docs: update README with v2.1.0 SOTA modules
...
Add Graph RAG, DiskANN, ColBERT multi-vector, Matryoshka embeddings,
OPQ, LSM compaction, GraphMAE to comparison and capabilities tables.
Update attention mechanism count from 46 to 50+, add FlashAttention-3,
MLA, Mamba SSM, KV-cache compression, speculative decoding references.
Closes #308
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-27 21:18:37 +00:00
github-actions[bot]
f735134540
chore: Update NAPI-RS binaries for all platforms
...
Built from commit 23e77dc7aa
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
🤖 Generated by GitHub Actions
2026-03-27 21:07:44 +00:00
github-actions[bot]
6b2af465b8
chore: Update attention NAPI-RS binaries for all platforms
...
Built from commit 23e77dc7aa
Platforms updated:
- linux-x64-gnu
- linux-arm64-gnu
- darwin-x64
- darwin-arm64
- win32-x64-msvc
- wasm
🤖 Generated by GitHub Actions
2026-03-27 21:03:47 +00:00
github-actions[bot]
2e32100f94
chore: Update GNN NAPI-RS binaries for all platforms
...
Built from commit 063c20f34a
Platforms updated:
- linux-x64-gnu
- linux-x64-musl
- linux-arm64-gnu
- linux-arm64-musl
- darwin-x64
- darwin-arm64
- win32-x64-msvc
Generated by GitHub Actions
2026-03-27 21:03:26 +00:00
rUv
23e77dc7aa
docs(attention): add SOTA modules to crate-level documentation
...
Lists FlashAttention-3, MLA, SSM/Mamba, and speculative decoding
in the lib.rs doc comments to match the new v2.1.0 capabilities.
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-27 21:00:09 +00:00