feat(playbook): generate drafts with local llm
Some checks failed
CD Pipeline / tests (push) Successful in 1m28s
Code Review / ai-code-review (push) Successful in 29s
Type Sync Check / check-type-sync (push) Failing after 2m41s
CD Pipeline / build-and-deploy (push) Successful in 8m40s
CD Pipeline / post-deploy-checks (push) Successful in 3m10s
Some checks failed
CD Pipeline / tests (push) Successful in 1m28s
Code Review / ai-code-review (push) Successful in 29s
Type Sync Check / check-type-sync (push) Failing after 2m41s
CD Pipeline / build-and-deploy (push) Successful in 8m40s
CD Pipeline / post-deploy-checks (push) Successful in 3m10s
This commit is contained in:
@@ -30,6 +30,7 @@ class PlaybookStatus(str, Enum):
|
||||
"""Playbook 狀態"""
|
||||
|
||||
DRAFT = "draft" # AI 萃取,待人工審核
|
||||
REVIEW = "review" # AI 生成且安全檢查通過,等待治理晉級
|
||||
APPROVED = "approved" # 人工核准,可用於推薦
|
||||
DEPRECATED = "deprecated" # 已棄用 (有更好方案)
|
||||
|
||||
@@ -38,6 +39,7 @@ class PlaybookSource(str, Enum):
|
||||
"""Playbook 來源"""
|
||||
|
||||
EXTRACTED = "extracted" # 從 Incident 自動萃取
|
||||
LLM_GENERATED = "llm_generated" # ADR-104: LLM 從成功案例生成
|
||||
MANUAL = "manual" # 人工建立
|
||||
YAML_RULE = "yaml_rule" # 從 alert_rules.yaml 匯入(2026-04-15 ogt)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user