AI Engineering Reliability
Validation retry loop
Pattern for structured extraction failures: submit a 3-part feedback payload containing the original document, the failed JSON, and a per-field error list. Budget 3 attempts before escalating to human review or returning a degraded partial result.