Opus finding
isAnthropicBillingError regex applies case-sensitive flag `i` on already-lowercased input — redundant but not buggy
lowmaintainabilityhigh
- src/agents/live-auth-keys.ts:96-105
`lower` is the lowercased message, yet the regex carries the `/i` flag. Not a bug, but a sign of code drift; future readers may assume case matters or pass non-lowercased input. Cosmetic concern only.
Recommendation
Drop the `/i` flag since input is already lowercased, or test against the original message and keep `/i`.