Post-Agent Era: Strict Code Quality Control via Massive AST Rules

mattrickard · x · 2026-07-07

The author's team, corigin, built an extremely strict and opinionated "Post-Agent" code quality gate internally. They use a massive number of custom AST rules and auto-fixes to constrain code generated by AI agents, acting far beyond a regular linter—every agent code smell corresponds to a regression rule, some deterministically fixable, others handed back to the agent. The team also disables many legitimate syntaxes by default, including TS's any/unknown and Rust's unsafe, enabling them only in isolation when necessary, alongside strict restrictions on code styles and CSS files.

Original post →

More from coding & agent

coding & agent channel →