Cloudflare enforces engineering standards using AI
6 hours ago
- Cloudflare built the Cloudflare Codex, a centralized repository of engineering standards, to replace scattered guidance across documentation, chat threads, and individual knowledge.
- The AI code reviewer, using Codex statements, flagged nearly 230,000 violations and blocked 16,000 merges by enforcing MUST and SHOULD requirements.
- The spec reviewer agent evaluates technical designs against Codex standards before implementation, reviewing over 600 designs since May 2026.
- The incident report reviewer checks postmortems for completeness, identifying gaps like missing action items and incomplete timelines.
- Codex standards use RFC format with mandatory metadata and are promoted from 'approved' to 'enforced' to allow time for adoption.
- Agents retrieve relevant Codex statements via structured JSON with slugs for stable tracking across systems.
- Future plans include extending Codex to more SDLC stages, non-engineering teams, and enabling agents to propose fixes autonomously.