1## Purpose2Specify saved game persistence, status, resume behavior, and progression statistics.34## Requirements56### Requirement: SQLite Save Store7PuzzleTea MUST persist game records, save payloads, run metadata, difficulty metadata, and statuses in SQLite.89#### Scenario: Create record10- **WHEN** a new puzzle is spawned11- **THEN** PuzzleTea stores the serialized game state with game type, display title, status, and run metadata1213### Requirement: Resume And Abandonment14Saved records SHALL be importable through the owning game adapter and resumable by name, including deterministic abandoned records when appropriate.1516#### Scenario: Resume abandoned deterministic puzzle17- **WHEN** a deterministic save is found for a seed-derived name18- **THEN** PuzzleTea reactivates the record instead of creating another puzzle1920### Requirement: Stats And XP21Stats MUST aggregate profile level, category XP, victory counts, daily streak state, weekly progress, and difficulty-derived XP bonuses.2223#### Scenario: Complete Elo puzzle24- **WHEN** an Elo-generated puzzle is completed25- **THEN** PuzzleTea applies XP using recorded actual Elo when available, otherwise target Elo or legacy mode weighting