refactor(pipeline 日誌): pipeline 日誌可讀性優化(步驟連號、輸入輸出、成敗明確) #43

Merged
jiantw83 merged 4 commits from ai-review-resolve/20260623-151524 into ai-review-resolve/20260623-110950 2026-06-23 07:18:10 +00:00
Showing only changes of commit 51585345ae - Show all commits
+9 -1
View File
@@ -1 +1,9 @@
[] [
{
"level": "warning",
"role": "Assassin",
"location": "app/usage.test.js",
"problem": "`extractUsage` 對不預期 payload 僅返回 `null`,過度信任 API 回應結構,可能導致計費或配額相關監控被繞過。",
"suggestion": "增加嚴格結構驗證(Schema Validation),異常時應明確記錄並標示,而非默默忽略。"
}
]