docs(governance): 同步 P1-005 smoke 證據 [skip ci]
This commit is contained in:
@@ -17,10 +17,13 @@
|
||||
|
||||
**本地驗證**:
|
||||
- JSON parse 通過:`service_health_gap_matrix_2026-06-05.json`、`service_health_gap_matrix_v1.schema.json`、automation backlog / inventory snapshots、zh-TW / en messages。
|
||||
- 目標測試通過:service health gap matrix service / API、automation inventory / backlog snapshot service / API 共 `25 passed`。
|
||||
- 目標測試通過:service health gap matrix service / API、automation inventory / backlog snapshot service / API、AI provider route matrix service / API 共 `35 passed`。
|
||||
- Python py_compile 通過:`apps/api/src/services/service_health_gap_matrix.py`、`apps/api/src/api/v1/agents.py`。
|
||||
- zh-TW / en i18n key 差異 `0`;web typecheck 通過;Next production build 通過,治理頁 First Load JS `387 kB`;`source-control-owner-response-guard.py`、`security-mirror-progress-guard.py` 與 `git diff --check` 通過。
|
||||
- 本地 API readback:service health gap matrix 回 `service_health_gap_matrix_v1`、current `P1-005`、next `P1-006`、targets `10`、需處置 `5`、stale endpoints `3`、health gaps `5`;backlog 回 overall `88%`、done `21/24`;inventory 回 tasks `31`。
|
||||
- 本地 browser smoke:desktop `1440x1000` 與 mobile `390x844` 皆確認 `服務健康缺口與過期端點`、`P1-005`、`P1-006`、`88%`、`Ollama 三層健康合約`、`legacy 188 Ollama`、`不可誤讀合約`、`允許入口` 可見;11 個 agents API 皆 `200`;`horizontalOverflow=0`、overflowing elements `0`、危險互動入口 `0`。本地 mini API 未掛 `/api/v1/dashboard/*` 與既有 RSC prefetch 會產生 known local noise,不作為 P1-005 失敗;正式部署後以 production smoke 判定 console / HTTP。
|
||||
- 本地截圖:`/tmp/awoooi-p1-005-service-health-local-desktop.png`、`/tmp/awoooi-p1-005-service-health-local-mobile.png`;煙測紀錄:`/tmp/awoooi-p1-005-service-health-local-smoke.json`。
|
||||
|
||||
**正式部署**:
|
||||
- Code commit:`1007a1bc feat(governance): 新增服務健康缺口矩陣`。
|
||||
- Deploy marker:`620b2c3a chore(cd): deploy 1007a1b [skip ci]`。
|
||||
@@ -32,11 +35,11 @@
|
||||
- Production `/api/v1/agents/automation-backlog-snapshot` 200:current `P1-005`、next `P1-006`、overall `88%`、done `21/24`。
|
||||
- Production `/api/v1/agents/automation-inventory-snapshot` 200:current `P1-005`、next `P1-006`、tasks `31`。
|
||||
- Production browser smoke:
|
||||
- Desktop `1440x1000`:`https://awoooi.wooo.work/zh-TW/governance?tab=automation-inventory&_v=620b2c3a-p1-005-prod-desktop-recheck`。
|
||||
- Mobile `390x844`:`https://awoooi.wooo.work/zh-TW/governance?tab=automation-inventory&_v=620b2c3a-p1-005-prod-mobile-recheck`。
|
||||
- Desktop `1440x1000`:`https://awoooi.wooo.work/zh-TW/governance?tab=automation-inventory&_v=620b2c3a-p1-005-prod-recheck2`。
|
||||
- Mobile `390x844`:`https://awoooi.wooo.work/zh-TW/governance?tab=automation-inventory&_v=620b2c3a-p1-005-prod-recheck2`。
|
||||
- 皆確認:`服務健康缺口與過期端點`、`P1-005`、`P1-006`、`88%`、`健康目標`、`過期端點`、`健康缺口`、`不可誤讀合約`、`允許入口` 可見。
|
||||
- Desktop / mobile:`horizontalOverflow=0`、overflowing elements `0`、內容危險操作入口 `0`、production 相關 console error `0`。
|
||||
- 截圖:`/tmp/awoooi-p1-005-service-health-prod-desktop-recheck-620b2c3a.png`、`/tmp/awoooi-p1-005-service-health-prod-mobile-recheck-620b2c3a.png`。
|
||||
- Desktop / mobile:console error `0`、HTTP failed response `0`、`horizontalOverflow=0`、overflowing elements `0`、內容危險操作入口 `0`、錯誤文字 `0`。
|
||||
- 截圖:`/tmp/awoooi-p1-005-service-health-prod-desktop-620b2c3a-recheck.png`、`/tmp/awoooi-p1-005-service-health-prod-mobile-620b2c3a-recheck.png`;煙測紀錄:`/tmp/awoooi-p1-005-service-health-prod-smoke-620b2c3a-recheck.json`。
|
||||
|
||||
**邊界**:
|
||||
- Live probe、external health probe、service / pod / host restart、rollout restart、endpoint / ConfigMap 修改、provider switch、paid API call、Secret payload read、通知發送、workflow / deploy / reload / runtime execution 全部仍未批准。
|
||||
|
||||
@@ -1108,8 +1108,8 @@ UI:
|
||||
狀態變更:待辦 -> 完成。
|
||||
證據:service_health_gap_matrix_v1 schema / snapshot;GET /api/v1/agents/service-health-gap-matrix;治理頁服務健康缺口與過期端點區塊;automation backlog 88%;inventory tasks 31。
|
||||
目前數字: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;backlog done 21/24;overall 88%;P1 95%;WS3 監控自動化 100%。
|
||||
驗證: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 通過;Next production build 通過;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`;本地 desktop `1440x1000` 與 mobile `390x844` browser smoke 通過,`服務健康缺口與過期端點`、`P1-005`、`P1-006`、`88%`、`健康目標`、`過期端點`、`健康缺口`、`不可誤讀合約`、`允許入口` 可見,`horizontalOverflow=0`、overflowing elements `0`、危險互動入口 `0`。
|
||||
正式驗證:code commit `1007a1bc` 已推 `gitea main`;deploy marker `620b2c3a chore(cd): deploy 1007a1b [skip ci]`;Gitea code-review `#2609` 成功、CD `#2608` 成功。Production health `healthy/prod/mock_mode=false`;service health gap matrix API 回 `service_health_gap_matrix_v1`、current `P1-005`、next `P1-006`、targets `10`、需處置 `5`、stale endpoints `3`、health gaps `5`、service restart / endpoint change / active probe allowed counts 全部 `0`;backlog API 回 overall `88%`、done `21/24`;inventory API 回 tasks `31`。Production desktop `1440x1000` 與 mobile `390x844` smoke 通過,`服務健康缺口與過期端點`、`P1-005`、`P1-006`、`88%`、`健康目標`、`過期端點`、`健康缺口`、`不可誤讀合約`、`允許入口` 可見;production 相關 console error `0`、`horizontalOverflow=0`、overflowing elements `0`、內容危險操作入口 `0`。
|
||||
驗證:JSON parse 通過;service health gap matrix service / API、automation inventory / backlog snapshot service / API、AI provider route matrix service / API 目標測試 `35 passed`;Python py_compile 通過;zh-TW / en i18n key 差異 `0`;web typecheck 通過;Next production build 通過;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`;本地 desktop `1440x1000` 與 mobile `390x844` browser smoke 通過,11 個 agents API 皆 `200`,`服務健康缺口與過期端點`、`P1-005`、`P1-006`、`88%`、`Ollama 三層健康合約`、`legacy 188 Ollama`、`不可誤讀合約`、`允許入口` 可見,`horizontalOverflow=0`、overflowing elements `0`、危險互動入口 `0`;本地 mini API 既有 dashboard SSE / RSC prefetch noise 不作為 P1-005 失敗。
|
||||
正式驗證:code commit `1007a1bc` 已推 `gitea main`;deploy marker `620b2c3a chore(cd): deploy 1007a1b [skip ci]`;Gitea code-review `#2609` 成功、CD `#2608` 成功。Production health `healthy/prod/mock_mode=false`;service health gap matrix API 回 `service_health_gap_matrix_v1`、current `P1-005`、next `P1-006`、targets `10`、需處置 `5`、stale endpoints `3`、health gaps `5`、service restart / endpoint change / active probe allowed counts 全部 `0`;backlog API 回 overall `88%`、done `21/24`;inventory API 回 tasks `31`。Production desktop `1440x1000` 與 mobile `390x844` smoke 通過,`服務健康缺口與過期端點`、`P1-005`、`P1-006`、`88%`、`健康目標`、`過期端點`、`健康缺口`、`不可誤讀合約`、`允許入口` 可見;production console error `0`、HTTP failed response `0`、`horizontalOverflow=0`、overflowing elements `0`、內容危險操作入口 `0`、錯誤文字 `0`。
|
||||
阻擋:live probe、external health probe、service / pod / host restart、rollout restart、endpoint / ConfigMap 修改、provider switch、paid API call、Secret payload read、通知發送、workflow/deploy/reload/runtime execution 仍全部禁止。
|
||||
下一步:P1-006 在 UI 顯示 service health 證據卡。
|
||||
```
|
||||
|
||||
@@ -3562,8 +3562,8 @@ Phase 6 完成後
|
||||
- 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 service / API 目標測試 `25 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`;本地 desktop `1440x1000` 與 mobile `390x844` browser smoke 通過,`服務健康缺口與過期端點`、`P1-005`、`P1-006`、`88%`、`健康目標`、`過期端點`、`健康缺口`、`不可誤讀合約`、`允許入口` 可見,`horizontalOverflow=0`、overflowing elements `0`、危險互動入口 `0`。
|
||||
- 正式環境:code commit `1007a1bc`;deploy marker `620b2c3a chore(cd): deploy 1007a1b [skip ci]`;Gitea code-review `#2609` 成功、CD `#2608` 成功。Production service health gap matrix API 回 `service_health_gap_matrix_v1`、current `P1-005`、next `P1-006`、targets `10`、需處置 `5`、stale endpoints `3`、health gaps `5`、service restart / endpoint change / active probe allowed counts 全部 `0`;backlog API 回 overall `88%`、done `21/24`;inventory API 回 tasks `31`。Production desktop `1440x1000` 與 mobile `390x844` smoke 通過,`服務健康缺口與過期端點`、`P1-005`、`P1-006`、`88%`、`健康目標`、`過期端點`、`健康缺口`、`不可誤讀合約`、`允許入口` 可見;production 相關 console error `0`、`horizontalOverflow=0`、overflowing elements `0`、內容危險操作入口 `0`。
|
||||
- 本地驗證:JSON parse 通過;service health gap matrix service / API、automation inventory / backlog snapshot service / API、AI provider route matrix service / API 目標測試 `35 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`;本地 desktop `1440x1000` 與 mobile `390x844` browser smoke 通過,11 個 agents API 皆 `200`,`服務健康缺口與過期端點`、`P1-005`、`P1-006`、`88%`、`Ollama 三層健康合約`、`legacy 188 Ollama`、`不可誤讀合約`、`允許入口` 可見,`horizontalOverflow=0`、overflowing elements `0`、危險互動入口 `0`;本地 mini API 既有 dashboard SSE / RSC prefetch noise 不作為 P1-005 失敗。
|
||||
- 正式環境:code commit `1007a1bc`;deploy marker `620b2c3a chore(cd): deploy 1007a1b [skip ci]`;Gitea code-review `#2609` 成功、CD `#2608` 成功。Production service health gap matrix API 回 `service_health_gap_matrix_v1`、current `P1-005`、next `P1-006`、targets `10`、需處置 `5`、stale endpoints `3`、health gaps `5`、service restart / endpoint change / active probe allowed counts 全部 `0`;backlog API 回 overall `88%`、done `21/24`;inventory API 回 tasks `31`。Production desktop `1440x1000` 與 mobile `390x844` smoke 通過,`服務健康缺口與過期端點`、`P1-005`、`P1-006`、`88%`、`健康目標`、`過期端點`、`健康缺口`、`不可誤讀合約`、`允許入口` 可見;production console error `0`、HTTP failed response `0`、`horizontalOverflow=0`、overflowing elements `0`、內容危險操作入口 `0`、錯誤文字 `0`。
|
||||
|
||||
**下一步:**
|
||||
1. P1-006:在 UI 顯示更細緻的 service health evidence cards。
|
||||
|
||||
Reference in New Issue
Block a user