feat: add ops center and node onboarding flow
This commit is contained in:
37
docs/schemas/ops_go_live_review_contract.md
Normal file
37
docs/schemas/ops_go_live_review_contract.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# ops_go_live_review_contract
|
||||
|
||||
## Purpose
|
||||
|
||||
冻结 `go-live-review` 复核结论 contract,让页面、CLI、Codex 都能消费同一份 bundle manifest 复核结果,而不是各自再解读一遍 artifact。
|
||||
|
||||
## Producer
|
||||
|
||||
- backend service `app.services.ops_service.get_ops_go_live_review`
|
||||
- API `GET /api/v1/ops/go-live-review`
|
||||
- CLI `bash domain-api/deploy/multi-region/drive_ops_center.sh go-live-review`
|
||||
|
||||
## Primary Consumers
|
||||
|
||||
- `domain-web` Ops Center 证据复核面板
|
||||
- 海外 Codex 驾驶员
|
||||
- 发布前人工值班复核
|
||||
|
||||
## Required Payload
|
||||
|
||||
- `status`
|
||||
- `status_label`
|
||||
- `headline`
|
||||
- `artifact_total`
|
||||
- `failure_total`
|
||||
- `critical_failures`
|
||||
- `noncritical_failures`
|
||||
- `env_audit`
|
||||
- `launchpad_alignment`
|
||||
- `recommended_next_steps`
|
||||
- `recommended_commands`
|
||||
|
||||
## Notes
|
||||
|
||||
- 这层是 manifest 的正式“复核解释层”,不是单纯重复 bundle 基础信息。
|
||||
- 如果 `launchpad_alignment.consistent=false`,即使关键文件都存在,也必须至少回到 `attention`。
|
||||
- 页面和 Codex 应优先消费这层 `headline / recommended_next_steps`,而不是自行拼 review 口径。
|
||||
Reference in New Issue
Block a user