Skip to content

chore: Codex AGENTS.md and Gemini Code Assist config (mention-only) - #546

Draft
r-uben wants to merge 1 commit into
mainfrom
cursor/advisory-reviewer-config-e0dd
Draft

chore: Codex AGENTS.md and Gemini Code Assist config (mention-only)#546
r-uben wants to merge 1 commit into
mainfrom
cursor/advisory-reviewer-config-e0dd

Conversation

@r-uben

@r-uben r-uben commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Summary

Prepares the repo for mention-only advisory reviewers on GitHub:

  • Codex GitHub Code Review reads root AGENTS.md (## Code Review Rules with ### items).
  • Gemini Code Assist reads .gemini/config.yaml and .gemini/styleguide.md.

gitty triggers @codex review or /gemini review when it wants a second opinion. Neither bot auto-reviews every PR.

Changes

File Purpose
AGENTS.md Codex review rules distilled from CLAUDE.md / .codex/agents/socr-reviewer.toml
.gemini/config.yaml code_review.disable: false, auto review off on PR open (pull_request_opened.code_review/summary/help: false), comment_severity_threshold: HIGH
.gemini/styleguide.md Same durable checks in Gemini style-guide voice
.gitignore Allowlist AGENTS.md and .gemini/styleguide.md (repo ignores *.md by default)

Out of scope (by design)

  • No product code, tests, or CI workflow changes
  • No gemini.yml GitHub Actions workflow
  • No Codex GitHub App install files (connected in ChatGPT UI)

Verification

  • AGENTS.md has five ### rules under ## Code Review Rules
  • .gemini/config.yaml YAML parses; pull_request_opened.code_review: false
  • Diff is docs/config only
Open in Web Open in Cursor 

Summary by cubic

Adds mention-only advisory reviewer configs for Codex (AGENTS.md) and Gemini Code Assist (.gemini/config.yaml, .gemini/styleguide.md), and updates .gitignore so these files are tracked. Reviewers trigger only via @codex review or /gemini review; auto-review on PR open stays off.

Written for commit b846c02. Summary will update on new commits.

Review in cubic

Add root AGENTS.md with Code Review Rules for mention-only @codex review,
.gemini/config.yaml (auto review off on PR open, /gemini review still enabled),
and .gemini/styleguide.md. Extend .gitignore exceptions so AGENTS.md and
.gemini/styleguide.md are tracked.

Co-authored-by: Rubén Fernández-Fuertes <r-uben@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Sep 2, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create an environment for this repo.

@r-uben r-uben left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MERGE

Docs/config only. AGENTS.md has ## Code Review Rules with five ### items (silent data loss, real-caller tests, resume allowlists, local VLM identity, leave format to CI). .gemini/config.yaml keeps code_review.disable: false and turns off auto review/summary/help on PR open — mention-only once GCP is connected. .gitignore allowlists AGENTS.md and .gemini/styleguide.md (repo ignores *.md by default; without that the files would not ship). No product/CI/workflow changes. No gemini.yml.

Soft: CLAUDE.md still does not mention the cheat-sheet; fine for this PR. Do not merge unless Rubén asks.

@r-uben

r-uben commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

/gemini review

Smoke test from gitty: mention-only second opinion on this docs/config PR (AGENTS.md + .gemini/ mention-only). If you are listening, a short review is enough.

@r-uben

r-uben commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

Smoke test from gitty: mention-only second opinion on this docs/config PR (AGENTS.md + .gemini/ mention-only). Short review is enough.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 2, 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-02T23:31:11.376335Z b846c02 Manual request
ℹ️ 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: b846c02ce9

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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