mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-03 22:12:01 +09:00
* dream(memory): fix CacheManager.clear() previousSize always reporting 0 clear() called Map.clear() before reading this.cache.size for the cache:cleared event payload, so previousSize was always 0 regardless of how many entries existed. Capture the size before clearing instead. Disclosed in the dream-cycle ledger 4 times (2026-10-27, 11-02, 11-16, reconfirmed 11-28) without being fixed; cross-confirmed tonight by two independent research roles (deep researcher + architecture reviewer), scored highest (4.15) of 5 scored memory candidates. 3 new tests added (1 discriminating, 2 controls); full @claude-flow/memory suite 748/749 -> 751/752 (+3, 0 regressions, same 1 pre-existing environmental chmod-as-root failure both ways); tsc --noEmit clean both ways. Co-Authored-By: RuFlo <ruv@ruv.net> Claude-Session: https://claude.ai/code/session_01ReiDH4aH7znV5Narf7SUbs * dream(memory): #5173 ledger update + final witness stamp Ledger row for tonight's CacheManager.clear() previousSize fix, plus a backfill note confirming 2026-11-27 (#5143/#5144) ran and correctly REJECTed its candidate. Gist updated with the final adversarial-critic verdict and witness stamp. Co-Authored-By: RuFlo <ruv@ruv.net> Claude-Session: https://claude.ai/code/session_01ReiDH4aH7znV5Narf7SUbs * dream(memory): record PR #5174 in ledger row Co-Authored-By: RuFlo <ruv@ruv.net> Claude-Session: https://claude.ai/code/session_01ReiDH4aH7znV5Narf7SUbs * dream(memory): #5173 bump @claude-flow/memory to 3.4.2 for the clear() fix The CI leaf-package-publish audit (scripts/audit-leaf-package-publish.mjs) correctly flagged that cache-manager.ts changed without a version bump: @claude-flow/memory is a non-bundled leaf that resolves from the npm registry at release time, so an unbumped version means the fix would ship nowhere. Bumped as a PATCH (bug fix, no API/schema change) and updated @claude-flow/cli's two exact pins to match, per CLAUDE.md's "Publishing Rules" (lockstep pin discipline, #3390/#3327 Finding A precedent). Does not publish the package — that stays a separate, human-gated release action. Verified locally: audit-leaf-package-publish.mjs and audit-umbrella-version-lockstep.mjs both pass; @claude-flow/memory suite still 751/752 (same 1 pre-existing environmental failure). Co-Authored-By: RuFlo <ruv@ruv.net> Claude-Session: https://claude.ai/code/session_01ReiDH4aH7znV5Narf7SUbs * dream(memory): #5173 sync pnpm-lock.yaml for the 3.4.2 bump pnpm install --frozen-lockfile (the Windows plugin-hooks-smoke CI job) failed because v3/pnpm-lock.yaml still recorded @claude-flow/memory's old specifier (3.4.1) after the package.json bump. @claude-flow/memory is a workspace link: dependency, so no registry resolution changes are needed -- a plain `pnpm install` would have pulled in several unrelated upstream bumps (ruvector, codex, various @ruvector/* packages), which is out of scope for this fix, so the lockfile specifier was edited directly instead. Verified `pnpm install --frozen-lockfile` now succeeds with only this one line changed. Co-Authored-By: RuFlo <ruv@ruv.net> Claude-Session: https://claude.ai/code/session_01ReiDH4aH7znV5Narf7SUbs --------- Co-authored-by: Claude <noreply@anthropic.com>