ai-code-battle/cmd
jedarden 1796f2a27e feat(matchmaker): add series game result propagation to scheduler
The series scheduler was scheduling games and creating series_games rows,
but never updated winner_id or incremented a_wins/b_wins when individual
matches completed. This left series in perpetual "active" state since
finalizeCompletedSeries checks win counts that were never incremented.

Add updateSeriesGameResults step that:
- Finds series_games with completed matches but NULL winner_id
- Updates winner_id from match_participants
- Increments a_wins or b_wins on the series table

Called as step 0 in tickSeriesScheduler, before finalization checks.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-21 15:31:33 -04:00
..
acb-api feat(predictions): resolve predictions on match completion, add API endpoints and frontend 2026-04-21 14:08:15 -04:00
acb-evolver feat(web,cmd): enhance evolution dashboard, series/seasons pages, and matchmaker 2026-04-21 13:42:20 -04:00
acb-index-builder fix(index-builder): stream-copy web assets to avoid large-file OOM 2026-04-21 07:35:42 -04:00
acb-local feat(evolver): complete Phase 7 LLM-driven evolution implementation 2026-04-08 16:38:48 -04:00
acb-map-evolver Add map evolution pipeline (cmd/acb-map-evolver) 2026-03-29 02:35:33 -04:00
acb-mapgen Fix sin/cos math bug and add cellular automata map generation 2026-03-26 01:10:46 -04:00
acb-matchmaker feat(matchmaker): add series game result propagation to scheduler 2026-04-21 15:31:33 -04:00
acb-wasm feat(sandbox): integrate Go WASM engine with multi-player support per §13.1 2026-04-21 15:28:35 -04:00
acb-worker feat(predictions): resolve predictions on match completion, add API endpoints and frontend 2026-04-21 14:08:15 -04:00