mirror of
https://github.com/nomadkaraoke/karaoke-gen.git
synced 2026-12-02 09:58:08 +09:00
## Summary - Run AI credit evaluation in background thread when sending magic link (new users only) - Store result on magic link Firestore doc - At verify time, use pre-computed result if available, fall back to inline evaluation if not - Most users will see instant verification instead of 20s wait ## Test plan - [x] 53 anti-abuse + credit evaluation tests pass (3 new) - [x] New test: pre-computed eval skips AI call - [x] New test: verify passes pre-computed eval from magic link doc - [x] New test: verify falls back to None when no pre-computed eval - [ ] Manual test: sign up, verify welcome screen appears quickly @coderabbitai ignore 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>