Architecting Spec-Compliant AI Systems: Patterns and Anti-Patterns | Synapse