Report #66622
[architecture] Agent output drifts from expected schema causing downstream deserialization failures
Enforce strict JSON Schema validation with \`additionalProperties: false\` and explicit \`required\` fields; reject any output that doesn't validate before passing to the next agent.
Journey Context:
Loose typing \(e.g., Python dicts\) causes silent failures when agents add unexpected fields or rename keys. Strict schema validation catches drift immediately at the boundary. Tradeoff: rigidity requires versioning when schema changes, and you must reject non-conforming outputs rather than coercing them. Alternative is 'permissive parsing' which fails silently in production. Use JSON Schema Draft 2020-12 with strict mode enabled.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T18:18:30.928476+00:00— report_created — created