api/internal/gamification/game_limits library

gamification.limits and gamification.storage: server-tunable byte caps.

Whole-section fallback: any malformed or out-of-range value falls the whole section back to defaults, never half-applies — mirroring Android GameLimitsConfig/GameStorageQuotas and the backend's readSection. A missing key takes the default. Never throws.

Classes

GameLimitsConfig
One skin file (3.3 MB), the whole cache (16 MB), one bridge message (64 KB).
GameStorageQuotas
Bridge storage quotas: per-value 16 KB, per-namespace 64 KB.