v3.10.13
ruvnet/ruflov3.10.13May 30, 2026by ruvnet
AI Summary
Bumps bundled agentdb to 3.0.0-alpha.16 with security fixes, new MCP surface, and honest measurement. Closes three security findings and adds real recall@k benchmark with verified 0.912 recall@10.
Key Highlights
- Security: parseJsonStrict, validateSqlIdentifier, crypto.randomBytes() for IDs
- New MCP tools: causal_traverse, agentdb_delete_batch, consolidate_now
- Real recall@k benchmark: recall@10 = 0.912 (verified, replaces unverified 95% claim)
- CI guard fails if recall drops below 0.90
- 14 new regression tests across security + MCP + recall
New Features
- parseJsonStrict helper
- validateSqlIdentifier for SQL
- crypto.randomBytes() for ID generation
- causal_traverse MCP tool
- agentdb_delete_batch MCP tool
- consolidate_now MCP tool
- recall@k benchmark harness
Full Release Notes
Bumps the bundled `agentdb` to `3.0.0-alpha.16` ([ruvnet/agentdb#6](https://github.com/ruvnet/agentdb/issues/6) — SOTA roadmap, ADR-073). Three categories of improvement: **Security** — three findings closed: - `parseJsonStrict` helper applied to the unguarded `JSON.parse` site (no more SyntaxError / stack-trace leak from crafted CLI input) - `validateSqlIdentifier` on the residual CWE-89 template-SQL in `migrate.ts` - `crypto.randomBytes()` IDs in `agentdb-fast` + `GraphDatabaseAdapter` (CWE-338) **MCP surface (3 new tools)**: - `causal_traverse` — multi-hop graph walk for "why does this memory matter?" - `agentdb_delete_batch` — atomic IN-clause delete with id + table whitelist - `consolidate_now` — on-demand `NightlyLearner` run instead of waiting for a scheduled pass **Honest measurement**: - Real `recall@k` benchmark harness committed (`scripts/benchmark-recall.mjs`) - Production-dim run at N=2000 D=384 measures **recall@10 = 0.912** (above the documented 0.90 CI floor; the prior "95%" claim was unverified — committed run JSON replaces it) - CI guard in `tests/recall-benchmark-harness.test.ts` fails if recall drops below 0.90 **Tests:** 14 new regression tests across security + MCP-handler building blocks + recall floor. Full ruflo CLI suite still 2104/0/46-skipped. **Install:** `npx ruflo@3.10.13` Bigger SOTA items (RaBitQ 1-bit quantization, worker-thread batch pool, async HNSW rebuild, learned reranking head, tier-aware memory + EWC wiring) are tracked in [ruvnet/agentdb#6](https://github.com/ruvnet/agentdb/issues/6) for the next round.