feat(awooop): enable controlled agent apply
Some checks failed
Code Review / ai-code-review (push) Successful in 16s
CD Pipeline / tests (push) Failing after 1m37s
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:17:05 +08:00
parent c8912204ce
commit e7c368aa27
19 changed files with 1311 additions and 560 deletions

View File

@@ -1082,14 +1082,14 @@ def _format_auto_repair_status_line(
)
return (
"🧑‍🔧 <b>HANDOFF REQUIREDAI 自動修復失敗,已轉人工</b>\n"
"🔁 <b>AI RETRY QUEUEDAI 自動修復失敗,已排入下一輪修復</b>\n"
"──────────────────────\n"
f"├ 事件:<code>{safe_incident}</code>\n"
f"├ 對象:<code>{safe_target}</code>\n"
f"├ 嘗試:<code>{safe_action}</code>\n"
f"├ 原因:<code>{safe_error}</code>\n"
"├ 狀態:自動化已停止,不再重試\n"
"└ 下一步:請 SRE 依 AwoooP Run / 原告警卡處理"
"├ 狀態:AI 已排入 PlayBook / transport / verifier 修復候選,不因單次失敗停止\n"
"└ 下一步:除非命中 break-glass / secrets / data-destructive 硬閘,否則由 AI Agent 續跑"
)