mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-08-10 11:13:08 +00:00
Admission and reservation were sized once to the best-ranked candidate's max cost while settlement bills the candidate that actually serves, so a failover to a pricier candidate could settle far beyond the admitted envelope and consume balance reserved by other in-flight requests. Before trying a fallback candidate, raise the reservation to its own envelope; reject candidates the key cannot cover, exactly as admission would have had they been ranked first. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>