fix(governance): 穩定 P1-002 盤點頁文字換行
This commit is contained in:
@@ -3508,8 +3508,8 @@ Phase 6 完成後
|
||||
- P1-002:新增 `GET /api/v1/agents/gitea-workflow-runner-health` 只讀 API 與 service guard,強制拒絕把 snapshot 誤讀成 workflow 修改、runner restart / stop、Secret payload、Telegram 測試通知、排程變更、Gitea write token、deploy / migration workflow 觸發授權。
|
||||
- P1-002:治理頁 `/zh-TW/governance?tab=automation-inventory` 新增 Gitea 工作流程 / Runner 健康合約區塊;不新增任何執行、部署、通知、workflow 或 runner 操作按鈕。
|
||||
- 目前數字:Gitea workflows `9`;schedule `2`;workflow_dispatch `7`;notify bridge `6`;actionable / failure quiet workflows `2`;runner contracts `4`;runner contract action_required `1`;仍需 runner owner attestation 的 workflow `8`;notification contracts `6`;quiet success contracts `2`;automation backlog done `18/23`、overall `78%`、P1 `86%`;inventory tasks `28`。
|
||||
- 本地驗證:JSON parse 通過;Gitea workflow / runner health、automation inventory、automation backlog 目標 pytest `23 passed`;Python py_compile 通過;zh-TW / en i18n key 差異 `0`;web typecheck 通過;`source-control-owner-response-guard.py`、`security-mirror-progress-guard.py`、`git diff --check` 通過;本地 API readback 回 `gitea_workflow_runner_health_v1`、current `P1-002`、next `P1-003`、workflows `9`。
|
||||
- 本機 Web build / browser smoke:受本機磁碟 `99-100%` 與 `.next` cache / chunk 缺檔阻擋;編譯階段曾到 `Compiled successfully`,但 page-data / dev runtime 受殘留 chunk `194.js`、`@swc/helpers` 與 `server-development/0.pack.gz` 缺檔影響。正式 build 與頁面驗證改由 Gitea CD / production smoke 判定。
|
||||
- 本地驗證:JSON parse 通過;Gitea workflow / runner health、automation inventory、automation backlog 目標 pytest `23 passed`;Python py_compile 通過;zh-TW / en i18n key 差異 `0`;web typecheck 通過;Next production build 通過;`source-control-owner-response-guard.py`、`security-mirror-progress-guard.py`、`git diff --check` 通過;本地 API readback 回 `gitea_workflow_runner_health_v1`、current `P1-002`、next `P1-003`、workflows `9`。
|
||||
- 本機 Web build / browser smoke:本機磁碟曾只剩 `124MiB`,導致 `.next` cache / chunk 半寫入;已清 build cache 並重新 build。以 standalone server 驗證 `/zh-TW/governance?tab=automation-inventory` desktop `1440x1200` 與 mobile `390x1200` smoke 通過,四個 agents API 皆 `200`,`Gitea 工作流程 / Runner 健康合約`、`P1-002`、`P1-003`、`9`、`8`、`不可誤讀合約` 可見;`horizontalOverflow=false`、overflowing elements `0`、禁止操作按鈕 `0`;截圖:`/tmp/awoooi-p1-002-gitea-health-local-desktop.png`、`/tmp/awoooi-p1-002-gitea-health-local-mobile.png`。
|
||||
|
||||
**下一步:**
|
||||
1. 推 Gitea main,等待 code-review / CD 乾淨環境驗證,再補 production API readback 與 desktop / mobile smoke。
|
||||
|
||||
Reference in New Issue
Block a user