Shift-Left Architecture Review for Agent-Generated PRs
Executable rules and agentic checks catch design drift before merge.
Executable rules and agentic checks catch design drift before merge.
AI agents violate architecture faster than humans can catch violations in code review.
Graph constraints turn architectural intent into merge-blocking checks.
Hidden dependency loops fail during recovery, so catch them with static rules and runtime tracing.
Machine-readable ADRs let agents see constraints and CI enforce them.
Agents write working code that quietly crosses layer boundaries.
Computed call relationships let CI block bad agent changes.
Linters, compilers, and CI gates can enforce boundaries that reviewers and agents miss.
Mutation scores expose weak tests that coverage metrics hide.
Context files speed up agents, but text alone can't carry everything.
Each uncorrected violation becomes the template for the next agent's code.
Agents reason locally, so they erode architecture in predictable ways.