Commit Graph
7 Commits
Author SHA1 Message Date
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
r 74b8e7bf1c Merge branch 'pr-3687' into feat/release-3.56.0-batch 2026-10-08 16:54:43 -04:00
Rudy Celekli 681f0b488b fix(memory): preserve frozen non-stateful invalidation patterns
Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
2026-10-07 16:35:12 -04:00
Rudy Celekli e0fb4ebd74 fix(memory): match each cache key independently during invalidation
Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
2026-10-04 02:13:10 -04:00
Rudy Celekli e36ec17c78 fix(memory): account for replacement sizes before cache admission
Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
2026-10-04 02:06:30 -04:00
rUvandClaude Sonnet 4 6ee718a6bc checkpoint: File edit:
🚀 Generated with [Claude Code](https://claude.com/claude-code)
📊 V3 Development Progress Checkpoint

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
2026-01-05 17:28:09 +00:00
rUvandClaude Sonnet 4 5a70729bdc checkpoint: File edit:
🚀 Generated with [Claude Code](https://claude.com/claude-code)
📊 V3 Development Progress Checkpoint

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
2026-01-04 17:48:23 +00:00