feat: multi-agent parallel code review#4
Merged
Merged
Conversation
Add parallel review mode that dispatches specialized dimension sub-agents (code-quality, security, performance, testing, documentation) and collects results into a unified report. Includes dimension prompt templates with bilingual support (zh/en) and orchestrator prompt for coordinating sub-agents. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Merge origin/main into ci/add-opencode-review, combining toggle-auto-review and parallel dimension sub-agent imports. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
可合并 PR 实现了多代理并行代码审查功能,架构清晰(orchestrator + dimension sub-agents),双语 prompt 设计合理,与现有代码风格一致。 阻塞项:无 建议项:
|
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Bun shell template literals don't support variable command interpolation,
causing "undefined is not a function" errors. Wrap all git commands in
`bash -c ${cmd}` to avoid the issue.
Also dedup dimension config with Set and extract shared report format
constants in agent.ts.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
可合并 PR 实现了多代理并行代码审查功能,架构设计合理(orchestrator + dimension sub-agents),双语 prompt 覆盖完整,与现有代码风格一致,无明显逻辑错误或安全问题。 阻塞项:无 建议项:
|
|
可合并 PR 实现了多代理并行代码审查功能,架构设计合理(orchestrator + dimension sub-agents),双语 prompt 覆盖完整,与现有代码风格一致,无明显逻辑错误或安全问题。 阻塞项:无 建议项:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
parallelconfig option (default:true) to toggle between single-agent and multi-agent modesTest plan
parallel: truespawns dimension sub-agents correctlyparallel: falsefalls back to single-agent reviewdimensionsandlanguageconfig combinations🤖 Generated with Claude Code