Commit graph

3 commits

Author SHA1 Message Date
jedarden
6ea8444d04 feat(seasons): add seed migration for Season 1
Adds migration 0003_seed_seasons.sql that creates the initial
season "Season 1: The Founding" with status=active. The index
builder already has code to generate seasons/index.json from the
database (generateSeasonsIndex in generator.go, fetchSeasons in db.go).

The season starts 7 days ago and has no end date or champion yet,
allowing it to serve as the active season for the platform.

Closes: bf-4w0x
2026-05-26 13:32:29 -04:00
jedarden
e09ea5ad45 feat(maps): add seed maps for initial library (plan §3.8)
Adds 18 seed maps (3 per player count: 2, 3, 4, 6 players) to ensure
the web platform has maps to display before the map evolver runs.
Each map includes proper rotational symmetry, cores, energy nodes, and walls.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 08:18:49 -04:00
jedarden
31678beec7 Infra: Add initial SQL migration file (0001_initial.sql)
Extracts the embedded schema from cmd/acb-api/db.go into a standalone
migration file per §11.1 plan inventory. Creates all core tables:

- Core: bots, matches, match_participants, jobs, rating_history
- Season/series: seasons, season_snapshots, series, series_games
- Predictions: predictions, predictor_stats
- Maps: maps, map_scores, map_votes, map_fairness
- Evolution: programs
- Playlists: playlists, playlist_matches
- Feedback: replay_feedback, feedback_upvotes
- Enrichment: enrichment_requests

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-22 15:52:54 -04:00