Repository navigation
ci: add Agent Review workflow for core source PRs - #164
Merged
Merged
Conversation
Automatically triggers anthropics/claude-code-action on PRs touching
libs/{core,loop,app,worldbuilding,tools,runtime}/** or webui/**.
Posts PR review, adds ai-reviewed/needs-changes label, and blocks
merge via status check when issues are found.
Update env vars for deepseek-v4-pro model via api.deepseek.com/anthropic
Structured output: Strengths → Issues (Critical/Important/Minor) → Assessment with verdict. Added calibration guidance, project-specific architecture patterns, and C++/TS security checkpoints.
…ent Review prompt Add cpp-reviewer checks (Rule of Five, RAII, const correctness, reserve, reinterpret_cast), security-reviewer false-positive awareness, confidence-based filtering (>80%), AI-generated code addendum, and summary table with per-severity counts.
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
PR 涉及核心 C++(libs/{core,loop,app,worldbuilding,tools,runtime})或 WebUI 代码时,自动触发 anthropics/claude-code-action 进行代码审查。以 PR Review 形式贴评论,根据结果打
ai-reviewed/needs-changes标签,status check 阻挡 merge。审查维度融合了 superpowers code-reviewer 和 everything-claude-code cpp-reviewer/security-reviewer 的提示词。
Files
.github/workflows/agent-review.yml(新增)Post-Merge Setup
ANTHROPIC_AUTH_TOKENAgent Review为 required checkai-reviewed/needs-changes首次触发后自动出现