Interaction:提交、结算与续跑

Interaction:提交、结算与续跑 由 Archify 生成的架构图。 Desktop · 提交带版本的 settlement · 架构组件 Desktop 提交带版本的 settlement Interaction Kernel · pending + attempt · 架构组件 Interaction Kernel pending + attempt Authority Adapter · 验证领域结果 · 架构组件 Authority Adapter 验证领域结果 Resume Owner · 续跑原业务命令 · 架构组件 Resume Owner 续跑原业务命令 Resume intent · 持久化交接 · 架构组件 Resume intent 持久化交接 Settlement · accepted / rejected / checking · 架构组件 Settlement accepted / rejected / checking typed settlement 校验与提交 权威结果 accepted 原子交接 materialize / claim 图例 前端 后端 数据库 安全

两套状态

  • • Interaction 只有 pending 接受提交
  • • attempt 独立记录提交与查询相位

不确定结果

  • • checking 保持 Interaction pending
  • • 先核对原尝试,不能盲目再提交

恢复边界

  • • accepted 不等于业务已执行
  • • 终态不可重开;refresh 创建后继