OrchestratorRuntime 装配与执行

OrchestratorRuntime 装配与执行 由 Archify 生成的架构图。 统一入口 · Desktop · IM · Scheduler · 架构组件 统一入口 Desktop · IM · Scheduler OrchestratorRuntime · 唯一装配点 ADR-0018 · 启动期稳定 · gateway/ OrchestratorRuntime 唯一装配点 ADR-0018 gateway/ resolveAgentPipeline · 按 agent 解析 · 每轮可变 resolveAgentPipeline 按 agent 解析 TurnConfig · llm · tools · prompt · 每轮可变 TurnConfig llm · tools · prompt orchestrate() · ReAct rounds · 架构组件 · orchestrator/ orchestrate() ReAct rounds orchestrator/ PG Stores · Run · Message · Checkpoint · 启动期稳定 PG Stores Run · Message · Checkpoint Audit · WAL → sinks · 启动期稳定 Audit WAL → sinks Memory / Internal Tools · turn 时 narrow · 每轮可变 Memory / Internal Tools turn 时 narrow Interaction Kernel · Authority · continuation · 架构组件 Interaction Kernel Authority · continuation Tool Hosts · HTTP · plugin · 架构组件 Tool Hosts HTTP · plugin Desktop Host · localExecutor · 架构组件 Desktop Host localExecutor resolveAndRun 每轮解析 TurnConfig composeDeps deps narrow 读写事实 注入 authority tool calls desktop domain 启动期稳定 每轮可变 图例 前端 后端 数据库 云服务 安全 外部系统

为什么存在

  • • 消灭 web/channel 两份 33 字段 deps 手抄
  • • web 曾漏 internalToolDeps / promptSegments
  • • 单一装配点使 drift 结构性不可能

生命周期切分

  • • Runtime:stores / audit / memory / internal tools
  • • TurnConfig:llm / tools / prompt / criticalFields
  • • input:session / tenant / user / message / agent

边界

  • • gateway 装配后调 orchestrate,不反向依赖
  • • 入口不再手抄 deps 桶
  • • criticalFieldPatterns 按 agent toolDomains 选择