mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-05 23:11:43 +09:00
3.2.0 shipped the AgentDB adapter, but searchSimilarThreats() defaulted minSimilarity to 0.7. InMemoryVectorStore ignored that value; the adapter honours it, and MiniLM cosine over regex-source pattern text measures 0.22-0.41. With agentdb installed, default searches and the README example returned [] (seen in the post-publish smoke test). - Default minSimilarity is now 0 (ranked, no floor); callers can still pass one. - The test no longer depends on order: either learned threat type may rank first. - The README example uses the defaults; it was run against the packed tarball, with and without agentdb installed. agentdb is not a devDependency. CI installs it with --no-save in aidefence-tests.yml, so the pnpm lockfile is unchanged. Co-Authored-By: claude-flow <ruv@ruv.net>