You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(gamification): align XP Rewards table with code (#12501)
The XP Rewards table in docs/frameworks/GAMIFICATION.md contained 12 entries
but the canonical XP_REWARDS Record in src/lib/gamification/xp.ts has 10.
Discrepancies:
- 3 phantom entries not in code: badge_earned, streak_milestone, referral
- 3 code entries missing from docs: model_switch, streak_bonus, badge_unlock
- Wrong XP values for token_share (5 -> 1) and daily_login (3 -> 5)
Code is the source of truth (it's what actually awards XP). Aligned the docs
table to match code exactly with matching keys, values, and descriptions
extracted from the TS interface comments.
Fixes#12501
(cherry picked from commit 49f2749)
0 commit comments