企业任务端到端主路径

企业任务端到端主路径 由 Archify 生成的时序图。 POST /api/chat resolveAndRun composeDeps→orchestrate tool dispatch 需用户输入 pending 投影 settle continuation 状态 / lease SSE / resume Desktop Main · stream · 时序参与者 Desktop Main stream Gateway · /api/chat · 时序参与者 Gateway /api/chat Orchestrator · composeDeps · 时序参与者 Orchestrator composeDeps 模型循环 · orchestrate · 时序参与者 模型循环 orchestrate ExecutionHost · LF/Plugin/LE · 时序参与者 ExecutionHost LF/Plugin/LE Interaction · create/settle · 时序参与者 Interaction create/settle Run Ledger · agent_runs · 时序参与者 Run Ledger agent_runs 图例 请求 返回 异步追踪

主路径

  • • Desktop → Gateway → resolveAndRun
  • • prepareExecution 不调模型
  • • composeDeps 装配本轮依赖

工具宿主

  • • ExecutionHostRouter 统一端口
  • • LF / Plugin / LE 分宿主
  • • 业务代码不绑传输细节

门控与账本

  • • InteractionKernel 管用户输入
  • • agent_runs 持有执行事实
  • • Desktop 只观察与续传