Commit Graph
33 Commits
Author SHA1 Message Date
JefferyandClaude Opus 4.8 f0a42cd98d test(git): 補 commitAndPush 在 push 失敗時不中斷流程的測試
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 15:26:08 +08:00
JefferyandClaude Opus 4.8 998b5ca5ac perf(config/findings): getOpenCodeHttpsAgent 改模組單例、normalizeText 加 memoization 快取
另含 comments.js bySeverity 改用預建 LEVEL_RANK Map(隨 fix commit 一併提交)。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 15:26:08 +08:00
JefferyandClaude Opus 4.8 402630fa69 fix(json/comments): validateJSONArrayFile 先驗證再寫入避免毀損原檔、findingRow 對空值防呆
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 15:26:08 +08:00
Jeffery fbb74092cb Merge remote-tracking branch 'origin/develop' into ai-review-resolve/develop-20260626-141504 2026-06-26 15:16:40 +08:00
admin bcb07511e7 revert b6a63563ca
revert 更新 .gitea/workflows/ci.yaml
2026-06-26 07:10:50 +00:00
admin b6a63563ca 更新 .gitea/workflows/ci.yaml 2026-06-26 07:10:13 +00:00
Jeffery b8a15883ab 新增 token 參數
CI / AI Code Review (pull_request) Failing after 5m51s
2026-06-26 15:00:17 +08:00
AI Review Bot f267d9e06b chore: update ai-review findings [ai-review-bot][failure] 2026-06-26 06:43:43 +00:00
JefferyandClaude Opus 4.8 74086e5f23 chore(ai-review): 更新 findings 並登記誤報至 exclusions
CI / AI Code Review (pull_request) Failing after 1m17s
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 14:41:41 +08:00
JefferyandClaude Opus 4.8 55b5c6f68e docs(comments): 移除與 isUnclassified JSDoc 重複的冗餘行內註解
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 14:41:41 +08:00
JefferyandClaude Opus 4.8 775cc575ae test(app): 補齊 isSafeRepoPath/extractBalancedJSON/normalizeText/repairJSONArrayWithAI/格式化函式測試
為可測性 export 三個內部函式(isSafeRepoPath、extractBalancedJSON/extractJSONText、normalizeText)。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 14:41:41 +08:00
JefferyandClaude Opus 4.8 fc10ab7266 fix(git): bot commit 改用 comment token (PAT) 推送以重新觸發 workflow
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 14:41:41 +08:00
Jeffery ef8a0d61c8 update: 更新 ci 工作流 2026-06-26 14:39:44 +08:00
AI Review Bot 0b3e974a8f chore: update ai-review findings [ai-review-bot][failure] 2026-06-26 06:18:42 +00:00
JefferyandClaude Opus 4.8 3ced8fa688 chore(app): 新增 .gitignore 忽略 node_modules
CI / AI Code Review (pull_request) Failing after 1m45s
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 14:16:04 +08:00
JefferyandClaude Opus 4.8 1378f03595 docs(ai-code-review): 補齊各模組 JSDoc、指令檔逐行註解並重建 README
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 14:16:04 +08:00
JefferyandClaude Opus 4.8 303104bb20 test(test 目錄): 將 12 個單元測試移至 app/test 並更新 npm test 指令
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 14:15:55 +08:00
admin 51fd223b48 更新 .gitea/workflows/ci.yaml 2026-06-25 16:32:11 +00:00
jiantw83 8272166fde fix(review publish): 降級處理 Gitea review 批次發布失敗 2026-06-25 15:26:09 +00:00
jiantw83 afec5a9387 fix(action image): 安裝 git 供前置遠端驗證使用 2026-06-25 15:17:51 +00:00
jiantw83 a4a0f75ebc 更新 action.yaml 2026-06-25 14:56:19 +00:00
jiantw83 1a0d2b7b9b fix(action entrypoint): 修正 Docker action 啟動時的 app 路徑 2026-06-25 14:42:59 +00:00
jiantw83 acec3f2837 更新 .gitea/workflows/cd.yaml 2026-06-25 14:10:46 +00:00
jiantw83 6666cfeaa2 更新 .gitea/workflows/ci.yaml 2026-06-25 14:09:19 +00:00
jiantw83 deb35dce15 更新 .gitea/workflows/ci.yaml 2026-06-25 14:04:38 +00:00
jiantw83 108f3cb58a 更新 .gitea/workflows/cd.yaml 2026-06-25 13:59:53 +00:00
admin 88fb088eb4 更新 action.yaml 2026-06-25 13:48:44 +00:00
jiantw83 ee97848b7a fix(gitea workflows): 修正 CI 權限與 CD release-tag 版本設定 2026-06-25 10:42:38 +00:00
jiantw83 91f86369c4 fix(workflows): 修正 Gitea Actions workflow 路徑 2026-06-25 10:34:52 +00:00
jiantw83 8315e1da2a fix(gitea TLS): 固定略過憑證驗證並改用 Gitea context 2026-06-25 10:28:30 +00:00
jiantw83 65f27f544b Refactor LLM verification and update dependencies
- Removed OpenAI and related dependencies from package.json and package-lock.json.
- Simplified LLM verification logic to focus on OpenCode server.
- Updated tests to reflect changes in LLM provider handling.
- Added CI and CD workflows for automated processes in Gitea.
2026-06-25 10:17:08 +00:00
jiantw83 525f6f9350 feat: add role management and usage tracking for AI code review
- Implemented role parsing and loading from markdown files, including attributes like name, side, focus, badge, color, and personality.
- Created functions to build prompts for analysis, line location, and verdicts based on roles.
- Added tests for role management functionalities to ensure correct parsing and loading of roles.
- Developed usage tracking for AI assistant interactions, including token usage and rate limits.
- Implemented functions to extract and record usage data from various LLM providers.
- Added tests for usage tracking functionalities to validate correct accumulation and reporting of usage statistics.
2026-06-25 09:34:59 +00:00
jiantw83 120b83c904 Initial commit 2026-06-25 09:31:16 +00:00