Integration
Translate provider retry rules at the adapter boundary
Preserve when an error is retryable and how long callers should wait.
Two providers can use different signals for essentially the same condition, and the same status code can mean different things under different application contracts. The adapter should preserve the recovery information that a skill needs without forcing it to interpret every provider-specific response.
Normalize the action, not just the status
Return a bounded error class, whether the operation is safe to retry, and any documented delay or status lookup handle. Keep transport information available to operators. A timeout after a write may need reconciliation even if a read with the same transport failure would be safe to repeat.
Own retry behavior at one layer
Decide whether the adapter or the orchestrator owns retry scheduling for each call. Stacked retries can multiply attempts. Apply an overall deadline and respect upstream capacity. Learn how any client library behaves by default before adding another retry loop.
Test the translation table
Exercise throttling, temporary unavailability, invalid input, and a write with unknown outcome. Verify an explicit provider retry delay reaches the component that can honor it. Ensure missing or malformed delay fields fall back to bounded behavior instead of waiting indefinitely.