When an AI coding assistant suddenly stops mid-session, developers immediately ask the same question: "Is the service down, or did my usage quota just reset?"
In AI Radar Resets, we track live quota resets and credit drops across five platforms (codex, antigravity, claude, grok, and glm) on Cloudflare Workers + D1. The hardest part wasn't rendering a calendar—it was keeping unverified rumors, alpha release notes, and enterprise-only notices from polluting general developer stats.
1. Enforcing official source allowlists at the boundary
Status pages and social feeds mix real quota resets with generic outage noise (like Zoom/SSO errors or alpha package releases). In collectors.ts, every candidate URL is validated by isAuthorizedResetSourceUrl against per-platform allowlists:
- Official X handles (
OFFICIAL_RESET_X_HANDLES): only verified vendor accounts and product leads (e.g.,openai,thsottiaux,claudedevs,anthropicai,antigravity,xai,zcode_ai). - Official web domains (
OFFICIAL_RESET_HOST_RE): e.g.,openai.com/chatgpt.com,anthropic.com/claude.ai,antigravity.google/blog.google,x.ai,z.ai/bigmodel.cn. - Regex pre-filtering:
STRICT_QUOTA_SIGNAL_RErequires explicit quota/credit/rollover signals whileNOISE_EXCLUDE_REdrops meeting outages, changelogs, and account-switching tutorials before any LLM call runs.
2. Dual-timezone window parsing (America/Los_Angeles → Asia/Shanghai)
Vendors typically announce reset windows in Pacific Time ("2pm PT"), while our calendar groups events by Asia/Shanghai (bjDateString). Rather than hardcoding -8 or -7, pacificWallToMs probes both [8, 7] UTC offsets against Intl.DateTimeFormat('en-CA', { timeZone: 'America/Los_Angeles' }) so DST transitions never shift a reset onto the wrong day.
3. Separating announcements, credit drops, and enterprise-only scopes
Not every post means every user got a reset right now. In store.ts:
-
kindseparatesdirect_reset(quota window cleared) fromreset_credit(redeemable reset credits/cards, which still require user claim). -
statusevolves in place fromannounced→likely_completed→confirmed, whileisCountedResetexcludesenterprise/team-only scopes (isEnterpriseOnlyReset) and unverified rollouts (isUnverifiedResetRollout) from the 90-day general user totals.
Check the live 28-day Reset Calendar, RSS feed (/resets/feed.xml), or agent skill (/resets/skill.md) at airadar.day/resets · Watch the 34s Resets demo.