Codex was reporting exhausted quota as a retry-limit failure
GitHub·medium signal
HTTP 429 responses carrying `insufficient_quota`, `credit_balance_exhausted`, `organization_spend_limit_exceeded`, `project_spend_limit_exceeded` or `organization_usage_limit_exceeded` were all surfaced as retry-limit errors rather than usage-limit errors. PR #44492 parses the API error's `code` field and maps those five to `CodexErr::QuotaExceeded`, while `rate_limit_exceeded` and `slow_down` keep their retry-limit mapping.