OpenAI

Custom Code Review rules for Codex | OpenAI Developers

Jul 20, 2026
Custom Code Review rules for Codex | OpenAI Developers
SummaryAI, from the source post

Introduces custom repository rules within `AGENTS.md` for Codex Code Review. These rules allow teams to encode project-specific constraints, such as preserving API contracts or preventing sensitive data in logs, which are difficult to capture with deterministic tests. The post details how these rules improve code review efficiency and accuracy by providing context to coding agents and human reviewers, citing a 98% recovery rate for custom findings in internal evaluations. It also provides guidance on writing effective, scoped, and actionable rules.

More from the Agentic Execution Environment trail