diff --git a/docs/LOGBOOK.md b/docs/LOGBOOK.md index a2766b454..2ecc750f4 100644 --- a/docs/LOGBOOK.md +++ b/docs/LOGBOOK.md @@ -17,11 +17,10 @@ **本地驗證**: - 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 API、AI provider route matrix service / API 共 `22 passed`。 +- 目標測試通過:service health gap matrix service / API、automation inventory / backlog snapshot service / API 共 `25 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`。 - **正式部署**: - Code commit:`1007a1bc feat(governance): 新增服務健康缺口矩陣`。 - Deploy marker:`620b2c3a chore(cd): deploy 1007a1b [skip ci]`。 @@ -33,11 +32,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-clean`。 - - Mobile `390x844`:`https://awoooi.wooo.work/zh-TW/governance?tab=automation-inventory&_v=620b2c3a-p1-005-prod-mobile`。 + - 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`。 - 皆確認:`服務健康缺口與過期端點`、`P1-005`、`P1-006`、`88%`、`健康目標`、`過期端點`、`健康缺口`、`不可誤讀合約`、`允許入口` 可見。 - - Desktop / mobile:`horizontalOverflow=0`、overflowing elements `0`、內容危險操作入口 `0`、錯誤文字 `0`、production 相關 console error `0`。 -- 截圖:`/tmp/awoooi-p1-005-service-health-prod-desktop-clean-620b2c3a.png`、`/tmp/awoooi-p1-005-service-health-prod-mobile-620b2c3a.png`。 + - 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`。 **邊界**: - 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 全部仍未批准。 diff --git a/docs/ai/AI_AGENT_AUTOMATION_WORKLIST_2026-06-04.md b/docs/ai/AI_AGENT_AUTOMATION_WORKLIST_2026-06-04.md index 623c93ff7..909b1553b 100644 --- a/docs/ai/AI_AGENT_AUTOMATION_WORKLIST_2026-06-04.md +++ b/docs/ai/AI_AGENT_AUTOMATION_WORKLIST_2026-06-04.md @@ -1108,7 +1108,7 @@ 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 API、AI provider route matrix service / API 目標測試 `22 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`。 +驗證: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`。 阻擋: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 證據卡。 diff --git a/docs/superpowers/specs/2026-04-15-MASTER-ai-autonomous-flywheel-v2.md b/docs/superpowers/specs/2026-04-15-MASTER-ai-autonomous-flywheel-v2.md index 9051c9b68..d4cfaffc7 100644 --- a/docs/superpowers/specs/2026-04-15-MASTER-ai-autonomous-flywheel-v2.md +++ b/docs/superpowers/specs/2026-04-15-MASTER-ai-autonomous-flywheel-v2.md @@ -3562,7 +3562,7 @@ 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 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`。 +- 本地驗證: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`。 **下一步:**