ai-code-battle/scripts
jedarden 00069b1870 feat(acb-api): implement bot registration, job coordination, and replay endpoints per plan §12 Phase 4
- POST /api/register: bot registration with URL + shared secret validation
- GET /api/job: worker polls for next pending match job (authenticated)
- POST /api/job/:id/result: worker submits match result (winner, replay JSON)
- GET /api/replay/🆔 serve replay JSON from R2 warm cache (falls back to B2)
- GET /api/bot/🆔 bot profile JSON (rating, elo, record, metadata)
- GET /api/bots: leaderboard snapshot with pagination
- POST /api/ui-feedback: accept Agentation UI feedback

Authentication via Bearer token (worker API key). Shared secrets encrypted
with AES-256-GCM using ACB_ENCRYPTION_KEY.
2026-04-21 08:58:42 -04:00
..
build-wasm.sh feat(acb-api): implement bot registration, job coordination, and replay endpoints per plan §12 Phase 4 2026-04-21 08:58:42 -04:00
cloudflare-setup.sh feat(scripts): add Cloudflare setup and verification scripts 2026-03-29 14:50:08 -04:00
configure-dns.sh docs(scripts): add DNS configuration script with Cloudflare API 2026-03-29 20:12:26 -04:00
deploy-pages.sh docs(phase6): add deployment checklist and make scripts executable 2026-04-08 17:29:02 -04:00
setup-r2.sh feat(scripts): add R2 bucket setup script with custom domain config 2026-04-06 06:42:53 -04:00
verify-deployment.sh feat(scripts): add Cloudflare setup and verification scripts 2026-03-29 14:50:08 -04:00