Skip to content

ci: add shared Claude and GPT PR reviews - #4

Merged
EmperorOrokuSaki merged 5 commits into
mainfrom
codex/dual-ai-review-20261006
Oct 7, 2026
Merged

EmperorOrokuSaki merged 5 commits into
mainfrom
codex/dual-ai-review-20261006

Conversation

@EmperorOrokuSaki

@EmperorOrokuSaki EmperorOrokuSaki commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Installs the standard AI review workflow for open, non-draft PRs authored by MiragePrivacy members. Claude Code and Codex CLI investigate independently and publish native reviews with separate inline findings, brief design notes and linked execution evidence.

  • Normal: GPT-6 Luna at xhigh, Claude Opus 5.5 at high.
  • review with max effort in the PR description or a member's conversation comment selects GPT-6 Astra and Claude Fable 5.1 at max.
  • Both agents receive trusted target-branch AGENTS.md/CLAUDE.md and configured Markdown skills. They can research documentation and execute code in disposable containers.
  • The workflow is generated from one central job definition and checks out a pinned private implementation. This works in both public and private repositories without calling a private reusable workflow.
  • Comments are the default; AI_REVIEW_MODE=request-changes is optional for P0/P1 findings. No automatic approvals or merging. Existing Claude mention workflows remain unchanged.
  • Analysis supports a configured larger runner and a digest-pinned prebuilt runtime image.

Merge MiragePrivacy/.github#2 first. Activation requires the two provider API keys and AI_REVIEW_MEMBERS_TOKEN with organization Members:read plus Contents:read on only MiragePrivacy/.github, the filled shared system prompt, and AI_REVIEW_ENABLED=true. Until then the workflow is dormant.

Central validation includes 56 unit tests, Actions lint, and Docker isolation/actual CLI profile smoke checks without inference spending. Live provider access and a real project investigation still require an activation smoke test.

AI review starts only after the PR author has requested review from another human organization member using GitHub's Reviewers control. Requesting a reviewer triggers the workflow; manual and maximum-effort runs obey the same gate. A past request still counts after completion or removal. Team-only requests and mentions do not qualify.

@EmperorOrokuSaki
EmperorOrokuSaki marked this pull request as ready for review October 7, 2026 14:26
@EmperorOrokuSaki
EmperorOrokuSaki merged commit 59f94a6 into main Oct 7, 2026
@ozwaldorf
ozwaldorf deleted the codex/dual-ai-review-20261006 branch October 19, 2026 23:26
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.

2 participants