失败链:工具宿主 fail / timeout

失败链:工具宿主 fail / timeout 由 Archify 生成的时序图。 dispatch(callId) host.dispatch throw / timeout delivery=possibly_sent|not_sent handle 已写 host_unavailable / reconcile_needed 工具失败回执 同 key → reconcile 禁止盲重试 触发/检测 持久化 效应/恢复 Orchestrator · tool_call · 时序参与者 Orchestrator tool_call HostRouter · dispatch · 时序参与者 HostRouter dispatch ExecHandle · delivery · 时序参与者 ExecHandle delivery ToolHost · fail/timeout · 时序参与者 ToolHost fail/timeout Desktop · SSE · 时序参与者 Desktop SSE 图例 请求 返回 安全 异步追踪

触发 → 检测

  • • dispatchSingleflight catch 默认 possibly_sent
  • • DeliveryError 可标 not_sent → host_unavailable

持久化

  • • ExecutionHandle.delivery + failure
  • • callId+bindingDigest singleflight

恢复 / 死胡同

  • • possibly_sent 只 reconcile,不盲重试
  • • 此链在 Interaction 创建之前结束