ruflo v3.56.3

v3.56.3

v3.56.3 — AgentDB alpha.20, memory 3.0.3, sql.js lock guard

Changed 3
  • AgentDB dependency floor raised from ^3.0.0-alpha.17 to ^3.0.0-alpha.20 across memory, cli, root, and ruflo packages
  • AgentDB alpha.20 replaces @xenova/transformers with @huggingface/transformers, upgrades @ruvector/rvf from 0.1.9 to 0.2.3, and moves ruvector to 0.2.x
  • Search scores shift slightly with AgentDB alpha.20, so an entry that previously scored just under the 0.3 default threshold can now appear just above it, ranked below the exact-keyword hit behavior changed · inferred, marked in the notes below
Fixed 3
  • Stale sql.js <db>.agentdb.lock files left by crashed writers are now cleared when provably stale, preventing every later save from failing and the db file from never being created
  • A failed persist on shutdown is now surfaced via ControllerRegistry, AgentDBBackend, HybridBackend, and shutdownBridge instead of being silently swallowed behavior changed · inferred, marked in the notes below
  • pnpm.packageExtensions now declares onnxruntime-common for @huggingface/transformers@4.2.0 in the dev tree

2 changes to check, marked in the notes below

From ruflo

Patch release: AgentDB 3.0.0-alpha.20 update. @claude-flow/memory 3.0.3 (published standalone; the CLI pins it exactly) and @claude-flow/cli / claude-flow / ruflo 3.56.3. neural, shared, cli-core unchanged.

Changed
  • AgentDB floor ^3.0.0-alpha.17 -> ^3.0.0-alpha.20 (memory, cli, root, ruflo). alpha.20 swaps @xenova/transformers for @huggingface/transformers, @ruvector/rvf 0.1.9 -> 0.2.3, ruvector -> 0.2.x.
  • Search scores shift slightly (same-text cosine ~0.992 vs alpha.17): an entry that scored just under the 0.3 default threshold can now appear just above it, ranked far below the exact-keyword hit. One regression-test assertion was adjusted for this (PR #3960). behavior changed · inferred
Fixed
  • sql.js stale <db>.agentdb.lock: AgentDB alpha.20 refuses saves while the lock exists, and a lock left by a crashed writer was never cleared, so every later save failed and the db file was never created. @claude-flow/memory now clears the lock only when provably stale (regular file named exactly <db>.agentdb.lock, numeric dead PID, >10 s old, atomic rename-aside + re-verify), retries once, otherwise throws AgentdbLockError. A failed persist on shutdown is now surfaced (ControllerRegistry, AgentDBBackend, HybridBackend, shutdownBridge) instead of swallowed. Affects only the sql.js path (no native better-sqlite3). behavior changed · inferred
  • Dev tree only: pnpm.packageExtensions declares onnxruntime-common for @huggingface/transformers@4.2.0.
Known / not verified
  • agentdb 3.0.0-alpha.20 has no npm provenance attestation (registry signature present).
  • Under pnpm 4.2.0 the embedder fell back to mock embeddings before the extension above; npm installs resolve transformers 4.3.1 and were unaffected.
  • AgentDB forceWasm: true still selects better-sqlite3 unless AGENTDB_FORCE_SQLJS=1 (upstream behaviour).

PR #3960.

View original

Upgraded? How did it go?

Discussion