Commit Graph

35 Commits

Author SHA1 Message Date
Jeffery 766f2ddf40 feat: 啟動時前置驗證所有驗證相關設定
AI / 計算版本號 (pull_request) Failing after 1s
AI / Code Review (pull_request) Has been skipped
新增 app/preflight.js,在 action 啟動(Step1 之後、其餘步驟之前)集中
檢查必要環境變數、GITEA_TOKEN 讀 repo、GITEA_COMMENT_TOKEN、以及 LLM
provider/API Key(多把只要一把通過即可,Ollama 改檢查 base URL 連線)。
任一項失敗即印出原因並 exit 1,避免分析到一半或發 comment 時才失敗。

main.js 在 Step1 後呼叫 runPreflight();新增 preflight.test.js 覆蓋
成功、缺環境變數、token 無效、所有 LLM key 失敗、Ollama 等情境。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 10:41:40 +08:00
Jeffery 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 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 b1ed236720 feat: normalize exclusions format 2026-05-18 02:33:24 +00:00
jiantw83 d18c4a4a8e feat: optimize exclusion filtering 2026-05-18 02:06:36 +00:00
jiantw83 bd4c3bce9e docs: align README and TODO with action flow 2026-05-15 15:20:25 +00:00
jiantw83 ae96ead6cf docs: update stage acceptance logs 2026-05-15 04:12:33 +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 098d4aea97 feat: expand diff exclusions 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 480a0693f7 docs: update TODO acceptance status 2026-05-13 06:12:23 +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 6db660f872 refactor: update TODO stages to reflect current status and improve clarity; modify diff filtering logic in gitea.js and main.js 2026-05-13 01:12:20 +00:00
jiantw83 45468d89d3 refactor: reorganize TODO stages for clarity and update section titles 2026-05-13 01:08:04 +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
jiantw83 a6df5c4f43 feat: refactor API key handling to shuffle keys and attempt each once 2026-05-12 08:17:49 +00:00
jiantw83 1b7aeedfdb feat: support multiple API keys for LLM providers, allowing automatic key rotation on failure 2026-05-12 07:09:20 +00:00
jiantw83 181a0ccf68 docs: update README and TODO for clarity on file paths 2026-05-12 02:43:21 +00:00
jiantw83 0825f8ebbe refactor: rename Step4 to AI 排除問題過濾 2026-05-12 02:30:14 +00:00
jiantw83 7b8d71cf87 docs: update TODO stage4 description and fix findings filename typo 2026-05-12 02:30:14 +00:00
jiantw83 eba21ade27 docs: mark all TODO stages complete 2026-05-12 02:30:14 +00:00
jiantw83 bb7fa425db fix: align flow with README, add Step4 exclusions filter, fix step numbers 2026-05-12 02:30:14 +00:00
jiantw83 2460652b49 refactor: reorganize TODO stages for clarity and accuracy in workflow steps
Co-authored-by: Copilot <copilot@github.com>
2026-05-12 02:30:14 +00:00
jiantw83 d9c55ca347 chore: add newline at end of TODO.md for better formatting 2026-05-11 10:18:34 +00:00
jiantw83 8acea007e7 chore: remove duplicate log assistance note in TODO.md 2026-05-11 10:12:47 +00:00
jiantw83 59978c6fb5 fix: add newline at end of TODO.md for proper formatting 2026-05-11 09:56:10 +00:00
jiantw83 9ff521955f feat: add completion note to stage one in TODO 2026-05-11 07:59:30 +00:00
jiantw83 6e8b6492da Add initial TODO documentation for development phases and workflow processes
Co-authored-by: Copilot <copilot@github.com>
2026-05-11 07:09:37 +00:00