Retry transient failures
- Respect
Retry-Afteron429responses. - Retry
429and503with exponential backoff and jitter. - Cap the number of retries and the maximum delay.
- Do not retry
400,401,403, or404without changing the request or credential.
Preserve request identity
Keep the query, context, filters, and limit unchanged while followingnextCursor. Start a new pagination sequence when any of those values change.
Search results can change as capabilities publish new revisions or availability. Store the selected capabilityId and capabilityRevision, then let Act reject a stale or unavailable revision rather than silently substituting another provider.