mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
`npx @claude-flow/cli@latest` reuses one npx cache directory across CLI versions, and npm keeps an already-installed dependency that still satisfies its range. With memory declared as `^3.0.0-alpha.23`, a cached alpha.24 was never replaced by alpha.25, so a fix that shipped in both packages (#3390) only half-applied, with no error and `agentdb_health` still reporting healthy. - Pin `@claude-flow/memory` to `3.0.0-alpha.25` in both `dependencies` and `optionalDependencies` (npm resolves the optional entry; they must agree). A stale copy can no longer satisfy the spec, so npm has to replace it. - `doctor` gains a `@claude-flow/memory version` check that compares the copy the CLI actually loads (its own module context, not cwd) against its declared range and fails with a cache-clear remediation when they diverge. It runs in the default suite, `--component memory` and `--component memory-package`. - v3/pnpm-lock.yaml: minimal hand edit (importer specifier/version plus one new registry snapshot); proven with `pnpm@8 install --frozen-lockfile` passing on the new lock and failing on the old one. Verified by reproduction: with memory alpha.24 already installed, adding the registry cli@3.44.0 (caret) leaves alpha.24; adding a tarball of this branch upgrades it to alpha.25. Co-Authored-By: RuFlo <ruv@ruv.net>