mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-04 06:21:59 +09:00
* fix(memory,neural): persist AgentDB SQL fallback, reuse cached sizes, average MoE P_i - memory (#4410): AgentDBBackend's SQL fallback gated on db.run/db.get, which agentdb's prepare/exec handle never has, so no table was created and every write was a silent no-op. Use prepare().run/get with spread params (safe on better-sqlite3 and agentdb's sql.js shim) and quote the "references" column. - memory (#4481): CacheManager stores each entry's size on its LRU node and refunds that number on overwrite/delete/eviction instead of re-serializing. - neural (#4381): computeLoadBalanceLoss() uses the mean gate probability over the same route() history as f_i, persisted and reset with the routing stats. - Bump @claude-flow/memory 3.2.2, @claude-flow/neural 3.0.2. Co-Authored-By: RuFlo <ruv@ruv.net> * chore(cli): pin @claude-flow/memory 3.2.2 and @claude-flow/neural 3.0.2 (both published) Co-Authored-By: RuFlo <ruv@ruv.net> --------- Co-authored-by: r <r@x>