Skip to content

Releases: DylingCreation/brain-memory

v2.1.7 — 修正安装命令

Choose a tag to compare

@DylingCreation DylingCreation released this 01 Jun 07:10

release: v2.1.7 — fix install method

v2.1.6 — 插件排查指南

Choose a tag to compare

@DylingCreation DylingCreation released this 01 Jun 06:59

修复

  • 删除不正确的 ClawHub 安装命令引用
  • 修正安装说明: Gateway 通过 package.json openclaw.extensions 字段加载入口

新增

  • 插件未加载时手动排查 5 步流程
  • 3 个必要条件明确说明

v2.1.5 — 修正安装命令

Choose a tag to compare

@DylingCreation DylingCreation released this 01 Jun 06:55

修复

  • 修正插件安装命令: openclaw plugins install memory-likehuman-pronpm install -g memory-likehuman-pro
  • openclaw plugins install 需要 clawhub: 前缀, brain-memory 目前仅在 npm
  • 补充 ClawHub 注册后的安装方式

v2.1.4 — OpenClaw 插件注册指南

Choose a tag to compare

@DylingCreation DylingCreation released this 01 Jun 06:51

文档

  • README 补充完整 OpenClaw 插件注册流程
  • 新增 openclaw plugins install 命令
  • 新增 package.json + openclaw.plugin.json 元数据说明
  • 新增 definePluginEntry 注册代码示例
  • 新增 gateway restart 操作说明
  • 钩子名修正: before_message_write → message_sending

v2.1.2 — README 重构

Choose a tag to compare

@DylingCreation DylingCreation released this 01 Jun 06:32

文档

  • 基于项目总文档完全重写 README.md 和 README_CN.md
  • 结构: 能力→管道→安装→快速开始→使用指南→API→技术栈→设计理念
  • 配置参考改为 12 组分类表格,50 个字段逐一说明
  • 修正 LanceDB/SQLite 定位描述
  • 更新测试数据至 847/865, 70/72 files
  • 中英结构完全对称,各 419 行

v2.1.1 — 工程修复

Choose a tag to compare

@DylingCreation DylingCreation released this 01 Jun 06:11

修复

  • F-2: 修复 plugin-core config 导致 onSessionEnd 链路报错的问题(DEFAULT_CONFIG 作为 base config)
  • F-1: 覆盖率修复 37.6% → 64%(排除 _backup/ 和非源码 TS 文件)

新增测试 (+38)

  • F-3: format Token 预算截断单元测试 (+17)
  • F-4: reflection 安全过滤单元测试,覆盖 6 种 prompt injection 模式 (+16)
  • F-5: UI controllers 集成测试,覆盖 /api/stats, /api/nodes, /api/graph (+5)

清理

  • 删除 lancedb-poc.test.ts(12 个永远 skip 的死测试)

质量

  • tsc 零报错 | lint 零报错 | 847/865 tests passed (70/72 files)

brain-memory v2.0.0 — 认知金字塔审计闭环

Choose a tag to compare

@DylingCreation DylingCreation released this 28 May 06:37

brain-memory v2.0.0 — 认知金字塔审计闭环

发布日期: 2026-05-28
测试: 847/847 通过 | Lint: 0 errors | Build: 通过
NPM: memory-likehuman-pro@2.0.0


🏗️ 架构重构

ContextEngine 拆分完成

ContextEngine 从原来的上帝对象拆分为 7 个独立领域服务

  • ExtractionService — 知识提取
  • RecallService — 记忆召回
  • MaintenanceService — 图维护
  • HealthService — 健康检查
  • FusionService — 知识融合
  • ReflectionService — 会话反思
  • ReasoningService — 图推理

LanceDB 角色明确

  • LanceDBStorageAdapter 已标记 @deprecated
  • LanceDB 正确用法:通过 ISearchIndex 作为伴随语义索引,ContextEngine.setSearchIndex() 注入
  • SQLite 是唯一的 IStorageAdapter 实现(真值源)

统一错误码体系

  • BrainMemoryError 基类 + 6 子类:ConfigError / StorageError / LLMError / EmbeddingError / ValidationError / RuntimeError

🔍 召回增强

特性 说明
路径感知融合 (D9) 四路种子标记来源,多路命中节点 ×1.2 加权
时间敏感性偏向 (D10) intent-analyzer 新增 time_sensitive 意图,recency 加权
前置信息量判断 (D8) shouldRecall() 过滤 "好的""继续""嗯" 等低信息量消息
缓存失效改进 (R2) RecallCache 改用所有节点 updatedAt 的 MD5 hash

🧪 测试

  • 847/847 用例通过,0 失败
  • 修复 5 项测试失败:source 列迁移 / getAllCommunities / c7-recall-baseline / SQLite 锁 / 导入路径
  • ✨ E2E 测试补齐:4 场景(全生命周期 / 多会话 / scope 隔离 / 六层字段验证)

📦 其他

  • 图缓存 TTL 30s → 60s
  • BmConfig 新增语义分组:EngineCoreConfig / RecallParamsConfig / MaintenanceParamsConfig
  • 认知金字塔分析报告 + 审核清单(15/15 项全部闭合)

🔗 Links

  • 认知金字塔分析报告:/home/yangchen/.openclaw/codinghelper/brain-memory-认知金字塔分析报告.md
  • CHANGELOG: CHANGELOG.md
  • 架构文档: docs/architecture.md

Full Changelog: v1.8.0...v2.0.0