feat(governance): 新增服務健康缺口矩陣
This commit is contained in:
@@ -3535,6 +3535,24 @@ Phase 6 完成後
|
||||
|
||||
**裁決:** P1-003 只完成 read-only observability contract matrix 與降噪候選顯示。不得把 Prometheus rule count、Alertmanager grouping、SigNoz / Sentry heartbeat、Grafana dashboard JSON、OTEL/Event Exporter evidence 或 classification gap 解讀成 alert rule 變更、receiver/route 變更、OpenClaw receiver 授權、silence、dashboard import、webhook 修改、secret 讀取、通知發送、deploy/reload/workflow 或 runtime execution 批准。成功 smoke 不即時通知洗版;失敗與需處置才進批准流程。
|
||||
|
||||
### 2026-06-05 下午 (台北) — P1-005 服務健康缺口與過期端點本地完成
|
||||
|
||||
**觸發**:統帥批准繼續,接續 P1-004 正式驗證後推進 `docs/ai/AI_AGENT_AUTOMATION_WORKLIST_2026-06-04.md` 的 P1-005,只建立 committed service health gap evidence、只讀 API 與治理頁顯示。
|
||||
|
||||
**已推進:**
|
||||
- P1-005:新增 `service_health_gap_matrix_v1` schema 與 `docs/evaluations/service_health_gap_matrix_2026-06-05.json`,涵蓋 API / Web / AI provider / Observability / Gitea / Backup / Security edge 的服務健康目標、健康缺口與過期端點 reference。
|
||||
- P1-005:新增 `GET /api/v1/agents/service-health-gap-matrix` 與 service guard,強制驗證 read-only mode、operation / approval boundaries、rollup consistency、target / health gap / stale endpoint evidence、operator denial 與禁止 secret payload key。
|
||||
- P1-005:治理頁 `/zh-TW/governance?tab=automation-inventory` 新增「服務健康缺口與過期端點」區塊;顯示健康目標、需處置、過期端點、健康缺口、不可誤讀合約與允許入口 0,不新增任何執行按鈕。
|
||||
- 目前數字:service health targets `10`;需處置 targets `5`;stale endpoints `3`;health gaps `5`;service restart / endpoint change / active probe / notification send / runtime execution allowed counts 全部 `0`;automation backlog done `21/24`、overall `88%`、P1 `95%`;inventory tasks `31`。
|
||||
- 本地驗證:JSON parse 通過;service health gap matrix service / API、automation inventory / backlog snapshot service / API 目標測試 `25 passed`;Python py_compile 通過;zh-TW / en i18n key 差異 `0`;web typecheck 通過。
|
||||
|
||||
**待補驗證:**
|
||||
1. Next production build。
|
||||
2. `source-control-owner-response-guard.py`、`security-mirror-progress-guard.py` 與 `git diff --check`。
|
||||
3. 推送 Gitea 後取得 deploy marker,補 production API readback 與 desktop / mobile browser smoke。
|
||||
|
||||
**裁決:** P1-005 只完成 service health gap matrix 的 committed evidence、API 與治理頁顯示。不得把 `service_health_gap_matrix_v1`、健康目標、過期端點、health gaps、source mismatch、owner attestation 或 UI 可見解讀成 live probe、服務重啟、endpoint / ConfigMap 修改、通知發送、provider switch、paid API call、Secret payload read、workflow / deploy / reload 或 runtime execution 批准。
|
||||
|
||||
### 2026-06-05 下午 (台北) — P1-004 AI Provider 路由矩陣正式上線
|
||||
|
||||
**觸發**:統帥批准繼續,要求依 `docs/ai/AI_AGENT_AUTOMATION_WORKLIST_2026-06-04.md` 的優先順序推進,並在每階段同步完成度、工作狀態、驗證節點與正式環境頁面檢查。
|
||||
@@ -3552,3 +3570,20 @@ Phase 6 完成後
|
||||
2. 持續保持 S4.9 owner response gate `0%` 與 active runtime gate `0`,不得把 P1-004 UI / API 可見誤讀成 runtime 授權。
|
||||
|
||||
**裁決:** P1-004 只完成 read-only AI provider route matrix 與治理頁顯示。不得把 `ai_provider_route_matrix_v1`、Ollama 三層、Gemini final fallback、OpenClaw / Nemo RCA lane、Nemotron blocked candidate、legacy models registry 或 provider route source gaps 解讀成 provider 切換、付費呼叫、fallback 調整、OpenClaw 取代、Nemotron 升級、shadow / canary、Secret payload 讀取、workflow / deploy / reload 或 runtime execution 批准。
|
||||
|
||||
### 2026-06-05 下午 (台北) — P1-005 服務健康缺口與過期端點本地完成
|
||||
|
||||
**觸發**:統帥批准繼續,並要求治理頁避免文字牆、以圖表 / 卡片 / 專業資訊架構呈現完整資訊,同時強化決策支援覆蓋率的參考性。
|
||||
|
||||
**已推進:**
|
||||
- P1-005:新增 `service_health_gap_matrix_v1` schema 與 `docs/evaluations/service_health_gap_matrix_2026-06-05.json`,以 committed health / endpoint / stale evidence 建立只讀 service health gap matrix。
|
||||
- P1-005:新增 `GET /api/v1/agents/service-health-gap-matrix` 只讀 API 與 service guard,強制拒絕把 snapshot 誤讀成 live probe、service restart、endpoint / ConfigMap 修改、Secret / Redis / DB payload 讀取、通知發送、workflow / deploy / reload 或 runtime execution 授權。
|
||||
- P1-005:治理頁 `/zh-TW/governance?tab=automation-inventory` 新增「服務健康缺口與過期端點」區塊;以 KPI、摘要磚、健康目標卡、過期端點清單、健康缺口清單與不可誤讀合約呈現,降低文字牆閱讀負擔,不新增任何執行按鈕。
|
||||
- 目前數字:service health targets `10`;需處置 targets `5`;stale endpoints `3`;health gaps `5`;service restart / endpoint change / active probe / notification send / runtime execution allowed counts 全部 `0`;automation backlog done `21/24`、overall `88%`、P1 `95%`、WS3 `100%`;inventory tasks `31`。
|
||||
- 本地驗證:JSON parse 通過;service health gap matrix service / API、automation inventory / backlog snapshot API、AI provider route matrix service / API 目標測試 `22 passed`;Python py_compile 通過;zh-TW / en i18n key 差異 `0`;web typecheck 通過;Next production build 通過,治理頁 First Load JS `387 kB`;source-control-owner-response guard、security-mirror-progress guard、`git diff --check` 通過;本地 API readback 回 `service_health_gap_matrix_v1`、current `P1-005`、next `P1-006`、targets `10`、需處置 `5`、stale endpoints `3`、health gaps `5`;backlog 回 `88%`、done `21/24`;inventory 回 tasks `31`。
|
||||
|
||||
**待補:**
|
||||
1. Gitea push 後取得 deploy marker,補 production API readback 與 desktop / mobile browser smoke。
|
||||
2. P1-006:在 UI 顯示更細緻的 service health evidence cards。
|
||||
|
||||
**裁決:** P1-005 只完成 read-only service health gap matrix、API 與治理頁顯示。不得把 `service_health_gap_matrix_v1`、健康目標、過期端點、健康缺口、需處置清單或不可誤讀合約解讀成 live health check 已執行、服務重啟批准、endpoint 修改批准、通知發送批准、runtime gate 提高、S4.9 owner response gate 提高或 security acceptance 已成立。
|
||||
|
||||
Reference in New Issue
Block a user