docs(governance): 校正 P1-006 本地 smoke 證據 [skip ci]

This commit is contained in:
Your Name
2026-06-05 15:11:56 +08:00
parent 1499d63a6d
commit e95f5e607c
3 changed files with 9 additions and 5 deletions

View File

@@ -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 readbackbacklog 回 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 smokestandalone 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): 顯示服務健康證據卡`

View File

@@ -1108,7 +1108,7 @@ UI
狀態變更:待辦 -> 完成。
證據service_health_gap_matrix_v1 snapshot / API治理頁 service health evidence cardsautomation backlog 88%inventory tasks 32。
目前數字service health targets 10證據卡 10需處置 targets 5stale endpoints 3health gaps 5service restart / endpoint change / active probe / notification send / runtime execution allowed counts 全部 0backlog done 22/25overall 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 對應。

View File

@@ -3579,7 +3579,7 @@ Phase 6 完成後
- P1-006治理頁 `/zh-TW/governance?tab=automation-inventory` 新增「服務健康證據卡」,每張卡顯示 target 名稱、狀態、健康類型、新鮮度、風險、主要 evidence ref、額外證據數量與下一步。
- P1-006同步 automation backlog / inventory snapshotcurrent `P1-006`、next `P1-007`、backlog done `22/25`、overall `88%`、P1 `96%`、WS3 `100%`、inventory tasks `32`
- P1-006所有 action boundary 維持 read-onlylive 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`