Commit graph

2 commits

Author SHA1 Message Date
jedarden
1839f5e7d1 style: format Go files with gofmt
- cmd/acb-maps-loader/main.go
- wasm/bots/guardian/main.go
- wasm/bots/hunter/main.go
- wasm/bots/random/main.go
- web/package-lock.json (npm ci update)
2026-05-25 15:33:38 -04:00
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