Commit graph

588 commits

Author SHA1 Message Date
github-actions[bot]
59c09992d0 chore: Update NAPI-RS binaries for all platforms
Built from commit bae1e02152

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

  🤖 Generated by GitHub Actions
2026-02-27 03:37:12 +00:00
github-actions[bot]
30e21d68fc chore: Update NAPI-RS binaries for all platforms
Built from commit 5b6e87d97a

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

  🤖 Generated by GitHub Actions
2026-02-27 03:28:35 +00:00
github-actions[bot]
d4362f70c5 chore: Update NAPI-RS binaries for all platforms
Built from commit 26171f43d4

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

  🤖 Generated by GitHub Actions
2026-02-26 16:54:55 +00:00
github-actions[bot]
4fda19f9b3 chore: Update NAPI-RS binaries for all platforms
Built from commit b893be94a5

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

  🤖 Generated by GitHub Actions
2026-02-26 16:47:03 +00:00
github-actions[bot]
a24a0a90e4 chore: Update NAPI-RS binaries for all platforms
Built from commit e7c443f536

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

  🤖 Generated by GitHub Actions
2026-02-26 16:43:08 +00:00
github-actions[bot]
169859c930 chore: Update NAPI-RS binaries for all platforms
Built from commit 1e1e460001

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

  🤖 Generated by GitHub Actions
2026-02-25 16:16:26 +00:00
github-actions[bot]
ace04c6409 chore: Update NAPI-RS binaries for all platforms
Built from commit d9d3dfac57

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

  🤖 Generated by GitHub Actions
2026-02-25 14:42:17 +00:00
github-actions[bot]
a8cd094402 chore: Update NAPI-RS binaries for all platforms
Built from commit b202f72820

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

  🤖 Generated by GitHub Actions
2026-02-25 14:41:20 +00:00
github-actions[bot]
9f10ca0745 chore: Update NAPI-RS binaries for all platforms
Built from commit 0755af2528

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

  🤖 Generated by GitHub Actions
2026-02-25 14:40:26 +00:00
rUv
d9d3dfac57 chore: bump ruvector npm package to v0.1.100
Published with security hardening fixes for MCP servers.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-02-25 14:36:27 +00:00
rUv
b202f72820 Merge pull request #213 from ruvnet/fix/mcp-server-security-audit
fix: harden MCP servers against injection and CORS bypass
2026-02-25 09:35:22 -05:00
rUv
a9890ce5be fix: harden MCP servers against command injection, CORS bypass, and prototype pollution
- Sanitize shell arguments in hooks_init, hooks_pretrain, hooks_build_agents,
  and workers_status handlers to prevent OS command injection (CWE-78)
- Strengthen sanitizeShellArg to also strip quotes, newlines, and backslashes
- Add sanitizeNumericArg helper for numeric-typed arguments
- Improve validateRvfPath with symlink resolution (realpathSync) and cwd confinement
- Add schema validation and prototype pollution guard to hooks_import handler
- Replace permissive CORS (CorsLayer::permissive) with localhost-only origin
  policy in Rust SSE transport

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-02-25 14:34:45 +00:00
github-actions[bot]
95f82ca473 chore: Update NAPI-RS binaries for all platforms
Built from commit 827e456af1

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

  🤖 Generated by GitHub Actions
2026-02-25 14:34:00 +00:00
github-actions[bot]
47c1938bc0 chore: Update NAPI-RS binaries for all platforms
Built from commit 928d18afce

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

  🤖 Generated by GitHub Actions
2026-02-25 13:39:47 +00:00
github-actions[bot]
ba7d99eb20 chore: Update NAPI-RS binaries for all platforms
Built from commit f5f6fb6f06

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

  🤖 Generated by GitHub Actions
2026-02-25 12:54:44 +00:00
github-actions[bot]
5d8e67bed0 chore: Update NAPI-RS binaries for all platforms
Built from commit bf3a26b7b3

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

  🤖 Generated by GitHub Actions
2026-02-25 12:53:30 +00:00
github-actions[bot]
f965484b1d chore: Update NAPI-RS binaries for all platforms
Built from commit 49d4a9c9d9

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

  🤖 Generated by GitHub Actions
2026-02-25 12:47:49 +00:00
github-actions[bot]
6f356f2e22 chore: Update NAPI-RS binaries for all platforms
Built from commit 5a2c63556d

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

  🤖 Generated by GitHub Actions
2026-02-25 12:42:40 +00:00
github-actions[bot]
8261308a18 chore: Update NAPI-RS binaries for all platforms
Built from commit d8e46c118a

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

  🤖 Generated by GitHub Actions
2026-02-25 12:41:55 +00:00
github-actions[bot]
d022ef54ec chore: Update NAPI-RS binaries for all platforms
Built from commit 5b36d7df9e

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

  🤖 Generated by GitHub Actions
2026-02-25 03:51:00 +00:00
github-actions[bot]
d1bcb58da5 chore: Update NAPI-RS binaries for all platforms
Built from commit 03c899e120

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

  🤖 Generated by GitHub Actions
2026-02-23 16:24:28 +00:00
rUv
03c899e120 Merge pull request #202 from ruvnet/chore/update-build-artifacts
chore: update npm build artifacts
2026-02-23 11:07:45 -05:00
rUv
d262027f24 chore: update npm build artifacts for ruvbot, cognitum-gate-wasm, ospipe, raft, replication, ruvector-wasm-unified, ruvllm, rvf, and other packages
Compiled TypeScript outputs (.d.ts, .js, .js.map, .d.ts.map) from
npm workspace builds.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-02-23 16:07:05 +00:00
github-actions[bot]
d64010c130 chore: Update NAPI-RS binaries for all platforms
Built from commit 668c873efb

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

  🤖 Generated by GitHub Actions
2026-02-23 13:34:57 +00:00
github-actions[bot]
d17de74df8 chore: Update NAPI-RS binaries for all platforms
Built from commit 5a52d5f48d

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

  🤖 Generated by GitHub Actions
2026-02-22 17:56:40 +00:00
rUv
5a52d5f48d Merge pull request #200 from ruvnet/fix/rvf-string-id-mapping
fix(rvf): add string ID mapping to NodeBackend — silent data loss
2026-02-22 12:52:25 -05:00
rUv
0649333772 fix(rvf): add string ID ↔ numeric label mapping to NodeBackend
NodeBackend.ingestBatch() passed string IDs directly to the N-API layer
via Number(e.id), which returns NaN for non-numeric strings (UUIDs, hex
hashes, etc.). The native Rust HNSW silently drops entries with NaN IDs,
causing silent data loss with no error signal.

Fix: Add a bidirectional string↔numeric mapping layer to NodeBackend,
following the same pattern used by HNSWLibBackend in AgentDB:
- resolveLabel(): allocates sequential i64 labels for string IDs
- query(): maps numeric labels back to original string IDs
- delete(): resolves string IDs to labels before calling native layer
- Mappings persisted to {path}.idmap.json sidecar file

Also fixes query() returning numeric labels instead of original string
IDs, and delete() silently failing for non-numeric IDs.

Bumps @ruvector/rvf from 0.1.9 → 0.2.0 (breaking fix).

Closes ruvnet/agentic-flow#114

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-02-22 17:51:44 +00:00
github-actions[bot]
7a898aeaba chore: Update NAPI-RS binaries for all platforms
Built from commit 3d038d6d26

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

  🤖 Generated by GitHub Actions
2026-02-22 16:11:54 +00:00
github-actions[bot]
e93172a330 chore: Update NAPI-RS binaries for all platforms
Built from commit 561f44ef86

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

  🤖 Generated by GitHub Actions
2026-02-22 16:07:28 +00:00
github-actions[bot]
8c4825c999 chore: Update NAPI-RS binaries for all platforms
Built from commit 16f6e31922

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

  🤖 Generated by GitHub Actions
2026-02-22 16:05:26 +00:00
Claude
e6cf2ec1b1 perf(rvdna): optimize hot paths and add real-data integration tests
Optimizations (1.7-2x speedup across all hot paths):
- biomarker.js: Replace O(n) findIndex with pre-built RSID_INDEX Map
  for O(1) SNP lookups; cache LPA SNP references to avoid repeated
  array iteration in vector encoding and population generation
- stream.js: Add RingBuffer.pushPop() returning evicted value;
  replace O(n) windowMeanStd buffer scan with O(1) incremental
  windowed Welford algorithm in StreamProcessor

Benchmark improvements (before → after):
  computeRiskScores: 7.33 → 3.70 us/op (1.98x)
  encodeProfileVector: 9.51 → 5.25 us/op (1.81x)
  StreamProcessor.processReading: 220 → 110 us/op (2.00x)
  generateSyntheticPopulation(100): 1090 → 595 us/op (1.83x)

Real-data integration tests (25 new tests):
- 4 realistic 23andMe fixture files (29 SNPs each) covering:
  high-risk cardio, low-risk baseline, multi-risk, PCSK9-protective
- End-to-end pipeline: parse 23andMe → biomarker scoring → streaming
- Clinical scenarios: APOE e4/e4, BRCA1 carrier, MTHFR compound het,
  COMT×OPRM1 pain, DRD2×COMT, PCSK9 protective
- Cross-validation: 8 JS↔Rust parity assertions on tables, z-scores,
  classification, vector layout, risk thresholds
- Population correlations: APOE→HDL, LPA→Lp(a), score distribution,
  clinical biomarker range validation (500 subjects)
- Full pipeline benchmark: 220 us end-to-end

https://claude.ai/code/session_014FpaYVohmyLH5dcBZTgmSY
2026-02-22 15:44:33 +00:00
Claude
d7efab34c5 feat(rvdna): add npm biomarker engine with risk scoring, streaming, and benchmarks
ADR-015: Pure-JS biomarker engine mirroring Rust biomarker.rs and
biomarker_stream.rs exactly. Includes:

- src/biomarker.js: 20-SNP composite risk scoring, 6 gene-gene
  interactions, 64-dim L2-normalized profile vectors, synthetic
  population generation with Mulberry32 PRNG
- src/stream.js: RingBuffer, StreamProcessor with Welford online
  stats, CUSUM changepoint detection, z-score anomaly detection,
  linear regression trend analysis, batch reading generation
- tests/test-biomarker.js: 35 tests + 5 benchmarks covering all
  classification levels, risk scoring, vector encoding, population
  generation, streaming, anomaly/trend detection
- index.d.ts: Full TypeScript definitions for all biomarker APIs
- package.json: Bump to v0.3.0, add biomarker keywords

Benchmark results (Node.js):
  computeRiskScores: 7.33 us/op
  encodeProfileVector: 9.51 us/op
  RingBuffer push+iter: 3.32 us/op

https://claude.ai/code/session_014FpaYVohmyLH5dcBZTgmSY
2026-02-22 15:27:37 +00:00
github-actions[bot]
6a07e8f7c8 chore: Update NAPI-RS binaries for all platforms
Built from commit 3d2f2ebb7b

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

  🤖 Generated by GitHub Actions
2026-02-21 23:08:31 +00:00
github-actions[bot]
91e47d3d28 chore: Update NAPI-RS binaries for all platforms
Built from commit 884536be0b

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

  🤖 Generated by GitHub Actions
2026-02-21 19:06:11 +00:00
github-actions[bot]
304348049c chore: Update NAPI-RS binaries for all platforms
Built from commit 432ee5ea10

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

  🤖 Generated by GitHub Actions
2026-02-21 18:56:54 +00:00
github-actions[bot]
9b3cc5fe08 chore: Update NAPI-RS binaries for all platforms
Built from commit 05064f09b4

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

  🤖 Generated by GitHub Actions
2026-02-21 18:55:02 +00:00
github-actions[bot]
03a49d4af7 chore: Update NAPI-RS binaries for all platforms
Built from commit cbdc1e9afd

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

  🤖 Generated by GitHub Actions
2026-02-21 18:48:40 +00:00
rUv
cbdc1e9afd fix(security): harden intelligence providers — type-safe enums, input validation, file size limits
Security hardening for ADR-043 intelligence module:
- Replace String outcome/verdict with Outcome and HumanVerdict enums (type safety)
- Add MAX_SIGNAL_FILE_SIZE (10 MiB) and MAX_SIGNALS_PER_FILE (10,000) limits
- BufReader streaming parse instead of read_to_string (prevent double allocation)
- Validate quality_score range (finite, 0.0-1.0) on load
- NaN protection in calibration_bias()
- TypeScript: top-level imports, runtime validation, file size checks, score clamping
- Bump workspace to 2.0.4, @ruvector/ruvllm to 2.5.1
- Published ruvllm@2.0.4 to crates.io, @ruvector/ruvllm@2.5.1 to npm

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-02-21 18:29:33 +00:00
github-actions[bot]
d8dc6eaf32 chore: Update NAPI-RS binaries for all platforms
Built from commit e9295556e8

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

  🤖 Generated by GitHub Actions
2026-02-21 18:22:29 +00:00
rUv
e9295556e8 feat(npm): add intelligence module to @ruvector/ruvllm 2.5.0
TypeScript IntelligenceProvider, FileSignalProvider, and
IntelligenceLoader matching the Rust ADR-043 implementation.
Also fixes invalid category slug for ruvllm crate publish.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-02-21 18:16:48 +00:00
github-actions[bot]
645362c4ba chore: Update NAPI-RS binaries for all platforms
Built from commit 876c7c177a

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

  🤖 Generated by GitHub Actions
2026-02-21 18:07:56 +00:00
github-actions[bot]
613d7fd1b8 chore: Update NAPI-RS binaries for all platforms
Built from commit 509d184e39

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

  🤖 Generated by GitHub Actions
2026-02-21 17:46:18 +00:00
github-actions[bot]
b82c30413b chore: Update NAPI-RS binaries for all platforms
Built from commit 691f12ce88

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

  🤖 Generated by GitHub Actions
2026-02-20 23:16:38 +00:00
rUv
691f12ce88 docs(ruvbot): add RVF microkernel docs, bump to 0.3.1
Add comprehensive RVF section to README covering segment layout,
build/run commands, boot output, supported hypervisors, and kernel
config. Add run:rvf and inspect:rvf npm scripts.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-02-20 23:12:08 +00:00
rUv
c1a6a78eab feat(ruvbot): add RVF runner with initramfs boot support
Adds run-rvf.js that extracts the kernel from KERNEL_SEG, builds a
minimal initramfs with a static init binary, and boots via QEMU.
Rebuilds kernel with CONFIG_BLK_DEV_INITRD for initramfs support.

Modes: --boot (QEMU), --runtime (Node.js), --inspect (manifest)

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-02-20 23:08:16 +00:00
github-actions[bot]
9f14df8952 chore: Update NAPI-RS binaries for all platforms
Built from commit 15880e728f

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

  🤖 Generated by GitHub Actions
2026-02-20 22:24:16 +00:00
github-actions[bot]
2141b92500 chore: Update NAPI-RS binaries for all platforms
Built from commit bb3bcb6623

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

  🤖 Generated by GitHub Actions
2026-02-20 22:22:58 +00:00
rUv
15880e728f chore(ruvbot): bump version to 0.3.0 for npm publish
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-02-20 22:19:48 +00:00
rUv
bf089cbf73 feat(ruvbot): package as self-contained RVF with real Linux 6.6 kernel
- Build real Linux 6.6.80 bzImage with tinyconfig+virtio+net (1.5 MB)
- Create build-rvf.js that assembles self-contained RVF binary:
  KERNEL_SEG: gzip-compressed Linux 6.6.80 bzImage (MicroLinux, x86_64)
  WASM_SEG: Full RuvBot Node.js runtime bundle (2.2 MB)
  META_SEG: Package metadata with capabilities
  PROFILE_SEG: AI assistant domain profile
  WITNESS_SEG: Build provenance chain
  MANIFEST_SEG: Segment directory
- Include kernel/bzImage and ruvbot.rvf in npm distribution
- Add build:rvf script to package.json
- Total RVF: 3.67 MB, bootable with Firecracker/QEMU/Cloud Hypervisor

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-02-20 22:03:47 +00:00
rUv
5183d8c720 fix(ruvbot): fix TypeScript error in /api/chat endpoint (#146)
The chat() method signature is (sessionId, content, options?) but the API
handler was passing (sessionId, agentId, message), causing TS2559. Fix by
creating a session from agentId first, then calling chat(sessionId, message).

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-02-20 21:51:54 +00:00