BT

Live Webinar and Q&A: Beyond the PR: The New Control Plane for Agentic Software Delivery (Sept 17, 2026) Save Your Seat

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Cloudflare Turns Engineering Standards Into an AI-Enforced Control System

Cloudflare Turns Engineering Standards Into an AI-Enforced Control System Cloudflare 将工程标准转化为人工智能强制执行的控制系统

Log in to listen to this article

Cloudflare has recently detailed how it is using AI to transform internal engineering standards from passive documentation into an actively enforced control system across the software development lifecycle. According to the report, since the beginning of 2026, its AI code reviewer has identified almost 230,000 deviations from engineering standards, with nearly 16,000 resulting in approval being withheld. Cloudflare is also applying the same approach to technical designs and incident reports, using a central repository called the Cloudflare Codex as the source of truth for its engineering standards.Cloudflare 最近详细介绍了他们如何利用人工智能,将内部工程标准从被动的文档转变为贯穿软件开发全生命周期的主动强制控制系统。据报告显示,自 2026 年初以来,其人工智能代码审查员已识别出近 23 万处偏离工程标准的行为,其中近 1.6 万处导致代码审查未获通过。Cloudflare 正将同样的方法应用于技术设计和事故报告,并使用一个名为“Cloudflare Codex”的中央存储库作为其工程标准的唯一事实来源。

The shift is not simply the use of AI for code review, but the way Cloudflare has made its engineering knowledge machine-readable and enforceable. Standards are defined through structured RFCs, with requirements classified as SHOULD or MUST and given explicit ownership and lifecycle states. New standards can initially provide recommendations before moving to enforced controls that can block changes. This creates a progression from guidance → observation → enforcement, allowing governance to become part of the development workflow rather than something engineers consult separately.这一转变不仅仅是利用人工智能进行代码审查,更在于 Cloudflare 如何使其工程知识变得可被机器读取并强制执行。标准通过结构化的 RFC(请求意见稿)进行定义,要求被划分为“应当(SHOULD)”或“必须(MUST)”,并明确了所有权和生命周期状态。新标准最初可以仅提供建议,随后再过渡到能够阻断变更的强制控制。这种从“指导”到“观察”再到“强制执行”的演进,使得治理成为开发工作流的一部分,而非工程师需要额外查阅的独立流程。

Cloudflare applies the model across multiple stages of development. AI can review technical specifications before implementation, examine code against the same standards during development, and assess incident reports afterwards. This creates a potentially powerful feedback loop: engineering standards influence how systems are designed and built, while incidents and operational experience can feed back into the standards themselves. For organizations increasingly using AI coding agents, this could be particularly valuable, as automated development increases the volume of changes that traditional human review processes must evaluate.Cloudflare 将该模型应用于开发的多个阶段。人工智能可以在实施前审查技术规范,在开发过程中根据相同标准检查代码,并在事后评估事故报告。这形成了一个潜在的强大反馈循环:工程标准影响系统的设计和构建方式,而事故和运营经验又能反哺标准本身。对于越来越多地使用人工智能编码代理的组织来说,这一点尤为重要,因为自动化开发增加了传统人工审查流程需要评估的变更数量。

The approach also reflects an important principle for engineering governance: not every rule should become a blocking rule. Cloudflare combines conventional static analysis and linters to enforce deterministic requirements, and AI for rules that require greater contextual understanding. This avoids turning the engineering platform into an enormous collection of rigid gates while still allowing genuinely important requirements to become enforceable.这种方法也体现了工程治理的一个重要原则:并非每一条规则都应成为阻断性规则。Cloudflare 将传统的静态分析和代码检查工具(Linters)结合起来以执行确定性要求,并利用人工智能处理需要更高语境理解的规则。这避免了将工程平台变成一堆僵化的门禁,同时仍能确保真正重要的要求得到强制执行。

Cloudflare isn't alone in this broader movement to use technology to speed up their engineering practices, although its implementation is relatively comprehensive. Google has long used automated engineering practices and internal tooling to enforce coding standards, testing requirements, and repository policies at scale. Netflix similarly combines automated engineering standards with its developer platform and paved-road approach, using platform capabilities to encourage, and in some cases enforce, preferred engineering practices. Uber has also developed extensive internal developer platform capabilities and automated checks for code quality, reliability, and infrastructure practices. These organizations demonstrate the broader principle of "paved roads with guardrails," where platforms make the right engineering approach the easiest.Cloudflare 并非唯一一家利用技术来加速工程实践的公司,尽管其实现方式相对全面。Google 长期以来一直使用自动化工程实践和内部工具,大规模强制执行编码标准、测试要求和存储库策略。Netflix 同样将其自动化工程标准与开发者平台及“铺设轨道(paved-road)”方法相结合,利用平台能力鼓励甚至在某些情况下强制推行首选的工程实践。Uber 也开发了广泛的内部开发者平台能力,并针对代码质量、可靠性和基础设施实践进行了自动化检查。这些组织展示了“带护栏的铺设轨道”这一更广泛的原则,即通过平台让正确的工程方法变得最容易实现。

More recently, GitHub and Microsoft have been moving toward AI-assisted governance through tools such as CodeQL, GitHub Advanced Security and Copilot coding agents. Rather than simply checking whether code compiles, these systems increasingly evaluate security, dependencies, secrets and other organizational policies. The emerging difference is that Cloudflare is attempting to extend the same concept beyond security into institutional engineering knowledge, architecture, coding practices, operational standards and incident management.最近,GitHub 和 Microsoft 正在通过 CodeQL、GitHub Advanced Security 和 Copilot 编码代理等工具,向人工智能辅助治理迈进。这些系统不再仅仅检查代码是否能编译,而是越来越多地评估安全性、依赖项、密钥和其他组织政策。目前显现出的区别在于,Cloudflare 正试图将这一概念从安全性扩展到制度化的工程知识、架构、编码实践、运营标准和事故管理领域。

The significance of Cloudflare's approach is therefore less about its particular AI reviewer and more about where engineering governance may be heading. As AI agents increasingly write, modify, and deploy software, organizations will need to encode more of their engineering principles into systems that machines can understand and enforce. The future engineering standard may not be a document that tells engineers what to do, but a policy that an AI agent can continuously evaluate, explain, and enforce.因此,Cloudflare 这种方法的意义不在于其特定的人工智能审查员,而在于工程治理未来的发展方向。随着人工智能代理越来越多地编写、修改和部署软件,组织需要将更多的工程原则编码进机器可以理解和执行的系统中。未来的工程标准可能不再是一份告诉工程师该做什么的文档,而是一套人工智能代理可以持续评估、解释和执行的策略。

About the Author

Craig Risi
BT