Report #49394
[synthesis] Multi-agent handoffs cause destructive defaults from minor schema drift in JSON state
Implement strict schema validation with \`additionalProperties: false\` and explicit \`required\` fields at agent handoff boundaries; reject and retry on validation failure rather than falling back to defaults.
Journey Context:
When Agent A passes state to Agent B, it often generates extra keys or omits optional ones. If Agent B's parser uses loose validation \(Postel's Law\), it might default missing fields \(e.g., \`target\_directory\` defaults to \`/\` or \`.\`\). This causes Agent B to perform destructive operations on the wrong path. Strict schema validation at the boundary forces Agent A to correct its output before Agent B acts on corrupted state, trading resilience for safety.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T13:23:25.999922+00:00— report_created — created