> 状态:计划任务,尚未按本 Issue 验收交付。阶段:[M2 · Memory × Checkpoint](https://github.com/ydflow/Trail/milestone/2)。总路线:#8;当前能力:#9。 ## 目标与价值 目标是让助手逐步理解个人工作习惯和长期目标。必须区别用户确认的事实、来源材料、模型推断与已过期信息,不能把每条聊天内容都写成永久事实。 ## 验收标准 - [ ] 定义 preference/fact/episodic/procedural 记录及 scope、来源、时间、置信/确认状态 - [ ] 支持用户纠正、有效期、冲突记录与版本,不覆盖原始证据 - [ ] 明确个人/项目/会话隔离和默认写入规则 - [ ] 设计存储与检索接口,说明为何它不同于 runtime 的 MemoryStorage 或消息历史 ## 验证方法 schema round-trip、冲突/过期/越界读取测试;提供匿名合成示例,不使用真实个人资料。 ## 源码起点 - [packages/shared/src/storage](https://github.com/ydflow/Trail/tree/main/packages/shared/src/storage) - [packages/shared/src/kernel/session-manager.ts](https://github.com/ydflow/Trail/blob/main/packages/shared/src/kernel/session-manager.ts) - [packages/shared/src/evidence/financial-evidence.ts](https://github.com/ydflow/Trail/blob/main/packages/shared/src/evidence/financial-evidence.ts) 以上是已有实现的阅读入口,不代表拟议能力已实现。 ## 依赖与最小贡献 - #11 — [Runtime] 统一 Goal / Project / Task / Run / Step 状态与任务图 先讨论 schema 与生命周期,暂不绑定向量数据库。 ## 参与 认领前先说明拟完成的最小范围,再评论 `/claim`。提交 PR 时附真实环境、验证命令和结果;仅完成部分时请列出剩余项。贡献入口:#7。
Activity