flâneur — a map of the web's best reading

A Practical Approach to Verifying Code at Scale

alignment.openai.com · 1,855 words · saved by 1 readers

As autonomous collaborative coding systems proliferate, the volume of produced code quickly exceeds the limits of thorough human oversight. As this gap widens, so does the risk that AI written code introduces severe bugs and vulnerabilities—whether accidentally or intentionally. We cannot assume that code-generating systems are trustworthy or correct; we must check their work. Automated code review is a practical output monitor that complements chain-of-thought monitoring, action monitoring, internal activation monitoring, behavioral testing, honesty training and other safety work as part of a defense-in-depth strategy. In this post, we share what we learned from training a dedicated, agentic code reviewer as part of gpt-5-codex and gpt-5.1-codex-max[1]. We discuss how giving the reviewer repo-wide tools and execution access improves both recall and precision, and how deployment-time considerations guide us toward high-signal settings with minimal alignment tax. These ideas aren't theo

A Practical Approach to Verifying Code at Scale ← Back to OpenAI Alignment Blog A Practical Approach to Verifying Code at Scale Dec 1, 2025 · Maja Trębacz, Sam Arnesen, Albin Cassirer, Max Johnson, Xin Lin, Thibault Sottiaux, in collaboration with the rest of the Codex team As autonomous collaborative coding systems proliferate, the volume of produced code quickly exceeds the limits of thorough human oversight. As this gap widens, so does the risk that AI written code introduces severe bugs and vulnerabilities—whether accidentally or intentionally. We cannot assume that code-generating systems

Explore this link on the map →

related reading