feat(agents): route high risk through controlled automation
Some checks failed
Code Review / ai-code-review (push) Successful in 13s
CD Pipeline / tests (push) Failing after 1m8s
CD Pipeline / build-and-deploy (push) Has been skipped
CD Pipeline / post-deploy-checks (push) Has been skipped
Ansible / Reboot Recovery Contract / validate (push) Has been cancelled

This commit is contained in:
Your Name
2026-06-26 18:52:19 +08:00
parent 717f0edd33
commit e0a86b6254
65 changed files with 733 additions and 516 deletions

View File

@@ -580,7 +580,7 @@ class ConsensusEngine:
elif consensus_score >= 0.6:
risk_level = "medium"
else:
risk_level = "critical" # 共識不足,需人工審核
risk_level = "critical" # 共識不足,進 break-glass / evidence 補強
# 組合最終推理
reasoning_parts = []