ai-code-battle/cmd/acb-evolver/internal/db
jedarden d43cf83471 feat(evolver): island cross-pollination every 50 generations per §10.2
Adds cross-pollination logic that copies the top program from each island
to a random other island every 50 generations. When source and target
islands use different languages, the LLM translates the code. Generation
boundaries are tracked per-island to prevent duplicate events.

- New crosspoll package with boundary detection, migration, and LLM translation
- Added MaxGenerationByIsland DB query for generation counter tracking
- Integrated into RunEvolutionLoop with observability logging
- Tests for boundary logic, translation prompts, and target selection

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-22 15:13:27 -04:00
..
seeds Add validation pipeline, sandbox, and evolution DB layer (Phase 7) 2026-03-26 22:45:13 -04:00
db.go Add evaluation arena, promotion gate, and retirement policy (Phase 7) 2026-03-26 23:32:37 -04:00
programs.go feat(evolver): island cross-pollination every 50 generations per §10.2 2026-04-22 15:13:27 -04:00
programs_test.go feat(acb-evolver): add CRUD operations for programs database with island model 2026-03-29 12:08:21 -04:00
seed.go Add validation pipeline, sandbox, and evolution DB layer (Phase 7) 2026-03-26 22:45:13 -04:00
validation_log.go Add validation pipeline, sandbox, and evolution DB layer (Phase 7) 2026-03-26 22:45:13 -04:00