Files
getDomain/docs/schemas/ops_go_live_signoff_contract.md
2026-04-18 23:52:51 +08:00

1.4 KiB
Raw Blame History

ops_go_live_signoff_contract

目标

把发布前最终签收判断压成一份统一 contract

  • Ops Center 首屏
  • CLI go-live-signoff
  • 海外 Codex 驾驶员

共同消费。

它不是替代:

  • go-live-summary
  • go-live-review
  • doctor-decision
  • stack-diagnosis
  • driver-feed
  • codex-brief

而是在这些 contract 之上给出最终一句:

现在能不能签字上线

主接口

  • GET /api/v1/ops/go-live-signoff

核心字段

  • signoff_status
    • ready
    • attention
    • blocked
  • status_label
  • headline
  • release_gate
  • blocked_reasons
  • attention_reasons
  • decision
  • launchpad_alignment
  • recommended_commands
  • report_dir
  • manifest_path

判定原则

  • 只要 go_live_summary / go_live_review / doctor_decision / publish_status / stack_status / automation / release_launchpad 中任一明确阻断
    • signoff_status = blocked
  • 如果没有阻断,但存在:
    • go-live-review=attention|missing
    • doctor-decision=attention|missing
    • attention
    • launchpad 摘要漂移
    • 自动化仍未完全进入 ready
    • signoff_status = attention
  • 只有当收口、正式复核、主决策、发布、自动化、launchpad 摘要一致
    • 才允许 signoff_status = ready

设计约束

  • 页面不允许再自己拼一套“看起来能上”
  • CLI 不允许绕过这个 contract 单独下结论
  • Codex 驾驶员优先看这一份,再决定是否继续下钻