Report #84352
[architecture] Downstream agent crashes parsing malformed JSON from upstream agent
Enforce JSON Schema validation with strict mode \(no additionalProperties\) and implement automatic retry loops that feed validation errors back to the producer agent with a 'JSON repair' persona.
Journey Context:
Most tutorials suggest 'ask for JSON' but skip validation. Permissive parsers \(e.g., allowing trailing commas\) mask schema drift. Strict mode catches type mismatches \(e.g., string "null" vs null\) that break strongly-typed downstream agents. Tradeoff: 50-100ms latency for validation vs hours debugging silent data corruption.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T00:10:41.943980+00:00— report_created — created