fix(web): repair awooop work item i18n namespace
All checks were successful
CD Pipeline / tests (push) Successful in 1m20s
Code Review / ai-code-review (push) Successful in 12s
CD Pipeline / build-and-deploy (push) Successful in 3m14s
CD Pipeline / post-deploy-checks (push) Successful in 1m20s

This commit is contained in:
Your Name
2026-05-25 15:10:24 +08:00
parent 6b28e1ecc1
commit cd5cabd952
3 changed files with 47 additions and 8 deletions

View File

@@ -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",

View File

@@ -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": "重新整理",

View File

@@ -1,3 +1,42 @@
## 2026-05-25T179 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-25T178 AI route repair work item / PlayBook 候選
**背景**