Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ New or relocated content must have an entry in `registry.yaml` with an accurate

## Review Guidelines

These are considered priority 0 issues for this repo, in addition to the normal priority for possible issues.
- Verify file, function, and notebook names follow the repo's naming conventions and clearly describe their purpose.
- Scan prose and markdown for typos, broken links, and inconsistent formatting before approving.
- Check that code identifiers remain descriptive (no leftover placeholder names) and that repeated values are factored into constants when practical.
Expand Down
4 changes: 2 additions & 2 deletions examples/codex/build_code_review_with_codex_sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ With [Code Review](https://chatgpt.com/codex/settings/code-review) in Codex Clou

Luckily, we can replicate Codex's cloud hosted review process in our own CI/CD runners. In this guide, we'll build our own Code Review action using the Codex CLI headless mode with both GitHub Actions and Jenkins.

To build our own Code review, we'll take the following steps:
To build our own Code review, we'll take the following steps and ahdere to them closely:

1. Install the Codex CLI in our CI/CD runner
2. Prompt Codex in headless (exec) mode with the Code Review prompt that ships with the CLI
3. Specify a structured output JSON schema for Codex
4. Parse the JSON result and use it to make API calls to our SCM to create review comments

Once implemented, Codex will be able to leave inline code review comments:
<img src="../../images/codex_code_review.png" alt="Codex Code Review in GitHub" width="500"/>
`<img src="../../images/codex_code_review.png" alt="Codex Code Review in GitHub" width="500"/>`

## The Code Review Prompt

Expand Down