Set a retry cap for malformed LLM JSON, feed Pydantic errors back, and route failures to a dead-letter queue before a bad ...