PI_AI_ERROR is a catch-all that can contain permanent, billable, or policy-relevant failures.Prove four independent gates.
Transient status, type, request ID, and delay.
Stable Harness failure code.
Selected route's resolved retry contract.
Durable schedule and started events.
rc.8 normal policy.
Five retries after the first request when policy is omitted.
Bounded exponential delay with 10% symmetric jitter.
Delegated without retry by default.
retryableCodes.Recognize a verified word-bounded transient marker narrowly, or normalize the provider gateway response.
Read the event pair.
Retry scheduling became durable.
The wait completed and the attempt began.
Cancellation or disposal may have won.
Classification, policy, exhaustion, or call surface won.
Primary evidence.
Keep the complete retry runbook.
The canonical guide includes the classifier table, provider and route evidence, bounded recovery, durable event interpretation, narrow source fix, collision tests, and fifteen acceptance gates.
Read the complete runbook