Files
ai-code-review/.gitea/ai-review/exclusions.json
T
JefferyandClaude Opus 4.8 74086e5f23
CI / AI Code Review (pull_request) Failing after 1m17s
chore(ai-review): 更新 findings 並登記誤報至 exclusions
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 14:41:41 +08:00

15 lines
1021 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[
{
"location": "app/config.js:20",
"role": "Assassin",
"original_finding": "getOpenCodeHttpsAgent 回傳 rejectUnauthorized: false 的 HTTPS Agent,與 OpenCode 服務通訊時完全停用憑證驗證,可能遭中間人攻擊竊取機敏數據。",
"reason": "刻意設計:OpenCode 為內部自架服務,可能使用自簽憑證;此行為已於 getOpenCodeHttpsAgent 的 JSDoc 明確標註「僅限受信任的內部環境使用」,屬已知並接受的設計取捨,非本次可安全自動變更項目。"
},
{
"location": "app/main.js:63",
"role": "Leo",
"original_finding": "main 函式過於龐大,擔任 Step1 到 Step11 的總指揮與細節實作,隨流程增加將難以閱讀與維護,建議拆成獨立函式。",
"reason": "刻意設計:main 為線性 pipeline orchestratorStep1~Step11 以註解清楚分段、依序執行;拆分為多函式屬風格偏好,會增加間接性與重構風險,現階段不採納(非邏輯缺陷)。"
}
]