ai-code-battle/manifests
jedarden e88c108010 feat(acb-enrichment): implement AI replay enrichment service
Implements the acb-enrichment service (plan §13.3) that generates AI
commentary for featured matches.

Key features:
- LLM client (OpenAI/Anthropic API compatible)
- Replay fetch from B2/R2 storage
- Structured commentary output (key_moments array with turn,
  description, significance, tags)
- Rate limiting to control LLM costs
- Match selection based on:
  - Minimum turn count
  - Win probability crossings
  - Upset threshold
  - Close finishes

Components:
- cmd/acb-enrichment/main.go - service entry point
- cmd/acb-enrichment/config.go - configuration from env vars
- cmd/acb-enrichment/service.go - orchestration logic
- internal/db/store.go - database access for match selection
- internal/llm/client.go - OpenAI-compatible LLM client
- internal/selector/selector.go - match selection with priority
- internal/generator/generator.go - commentary generation
- internal/storage/client.go - S3-compatible storage client
- Dockerfile - container image
- manifests/acb-enrichment-deployment.yml - K8s deployment
- metrics/metrics.go - Prometheus metrics for enrichment

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-04 02:22:28 -04:00
..
acb-bots feat(manifests): add bot-seeder to register strategy bots via POST /api/register 2026-04-23 23:27:03 -04:00
acb-api-deployment.yml fix(manifests): pin all ronaldraygun images to SHA digests, add image-updater annotations 2026-04-23 23:07:29 -04:00
acb-build.yml feat(map-evolver): bootstrap empty maps table and containerize 2026-05-02 08:05:51 -04:00
acb-enrichment-deployment.yml feat(acb-enrichment): implement AI replay enrichment service 2026-05-04 02:22:28 -04:00
acb-eventsensor.yml ci: update acb-eventsensor.yml to match deployed forgejo-webhooks EventSource 2026-04-23 23:32:54 -04:00
acb-evolved-bot-deploy-workflowtemplate.yml feat(evolver): add workflow completion polling to promoter 2026-04-22 17:46:33 -04:00
acb-evolver-deployment.yml fix(manifests): pin all ronaldraygun images to SHA digests, add image-updater annotations 2026-04-23 23:07:29 -04:00
acb-index-builder-deployment.yml fix(manifests): pin all ronaldraygun images to SHA digests, add image-updater annotations 2026-04-23 23:07:29 -04:00
acb-map-evolver-deployment.yml feat(map-evolver): bootstrap empty maps table and containerize 2026-05-02 08:05:51 -04:00
acb-matchmaker-deployment.yml fix(manifests): pin all ronaldraygun images to SHA digests, add image-updater annotations 2026-04-23 23:07:29 -04:00
acb-metrics-monitoring.yml feat(bot): add Pacifist bot (JavaScript) — non-aggressive attrition archetype 2026-04-22 16:32:50 -04:00
acb-worker-deployment.yml fix(worker): set ACB_B2_REGION to empty string for ARMOR/B2 S3-compatible API 2026-04-25 09:56:55 -04:00