Report #50403
[synthesis] Slight format error in step 1 output cascades into completely mangled data by step 5
Insert strict schema validation between every pipeline step. Each step must declare its output schema and the receiving step must validate input against that schema before processing. Reject Postel's Law for inter-step agent communication: be strict in what you accept, not liberal. Fail fast on schema mismatches rather than attempting to coerce or adapt.
Journey Context:
Postel's Robustness Principle \('be liberal in what you accept'\) is foundational to internet protocols and made the web interoperable. But it is poison for agent pipelines. When step 1 outputs a date as '2024-1-5' instead of '2024-01-05', step 2's liberal parsing accepts it. Step 2 outputs a derived value in yet another format. By step 5, the format has drifted so far that the output is meaningless, but no single step flagged an error because each step was 'liberal' in acceptance. This is the same failure mode that led to the HTML validation movement — liberal acceptance created an interoperability mess that took years to clean up. The common wrong fix is adding format instructions to prompts \('always output dates as YYYY-MM-DD'\), which is unreliable because LLMs occasionally deviate from format instructions under context pressure. Another wrong fix is adding a final validation step at the end, which catches the error too late when recovery is expensive. The right fix is programmatic schema validation between every step, making format errors visible immediately when they are cheapest to fix.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T15:04:52.701065+00:00— report_created — created