Files
ruflo/v3/@claude-flow/neural/src
rUvandr 47406b0a96 fix(memory,neural): AgentDB SQL fallback persistence, cache size reuse, MoE mean P_i (#4639)
* 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>
2026-11-01 12:17:59 -05:00
..
2026-01-07 20:08:08 +00:00
2026-01-04 23:50:45 +00:00
2026-01-04 23:50:45 +00:00
2026-01-04 19:46:00 +00:00
2026-01-07 20:08:08 +00:00
2026-01-04 17:40:48 +00:00