Report #49754
[synthesis] Multi-Agent Handoffs Drop Null Fields Causing Silent State Corruption
Use strict JSON Schema validation with \`additionalProperties: false\` and \`required\` fields at the handoff boundary, rejecting the transfer if the schema doesn't match.
Journey Context:
When Agent A outputs a complex JSON object to Agent B, LLMs often omit null or empty fields to save tokens. Agent B receives the structurally incomplete object, and rather than failing, it hallucinates defaults or changes types \(e.g., string to int\) to fill the gaps. This 'telephone game' compounds into catastrophic state corruption. Combining LLM tokenization tendencies with strict API contract requirements reveals that handoffs need rigid validation, just like microservice APIs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T13:59:36.641028+00:00— report_created — created