Skip to content

ci: cross-review pull requests with agy and verify with Claude - #9

Open
RyoheiHashimoto wants to merge 2 commits into
mainfrom
ci/cross-review
Open

RyoheiHashimoto wants to merge 2 commits into
mainfrom
ci/cross-review

Conversation

@RyoheiHashimoto

Copy link
Copy Markdown
Owner

Adds a Cross review workflow. 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.

  • The check 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, 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

RyoheiHashimoto and others added 2 commits September 15, 2026 01:59
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant