chore(ai-review 狀態): 清空已處理 findings 並登記排除項目
CI / Release Tag Version (pull_request) Successful in 6s
CI / AI Code Review (pull_request) Failing after 12s

This commit is contained in:
2026-06-29 10:49:22 +00:00
parent 45b6abacc8
commit 2703840018
2 changed files with 7 additions and 66 deletions
+6
View File
@@ -16,5 +16,11 @@
"role": "Leo",
"original_finding": "extractJSONText is returning an unexpected result; suggest returning an empty array or throwing when no JSON is found.",
"reason": "誤報:extractJSONText 的合約刻意是「盡力擷取,找不到合法 JSON 時回傳去 fence 後的原文」,呼叫端(chatJSON 等)依賴此行為再做後續解析與 AI 修復。改成回 [] 或丟例外會破壞既有呼叫鏈,且型別不一致(回傳值為字串非陣列),故不採納。"
},
{
"location": "app/config.js:25",
"role": "Bard",
"original_finding": "`getInsecureHttpsAgent` 與 `getOpenCodeHttpsAgent` 同時存在,卻指向同一個物件來源,等於替同一段旋律寫了兩個名字,容易讓後續維護者搞不清楚哪個才是正規稱呼。",
"reason": "相容性保留:`getOpenCodeHttpsAgent` 是既有公開匯出名稱,README 與測試仍引用此語意名稱;本次已補上過渡別名註解,說明新程式碼應優先使用 `getInsecureHttpsAgent`,避免破壞既有呼叫端。"
}
]