docs(governance): 校正 P1-006 本地 smoke 證據 [skip ci]
This commit is contained in:
@@ -16,10 +16,14 @@
|
||||
|
||||
**本地驗證**:
|
||||
- JSON parse 通過: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 通過:上述 8 個目標測試檔。
|
||||
- zh-TW / en i18n key 差異 `0`;web typecheck 通過。
|
||||
- Next production build 通過;`/[locale]/governance` First Load JS `387 kB`。
|
||||
- 本地 browser smoke 未採計:本段曾發現同一 worktree 有多組 build/dev 程序互踩 `.next` 產物,導致 route manifest / webpack cache 不一致;正式可見性以 Gitea deploy marker 後 production desktop / mobile smoke 補驗。
|
||||
- 乾淨重建 `.next` 後 Next production build 通過;`/[locale]/governance` First Load JS `387 kB`;standalone server.js 正常產生。
|
||||
- `source-control-owner-response-guard.py`、`security-mirror-progress-guard.py` 與 `git diff --check` 通過。
|
||||
- 本地 API readback:backlog 回 current `P1-006`、next `P1-007`、done `22/25`;inventory 回 current `P1-006`、next `P1-007`、tasks `32` 且存在 `service_health_evidence_cards_ui`;service health matrix 回 targets `10`、需處置 `5`、stale endpoints `3`、health gaps `5`。
|
||||
- 本地 browser smoke:standalone web `http://localhost:3011/zh-TW/governance?tab=automation-inventory&_v=p1-006-local`,desktop `1440x1000` 與 mobile `390x844` 皆確認 `服務健康證據卡`、`主要證據`、`下一步`、`P1-006`、`P1-007`、`88%`、`健康目標`、`Ollama 三層健康合約`、`scripts/health_check_session.sh`、`apps/api/src/api/v1/health.py`、`允許入口` 可見;11 個 agents API 皆 `200`;主要證據卡數 `10`;blocking console error `0`、blocking HTTP failed response `0`、`horizontalOverflow=0`、overflowing elements `0`、危險互動入口 `0`。本地 mini API 的 dashboard SSE close 會產生 known local noise,不作為 P1-006 失敗。
|
||||
- 本地截圖:`/tmp/awoooi-p1-006-evidence-cards-local-desktop.png`、`/tmp/awoooi-p1-006-evidence-cards-local-mobile.png`;煙測紀錄:`/tmp/awoooi-p1-006-evidence-cards-local-smoke.json`。
|
||||
|
||||
**正式驗證**:
|
||||
- Code commit:`7d62cad6 feat(governance): 顯示服務健康證據卡`。
|
||||
|
||||
@@ -1108,7 +1108,7 @@ UI:
|
||||
狀態變更:待辦 -> 完成。
|
||||
證據:service_health_gap_matrix_v1 snapshot / API;治理頁 service health evidence cards;automation backlog 88%;inventory tasks 32。
|
||||
目前數字:service health targets 10;證據卡 10;需處置 targets 5;stale endpoints 3;health gaps 5;service restart / endpoint change / active probe / notification send / runtime execution allowed counts 全部 0;backlog done 22/25;overall 88%;P1 96%;WS3 監控自動化 100%。
|
||||
驗證:JSON parse 通過;service health gap matrix service / API、automation inventory / backlog snapshot service / API 目標測試 `25 passed`;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` 通過。
|
||||
驗證: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` 後 Next production build 通過,治理頁 First Load JS `387 kB`,standalone server.js 正常產生;source-control-owner-response guard、security-mirror-progress guard、`git diff --check` 通過。本地 API readback 回 backlog current `P1-006`、next `P1-007`、done `22/25`;inventory tasks `32` 且存在 `service_health_evidence_cards_ui`;service health matrix targets `10`、需處置 `5`、stale endpoints `3`、health gaps `5`。本地 desktop `1440x1000` 與 mobile `390x844` browser smoke 通過,11 個 agents API 皆 `200`,主要證據卡數 `10`,`服務健康證據卡`、`主要證據`、`下一步`、`P1-006`、`P1-007`、`88%`、`Ollama 三層健康合約`、`scripts/health_check_session.sh`、`apps/api/src/api/v1/health.py`、`允許入口` 可見,blocking console error `0`、blocking HTTP failed response `0`、`horizontalOverflow=0`、overflowing elements `0`、危險互動入口 `0`;本地 mini API 的 dashboard SSE close 為 known local noise。
|
||||
正式驗證:code commit `7d62cad6`;deploy marker `f42afd9b chore(cd): deploy 7d62cad [skip ci]`;Gitea code-review `#2611` 成功、CD `#2610` 成功。Production health `healthy/prod/mock_mode=false`;backlog API 回 current `P1-006`、next `P1-007`、overall `88%`、done `22/25`;inventory API 回 current `P1-006`、next `P1-007`、tasks `32`、read-only allowed `29`;service health 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 / notification send / runtime execution allowed counts 全部 `0`。Production desktop `1440x1000` 與 mobile `390x844` smoke 通過,`服務健康證據卡`、`主要證據`、`下一步`、`服務健康缺口與過期端點`、`P1-006`、`P1-007`、`88%`、`Production API Health`、`Ollama 三層健康合約`、`不可誤讀合約` 可見;`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-007 建立 service health 失敗限定 Telegram / AwoooP 對應。
|
||||
|
||||
@@ -3579,7 +3579,7 @@ Phase 6 完成後
|
||||
- P1-006:治理頁 `/zh-TW/governance?tab=automation-inventory` 新增「服務健康證據卡」,每張卡顯示 target 名稱、狀態、健康類型、新鮮度、風險、主要 evidence ref、額外證據數量與下一步。
|
||||
- P1-006:同步 automation backlog / inventory snapshot;current `P1-006`、next `P1-007`、backlog done `22/25`、overall `88%`、P1 `96%`、WS3 `100%`、inventory tasks `32`。
|
||||
- P1-006:所有 action boundary 維持 read-only;live probe、service restart、endpoint change、notification send、workflow / deploy / reload / runtime execution allowed counts 仍為 `0`。
|
||||
- 本地驗證:JSON parse 通過;service health gap matrix service / API、automation inventory / backlog snapshot service / API 目標測試 `25 passed`;zh-TW / en i18n key 差異 `0`;web typecheck 通過;Next production build 通過,治理頁 First Load JS `387 kB`。
|
||||
- 本地驗證: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` 後 Next production build 通過,治理頁 First Load JS `387 kB`,standalone server.js 正常產生;source-control-owner-response guard、security-mirror-progress guard、`git diff --check` 通過。本地 API readback 回 backlog current `P1-006`、next `P1-007`、done `22/25`;inventory tasks `32` 且存在 `service_health_evidence_cards_ui`;service health matrix targets `10`、需處置 `5`、stale endpoints `3`、health gaps `5`。本地 desktop `1440x1000` 與 mobile `390x844` browser smoke 通過,11 個 agents API 皆 `200`,主要證據卡數 `10`,`服務健康證據卡`、`主要證據`、`下一步`、`P1-006`、`P1-007`、`88%`、`Ollama 三層健康合約`、`scripts/health_check_session.sh`、`apps/api/src/api/v1/health.py`、`允許入口` 可見,blocking console error `0`、blocking HTTP failed response `0`、`horizontalOverflow=0`、overflowing elements `0`、危險互動入口 `0`;本地 mini API 的 dashboard SSE close 為 known local noise。
|
||||
- 正式環境:code commit `7d62cad6`;deploy marker `f42afd9b chore(cd): deploy 7d62cad [skip ci]`;Gitea code-review `#2611` 成功、CD `#2610` 成功。Production health `healthy/prod/mock_mode=false`;backlog API 回 current `P1-006`、next `P1-007`、overall `88%`、done `22/25`;inventory API 回 current `P1-006`、next `P1-007`、tasks `32`、read-only allowed `29`;service health 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 / notification send / runtime execution allowed counts 全部 `0`。
|
||||
- Production desktop `1440x1000` 與 mobile `390x844` smoke 通過,`服務健康證據卡`、`主要證據`、`下一步`、`服務健康缺口與過期端點`、`P1-006`、`P1-007`、`88%`、`Production API Health`、`Ollama 三層健康合約`、`不可誤讀合約` 可見;`horizontalOverflow=0`、overflowing elements `0`、內容危險操作入口 `0`、錯誤文字 `0`。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user