Commit Graph
78 Commits
Author SHA1 Message Date
Jeffery 4c6c69b862 docs(ai-review): 更新對話收斂為關閉所有未解決 comment 的說明 2026-06-23 14:58:15 +08:00
Jeffery 024f1c623b docs(ai-review): 更新對話收斂三分類與防守方誤報裁決說明 2026-06-23 14:26:06 +08:00
Jeffery aeb3e74036 docs(ai-review): 更新 comment 標註與對話收斂三段式處置說明 2026-06-23 13:51:36 +08:00
Jeffery 72c773abef docs(ai-review 統計): 更新統計表為四欄新舊兩列說明 2026-06-23 13:15:58 +08:00
Jeffery 5f468c0d03 docs(ai-review 使用量): 補使用量統計流程與階段十四說明 2026-06-23 12:58:43 +08:00
Jeffery 374253d4cf docs(ai-review 對話收斂): 補階段十三 PR 對話收斂流程與驗收說明
AI / 計算版本號 (pull_request) Successful in 2s
AI / Code Review (pull_request) Failing after 2m46s
2026-06-23 11:09:50 +08:00
jiantw83 47b5b7ea5c fix(Step9): 還原嚴重問題失敗流程
AI / 計算版本號 (pull_request) Successful in 2s
AI / Code Review (pull_request) Successful in 35s
2026-06-22 15:48:19 +00:00
jiantw83 d04a256a3b docs(README): 同步 Step6 行為說明 2026-06-22 23:02:13 +08:00
jiantw83 bd89eb573f fix(Step9): 優先用 Gitea 狀態阻擋合併
AI / 計算版本號 (pull_request) Successful in 2s
AI / Code Review (pull_request) Successful in 1m39s
2026-06-22 10:32:58 +00:00
jiantw83 f83a2034a8 fix(ai-review comment): 顯示審查問題原因 2026-06-22 10:27:33 +00:00
jiantw83 4dc50941b0 docs(workflow 階段): 將前置驗證改為 Step2 2026-06-22 10:20:52 +00:00
jiantw83 1b41bdaaee docs(README): 順齊 workflow 階段編號
AI / 計算版本號 (pull_request) Successful in 2s
AI / Code Review (pull_request) Successful in 1m16s
2026-06-22 10:14:54 +00:00
jiantw83 1d21beaff5 docs(README): 更新 AI review 流程說明 2026-06-22 10:01:49 +00:00
jiantw83 6036ce45c4 docs(README): 說明 OpenCode TLS 驗證預設值
AI / 計算版本號 (pull_request) Successful in 2s
AI / Code Review (pull_request) Successful in 1m10s
2026-06-20 13:56:00 +00:00
jiantw83 46a4ff91ce docs(README): 補充 OpenCode 自簽憑證設定
AI / 計算版本號 (pull_request) Successful in 3s
AI / Code Review (pull_request) Successful in 57s
2026-06-20 13:16:00 +00:00
jiantw83 7138250b22 docs(專案說明): 移除 skill 同步相關文件 2026-06-18 08:07:27 +00:00
jiantw83 1492f1b9b4 docs(README): 補上 OpenCode server 設定說明 2026-06-17 06:51:03 +00:00
JefferyandClaude Opus 4.8 caebd2b112 feat: 嚴重問題改用 Gitea 行內 review comment 標註檔案行數
AI / 計算版本號 (pull_request) Successful in 4s
AI / Code Review (pull_request) Successful in 1m35s
每個新的嚴重問題改以行內 review comment 標註在問題所在的檔案與行數上,
留言內容為等級/審查員/建議;無法解析出行號(未標行號或一次列出多個
檔案),或行內留言失敗(該行不在 diff 範圍)時,降級為原本的一般 PR comment。

- gitea.js:新增 postPullReviewComment,呼叫 pull reviews API,以 new_position
  對應新版檔案行號、commit_id 帶 PR_HEAD_SHA
- comments.js:新增 parseLocation(支援 file:19 / file:70-82,取起始行)與
  行內留言內容組裝;postNewCriticalComments 先試行內、失敗降級,deps 可注入
- 補 11 個測試(API payload、parseLocation 各情境、行內成功與兩種降級路徑)
- README 更新流程第 7 步說明

app/ 測試 123 pass。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 14:40:36 +08:00
JefferyandClaude Opus 4.8 40ebfe99a8 feat: 前置驗證納入 git push 認證檢查
AI / 計算版本號 (pull_request) Successful in 2s
AI / Code Review (pull_request) Failing after 1m28s
git push 走 askpass + HTTP 認證,與 Gitea REST API 是兩套機制,API token
有效不代表 push 能用(曾出現 askpass 無法執行、could not read Username 而
push 失敗)。新增 git.js verifyRemoteAccess() 以相同 askpass + remote URL
跑唯讀 git ls-remote,preflight 呼叫並在失敗時 exit 1,提前攔下設定問題。

新增 git.test.js 對 verifyRemoteAccess 的測試(成功、失敗不丟例外、token
不外洩、askpass 清理)。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 13:39:04 +08:00
JefferyandClaude Opus 4.8 1b34298d4b docs: 規劃 action 啟動前置驗證所有驗證相關設定
在 README 流程新增第 0 點與設計第 11 點,並在 TODO 新增階段十二,
說明 action 啟動時集中驗證 Gitea token、comment token 與 LLM API Key
是否可用,任一失敗即 exit 1。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 10:37:11 +08:00
Jeffery 097b6fb721 feat: implement Git integration for automated repository instruction syncing and commit management 2026-05-21 11:36:11 +08:00
Jeffery e99236b893 feat: implement git repository synchronization and automated commit functionality for AI review findings 2026-05-21 10:17:01 +08:00
Jeffery e80a462d96 feat: 將 ANTIGRAVITY 加入程式 2026-05-20 10:49:34 +08:00
jiantw83 ed3b26ee3c docs: align README and TODO with current flow 2026-05-18 03:30:36 +00:00
jiantw83 b06a89f2b9 更新 README.md 2026-05-15 16:06:02 +00:00
jiantw83 bd4c3bce9e docs: align README and TODO with action flow 2026-05-15 15:20:25 +00:00
jiantw83 b0c4d5a0bc feat: split gitea comment token 2026-05-15 14:59:15 +00:00
jiantw83 066b21aa5c feat: encode ai review outcome in commit marker 2026-05-15 14:47:02 +00:00
jiantw83 4fd9a22aa0 feat: report ai review commit status 2026-05-15 14:39:15 +00:00
jiantw83 82ecbd3463 fix: detect ai review bot commits via api 2026-05-15 14:17:55 +00:00
jiantw83 9012fe64d1 chore: skip ai review bot commits 2026-05-15 14:11:21 +00:00
jiantw83 60f3a9beba fix: skip ai review bot commits 2026-05-15 14:00:59 +00:00
jiantw83 647460ea87 docs: update review guidance 2026-05-15 13:25:39 +00:00
jiantw83 222de4b369 feat: enhance findings and exclusions handling with repo state logging 2026-05-15 09:39:11 +00:00
jiantw83 c88c0d02c8 docs: clarify source branch review files 2026-05-15 06:43:20 +00:00
jiantw83 68cd124f59 docs: preserve original text in exclusions 2026-05-15 04:47:54 +00:00
jiantw83 e9f3baf95f docs: require skill sync for new platforms 2026-05-15 04:19:56 +00:00
jiantw83 7186098edf fix: restore triage skill files and keep sync non-destructive 2026-05-15 03:30:48 +00:00
jiantw83 69e3b33558 docs: describe mirror sync commit behavior 2026-05-15 03:11:41 +00:00
jiantw83 c871a27c9a docs: note skill sync overwrite behavior 2026-05-14 02:13:08 +00:00
jiantw83 4492fcbdd6 feat: sync triage skill files 2026-05-14 02:13:08 +00:00
jiantw83 3338a518fe docs: streamline triage skill triggers 2026-05-14 02:13:08 +00:00
jiantw83 098d4aea97 feat: expand diff exclusions 2026-05-14 02:13:08 +00:00
jiantw83 5478918e25 feat: add triage findings skill for managing review issues 2026-05-14 02:13:08 +00:00
jiantw83 dbc387692d chore: refine stage 7 json validation 2026-05-14 00:54:53 +00:00
jiantw83 5876154dbb refactor: optimize AI payload by reducing token usage and streamline findings structure 2026-05-13 01:39:13 +00:00
jiantw83 6c6680fd3e feat: enhance JSON format validation with backup and reset mechanism on error 2026-05-13 01:06:11 +00:00
jiantw83 49a02ebb6b feat: add JSON format validation for findings and exclusions after processing 2026-05-13 01:02:33 +00:00
jiantw83 de8de251ba feat: exclude .gitea/ directory from Git Diff analysis and update TODO 2026-05-13 00:41:12 +00:00
admin fe7381c36e 更新 README.md 2026-05-12 10:22:02 +00:00