The call
Send Codex Cloud the tasks it can build and test unattended, and keep exploration and debugging local.
Add @codex review as a second pass that flags only P0 and P1 issues, and require branch protection and human approval in every repository it can reach.
Codex Cloud and @codex review both hand your reviewers more to read. Cloud tasks return pull requests and reviews return comments, so each pays off only on work a person can check quickly. This guide sets which tasks to delegate, when Codex reviews, and who approves the merge.
When you need this
Worked example: splitting work between cloud and laptop
What goes to the cloud
Ken Imoto sends dependency bumps and test writing to Codex Cloud, where each task runs in a published environment while his computer sleeps.
What stays local
He keeps debugging that needs local services on his machine. One Plus user found long cloud tasks hard to trust because commands and live diffs were hard to see.
Review
Builder.io's CEO credits Codex's automatic GitHub reviews with finding real bugs. Count the findings that still reach human review per 1,000 changed lines to see whether the Code Review Rules in AGENTS.md work.
The gate
Branch protection and a human approver stay on every repository, and the team decides whether @codex fix may push to contributors' branches.
Evaluation criteria
Choose what goes to the cloud
Which tasks run in Codex Cloud, and which stay local?
Look forSend Codex Cloud well-specified work that can run unattended. Each task gets a workspace from a published environment and continues while the engineer's computer sleeps. OpenAI warns that cloud tasks can use more allowance than local messages, so keep exploration local.
Build the environment once
Can a cloud task install and test the repository without help?
Look forPublish an environment for each repository. Codex inspects it, installs dependencies, tests the workflow, and records an install script and a start skill. Review the setup report before publishing. Share the environment so colleagues use the same setup.
Set where tasks start
Where can people hand Codex a task, and whose access does it use?
Look forAssign a Linear issue to Codex or mention @Codex in a comment. Mention @ChatGPT in Slack where Cloud delegation is on and a published environment is shared with the workspace. On Enterprise, an admin enables Codex cloud chats and each integration first.
Decide when Codex reviews
Which pull requests get a Codex review, and on what trigger?
Look forRequest a review with @codex review, or turn on automatic review per repository, which needs push or admin permission on GitHub. Codex posts a standard GitHub review that flags only P0 and P1 issues. Reviews run through GitHub count as Code Review usage. Security Review, requested with @codex security review, is still a research preview in OpenAI's GitHub review docs, so keep your existing security review in place.
Write review rules
Does Codex know what your reviewers check for?
Look forAdd a Code Review Rules section to the AGENTS.md closest to the code. Start with the two or three rules reviewers repeat most, naming the risk and the safe path. Leave formatting and lint to CI. Narrow any rule that generates noise.
Keep a human on the merge
Who approves a pull request that Codex wrote, reviewed, or fixed?
Look forRequire branch protections and human approval in every repository Codex can access. A comment such as @codex fix the P1 issue starts a cloud task that can push to the branch when permitted. Decide whether that permission extends to contributors' branches.
Questions to ask vendors
- Which repositories have automatic review on, and for whose pull requests?
- Can Codex push to pull request branches, and who approves those commits?
- How much allowance does a typical cloud task use against the same task run locally? OpenAI publishes no per-task figure, so measure it on the usage dashboard during the pilot.
- When does Codex Cloud (Legacy) retire? It still carries Code Review and the Linear and GitHub integrations. OpenAI's Cloud environments page announces the deprecation with no date. Get the date and migration path from your OpenAI account team before you build review workflows on it.
Red flags
- Automatic reviews on every repository before anyone has checked which findings lead to changes.
- Pull requests that Codex wrote and Codex reviewed, merged without a human approval.
- Cloud environments that need production secrets to run tests.
- Review rules that restate lint and formatting checks.
Products in this piece
Sources
- Official documentation
- 8
- Public source
- 3
- Codex docs: Cloud
- Codex docs: Cloud environments
- Codex docs: GitHub code review
- Codex docs: AGENTS.md
- Codex docs: Use Codex in Linear
- Codex docs: Use ChatGPT in Slack
- Codex docs: Pricing
- Codex docs: Codex GitHub Action
- Ken Imoto: Claude Code vs ChatGPT Codex after a month with both (published May 14, 2026)
- insightlabs38, OpenAI Developer Community: Codex Cloud long-running task reliability (published Sep 13, 2026)
- Steve Sewell, Builder.io blog: Codex vs Claude Code (published Sep 28, 2025)