Renames tests/test_card_embed_evolution.py to tests/test_card_embed_refractor.py
and updates the module-level docstring to use "Refractor tier progression" /
"Refractor API" instead of "evolution progress" / "evolution API".
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- TIER_BADGES dict moved from inside get_card_embeds() to module level
- Unknown tiers now show no badge instead of silently promoting to [SF]
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Tier badges shifted to match updated spec:
T1=[BC] Base Chrome, T2=[R] Refractor, T3=[GR] Gold Refractor, T4=[SF] Superfractor
T0 (Base Card) shows no badge. All 11 tests pass.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Badge labels: [R] Refractor, [GR] Gold Refractor, [SF] Superfractor, [SF★] fully evolved
- Fix broken {e} log format strings (restore `as e` + add f-string prefix)
- Restore ruff.toml from main (branch had stripped global config)
- Update all test assertions for new badge names (11/11 pass)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add evolution tier badge to get_card_embeds() title. Fetches
evolution/cards/{id} endpoint; prepends [T1]/[T2]/[T3]/[EVO] when
current_tier > 0. API failure is silently swallowed so card display
is never broken.
Also add ruff.toml to suppress legacy star-import rules (F403/F405)
and bare-except/type-comparison rules (E722/E721) for helpers/main.py,
which predates the pre-commit hook installation.
Closes#77
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>