Skip to content

Separate pre-push patch gate from PR review agent - #191

Merged
tzhouam merged 1 commit into
mainfrom
codex/review-patch-boundary-20260926
Sep 25, 2026
Merged

tzhouam merged 1 commit into
mainfrom
codex/review-patch-boundary-20260926

Conversation

@tzhouam

@tzhouam tzhouam commented Sep 25, 2026

Copy link
Copy Markdown
Collaborator

The committed-range pre-push patch gate and the read-only PR review agent were registered from the same large step module. This mixed mutation approval with review-agent prompt and rendering control flow.

Move review.patch_gate into its own module while keeping its exact committed base/head capture, trigger evaluation, verdict, and approved-head state. The review agent remains in steps.py; package initialization registers both handlers explicitly. Update the architecture SPEC and the one test that monkeypatches the gate reviewer.

Validation: complete local Copilot suite; focused PR-step/review/ensemble/render tests; strict SPEC freshness; ruff check --select F821; git diff --check.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-25T22:26:12.599430Z c2971e3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@tzhouam
tzhouam merged commit abfbaf1 into main Sep 25, 2026
2 checks passed
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