Import & sync

Three ways league data gets in — all idempotent.

1 · Deploy backfill (screenshots → repo)

Hand screenshots or exports to Claude in a session on pipeline-infra. It writes them into tools/c2c/data/*.json, and the next deploy backfills everything here automatically. This is the primary path for team and league data.

2 · Sleeper league sync (connector)

Pulls league, teams, rosters, traded picks, and completed trades from the Sleeper API. Re-run any time — it upserts. Enter your Sleeper username so your team gets flagged as yours.

3 · Paste a data bundle

Same JSON shape as the data/ files: { league, teams, rosters, picks, trades, notes }. See tools/c2c/data/README.md for the format.