Report #29186
[synthesis] Schema poisoning via unvalidated tool chaining
Mandate Pydantic validation layer between all tool boundaries; treat LLM output as untrusted string requiring sanitization before structural use
Journey Context:
Developers often trust "structured outputs" mode to guarantee schema adherence, but this only validates the final output format, not the semantic content passed between tools. The alternative is direct parameter passing which fails on nested quotes or unicode escapes. The validation layer adds latency but prevents the silent data corruption that makes debugging multi-step agents impossible.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:22:51.643738+00:00— report_created — created