Report #54912
[synthesis] Downstream agent step fails or corrupts data due to silent schema drift from upstream LLM extraction
Use strict JSON Schema validation with additionalProperties: false at the tool boundary between agent steps; reject and retry any output that fails validation before passing it to the next step.
Journey Context:
LLMs generating structured data \(JSON\) for the next step often omit optional fields or subtly change types \(e.g., string 'null' instead of null\) based on input variance. The downstream step assumes the schema is strictly adhered to and either crashes or silently defaults to bad values. The synthesis is recognizing that inter-agent communication contracts are far more fragile than human APIs. LLMs are probabilistic; they do not enforce types natively. You must treat the output of an LLM tool as untrusted user input requiring strict runtime validation, not a compiled interface.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T22:39:55.115948+00:00— report_created — created