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>
73 lines
2.1 KiB
JSON
73 lines
2.1 KiB
JSON
{
|
|
"name": "@claude-flow/memory",
|
|
"version": "3.4.2",
|
|
"type": "module",
|
|
"description": "Memory module - AgentDB unification, HNSW indexing, vector search, hybrid SQLite+AgentDB backend (ADR-009)",
|
|
"homepage": "https://ruv.io",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/ruvnet/ruflo.git",
|
|
"directory": "v3/@claude-flow/memory"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/ruvnet/ruflo/issues"
|
|
},
|
|
"keywords": [
|
|
"agent-memory",
|
|
"vector-search",
|
|
"vector-database",
|
|
"hnsw",
|
|
"semantic-search",
|
|
"embeddings",
|
|
"agentdb",
|
|
"sqlite",
|
|
"ai-agents",
|
|
"claude-flow",
|
|
"ruflo",
|
|
"typescript"
|
|
],
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./*": "./dist/*.js"
|
|
},
|
|
"scripts": {
|
|
"test": "vitest run",
|
|
"bench": "vitest bench --config vitest.bench.config.ts",
|
|
"build": "tsc",
|
|
"prebuild": "rm -rf dist tsconfig.tsbuildinfo",
|
|
"prepublishOnly": "npm run build && node -e \"const m = await import('./dist/index.js'); const required = ['ControllerRegistry','MemoryService','UnifiedMemoryService','PersistentSonaCoordinator','RvfLearningStore','RvfMigrator']; const missing = required.filter(k => !m[k]); if (missing.length) { console.error('Missing exports:', missing); process.exit(1); } const forbidden = ['HnswLite','RvfBackend']; const leaks = forbidden.filter(k => k in m); if (leaks.length) { console.error('Forbidden public exports present (ADR-125):', leaks); process.exit(1); } console.log('All required exports present; ADR-125 surface clean');\""
|
|
},
|
|
"dependencies": {
|
|
"@claude-flow/security": "^3.0.0",
|
|
"agentdb": "^3.10.0",
|
|
"sql.js": "^1.10.3"
|
|
},
|
|
"optionalDependencies": {
|
|
"better-sqlite3": "^12.9.0",
|
|
"@ruvnet/sublinear-core": "^1.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/better-sqlite3": "^7.6.11",
|
|
"@types/sql.js": "^1.4.9",
|
|
"vitest": "^4.1.0"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"os": [
|
|
"darwin",
|
|
"linux",
|
|
"win32"
|
|
],
|
|
"cpu": [
|
|
"x64",
|
|
"arm64"
|
|
]
|
|
}
|