fix(reboot): surface windows99 console artifact blockers
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m13s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled

This commit is contained in:
Your Name
2026-07-03 09:25:20 +08:00
parent 43620a977f
commit e28ebd5b3e
10 changed files with 374 additions and 9 deletions

View File

@@ -1,3 +1,17 @@
## 2026-07-03 — 09:22 Windows99 console artifact blocker 機器可讀化
**完成內容**
- `windows99-management-channel-probe.py` 新增 `console_artifact_status``console_artifact_reliable``console_artifact_blockers``console_artifact_safe_next_step`,把 RDP / VMConnect 可見但 clipboard / focus / stdout 不可信的狀態轉成明確 blocker。
- `reboot-auto-recovery-slo-scorecard.py` 與 production API loader 同步上卷 `windows99_console_clipboard_unreliable` / `windows99_console_focus_unreliable` / `windows99_console_verify_output_truncated``active_blockers``windows99_verify_collection.collection_blockers`、readback、rollups 與 `active_blocker_action_matrix`
- SOP 升到 v1.108,並同步 P0 workplan / 統帥插入需求台帳RDP 畫面片段、截斷 stdout、Windows 端舊剪貼簿內容都不得當作 `windows99-vmware-autostart.ps1 -Mode Verify` 完成證據。
**已跑驗證**
- `python3.11 -m py_compile scripts/reboot-recovery/windows99-management-channel-probe.py scripts/reboot-recovery/reboot-auto-recovery-slo-scorecard.py apps/api/src/services/reboot_auto_recovery_slo_scorecard.py`:通過。
- `DATABASE_URL=postgresql+asyncpg://test:test@localhost/test PYTHONPATH=apps/api python3.11 -m pytest scripts/reboot-recovery/tests/test_windows99_management_channel_probe.py scripts/reboot-recovery/tests/test_reboot_auto_recovery_slo_scorecard.py apps/api/tests/test_reboot_auto_recovery_slo_scorecard_api.py -q -p no:cacheprovider``35 passed`
**仍維持**
- 本輪只做 source/API contract、測試與 SOP 沉澱;未讀 secret / token / `.env` / raw sessions / SQLite / auth未使用 GitHub / gh未 workflow_dispatch未啟動或關閉 VM未重啟 host / service未 Docker / Nginx / K3s / DB / firewall restart未 DROP / TRUNCATE / restore / prune / delete / force push。
## 2026-07-03 — 09:05 Gitea bundle backup / dev-prod repo truth 交叉驗證
**完成內容**