Report #83514
[synthesis] Agent treats partial tool success HTTP 200 with error payload as full success causing silent data corruption
Enforce negative schema validation - define explicit error schemas that must NOT match the response not just positive success schemas
Journey Context:
Many APIs return 200 OK with status error or GraphQL returns 200 with errors array. Standard validation only checks this field exists not that error field must be absent. Agents see 200 and proceed. The fix comes from defensive programming asserting invariants. Alternatives like status code checking miss payload-level errors.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T22:45:45.711495+00:00— report_created — created