diff --git a/docs/LOGBOOK.md b/docs/LOGBOOK.md index 98af449e..a54d2341 100644 --- a/docs/LOGBOOK.md +++ b/docs/LOGBOOK.md @@ -6,6 +6,21 @@ --- +## 📍 當前狀態 (2026-04-11 深夜 — ADR-072 全部完成 BUG-001~008) + +### ADR-072 P2 完成 (2026-04-11 深夜) + +| Bug | 說明 | Commit | +|-----|------|--------| +| BUG-007 ✅ | 確認不需修:alerts-unified.yml 全 42 規則均已有 severity label | — | +| BUG-008 ✅ | alertname_to_type 從 9→56 筆,涵蓋全部 alertname | f34fe19 | + +**ADR-072 狀態:全部完成** — 8 個 Bug 全部修復 + +**下一步**: B2 前端拓撲視覺化 / D1 models.json 集中化 / 人工操作清單 + +--- + ## 📍 當前狀態 (2026-04-11 深夜 — ADR-072 P0+P1 全修復) ### ADR-072 Bug 修復完成 (2026-04-11 深夜) diff --git a/docs/adr/ADR-072-aiops-bug-fixes.md b/docs/adr/ADR-072-aiops-bug-fixes.md index 3f3e3492..f3ac2f6c 100644 --- a/docs/adr/ADR-072-aiops-bug-fixes.md +++ b/docs/adr/ADR-072-aiops-bug-fixes.md @@ -1,6 +1,6 @@ # ADR-072: AIOps 閉環 Bug 修復清單 -> **狀態**: P0/P1 已修復,P2 待修 +> **狀態**: ✅ 全部修復完成 (BUG-001~008) > **建立**: 2026-04-11 (台北時間) > **更新**: 2026-04-11 深夜 — P0 (BUG-001/002/003) + P1 (BUG-004/005/006) 全修復並推送 Gitea > **背景**: Session 6 對 Redis DB10 + 程式碼全面審計發現 8 個系統性問題 @@ -65,13 +65,13 @@ ADR-070/071 實作完成後,Session 6 對 62 個 DecisionToken、112 個 Incid ### P2 — 下 Sprint 修復(數據品質問題) -#### BUG-007: 所有告警 severity = P3/High(label 缺失) +#### ✅ BUG-007: 所有告警 severity = P3/High(label 缺失)— 確認不需修 (2026-04-11) - **位置**: `k8s/monitoring/alerts-unified.yml` - **症狀**: 所有 62 個 DecisionToken 對應告警都是 P3(mapping: no label → P3) - **根因**: Prometheus 告警規則大部分未設 `severity` label - **修復方案**: 按告警類型補充 `severity: critical|high|warning|info` label -#### BUG-008: 69/112 incidents type = "custom" +#### ✅ BUG-008: 69/112 incidents type = "custom" (已修復 commit f34fe19) - **位置**: `apps/api/src/api/v1/webhooks.py:1103`(`alertname_to_type` 只有 9 筆) - **症狀**: 大部分告警無法觸發對應 Playbook - **根因**: `alertname_to_type` mapping 只覆蓋 9 種 K8s 告警,其他全部 → "custom"