Report #57987
[synthesis] Structured output agent silently dropping optional but critical data fields
Calculate the ratio of populated optional fields to total optional fields per generation. Alert on downward trends before required field validation fails.
Journey Context:
Teams rely on Pydantic/JSON schema validation to catch failures. However, an LLM under cognitive load \(long context, complex prompt\) will shed optional fields to save output tokens and computation. The schema validation passes because optional fields are allowed to be null, but downstream consumers of the agent's output starve for data. Tracking optional field density catches this decay before it evolves into a required field failure.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T03:49:14.904495+00:00— report_created — created