composeDeps 字段合并

composeDeps 字段合并 由 Archify 生成的时序图。 composeDeps(turnConfig) ...this.base stores · audit · interactionKernel read turn fields llm · rawTools · systemPrompt · criticalFields on = policy?.memoryEnabled ?? turn.memoryEnabled narrow memory / internalToolDeps merge → OrchestratorDeps OrchestratorDeps Base Turn Gate → Deps Runtime · caller · 时序参与者 Runtime caller RuntimeBaseDeps · stores·audit · 时序参与者 RuntimeBaseDeps stores·audit TurnConfig · llm·tools · 时序参与者 TurnConfig llm·tools memoryEnabled · policy??turn · 时序参与者 memoryEnabled policy??turn composeDeps · merge · 时序参与者 composeDeps merge OrchestratorDeps · result · 时序参与者 OrchestratorDeps result 图例 请求 返回 默认消息

RuntimeBaseDeps

  • • 启动持有 stores、audit 与交互依赖
  • • memory / internalToolDeps 分开保存

TurnConfig 写入

  • • 每轮传入模型、工具与提示词
  • • 策略字段覆盖或使用已有默认

memory 门控

  • • policy.memoryEnabled 优先
  • • 关闭 recall/extractor,并收窄内部工具