Files
awoooi/apps/api/tests
Your Name a0502b778e
All checks were successful
CD Pipeline / build-and-deploy (push) Successful in 9m41s
feat(auto-execute): CS3 alertmanager AI path 高信心自動執行(修法3擴展)
- CS3(alertmanager AI path)補入與 CS1 相同的 5 safety gate 自動執行邏輯
  - confidence >= 0.85 + !CRITICAL + kubectl非空 + !NO_ACTION + !DESTRUCTIVE
  - 使用 _cs3_destr_patterns(from auto_approve)做破壞性指令攔截
  - 例外包覆 try/except,不影響主流程
- 新增 test_cs3_auto_execute.py,9 tests 全通過
- CS4(LLM fallback)action=OBSERVE/confidence=0.0 → 不需要 auto-execute,維持現狀

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 19:46:56 +08:00
..