Repository navigation
v3.57.2 — graph/backup/ttl correctness fixes + large community PR batch
Patch release: @claude-flow/cli, claude-flow, ruflo 3.57.2. @claude-flow/cli-core 3.7.5 (#4295, #4296) published standalone and pinned exactly. A large community PR batch — mostly correctness fixes to error reporting, memory/graph boundary handling, and CLI diagnostics.
Fixed
agentdb_graph-query/agentdb_graph-pathfinderresolved the memory DB path ad hoc instead of through the sharedresolveDbPath()priority order, so an explicitCLAUDE_FLOW_DB_PATHbinding could silently read a different store than the one selected (#4291, #4298).backupMemoryDb()fell back to a raw file copy after any native online-backup failure — including ordinarySQLITE_BUSY/disk errors on an unencrypted source — and reportedbackedUp: trueregardless; the fallback is now gated on a confirmed-encrypted source with no active WAL, and the result records which method actually completed (#4287, #4297).JsonMemoryBackend.isExpired()used a falsy check onttlSeconds, so an explicitttl: 0never expired (cli-core3.7.5, #4295, #4296).RvfBackend's native@ruvector/rvfbranch could never succeed (wrongopen()call) and silently fell back to the pure-TS path; the dead native branch is removed rather than half-wired (#4278, #4279, #4280).ReasoningBank.consolidate()deleted pruned/deduplicated patterns from storage but never calledhnswIndex.removePoint(id), so the HNSW index filled with orphans untilstorePattern()started throwing permanently (#4270, #4271).TopologyManager's queen/coordinator failover never promoted a replacement after death despitefailoverEnabled: true, silently falling through to generic mesh-style ranking (#4285, #4286).memory export,memory import, andmemory_migratereported fabricated success text instead of the tool's real error or migrated count (#4204/#4207, #4194/#4209, and the memory-import tool failure fix).hooks worker dispatchprintedStatus: completedeven when no daemon ran anything (#4196/#4208).hooks_intelligence_attentionaccepted unimplemented modes instead of rejecting them (#4193).init upgradenow refreshesintelligence.cjs/session companions instead of leaving stale copies behind (#4198/#4220).- SmartRetrieval collapsed multi-result searches down to one (#4192); the ReasoningBank embedder used a hash fallback instead of the real embedder (#4191);
@claude-flow/cli's ownpackage.jsonwasn't exported for consumers resolving it directly (#4190). ruvocal's MCP server merge dropped a base server's credentials when the browser echoed the server back without headers (#4281).ruflo-x-gatewaynow advertisesoffline_accessso OAuth clients can refresh silently instead of re-authenticating on every access-token expiry (#4256).workflow list/status/stop/runnow read the actual shape and errors the workflow tools return (#4268); stale task owners are released on terminal states (#4272); unregistering a swarm agent now removes its domain-pool membership (#4269); orphaned atomic-write temp files under the policy lock are reaped (#3164/#4273); one-shot CLI runs now flush learned patterns beforeprocess.exit(0)instead of losing them whilestats.jsonkeeps counting (#4283/#4284).ruflo-console's mission ledger no longer leaks a mission from one project into every other project's cockpit (#4254/#4276).- Command examples in the user guide that failed when copied are fixed (#4275); a stray
npxinvocation referencing a nonexistent unscoped package is corrected to@claude-flow/codex(#4265). scripts/build-codex-mod-hooks.mjsnow rebuilds the codex-mod bundle the same way on every OS (#4292).