Agent Runtime 单轮调用与治理时序

Agent Runtime 单轮调用与治理时序 由 Archify 生成的时序图。 before_model(request) resolve bounded context PreparedTurn + bindings prompt + bounded context answer + explicit candidates after_model(observation) plan representations zero-write route explicit governance via runtime Before model Host execution After model + governance Host Agent · adopter code · 时序参与者 Host Agent adopter code Registered Runtime · actor-scoped handle · 时序参与者 Registered Runtime actor-scoped handle Context + Evidence · authority-bound · 时序参与者 Context + Evidence authority-bound Host Model · adopter-owned · 时序参与者 Host Model adopter-owned Observation Routing · zero-write plan · 时序参与者 Observation Routing zero-write plan Governance · Memory / Relation · 时序参与者 Governance Memory / Relation 图例 请求 返回 安全 异步追踪 默认消息

小入口不等于少约束

  • • Registration、principal、scope 与 Evidence binding 都在 Runtime handle 内生效
  • • Host Agent 仍拥有模型、提示词与工具策略

after_model 默认零写

  • • representation routing 只产生确定性 proposal plan
  • • Memory/Relation 写入必须经过显式治理入口

失败边界可区分

  • • Context provider 可返回 typed degraded
  • • 身份、scope 或 authority 错误保持 fail closed