docs(adr-072): 全部完成 BUG-001~008

ADR-072 狀態更新為「全部修復完成」
BUG-007 確認不需修(alerts-unified.yml 全 42 規則均有 severity)
BUG-008 已修復(f34fe19)
LOGBOOK 新增 P2 完成條目 + 下一步說明

2026-04-11 Claude Sonnet 4.6 Asia/Taipei

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
OG T
2026-04-11 20:30:29 +08:00
parent f34fe19134
commit 9382814d14
2 changed files with 18 additions and 3 deletions

View File

@@ -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 深夜)

View File

@@ -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/Highlabel 缺失)
#### BUG-007: 所有告警 severity = P3/Highlabel 缺失)— 確認不需修 (2026-04-11)
- **位置**: `k8s/monitoring/alerts-unified.yml`
- **症狀**: 所有 62 個 DecisionToken 對應告警都是 P3mapping: 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"