Repository navigation
ci: cross-review pull requests with agy and verify with Claude - #9
Open
RyoheiHashimoto wants to merge 2 commits into
Open
RyoheiHashimoto wants to merge 2 commits into
RyoheiHashimoto wants to merge 2 commits into
Conversation
On every pull request, agy (Antigravity CLI, Gemini) reviews the diff and Claude checks each finding against the code, then posts one comment on the pull request, updated on later pushes. The job fails only when the review cannot run; findings do not fail it. Drafts and pull requests from forks are skipped, since forks get no secrets. Needs the GEMINI_API_KEY and CLAUDE_CODE_OAUTH_TOKEN secrets. .github/cross-review/run.sh is a copy of the script behind the local cross-review skill. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016NTf9Pw7SBKQgkRsDWyKsd
The free tier of the Gemini API gives Gemini 3.1 Pro a quota of zero (429), and Flash models are sometimes refused as overloaded (503). When the review fails for either reason, or runs out of time while agy retries, try the next Flash model instead of failing the check. The job may now take up to an hour, since agy retries a refused model for about nine minutes before giving up. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016NTf9Pw7SBKQgkRsDWyKsd
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.
Adds a
Cross reviewworkflow. On each pull request, agy (Antigravity CLI, Gemini) reviews the diff, then Claude checks each finding against the code and posts one comment on the pull request, updated on later pushes.GEMINI_API_KEYandCLAUDE_CODE_OAUTH_TOKENsecrets, which are already set.This pull request is also the first run of the workflow.
🤖 Generated with Claude Code
https://claude.ai/code/session_016NTf9Pw7SBKQgkRsDWyKsd