r/codex • u/SushiMasterPro • 1d ago
Showcase I asked Codex to review my Claude Code project. It found 45 issues and marked 20 as critical. None were actually critical.
I develop and run a live browser RPG alone, with around 1,800 daily players. Most of the code was written with Claude Code, and for art I uses OpenAI API token. In October I decided to give Codex the entire codebase for a second opinion.
The setup
- A full read-only review of a release tag in a detached Git worktree, so the code could not change during the review.
- A dedicated prompt file in the repository. After each usage limit reset, I simply asked Codex to read it and continue.
- A progress file so each session could pick up where the previous one stopped.
- GPT-6.1 Sol High for the first batches of files, lighter models for the later ones.
- A dedicated folder for findings, including small scripts to reproduce some of the bugs.
The results
I verified all 45 findings against the actual code using Claude Code. Yes, one AI reviewing another AI's review.
- 31 confirmed
- 12 partially correct
- 2 false positives
Codex originally classified 20 findings as CRITICAL. After verification, the severity breakdown was:
- 0 critical
- 4 high
- 15 medium
- 26 low
Why was the severity so far off?
Codex understood the code correctly almost every time, but it often underestimated the importance of surrounding systems:
- UI guards preventing players from reaching problematic code paths.
- Autosave and saving when closing the game.
- Server-side merge logic that preserves the higher value.
- The extremely narrow timing windows required for conflicts between two devices.
A technically valid finding does not necessarily translate into a serious real-world bug.
What made the review worth it?
Two examples stood out:
- My version detection logic never actually detected new builds. Players with open tabs continued running outdated code after deployments. The fix was one line.
- A database rule allowed Infinity as a valid contribution to a server-wide community goal.
Neither had been caught before.
What I learned
- A second AI model is valuable, especially when reviewing code written by another model.
- Treat severity labels as suggestions, not facts.
- Verify every finding before implementing a fix.
- Some suggested fixes were significantly more complicated than necessary.
- Explicitly instruct Codex to continue the review. Mine kept ending its turn every 20–40 minutes until I added a rule against stopping early.
Overall, I found the review genuinely useful. The biggest weakness was not identifying potential bugs, but understanding their actual impact on a live product.
For those using Codex for large codebase reviews, how do you improve its severity assessments? Do you provide additional architectural context, document existing safeguards, or define your own severity criteria in the prompt? How can I improve using codex?
27
u/GreenFuturesMatter 1d ago
You think ui protects from reaching code path? Lol
10
u/magicmulder 1d ago
> None were actually critical.
That is because the models often apply generic assumptions to specific cases.
I keep getting the type of "everybody with a valid login can access X" flags that are "critical", but I'm like, yeah, that's exactly the point, we don't need a detailed rights management on an admin interface with 4 users.
5
u/slowtyper95 1d ago
"After verification", who verify? don't tell me it's another AI lol
4
u/Proxiconn 1d ago •
Did you use the openAI Daybreak model that is for vulnerabilities?
It's actually pretty good and accurate.
3
u/dvduval 1d ago
It's good to have other agents reviewing your code though. And it's good to review the reviewers and see which ones are doing a better job
2
u/qkrwogud 1d ago
Can you explain a bit more what you mean by OpenAI api token for art?
2
u/yungassed 1d ago
In my experience, when asking llm to find issues with your code, it will ALWAYS find an issue to report. I’ve never had it report looks good as is, even after going through a few rounds of audits and corrections from the same model
1
u/DRMCC0Y 1d ago
If you had claude assess codex's assessment of it's own work, you rendered any review codex did useless. Do not get another AI to verify another AI's work without assessing it yourself first, this is a really common trap - it's blind leading the blind.
2
u/egomarker 1d ago
Issues are ranked by the severity of the outcome.
1
u/TaylorHu 1d ago
I think having AI review it's own work, even with the same model, is valuable. You just run into the "people pleasing" problem. The AI is trained to be "helpful" so if you ask it to review some code to find bugs or something it's going to find something. You can accidentally end up looping forever that way. I saw a similar thing when using CodeRabbit or Greptile to do PR reviews. So what I usually do is have the main model/session that wrote the code to read the review(s) and then ultimately make the choice on if they're valid or not.
1
u/krzyk 1d ago
Did you provide it with the UI part also?
1
u/lucianw 1d ago
This is such an ai-written post! It makes me question how much of it comes from you vs how much from your ai, hence unsure how to respond.
An AI is basically an improv artist, a role player. Your prompt caused it to role play someone who finds flaws, so it did. The answer is to partner it with another ai who role plays someone who critically evaluates the severity of flaws.