curated
人工或工具维护的长期记忆文件。MemoryService 在每个 run 开始前捕获 snapshot,ContextBuilder 只读 snapshot,避免运行中变化影响同一轮 prompt。
读取 workspace 下的 memory 文件。
生成 MemorySnapshot。
as_prompt_sections() 渲染为 system prompt sections。Memory 模块提供三类持久上下文:curated memory、session/run memory、skill learning memory。主链 prompt 使用 frozen curated snapshot,审计和学习使用 session/run evidence;Task evidence 只作为事实记录。
人工或工具维护的长期记忆文件。MemoryService 在每个 run 开始前捕获 snapshot,ContextBuilder 只读 snapshot,避免运行中变化影响同一轮 prompt。
as_prompt_sections() 渲染为 system prompt sections。SQLite session store 保存 message/event 流、usage、system prompt snapshot、tool call、tool result、task evidence 与 acceptance 事件等,并支持 FTS 检索。
run memory 记录一次 run 的 receipts、acceptance metadata、skill effects。它是 skill learning 的主要证据来源,但 learning 入口由 task accepted 触发,而不是单个 run 触发。
保存 learning candidates、drafts、review 状态和发布记录。它把一次运行经验变成可审核的长期能力改动。