Enforcing Invariants in AI-Generated Code with ADRs and Contracts

AI-generated code looks correct but quietly breaks constraints you assumed were safe. Enforce invariants with ADRs and contracts the agent can't bypass.