Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled
問題: signal.alert_name 存的是 alert_type (如 "custom"),而非 Prometheus alertname (如 "SentryDown"),導致 playbook Jaccard 匹配永遠失敗 (NO_MATCH)。 根本原因: webhook 的 alertname_to_type mapping 將未知 alertname 轉為 "custom", 存入 signal.alert_name,但 Playbook 的 symptom_pattern.alert_names 存原始名稱。 修正: 從 signal.labels["alertname"] 讀取原始 Prometheus alertname, fallback 到 signal.alert_name (保持向下相容)。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>