chore: update ai-review findings [ai-review-bot][success]
This commit is contained in:
@@ -1 +1,9 @@
|
||||
[]
|
||||
[
|
||||
{
|
||||
"level": "warning",
|
||||
"role": "Assassin",
|
||||
"location": "app/usage.test.js",
|
||||
"problem": "`extractUsage` 對不預期 payload 僅返回 `null`,過度信任 API 回應結構,可能導致計費或配額相關監控被繞過。",
|
||||
"suggestion": "增加嚴格結構驗證(Schema Validation),異常時應明確記錄並標示,而非默默忽略。"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user