存储平面

存储平面 由 Archify 生成的架构图。 Agent Runtime · 启动校验 + 读写 · 架构组件 · aida-agent Agent Runtime 启动校验 + 读写 aida-agent schema identity · CURRENT_CONFIG_SCHEMA_ID · Config DB Postgres · guard schema identity CURRENT_CONFIG_SCHEMA_ID guard 租户密钥 · CONFIG_ENC_KEY AES-GCM · Config DB Postgres · crypto 租户密钥 CONFIG_ENC_KEY AES-GCM crypto 配置表 · agents / providers / skills · Config DB Postgres · Config DB 配置表 agents / providers / skills Config DB 运行业务表 · runs / interactions / LF · Config DB Postgres · Config DB 运行业务表 runs / interactions / LF Config DB 源系统 SoR · VMS / ATS · 架构组件 · outside 源系统 SoR VMS / ATS outside Desktop Main · 加密信封 + Atomic · 架构组件 · aida-desktop Desktop Main 加密信封 + Atomic aida-desktop 授权夹 · LocalSecureEnvelope · 本机磁盘 · Desktop 授权夹 LocalSecureEnvelope Desktop 写状态 · write-state-v4.json · 本机磁盘 · Desktop 写状态 write-state-v4.json Desktop 读配置 执行事实 启动校验 加密凭据 工具 / 回读 LF 请求 本机权威 写记录 Config DB Postgres 本机磁盘 图例 后端 数据库 安全 外部系统

Config 平面

  • • schema identity 缺迁移 fail fast
  • • 密钥用 CONFIG_ENC_KEY
  • • 禁止共享库 silent DDL
  • • 169 restore → 170 取消约束(旧名别名)

运行业务表

  • • 与配置同库不同职责
  • • Run / Interaction / LF / 通知
  • • VMS/ATS 仍是源系统 SoR

Desktop 本地

  • • 授权夹与 write-state(加密信封)
  • • 路径不出 Main
  • • 不跨设备授权