From 8305454f37c570f63c483e8ad32ea55cd8d5e9bf Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 26 May 2026 11:11:59 +0800 Subject: [PATCH] docs(logbook): record homepage drilldown deploy [skip ci] --- docs/LOGBOOK.md | 84 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/docs/LOGBOOK.md b/docs/LOGBOOK.md index b76505da..9d54e1a3 100644 --- a/docs/LOGBOOK.md +++ b/docs/LOGBOOK.md @@ -22111,3 +22111,87 @@ production frontend smoke: - 24h 完整自動修復 production claim:0%(不能宣稱真正全自動修復閉環)。 - 完整 AI 自動化管理產品化:約 98.7%,但「真正 AI 自動修復閉環」仍需補齊 execution / repair / approval / learning evidence 與 Ansible runtime gate。 + +### 2026-05-26 — T201 Homepage blueprint drill-down and mobile evidence wrapping(post-deploy) + +**背景**:T200 已把首頁從空洞入口升級成可見的 AI 自動化作戰圖,但仍只能「看流程」, +不能直接回答每一個節點由誰主責、證據來源是什麼、下一步要到哪個工作面處理。 +正式站 smoke 也順手抓到首頁 IncidentCard 的長流程證據字串會在手機版撐出水平寬度。 + +**完成變更**: + +- 首頁 Live Blueprint 每個流程節點改成 URL-driven drill-down: + `?blueprint_stage=#blueprint-stage-inspector`。 +- 新增 Stage Inspector: + - 顯示節點標題、狀態摘要、主責、證據來源、下一步。 + - 提供「打開工作面」連到實際頁面,例如 AwoooP Runs / Work Items / Approvals / KM。 + - 預設可直接定位到 `Verify / KM`,用來說明 Hermes 產草稿、owner 審核、stale ratio 回測。 +- 使用 URL 參數作為 state source of truth,避免只靠 click handler;分享連結、重新整理、深連結都能還原同一節點。 +- 補 zh-TW / en i18n,新增文案沒有硬寫在 JSX。 +- 順手修首頁 IncidentCard 技術債: + - `incident-flow-summary` 的 MCP / execution / source-ref 長證據字串可在手機版安全斷行。 + - 修掉 production smoke 抓到的 `auto_repair · auto_repair_unavailable_emergency_channel` + 造成 390px viewport 溢出的問題。 + +**validation / deployment evidence**: + +```text +local: + jq empty apps/web/messages/zh-TW.json apps/web/messages/en.json + pnpm --dir apps/web exec tsc --noEmit --tsBuildInfoFile /tmp/awoooi-home-drilldown-tsconfig.tsbuildinfo + pnpm --dir apps/web exec tsc --noEmit --tsBuildInfoFile /tmp/awoooi-home-drilldown-tsconfig-2.tsbuildinfo + pnpm --dir apps/web lint -- --file 'src/app/[locale]/page.tsx' --file src/components/incident/incident-card.tsx + pass; remaining warnings are pre-existing any / literal warnings in the old page + NEXT_PUBLIC_API_URL=https://awoooi.wooo.work pnpm --dir apps/web run build + pass; /[locale] = 24.2 kB, Sentry warnings are pre-existing + Playwright localhost: + url=/zh-TW?blueprint_stage=verify#blueprint-stage-inspector + inspector visible = true + Verify / KM visible = true + Hermes 產草稿 visible = true + mobile sidebar width=64, main margin-left=64px + mobile document/body scrollWidth=390, viewport=390 + mobile visible horizontal offenders=0 + mobile scrollTop 0 -> 900 + +gitea: + 2186 CD success + 2187 code-review success + 2188 CD success + 2189 code-review success + +commits: + 6aec9489 feat(web): add homepage blueprint drilldown + 15f9d3af fix(web): wrap incident flow evidence on mobile + +production frontend smoke: + https://awoooi.wooo.work/zh-TW?blueprint_stage=verify#blueprint-stage-inspector + console_errors = 0 + desktop: + inspector=true, Verify/KM=true, Hermes draft=true, owner review=true, open target=true + document/body scrollWidth=1440, viewport=1440, visible horizontal offenders=0 + sidebar width=224, main margin-left=224px + scrollTop 0 -> 900, scrollHeight=4357, clientHeight=892 + mobile: + inspector=true, Verify/KM=true, Hermes draft=true, owner review=true, open target=true + document/body scrollWidth=390, viewport=390, visible horizontal offenders=0 + sidebar width=64, main margin-left=64px + scrollTop 0 -> 900, scrollHeight=9278, clientHeight=776 +``` + +**目前整體進度(post-deploy)**: + +- 首頁產品化工作地圖:約 98.7%。 +- 首頁可用性 / 導航 / 滾動:約 99.8%。 +- 專業圖像化呈現:約 92%(已可用深連結 drill-down;下一步是讓圖節點讀 live per-stage evidence)。 +- 前端 AI 自動化管理介面同步:約 99.9%。 +- Telegram outbound / callback DB coverage 可視化:約 99.9%。 +- Work Items / backlog 可追蹤性:約 97.8%。 +- AI Provider lane visibility:約 93.5%。 +- MCP / 自建 MCP 可視化:約 95.1%。 +- Sentry / SigNoz source correlation:約 94.5%。 +- KM governance:約 84.7%(stale candidate 仍需 Hermes draft + owner review 流程消化)。 +- Ansible / PlayBook 自動執行:約 0% runtime-ready(仍受 `ansible_playbook_binary_missing` gate 阻塞)。 +- 24h 完整自動修復 production claim:0%(不能宣稱真正全自動修復閉環)。 +- 完整 AI 自動化管理產品化:約 98.9%,但「真正 AI 自動修復閉環」仍需補齊 + execution / repair / approval / learning evidence 與 Ansible runtime gate。