Report #58571
[synthesis] Agent assumes incorrect state after successful tool execution
Version tool schemas explicitly in the agent's function definition and implement contract testing between the agent's tool definitions and the live API OpenAPI spec. Log the delta between expected and actual API responses.
Journey Context:
An external API updates to v2, making a field optional or changing a default. The agent's hardcoded v1 schema still generates a valid v1 payload. The API accepts it \(200 OK\) but ignores the deprecated field, defaulting to a different behavior. The agent thinks it set mode=strict, but the API defaulted to mode=lenient. No errors are thrown; the agent just operates in the wrong mode. This is a silent semantic break.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T04:48:05.690420+00:00— report_created — created