Report #52616
[counterintuitive] Structured output / JSON mode guarantees valid application state
Validate the semantic content and value ranges of JSON fields independently; treat JSON mode as a formatting constraint, not a business logic constraint.
Journey Context:
Developers enable JSON mode and assume the output will perfectly map to their database schema or state machine. JSON mode only guarantees syntactic validity \(the string parses as JSON\). The model can still hallucinate invalid enum values, output nulls for required fields, or generate strings that exceed database character limits. Syntactic correctness does not imply semantic correctness.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T18:48:31.676917+00:00— report_created — created