chore(ci/ai-review): ci.yaml token 改用 secrets.TOKEN,更新 findings 並登記誤報至 exclusions
CI / AI Code Review (pull_request) Has been cancelled
CI / AI Code Review (pull_request) Has been cancelled
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
f0a42cd98d
commit
9ec221ebfd
@@ -10,5 +10,11 @@
|
||||
"role": "Leo",
|
||||
"original_finding": "main 函式過於龐大,擔任 Step1 到 Step11 的總指揮與細節實作,隨流程增加將難以閱讀與維護,建議拆成獨立函式。",
|
||||
"reason": "刻意設計:main 為線性 pipeline orchestrator,Step1~Step11 以註解清楚分段、依序執行;拆分為多函式屬風格偏好,會增加間接性與重構風險,現階段不採納(非邏輯缺陷)。"
|
||||
},
|
||||
{
|
||||
"location": "app/llm.js:232",
|
||||
"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 修復。改成回 [] 或丟例外會破壞既有呼叫鏈,且型別不一致(回傳值為字串非陣列),故不採納。"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user