Repository navigation
Add .github/ai-gate.yml for the AI review gate - #723
Merged
Merged
Conversation
Flipmonster
requested review from
alex-clickhouse and
mzitnik
as code owners
November 12, 2026 11:27
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
A maintainer must verify the configuration contract and enforcement of fork and sensitive-path exclusions because the centralized auto-approval gate and repository settings are unavailable for review.
No open issues 🎉
What changed in this PR
Adds repository-level configuration for the AI review gate to automatically approve eligible pull requests after a clean Cursor Bugbot review, when centrally enabled. Neither the HTTP nor TCP client is changed.
Changes:
- Selects Bugbot as the gate’s reviewer with
reviewers: [bugbot]. - Adds comments explaining the opt-in behavior and human-approval fallback when the file is absent.
| File | Description |
|---|---|
.github/ai-gate.yml |
Adds the AI review gate opt-in configuration and explanatory comments. |
Review effort: Balanced
alex-clickhouse
approved these changes
Nov 12, 2026
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
.github/ai-gate.yml. With this file in place, a pull request whose Cursor Bugbot review is clean is approved automatically, so it doesn't wait for a reviewer.Note
Low Risk
Adds CI/review automation config only; no application or security logic changes.
Overview
Adds
.github/ai-gate.ymlso this repo can use automated PR approval when Cursor Bugbot finishes a clean review (reviewers: [bugbot]). Without it, the gate still runs but a human must approve.This is opt-in configuration only; organization/repo settings still control whether auto-approval is active, and the PR description notes forks and sensitive paths (workflows, CODEOWNERS, etc.) stay human-gated.
Reviewed by Cursor Bugbot for commit 76a48e8. Bugbot is set up for automated code reviews on this repo. Configure here.