ai-code-battle/cmd/acb-maps-loader
jedarden e5f5de4e64 feat(cmd): add acb-maps-loader to load map library into database
- New cmd/acb-maps-loader reads all 200 map JSON files from maps/ directory
- Transforms map files into database schema format for maps table
- Supports INSERT with ON CONFLICT for idempotent updates
- Includes tests verifying all 200 maps can be parsed
- Updates Makefile with acb-maps-loader and load-maps targets

This addresses the plan-gap where maps/ had 200 maps but only 12 were in the database.
The index-builder generates maps/index.json from the database, so loading the full
map library enables complete map index generation.

Closes: bf-4bn3

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 14:50:38 -04:00
..
main.go feat(cmd): add acb-maps-loader to load map library into database 2026-05-25 14:50:38 -04:00
main_test.go feat(cmd): add acb-maps-loader to load map library into database 2026-05-25 14:50:38 -04:00