feat: AI Pull Request action — opencode 自動產生 PR 並通過 AI review #2

Open
jiantw83 wants to merge 24 commits from ai-review-resolve/develop-20260626-114117 into develop
Showing only changes of commit ad54073690 - Show all commits
-8
View File
@@ -13,14 +13,6 @@
"problem": "Git 操作存在嚴重安全性與穩定性隱患:命令列傳遞敏感 Token(竊取風險)、使用全域 Git 配置(污染環境/權限衝突)、衝突偵測邏輯缺乏測試且復原不健壯(工作區殘留狀態)。",
"suggestion": "改用 Git 憑證輔助工具或環境變數傳遞 Token;使用 --local 設定而非 --global;針對偵測與清理邏輯補寫單元測試,引入時間戳記/UUID 確保分支唯一性,並嚴謹處理資源清理(finally 區塊)。"
},
{
"level": "warning",
"role": "Assassin",
"location": "Dockerfile:11",
"problem": "Dockerfile 中使用全域 `npm install` 存在供應鏈風險。",
"suggestion": "使用 lockfile(如 `package-lock.json`)確保依賴版本一致性,並定期審查更新。",
"is_new": false
},
{
"level": "warning",
"role": "Maya/Mage/Leo",