P2: 高级功能开发 - context_rewrite + TaskNode链 + 人设强制查询Skill

- context_rewrite: 压缩上下文,提取关键三元组,支持偏好/决策/目标检测
- TaskNodeStore: 新表结构 + next链式关系 + 原始文本存档
- MemoryService: 集成TaskNode链操作,workingMemoryChain增强
- GraphMemoryTool: 新增 task_node_create/get_recent/get_chain 3个action
- graph-memory-persona-force Skill: 指导AI主动查询人设图
- 新增测试: task_node_store.test.ts (6测试) + memory_service_p2.test.ts (7测试)
- 全部138个测试通过
This commit is contained in:
root
2026-04-24 15:44:45 +08:00
parent 7314d85ac6
commit 9e067ac23a
11 changed files with 1213 additions and 9 deletions

View File

@ -12,7 +12,7 @@
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"exactOptionalPropertyTypes": true,
"exactOptionalPropertyTypes": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitReturns": true,