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.
More from coding & agent
- 'Let an agent run wild on vague goals and it makes your code worse 9 out of 10 times' — eptwts · 2026-10-27
- LangChain to demo the in-house design agent its team uses daily, this Wednesday — LangChain · 2026-10-27
- Biotech Agent Series Day 8: A Notebook Review Agent to Auto-Audit Lab Records — nlarusstone · 2026-10-27
- Photon Launches Agent-to-Agent Messaging in iMessage for Real AI Collaboration — alvelda · 2026-10-27
- Fake-paper meme shows an agent workflow for reverse engineering trading systems into a one-person quant fund — PtrPomorski · 2026-10-27
- Codex clones Linear's core from a one-page spec in 3 minutes 28 seconds — aakashgupta · 2026-10-27