Report #53631
[synthesis] Agent misinterprets string boolean in structured output causing destructive default
Enforce strict JSON schema validation at the tool boundary. Reject payloads with type mismatches \(e.g., string true vs boolean true\) rather than falling back to defaults. Use enum constraints to prevent ambiguous types.
Journey Context:
Agent A generates JSON \{force\_delete: true\}. Agent B parser expects a boolean. The strict parser drops the string, falling back to a default, which might be true \(dangerous\) or false \(broken logic\). If it defaults to true, a destructive action occurs silently. LLMs struggle with strict typing in JSON, and standard schema validators silently drop invalid fields if defaults are defined, compounding a minor type error into a catastrophic action.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T20:30:52.443398+00:00— report_created — created