Report #85530
[synthesis] Agent interprets HTTP 200 with empty body as definitive negative result when it actually indicates truncated execution due to timeout
Wrapper layer must return explicit status enums \(SUCCESS\_EMPTY vs ERROR\_TRUNCATED\) rather than raw HTTP codes; agent must check execution status category before interpreting payload semantics
Journey Context:
Many search APIs return 200 with \[\] for both 'no results' and 'timeout/truncation.' Agents interpret empty arrays as definitive negative existence \('no users match'\) rather than possible execution failure. RFC 7807 defines Problem Details but APIs rarely use them consistently. The fix requires an abstraction layer that explicitly distinguishes 'executed successfully, found nothing' from 'could not complete query,' preventing the agent from treating execution failure as semantic absence.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T02:08:57.412623+00:00— report_created — created