docs(logbook): record controlled runtime summary deployment [skip ci]
This commit is contained in:
@@ -53,6 +53,17 @@
|
||||
- Telegram fallback handoff payload 在缺少既有 summary 時,也依 promotion contract 產生 `runtime=controlled` 或 `runtime=false`。
|
||||
- blocked / owner review 草案仍維持 `runtime=false`;只有已通過受控執行條件的合約才顯示 `runtime=controlled`,避免把未過安全門的事件誤標成可執行。
|
||||
|
||||
**Commit / deploy**:
|
||||
- Code commit:`fe74d8616 fix(api): expose controlled runtime promotion summaries`。
|
||||
- Deploy marker:`e506b9d5 chore(cd): deploy fe74d86 [skip ci]`。
|
||||
- 平行 `89b9e67a fix(ops): harden reboot API warmup evidence flow` 已在 deploy marker 前納入,正式站目前基準包含本段 API 修正與 reboot warmup evidence flow。
|
||||
|
||||
**正式 API 讀回**:
|
||||
- `/api/v1/health?_v=e506b9d5-controlled-runtime-summary`:`200`,`status=healthy`、`environment=prod`、`mock_mode=false`。
|
||||
- `/api/v1/agents/agent-report-status-board?_v=e506b9d5-controlled-runtime-summary`:`low_medium_high_controlled_apply_allowed=true`、`high_risk_human_approval_required=false`、`high_risk_auto_execution_enabled=true`、`workload_controlled_queue_total=12`。
|
||||
- `/api/v1/agents/agent-report-automation-review?_v=e506b9d5-controlled-runtime-summary`:`low_medium_high_controlled_auto_execution_enabled=true`、`high_risk_requires_approval=false`、`critical_break_glass_required=true`。
|
||||
- `/api/v1/platform/approvals?project_id=awoooi&limit=30&_v=e506b9d5-controlled-runtime-summary`:唯一現存 approval `INC-20260601-B51DFD` 顯示 `needs_human=false`、`next_step=auto_rollback_or_generate_repair_candidate`;該舊卡沒有 `repair_candidate_promotion_contract`,所以不會 retroactive 顯示 `runtime=controlled`,需新 incident 或重診產生 promotion contract 後才會出現。
|
||||
|
||||
**驗證**:
|
||||
- `apps/api/venv/bin/python -m pytest apps/api/tests/test_repair_candidate_service.py apps/api/tests/test_awooop_operator_timeline_labels.py -q`:`77 passed`。
|
||||
- `apps/api/venv/bin/python -m py_compile apps/api/src/services/platform_operator_service.py apps/api/src/services/repair_candidate_service.py apps/api/src/api/v1/telegram.py`:通過。
|
||||
|
||||
Reference in New Issue
Block a user