ai-code-battle/cmd
jedarden 3bd6ed45f9 fix(index-builder): promote recent replays from B2 to R2 warm cache
Modified bundleWarmAssetsForCycle to return the deduplicated match IDs
of warm-set replays, and added a call to promoteRecentReplays in the
build cycle. This implements plan §8.2.5: index builder promotes recent
replays from B2 cold archive to R2 warm cache.

Acceptance criteria for plan-gap bead bf-jfmo:
- /r2/replays/{id}.json.gz will return valid gzipped replay JSON once
  the Cloudflare Pages R2 bucket binding (ACB_BUCKET) is configured
- R2 bucket exists with replay objects after each build cycle
- Index builder has R2 S3 client configured (credentials via env vars)

Closes: bf-jfmo
2026-05-26 08:15:02 -04:00
..
acb-api feat(api): add GET /api/status/{bot_id} endpoint per plan §8.2 2026-05-25 16:53:03 -04:00
acb-enrichment feat(enrichment): align config with other services for K8s deployment 2026-05-25 01:44:59 -04:00
acb-evolver fix(evolver): use ConfigForPlayers for 2-player matches per plan §3.4 2026-05-24 22:35:15 -04:00
acb-index-builder fix(index-builder): promote recent replays from B2 to R2 warm cache 2026-05-26 08:15:02 -04:00
acb-local fix(cli): handle draw result without panic 2026-05-24 11:13:00 -04:00
acb-map-evolver style: apply gofmt alignment fixes across codebase 2026-05-24 10:40:33 -04:00
acb-mapgen feat(engine): add pre-generated map loading from map library 2026-05-25 14:14:27 -04:00
acb-maps-loader style: format Go files with gofmt 2026-05-25 15:33:38 -04:00
acb-matchmaker style: apply gofmt alignment fixes across codebase 2026-05-24 10:40:33 -04:00
acb-wasm style: apply gofmt alignment fixes across codebase 2026-05-24 10:40:33 -04:00
acb-worker feat(engine): add pre-generated map loading from map library 2026-05-25 14:14:27 -04:00