记忆 Formation 溯源

wesgine 记忆的 Formation 分类——记录条目是怎么产出的。


Formation 与 Kind 的区别

维度FormationKind
回答的问题这行怎么来的?这行是什么?
决定什么溯源审计耐久性、GC、可见性

Formation 不再参与可见性判断(INV-MEM-54)。


Formation 七值

Formation含义典型来源
FormationDeclarative用户主动声明memory tool / API
FormationEpisodic事件中提取CognitiveSettlement
FormationInferred行为信号推断纠正事件、用户拒绝
FormationImported外部导入API 批量导入
FormationCollective集体决策draft/vote
FormationEnvironment环境感知宿主感知器
FormationSystem系统产出引擎内部

为什么 Formation 不做耐久性判据

曾经用 Formation 判断跨会话可见性,但这是错误的。

反例:别用 tabs 出自一次纠正事件(episodic),却永久有效。

Plan 是用户亲手写的(declarative),却在产出它的任务外毫无意义。


耐久性由 Kind 决定

kindDurability 是唯一耐久性判据:


Formation 的正确用途

  1. 审计追踪:谁在什么场景产出了这条记忆
  2. 统计分析:记忆来源分布
  3. 质量评估:不同来源的可靠性

相关不变量