fix(awooop): surface runs ai loop action chain
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 1m3s
CD Pipeline / build-and-deploy (push) Successful in 4m33s
CD Pipeline / post-deploy-checks (push) Successful in 2m31s

This commit is contained in:
Your Name
2026-07-03 07:41:19 +08:00
parent f81debf683
commit dc4f0ecc8e
4 changed files with 621 additions and 6 deletions

View File

@@ -1,3 +1,25 @@
## 2026-07-03 — 05:05 AwoooP Runs AI Loop Agent 處置鏈首屏
**完成內容**
- `/zh-TW/awooop/runs` 新增 `AI Loop Agent 處置鏈` 首屏 panel直接聚合既有 Runs、AI alert card delivery、TG callback audit、automation quality summary、event recurrence 與 learning registry readback。
- 處置鏈把 `Sensor / Evidence → AI Lane → Candidate / Check-mode → Controlled Apply → Verifier / Rollback → KM / RAG / PlayBook` 轉成 6 節點可視化,並加上 KM、RAG、PlayBook、MCP、Verifier、AI Agent 六類資產 readback。
- 舊 `human_gate_open` / `needs_human` 顯示不再被當成人工終局Runs 首屏摘要改用 `AI 受控隊列` / `AI 補齊`,缺 PlayBook、RAG、MCP 或 verifier 時導向 controlled 補齊與 post-verifier而不是「請人工處理」。
- `humanGap` 首頁摘要文字改為 `AI 補齊缺口`,避免監控 / 告警 / Run 總覽繼續把 low / medium / high 流程導向人工預設。
**已跑驗證**
- `python3.11 -m json.tool apps/web/messages/zh-TW.json`:通過。
- `python3.11 -m json.tool apps/web/messages/en.json`:通過。
- `pnpm --dir apps/web typecheck`:通過。
- `NEXT_PUBLIC_API_URL=https://awoooi.wooo.work pnpm --dir apps/web build`:通過;`/[locale]/awooop/runs` bundle `32.3 kB` / First Load JS `275 kB`
- `pnpm --dir apps/web audit:ui-density`通過Runs route score `519`、text `402`、manual `29`、fixedTaxonomy `0`
- `python3.11 ops/runner/guard-gitea-runner-pressure.py --root .`:通過;`auto_branch_events_on_110=0``generic_runner_labels=0`
- `git diff --check`:通過。
- Playwright + Chrome local production smokedesktop `1440x1100` 與 mobile `390x900` 均通過;`AI Loop Agent 處置鏈`、6 節點、6 類資產可見panel 內禁用人工終局詞命中 `0`console error `0`page error `0`;水平溢位 `0`。截圖:`/tmp/awoooi-runs-ai-loop-agent-local-desktop-20260703.png``/tmp/awoooi-runs-ai-loop-agent-local-mobile-20260703.png`
**仍維持**
- 本輪是 UI / API readback 聚合,不寫 KM / RAG / PlayBook target不呼叫 MCP tool不發 Telegram不做 runtime applycritical / secret / destructive / reboot / firewall / active scan / paid provider / force push 仍維持 break-glass。
- 未讀 secret / token / `.env` / raw sessions / SQLite / auth未使用 GitHub / gh未重啟 host / VM / service未 Docker / Nginx / K3s / DB / firewall restart未 DROP / TRUNCATE / restore / prune / delete / force push。
## 2026-07-03 — 04:24 Public maintenance fallback location-level hardening
**完成內容**