memoryEnabled 门控:剥离 vs 保留

memoryEnabled 门控:剥离 vs 保留 由 Archify 生成的时序图。 on = policy?.memoryEnabled ?? turnConfig.memoryEnabled on = false memoryRecall / Extractor → 置空 narrowInternalToolDeps(internalToolDeps, false) prefs / exp / candidates → enabled:false ...deps 保留 scheduledTasks 等 gated memory writes kept internal tools OrchestratorDeps 判定 剥离 保留 → Deps composeDeps · per-turn · 时序参与者 composeDeps per-turn memoryEnabled · policy??turn · 时序参与者 memoryEnabled policy??turn narrow · InternalToolDeps · 时序参与者 narrow InternalToolDeps memory writes · prefs·exp·cand · 时序参与者 memory writes prefs·exp·cand kept tools · scheduledTasks · 时序参与者 kept tools scheduledTasks OrchestratorDeps · result · 时序参与者 OrchestratorDeps result 图例 请求 返回 安全 异步追踪

门控公式

  • • policy.memoryEnabled 优先于 turn
  • • 仅关闭记忆相关能力

剥离(memory-gated)

  • • recall / extractor → undefined
  • • 三个 memory 工具入口 disabled

保留(...deps)

  • • 其余内部依赖通过 spread 保留
  • • durableText 另有更强限制