記錄 Agent Actions 動態入口驗證
This commit is contained in:
@@ -36,10 +36,11 @@
|
||||
- `mcp_calls.status` CHECK 已接受 `ok/error/timeout/rate_limited/cache_only`,與 `services/mcp_router.py` 的細分狀態一致。
|
||||
- DB migration / ORM 覆蓋已有 `tests/test_migration_metadata_coverage.py` 守門,`Base.metadata.tables - migrations CREATE TABLE` 必須為空;`tests/test_ai_observability_models.py` 也鎖住 v5 observability ORM stub。
|
||||
- `incidents` 雙欄相容與 `action_plans` source/status guardrails 已在 migration 036/037 與 `tests/test_auto_heal_safety.py` 覆蓋。
|
||||
- `services/agent_actions.py` 不是死碼:`services/event_router.py` 透過 `SAFE_ACTIONS` registry 動態執行 ADR-012 L2 actions,`tests/test_agent_actions.py` 與 `tests/test_event_router.py` 已覆蓋並通過。
|
||||
|
||||
## 不可盲動
|
||||
|
||||
- `services/agent_actions.py` 的 0 靜態 caller 不代表可刪,需先確認 LLM/agent 動態 dispatch registry。
|
||||
- `services/agent_actions.py` 不能只看靜態 caller 清理;已確認它是 `SAFE_ACTIONS` 動態 dispatch 入口,未來改動必須同步更新 registry 與 EventRouter 測試。
|
||||
- `logo_circle.svg` / `logo_navbar.svg` / `logo_transparent.png` 不能只因 runtime `rg` 無引用就刪;設計文件仍規劃品牌頁、登入頁、錯誤頁使用。
|
||||
- 多個永遠 OFF feature flag 屬產品/上線策略決策,不應在清債時直接全部改 ON 或刪除。
|
||||
- `ai_calls.rag_hit` 不等同 `rag_query_log.saved_call`:跳過 LLM 的 RAG 命中應記在 `rag_query_log.saved_call`;有實際 LLM 呼叫且 caller 明確用了 RAG context 時才適合標 `ai_calls.rag_hit`。
|
||||
@@ -63,9 +64,14 @@
|
||||
- `f49413e` 記錄 EA short-circuit 遙測失敗
|
||||
- `0a75d11` 記錄 Claude 成本節流檢查失敗
|
||||
- `5625032` 記錄 AI caller registry 匯入失敗
|
||||
- `0bc6f18` 更新 Claude 盤點修補記憶
|
||||
- `3cb091f` 記錄 Observability fail-safe 區塊失敗
|
||||
- `e29529f` 校正 Observability 修補記憶 hash
|
||||
- `4e6e9bf` 綁定自動匯入日期查詢參數
|
||||
- `47c59fd` 更新自動匯入修補記憶
|
||||
- `ae79cdd` 記錄依賴盤點驗證結果
|
||||
- `2b1174a` 移出誤入的本地變更
|
||||
- `adfcccf` 補齊盤點修補 commit 清單
|
||||
- `4256a04` 記錄 Telegram 與 MCP 缺口驗證
|
||||
- `5285abe` 記錄 DB migration 覆蓋守門
|
||||
- `f9d3da5` 記錄 AutoHeal DB guardrail 驗證
|
||||
|
||||
Reference in New Issue
Block a user