状态权威矩阵

状态权威矩阵 由 Archify 生成的架构图。 Agent 写入 owner · Runtime / Kernel · 架构组件 · aida-agent Agent 写入 owner Runtime / Kernel aida-agent Run SoT · agent_runs + lease · 服务端 SoT · SoT Run SoT agent_runs + lease SoT Interaction SoT · Kernel + PG · 服务端 SoT · SoT Interaction SoT Kernel + PG SoT LF Operation · local_file_operations · 服务端 SoT · SoT LF Operation local_file_operations SoT Plugin receipt · bound digest · 服务端 SoT · SoT Plugin receipt bound digest SoT Chat SSE / 在办 · Run 投影 · 投影与本机 · projection Chat SSE / 在办 Run 投影 projection Message Center · notifications 读模型 · 投影与本机 · read-model Message Center notifications 读模型 read-model Desktop Main · 本机文件事实 · 投影与本机 · aida-desktop Desktop Main 本机文件事实 aida-desktop Desktop 本地仓 · write-state / 授权夹 · 投影与本机 · device Desktop 本地仓 write-state / 授权夹 device 投影 通知读模型 请求/回执 Host settle AtomicJsonStore 服务端 SoT 投影与本机 图例 前端 后端 数据库 消息总线

SoT

  • • Run / Interaction / LF / Plugin 绑定在 Agent
  • • lease 与 settle 是写入条件
  • • 投影不能反向改写

读模型

  • • Message Center 是通知读模型
  • • Chat SSE / 在办消费 Run 事实
  • • 用户处理后终态仍看上游

本机边界

  • • write-state / 授权夹在 Main
  • • 不授权服务端工作
  • • 路径与草稿不跨设备