* test(usage): reproduce quota loss on malformed reset metadata * fix(usage): preserve quotas with malformed reset metadata Harden resetText against structured resetsAt values: only strings and numbers reach the date parser, anything else degrades to no reset text instead of throwing inside ToPrimitive and discarding the provider. * test(usage): assert hardened reset wiring in UI regressions The resetText static check now requires the structured-input guard ahead of the date parse, keeping the countdown-from-timestamp intent while locking the malformed-metadata hardening.
4 files changedLine totals unavailable