Commit Graph
5 Commits
Author SHA1 Message Date
JefferyandClaude Opus 4.8 05178be520 fix(推送觸發 CI): 合併 push-token 進 token,findings 一律以 token 認證推送觸發 CI
node-actions/template: CI / BUILD (pull_request) Successful in 5s
CI / TEST (Claude) (pull_request) Successful in 28s
CI / TEST (Antigravity) (pull_request) Successful in 57s
CI / TEST (Codex) (pull_request) Successful in 3m10s
- 移除 push-token input,token 兼作 Gitea API 認證與 findings 推送
- commitAndPushFindings 一律以 token 明確認證推送(不走 origin 自動 token);
  只要 token 為能觸發 CI 的 PAT,結果 commit 即再觸發 PR 的 CI,避免新 head 缺檢查卡合併
- ci.yaml 三個 job 移除 push-token,保留 token: ${{ secrets.TOKEN }}

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-20 17:24:18 +08:00
JefferyandClaude Opus 4.8 8349fe8b71 fix(推送結果 commit): 帶認證推送改經 env 傳入並遮蔽 push 失敗錯誤
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-20 16:01:05 +08:00
JefferyandClaude Opus 4.8 35887f1a68 refactor(resolveMergeBase): 補抓歷史每步早停並彙整策略診斷
解決議題 #7 🟠 警告(Leo/maintainability、Rogue/efficiency):resolveMergeBase 原先無條件連做 --unshallow 與兩次 --deepen,且忽略各次 fetch 成敗、只把首次 merge-base 錯誤設為 cause。

- 改為資料驅動策略清單,每個補抓策略成功後立即重試 merge-base,一成功即回傳,避免多餘遠端往返(--unshallow 成功就不再 deepen)。
- 全部用盡才拋錯,訊息彙整各策略成功/失敗診斷(僅策略名與成敗,不含 git 原始輸出以免洩漏遠端資訊),並以 error.cause 保留首次錯誤。
- 本檔另含既有的 push-token(PAT)推送參數 pushToken(feat),維持原推送降級行為。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-20 14:59:49 +08:00
Jeffery c4c23d4531 fix(gitrepo): 補抓淺層 checkout 的 base 歷史
node-actions/template: CI / BUILD (pull_request) Successful in 4s
CI / TEST (Codex) (pull_request) Successful in 31s
CI / TEST (Claude) (pull_request) Successful in 30s
CI / TEST (Antigravity) (pull_request) Failing after 33s
2026-07-17 19:02:42 +08:00
JefferyandClaude Fable 5 d08b97bd87 feat(ai-code-review): 新增 AI 多角色 code review action(攻防審查、findings 保存、建問題模式)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 16:53:27 +08:00