Expand description
Retry transition helper for attempt outcomes.
This module deterministically maps a completed attempt outcome to the next
run-state intent while enforcing the max_attempts hard cap.
Enums§
- Retry
Decision - Next run-state intent derived from one completed attempt.
- Retry
Decision Error - Error returned when retry decision inputs violate retry invariants.
Functions§
- can_
retry - Returns whether another attempt may be scheduled from this outcome.
- decide_
retry_ transition - Computes retry transition intent from attempt outcome and counters.