Java Patterns and Anti-Patterns for Agent-Driven Development. Part 2: Early Error Detection Patterns
Patterns for LLM agents: @CheckReturnValue, immutability, explicit SQL, Resilience4j, ArchUnit. The error is visible to the compiler, not in production.