Commit graph

1891 commits

Author SHA1 Message Date
rUv
10b03c75c6 feat: add interactive CNN browser demo for GitHub Pages (#253)
- Single-file HTML demo with modern dark theme UI
- Drag & drop image upload + camera capture
- Real-time embedding extraction and visualization
- Similarity matrix comparing multiple images
- Performance metrics display (~5ms per image)
- Falls back to demo mode if WASM fails to load
- ADR-089 documenting the approach

Deploy to: https://ruvnet.github.io/ruvector/demo/cnn/

Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
2026-03-11 17:50:42 -04:00
github-actions[bot]
1caaa1b2fa chore: Update NAPI-RS binaries for all platforms
Built from commit e743785c7d

  Platforms updated:
  - linux-x64-gnu
  - linux-arm64-gnu
  - darwin-x64
  - darwin-arm64
  - win32-x64-msvc

  🤖 Generated by GitHub Actions
2026-03-11 21:46:44 +00:00
rUv
e743785c7d feat(ruvector-cnn): CNN contrastive learning + SIMD optimization fixes (#252)
* feat: add CNN contrastive learning crate with SIMD optimization

- Add ruvector-cnn crate with SIMD-optimized convolutions and contrastive losses
- Implement InfoNCE (SimCLR) and TripletLoss for contrastive learning
- Add MobileNet-V3 inspired backbone architecture
- Include AVX2, NEON, WASM SIMD support with scalar fallback
- Add WASM bindings (ruvector-cnn-wasm) for browser/Node.js
- Add npm package with TypeScript definitions
- Include comprehensive research docs and ADR-088
- 36 tests passing

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

* feat: add npm package JavaScript wrapper and TypeScript definitions

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

* fix(ruvector-cnn): implement real SIMD and fix stubbed code

## SIMD Implementations (was using scalar fallbacks)
- AVX2: conv_3x3_avx2, conv_3x3_avx2_fma, depthwise_conv_3x3_avx2
- AVX2: global_avg_pool_avx2, max_pool_2x2_avx2
- WASM: conv_3x3_wasm, depthwise_conv_3x3_wasm

All now use real SIMD intrinsics processing 8 (AVX2) or 4 (WASM)
channels simultaneously with scalar fallback for remainders.

## Backbone Fixes
- Deprecated MobileNetV3Small/Large (use unified MobileNetV3 instead)
- Implemented actual block processing in forward() methods
- Fixed hardcoded channel counts in global_avg_pool calls

## Dead Code Fixes
- Added #[allow(dead_code)] for momentum field (used in training)
- Added #[allow(dead_code)] for rng field (feature-gated)
- Added #[cfg(feature = "augmentation")] for rand::Rng import
- Commented out undefined "parallel" feature reference

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

* feat(ruvector-cnn): add Winograd F(2,3) and π-calibrated INT8 quantization

- Add Winograd F(2,3) transforms for 2.25x faster 3x3 convolutions
- Implement π-calibrated INT8 quantization with anti-resonance offsets
- Apply 4x loop unrolling with 4 accumulators to AVX2 convolutions
- Update README with practical intro, capabilities table, benchmarks
- Update npm README with simpler language and examples
- Add CNN image embeddings to root README capabilities

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

* feat: publish @ruvector/cnn v0.1.0 WASM npm package

- Add unsafe blocks for WASM SIMD intrinsics (v128_load/v128_store)
- Disable wasm-opt to avoid SIMD validation issues
- Build and include WASM bindings in npm package
- Update npm package.json with all WASM files
- Published to npm as @ruvector/cnn@0.1.0

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

---------

Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
2026-03-11 17:41:53 -04:00
github-actions[bot]
aa57b9a7c2 chore: Update NAPI-RS binaries for all platforms
Built from commit 7ace64061d

  Platforms updated:
  - linux-x64-gnu
  - linux-arm64-gnu
  - darwin-x64
  - darwin-arm64
  - win32-x64-msvc

  🤖 Generated by GitHub Actions
2026-03-10 20:05:41 +00:00
rUv
7ace64061d fix: auto-generate embedding and witness_hash for page creation
CreatePageRequest previously required embedding and witness_hash
fields, causing 422 errors when clients (including MCP SSE) omitted
them. Now matches ShareRequest behavior: #[serde(default)] on
embedding, witness_hash, tags, and evidence_links. Server
auto-generates 128-dim embedding via ruvllm and SHAKE-256 witness
hash when not provided.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-10 20:01:10 +00:00
github-actions[bot]
c1522bad91 chore: Update NAPI-RS binaries for all platforms
Built from commit 82b3431853

  Platforms updated:
  - linux-x64-gnu
  - linux-arm64-gnu
  - darwin-x64
  - darwin-arm64
  - win32-x64-msvc

  🤖 Generated by GitHub Actions
2026-03-10 19:25:22 +00:00
rUv
82b3431853 feat: make SSE the default MCP connection method on pi.ruv.io
Restructure Guide modal MCP tab to lead with SSE (one command, no
install) and demote npx/Cargo to an optional "Local install" step.
Update main page terminal section to show SSE first.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-10 19:20:45 +00:00
github-actions[bot]
0122f35a1a chore: Update NAPI-RS binaries for all platforms
Built from commit 296749aafb

  Platforms updated:
  - linux-x64-gnu
  - linux-arm64-gnu
  - darwin-x64
  - darwin-arm64
  - win32-x64-msvc

  🤖 Generated by GitHub Actions
2026-03-10 19:12:11 +00:00
rUv
296749aafb docs: add SSE transport documentation to pi.ruv.io landing page
Add remote MCP SSE connection instructions to the Guide modal (MCP tab)
and the main page terminal section. Users can now connect via
`claude mcp add pi-brain --transport sse https://pi.ruv.io/sse`
without any local install.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-10 19:06:25 +00:00
github-actions[bot]
48c3812e4e chore: Update NAPI-RS binaries for all platforms
Built from commit d11dde6dbd

  Platforms updated:
  - linux-x64-gnu
  - linux-arm64-gnu
  - darwin-x64
  - darwin-arm64
  - win32-x64-msvc

  🤖 Generated by GitHub Actions
2026-03-10 15:02:35 +00:00
rUv
d11dde6dbd fix: prevent .mcp.json overwrites by removing empty mcpServers from settings (#250)
Stop writing empty mcpServers: {} to settings.json which could trigger
Claude Code to regenerate .mcp.json, stripping user-added fields like
autoStart. Doctor --fix now cleans up stale empty mcpServers entries.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-10 14:55:40 +00:00
github-actions[bot]
380a00a4e4 chore: Update NAPI-RS binaries for all platforms
Built from commit a1c3ae6dec

  Platforms updated:
  - linux-x64-gnu
  - linux-arm64-gnu
  - darwin-x64
  - darwin-arm64
  - win32-x64-msvc

  🤖 Generated by GitHub Actions
2026-03-08 17:15:30 +00:00
github-actions[bot]
ad922c5bd5 chore: Update NAPI-RS binaries for all platforms
Built from commit 72649db3d8

  Platforms updated:
  - linux-x64-gnu
  - linux-arm64-gnu
  - darwin-x64
  - darwin-arm64
  - win32-x64-msvc

  🤖 Generated by GitHub Actions
2026-03-08 17:08:29 +00:00
rUv
a1c3ae6dec security: harden ADR-087 with 6 security audit findings
Adds Section 20 (Security Hardening Notes) addressing: root task
privilege attenuation post-boot, capability delegation depth limits,
boot RVF proof bootstrap resolution, Reflex proof cache scoping,
zero-copy IPC TOCTOU mitigation, and boot signature failure behavior.
All findings are specification clarifications, not structural flaws.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-08 17:06:09 +00:00
rUv
72649db3d8 Merge pull request #248 from ruvnet/feat/ruvix-kernel
feat: ADR-087 RuVix Cognition Kernel
2026-03-08 13:04:17 -04:00
rUv
1ddb44a0dd feat: add ADR-087 RuVix Cognition Kernel architecture
Defines a cognition kernel for the Agentic Age with 6 primitives
(task, capability, region, queue, timer, proof), 12 syscalls, and
RVF as the native boot object. Includes coherence-aware scheduler,
proof-gated mutation as kernel invariant, seL4-inspired capabilities,
io_uring-style queue IPC, 8 demo applications, and a two-phase build
path (Linux-hosted nucleus → bare metal AArch64).

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-08 16:34:48 +00:00
github-actions[bot]
eca17ddd82 chore: Update NAPI-RS binaries for all platforms
Built from commit 97218b9d0f

  Platforms updated:
  - linux-x64-gnu
  - linux-arm64-gnu
  - darwin-x64
  - darwin-arm64
  - win32-x64-msvc

  🤖 Generated by GitHub Actions
2026-03-08 16:27:56 +00:00
rUv
97218b9d0f Merge pull request #244 from ruvnet/feat/neural-trader
feat: neural trader — market graph types, MinCut coherence gate, reservoir replay
2026-03-08 12:22:56 -04:00
rUv
dc0de72d9c feat: add neural-trader-wasm crate with WASM bindings and ADR-086
Adds browser WASM bindings for neural-trader-core, coherence, and replay
crates using the established wasm-bindgen pattern. Includes BigInt-safe
serialization, hex ID helpers, 10 unit tests, 43 Node.js smoke tests,
comprehensive README, and animated dot-matrix visuals for π.ruv.io.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-08 16:17:58 +00:00
rUv
ce2647ccc7 docs: add neural trader crates to root README
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-06 19:23:18 +00:00
rUv
2ba13251e4 fix: renumber ADR-084 → ADR-085, fix unused deps in neural-trader crates
- Rename ADR-084-neural-trader to ADR-085 (ADR-084 is taken by ruvllm-wasm-publish)
- Move serde_json to dev-dependencies in neural-trader-core (only used in tests)
- Remove unused neural-trader-core dependency from neural-trader-coherence

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-06 19:12:33 +00:00
Claude
cd04afe201 fix: optimize ADR-084 and harden neural-trader crates
ADR:
- Add SQL indexes on (symbol_id, ts_ns) for all tables
- Add HNSW index on nt_embeddings.embedding
- Range-partition nt_event_log and nt_segments by timestamp
- Add retention config (hot/warm/cold TTL) to example YAML
- Add retrieval weight normalization constraint (α+β+γ+δ=1)
- Cross-reference existing examples/neural-trader/

Code:
- core: Replace String property keys with PropertyKey enum (zero alloc)
- core: Add PartialEq on MarketEvent for test assertions
- coherence: Fix redundant drift check — learning now requires half
  drift margin (stricter than act/write)
- coherence: Add boundary_stable_count to GateContext and enforce
  boundary stability window threshold from ADR gate policy
- coherence: Add PartialEq on CoherenceDecision
- coherence: Add 2 new tests (high_drift, boundary_instability)
- replay: Switch ReservoirStore from Vec to VecDeque for O(1) eviction
- replay: Use RegimeLabel enum instead of Option<String> in MemoryQuery

12 tests pass (was 10).

https://claude.ai/code/session_01EExDkEDv4eejvfgqUWnSks
2026-03-06 19:11:37 +00:00
Claude
8da5be5961 feat: Add ADR-084 Neural Trader and three starter crates
ADR-084 defines the RuVector-native Neural Trader architecture using
dynamic market graphs, mincut coherence gating, and proof-gated mutation.
Includes three starter crates (neural-trader-core, neural-trader-coherence,
neural-trader-replay) with canonical types, threshold gate, reservoir
memory store, and 10 passing tests.

https://claude.ai/code/session_01EExDkEDv4eejvfgqUWnSks
2026-03-06 19:11:37 +00:00
github-actions[bot]
c760df8059 chore: Update NAPI-RS binaries for all platforms
Built from commit e94412e5b3

  Platforms updated:
  - linux-x64-gnu
  - linux-arm64-gnu
  - darwin-x64
  - darwin-arm64
  - win32-x64-msvc

  🤖 Generated by GitHub Actions
2026-03-06 15:18:21 +00:00
rUv
e94412e5b3 docs: add accurate ruvllm-wasm README with working API examples
Replaces outdated README that referenced non-existent APIs
(load_model_from_url, generate_stream) with documentation
matching the actual v2.0.0 exports.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-06 15:14:06 +00:00
github-actions[bot]
19c3443744 chore: Update NAPI-RS binaries for all platforms
Built from commit ef1f665203

  Platforms updated:
  - linux-x64-gnu
  - linux-arm64-gnu
  - darwin-x64
  - darwin-arm64
  - win32-x64-msvc

  🤖 Generated by GitHub Actions
2026-03-06 15:12:35 +00:00
github-actions[bot]
9db26a25b3 chore: Update NAPI-RS binaries for all platforms
Built from commit 25e208b0fe

  Platforms updated:
  - linux-x64-gnu
  - linux-arm64-gnu
  - darwin-x64
  - darwin-arm64
  - win32-x64-msvc

  🤖 Generated by GitHub Actions
2026-03-06 15:11:05 +00:00
rUv
ef1f665203 docs: update README with ruvllm-wasm v2.0.0 — accurate API examples, npm link
- Fix browser code example to use actual working API (ChatTemplateWasm, HnswRouterWasm)
- Add npm install line for @ruvector/ruvllm-wasm
- Update npm packages count (4→5) with ruvllm-wasm link
- Update WASM size to actual 435KB (178KB gzipped)
- Link ruvllm-wasm feature table to npm package

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-06 15:07:08 +00:00
rUv
25e208b0fe Merge pull request #241 from ruvnet/feat/ruvllm-wasm-publish
feat: ruvllm-wasm v2.0.0 — first functional WASM publish
2026-03-06 10:06:05 -05:00
rUv
da0f016d0f feat: ruvllm-wasm v2.0.0 — first functional WASM publish
- Gate WebGPU web-sys features behind `webgpu` Cargo feature flag
- Remove unused bytemuck, gpu_map_mode, GpuSupportedLimits dependencies
- Add wasm-opt=false workaround for Rust 1.91 codegen bug
- Published @ruvector/ruvllm-wasm@2.0.0 with compiled WASM binary (435KB)
- ADR-084 documenting build workarounds and known limitations

Closes #240

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-06 14:55:34 +00:00
github-actions[bot]
0657a96082 chore: Update NAPI-RS binaries for all platforms
Built from commit 3d7f31ce7e

  Platforms updated:
  - linux-x64-gnu
  - linux-arm64-gnu
  - darwin-x64
  - darwin-arm64
  - win32-x64-msvc

  🤖 Generated by GitHub Actions
2026-03-06 14:11:17 +00:00
github-actions[bot]
41d318e424 chore: Update NAPI-RS binaries for all platforms
Built from commit 423908655c

  Platforms updated:
  - linux-x64-gnu
  - linux-arm64-gnu
  - darwin-x64
  - darwin-arm64
  - win32-x64-msvc

  🤖 Generated by GitHub Actions
2026-03-06 14:10:32 +00:00
github-actions[bot]
0e15b03f3c chore: Update RVF NAPI-RS binaries for all platforms
Built from commit 423908655c

Platforms: linux-x64-gnu, linux-arm64-gnu, darwin-x64, darwin-arm64, win32-x64-msvc

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-06 14:07:54 +00:00
rUv
3d7f31ce7e chore: bump @ruvector/ruvllm to 2.5.2 (stats crash fix)
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-06 14:05:54 +00:00
rUv
423908655c Merge pull request #239 from ruvnet/fix/p0-critical-issues
fix: resolve 5 P0 critical issues + pre-existing compile errors
2026-03-06 09:04:27 -05:00
rUv
1b6e725b49 fix: resolve 5 P0 critical issues + 2 pre-existing compile errors
- ONNX embeddings: dynamic dimension detection + conditional token_type_ids (#237)
- rvf-node: add compression field pass-through to Rust N-API struct (#225)
- Cargo workspace: add glob excludes for nested rvf sub-packages (#214)
- ruvllm: fix stats crash (null guard + try/catch) + generate warning (#103)
- ruvllm-wasm: deprecated placeholder on npm (#238)
- Pre-existing: fix ruvector-sparse-inference-wasm API mismatch, exclude from workspace
- Pre-existing: fix ruvector-cloudrun-gpu RuvectorLayer::new() Result handling

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-06 14:03:42 +00:00
github-actions[bot]
01462a7960 chore: Update NAPI-RS binaries for all platforms
Built from commit ff8dd2d506

  Platforms updated:
  - linux-x64-gnu
  - linux-arm64-gnu
  - darwin-x64
  - darwin-arm64
  - win32-x64-msvc

  🤖 Generated by GitHub Actions
2026-03-06 13:42:28 +00:00
rUv
ff8dd2d506 feat: brain training loops — background SONA + Pareto, POST /v1/train, CLI + MCP (#236)
Bridge the gap between "stores knowledge" and "learns from knowledge":

- Background training loop (tokio::spawn, 5 min interval) runs SONA
  force_learn + domain evolve_population when new data arrives
- POST /v1/train endpoint for on-demand training cycles
- `ruvector brain train` CLI command with --json support
- `brain_train` MCP tool for agent-triggered training
- Vote dedup: 24h TTL on ip_votes entries, author exemption from IP check
- ADR-082 updated, ADR-083 created

Results: Pareto frontier grew 0→24 after 3 cycles. SONA activates
after 100+ trajectory threshold (natural search/share usage).

Publish ruvector@0.2.11.
2026-03-06 08:35:50 -05:00
github-actions[bot]
67b9e8f699 chore: Update NAPI-RS binaries for all platforms
Built from commit f0df76da7f

  Platforms updated:
  - linux-x64-gnu
  - linux-arm64-gnu
  - darwin-x64
  - darwin-arm64
  - win32-x64-msvc

  🤖 Generated by GitHub Actions
2026-03-03 22:57:05 +00:00
rUv
f0df76da7f fix: brain security hardening — PII phone/SSN/CC, IP rate limit, anti-Sybil votes (#235)
Expand PiiStripper from 12 to 15 regex rules: add phone number,
SSN, and credit card detection/redaction. Add IP-based rate limiting
(1500 writes/hr per IP) to prevent Sybil key rotation bypass. Add
per-IP vote deduplication (one vote per IP per memory) to prevent
quality score manipulation.

63 server tests + 16 PII tests pass. Deployed to Cloud Run.
2026-03-03 17:52:30 -05:00
github-actions[bot]
7c09d8b5ef chore: Update NAPI-RS binaries for all platforms
Built from commit 0c0ef48ed5

  Platforms updated:
  - linux-x64-gnu
  - linux-arm64-gnu
  - darwin-x64
  - darwin-arm64
  - win32-x64-msvc

  🤖 Generated by GitHub Actions
2026-03-03 22:10:58 +00:00
rUv
0c0ef48ed5 feat: brain server v0.2.10 — bug fixes, GET /v1/pages, 9 MCP tools (#234)
* feat: proxy-aware fetch + brain API improvements — publish v0.2.7

Add proxyFetch() wrapper to cli.js and mcp-server.js that detects
HTTPS_PROXY/HTTP_PROXY/ALL_PROXY env vars, uses undici ProxyAgent
(Node 18+) or falls back to curl. Handles NO_PROXY patterns.
Replaced all 17 fetch() call sites with timeouts (15-30s).

Brain server API:
- Search returns similarity scores via ScoredBrainMemory
- List supports pagination (offset/limit), sorting (updated_at/quality/votes), tag filtering
- Transfer response includes warnings, source/target memory counts
- New POST /v1/verify endpoint with 4 verification methods

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

* feat: brain server bug fixes, GET /v1/pages, 9 MCP page/node tools — v0.2.10

Fix proxyFetch curl fallback to capture real HTTP status instead of
hardcoding 200, add 204 guards to brainFetch/fetchBrainEndpoint/MCP
handler, fix brain_list schema (missing offset/sort/tags), fix
brain_sync direction passthrough, add --json to share/vote/delete/sync.

Add GET /v1/pages route with pagination, status filter, sort.
Add 9 MCP tools: brain_page_list/get/create/update/delete,
brain_node_list/get/publish/revoke (previously SSE-only).

Polish: delete --json returns {deleted:true,id} not {}, page get
unwraps .memory wrapper for formatted display.

112 MCP tools, 69/69 tests pass. Published v0.2.10 to npm.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-03 17:06:23 -05:00
github-actions[bot]
1878ec62e2 chore: Update NAPI-RS binaries for all platforms
Built from commit 5c511c4e88

  Platforms updated:
  - linux-x64-gnu
  - linux-arm64-gnu
  - darwin-x64
  - darwin-arm64
  - win32-x64-msvc

  🤖 Generated by GitHub Actions
2026-03-03 19:12:42 +00:00
rUv
5c511c4e88 chore: publish ruvector v0.2.6 — remove @ruvector/pi-brain peer dep
Brain commands now use direct pi.ruv.io fetch (PR #233), so
@ruvector/pi-brain is no longer needed as a peer dependency.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-03 19:08:10 +00:00
rUv
24e5babc76 feat: brain commands use direct pi.ruv.io REST API — no @ruvector/pi-brain dependency (#233)
Replace requirePiBrain() + PiBrainClient with direct fetch() calls to pi.ruv.io.
All 13 brain CLI commands and 11 brain MCP tools now work out of the box with
zero extra dependencies. Includes 30s timeout on all brain API calls.
2026-03-03 19:03:08 +00:00
rUv
e59fe52e07 fix: ADR structural cleanup — resolve duplicates, fix filenames, enable Firestore persistence (#232)
ADR file renames:
- ADR-0027 → ADR-027 (fix 4-digit numbering to standard 3-digit)
- ADR-040 filename sanitized (removed spaces, em dash, ampersand)
- ADR-017 duplicate (craftsman) → ADR-024 (temporal-tensor keeps 017)
- ADR-029 duplicate (exo-ai) → ADR-025 (rvf-canonical keeps 029)
- ADR-031 duplicate (rvcow) → ADR-026 (rvf-example keeps 031)

Cloud Run fix (pi.ruv.io):
- Added FIRESTORE_URL env var — enables persistent storage
- Fixed env var packing bug (all flags were in BRAIN_SYSTEM_KEY)
- Dashboard now shows actual data: 240 memories, 30 contributors, 1096 edges
2026-03-03 18:54:24 +00:00
github-actions[bot]
d903e803c1 chore: Update NAPI-RS binaries for all platforms
Built from commit d9ffdcd158

  Platforms updated:
  - linux-x64-gnu
  - linux-arm64-gnu
  - darwin-x64
  - darwin-arm64
  - win32-x64-msvc

  🤖 Generated by GitHub Actions
2026-03-03 18:33:29 +00:00
rUv
d9ffdcd158 fix: correct ADR-080 audit discrepancies verified against source (#231)
- MCP entry line count: ~3,816 → 3,815 (verified with wc -l)
- Command groups: 14 → 15 (midstream group was missed)
- CLI test count: 63 → 64 active tests (verified grep -c)
- Dead code → conditionally unreachable (line 1807 runs when @ruvector/router installed)
2026-03-03 13:28:27 -05:00
github-actions[bot]
3634db6d23 chore: Update NAPI-RS binaries for all platforms
Built from commit d197223221

  Platforms updated:
  - linux-x64-gnu
  - linux-arm64-gnu
  - darwin-x64
  - darwin-arm64
  - win32-x64-msvc

  🤖 Generated by GitHub Actions
2026-03-03 18:27:01 +00:00
rUv
d197223221 fix: ruvector-postgres v0.3.2 — 100% audit pass (HNSW + hybrid fixes) (#230)
HNSW k-NN fix:
- Search beam width (k) increased from 10 to 100 — previous value
  starved the beam search, causing 0 rows on index scan
- Added ruvector_hnsw_debug() diagnostic function for troubleshooting
- Added warning log when entry_point is InvalidBlockNumber

Hybrid search fix:
- ruvector_hybrid_search() now returns success=true with empty results
  and helpful message on unregistered collections (was success=false)

Audit script fix:
- Corrected hybrid_search argument order in sql-audit-v3.sql Section 9b
- Added HNSW debug diagnostics on 0-row failure

Results: 17 PASS / 0 PARTIAL / 0 FAIL → 100% (up from 88%)
Published: docker.io/ruvnet/ruvector-postgres:0.3.2
2026-03-03 13:21:48 -05:00