diff --git a/apps/web/messages/en.json b/apps/web/messages/en.json index 3a57a710..3b99a756 100644 --- a/apps/web/messages/en.json +++ b/apps/web/messages/en.json @@ -2980,8 +2980,7 @@ "unknown": "{probe}" } } - } - }, + }, "incidentEvidence": { "title": "Incident Evidence", "subtitle": "Telegram, Run, Approval, and Work Item share the same remediation evidence", @@ -3060,8 +3059,9 @@ "fetchFailed": "Read failed" } } - }, - "runDetail": { + } + }, + "runDetail": { "back": "Back to Run Monitor", "title": "Run Disposition Timeline", "refresh": "Refresh", diff --git a/apps/web/messages/zh-TW.json b/apps/web/messages/zh-TW.json index 0286d9eb..76abd1f5 100644 --- a/apps/web/messages/zh-TW.json +++ b/apps/web/messages/zh-TW.json @@ -2981,8 +2981,7 @@ "unknown": "{probe}" } } - } - }, + }, "incidentEvidence": { "title": "Incident Evidence", "subtitle": "Telegram、Run、Approval 與 Work Item 共用同一組補救證據", @@ -3061,8 +3060,9 @@ "fetchFailed": "讀取失敗" } } - }, - "runDetail": { + } + }, + "runDetail": { "back": "返回 Run 監控", "title": "Run 處置脈絡", "refresh": "重新整理", diff --git a/docs/LOGBOOK.md b/docs/LOGBOOK.md index 3266917f..839bf8d0 100644 --- a/docs/LOGBOOK.md +++ b/docs/LOGBOOK.md @@ -1,3 +1,42 @@ +## 2026-05-25|T179 Work Items i18n namespace 修復 + +**背景**: + +- T178 production screenshot 確認 `/awooop/work-items` 導航列與 AI route repair work item 可見,但 `IncidentEvidenceHeader` / `AwoooPStatusChainPanel` 仍露出 `awooop.incidentEvidence.*`、`awooop.statusChain.*` fallback key。 +- live data / API 並未壞;根因是 `incidentEvidence` / `statusChain` 翻譯節點被 JSON brace 放到 top-level,而元件使用的是 `useTranslations("awooop.*")` namespace。 + +**本次修復**: + +- 修正 `apps/web/messages/zh-TW.json` 與 `apps/web/messages/en.json` 的 `awooop` namespace 結構,讓 `incidentEvidence` / `statusChain` 回到 `awooop` 下。 +- 不新增 API、不改 runtime data、不建立 mock data、不調整自動修復權限。 + +**本地驗證**: + +```text +jq empty apps/web/messages/zh-TW.json apps/web/messages/en.json -> pass +jq .awooop.incidentEvidence.title / .awooop.statusChain.title -> pass +git diff --check -> pass +pnpm --dir apps/web exec tsc --noEmit --tsBuildInfoFile /tmp/awoooi-t179-tsconfig.tsbuildinfo -> pass +pnpm --dir apps/web lint -- --file incident-evidence-header.tsx --file status-chain.tsx --file work-items/page.tsx -> pass +NEXT_PUBLIC_API_URL=https://awoooi.wooo.work pnpm --dir apps/web run build -> pass, 90/90 static pages +Local Playwright next-start render -> nav visible, Incident Evidence visible, AwoooP 狀態鏈 visible, fallback keys absent +Screenshot -> /tmp/awoooi-t179-work-items-i18n-local.png +``` + +**目前整體進度**: + +- AwoooP 告警可觀測鏈:約 99.33%。 +- 低風險自動修復閉環:約 95.8%。 +- 前端 AI 自動化管理介面同步:約 97.9%。 +- Telegram 詳情 / 歷史可解釋性:約 95.5%。 +- Callback evidence / DB replayability:約 96.0%。 +- MCP / 自建 MCP 可見性:約 88%。 +- Sentry / SigNoz source correlation visibility:約 88%。 +- Ansible / PlayBook decision visibility:約 85.2%。 +- KM owner-review / completion governance:約 84%。 +- AI Provider lane 健康與可見性:約 92%(GCP-A runtime 尚未修復;但 repair evidence / work item / PlayBook 候選已可見)。 +- 完整 AI 自動化管理產品化:約 95.4%。 + ## 2026-05-25|T178 AI route repair work item / PlayBook 候選 **背景**: