feat(flywheel): surface ai automation and code review
This commit is contained in:
@@ -6,6 +6,23 @@
|
||||
|
||||
---
|
||||
|
||||
## 2026-04-29 | Telegram AI 鏈路 + Code Review 可見化
|
||||
|
||||
統帥截圖指出 Telegram ACTION REQUIRED 卡片仍看不到 AI 自動化;另要求把 Code Review 啟動/完成通知機制納入 AWOOOI 推進項目。
|
||||
|
||||
### 完成
|
||||
- Telegram ACTION REQUIRED / Nemotron 卡片固定顯示 `AI 自動化鏈路`,露出 Router、Mode、OpenClaw、NemoTron、Hermes、ElephantAlpha 與 webhook→approval flow。
|
||||
- Incident timeline 聚合補進 ADR-090 `automation_operation_log`,讓 AI 自動化動作可回掛 incident detail。
|
||||
- 新增 Gitea Actions `Code Review` workflow:push main 後送「啟動」與「完成」Telegram 卡,完成卡列 CRITICAL/HIGH/MEDIUM/LOW、風險等級、Elephant Alpha 修復建議與 `https://mo.wooo.work/code-review/`。
|
||||
- 新增 deterministic CI reviewer,先做 secret / destructive command / `git diff --check` 掃描,輸出 sanitized JSON,不把疑似 secret 原文打到 log。
|
||||
- 新增 `/code-review/` 前端控制面,連到正確 Gitea Actions:`http://192.168.0.110:3001/wooo/awoooi/actions`。
|
||||
|
||||
### 驗證
|
||||
- `py_compile` Telegram/timeline/reviewer 通過。
|
||||
- `pytest tests/test_telegram_ai_automation_block.py tests/test_telegram_message_templates.py tests/test_incident_timeline_service.py -q` 通過。
|
||||
- `pnpm --filter @awoooi/web typecheck` 通過。
|
||||
- `.gitea/workflows/code-review.yaml` YAML parse + run shell `bash -n` 通過。
|
||||
|
||||
## 2026-04-29 | Wave B 事件處理歷程透明化
|
||||
|
||||
Codex 接續 AI 自動化 Wave B,先把「告警→AI→安全閘→執行→驗證→KM」處理鏈變成可查、可顯示、可發 Telegram 的事件 timeline。
|
||||
|
||||
Reference in New Issue
Block a user