mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-01 17:00:21 +08:00
* fix: codex free accounts incorrectly marked as quota exhausted when skip_exhausted_accounts enabled - Cross-validate stored exhausted flag against window used_ratio in snapshot reader - Guard has_credits:false check with window data presence in upstream_metadata fallback - Add windows.is_empty() precondition to exhausted_by_credits in snapshot builder Free codex accounts have has_credits:false (they use window-based quotas, not credits), but the old logic treated this as credits depleted, skipping actual window usage checks. This caused all free accounts to be incorrectly marked exhausted. * test: cover codex free quota windows --------- Co-authored-by: root <root@ser488556369540.local> Co-authored-by: fawney19 <elky0401@gmail.com>