EvoBot equipped with three competing guns (GF_Gun, GA_Gun, CMA_Gun) and a virtual guns selector that picks the best performer in real-time. Global-only weights — no per-enemy specialization. Improved network architecture (91→16→8→1) and full CMA-ES optimizer alongside the existing mutation-only GA.
Notes
Domain: Robocode Tank Royale, Nim language. SirRoboGarage repo, evo-bot worktree.
Skills: grilling, domain-modeling.
Predecessor maps: #61 (architecture), #74 (design decisions), #88 (checkpointing) — all closed.
Mode: plan-only. All decisions resolved in grilling session. Tickets below are implementation handoff.
Decisions locked in grilling
Global-only weights — strip per-enemy persistence entirely. One global_ga.weights, one global_cma.weights. GF_Gun is stateless (histogram rebuilt each match).
Network: 91→16→8→1 — two hidden layers (16, 8), ~1625 weights. HiddenDim as const, recompile to change.
Full CMA-ES — no separable compromise. Auto-sized λ (~24 for 1625 dims). New cmaes.nim module, does not replace ga.nim — both coexist as separate gun optimizers.
GA_Gun retained — mutation-only GA (current TOPO_Gun), same network architecture as CMA_Gun.
GF_Gun — unsegmented guess-factor histogram. No neural net. Fires from tick 1. Stateless across matches.
Virtual guns selector — angle-delta tracking (not wave-based). Trust threshold N=10 shots. Before 10 observations, GF_Gun is default. After 10, best angle-delta score wins.
Always fire — no waiting for champion. Random-init weights from tick 1, hot-swap to latest champion when evo thread delivers one.
Two evo threads — GA_Gun and CMA_Gun each run their own evolution thread concurrently.
Shared replay tape — one writer (tick loop), multiple readers (both evo threads + GF_Gun).
ADR-0002 supersedes ADR-0001. CONTEXT.md updated with new terms.
Decisions so far
All decisions resolved in charting grilling session — see list above. No individual decision tickets created; the grilling covered the full frontier.
Not yet specified
Training speed optimization — "we will work on training faster if required" (deferred until measured)
CMA-ES hyperparameter tuning beyond default λ (deferred until convergence observed)
GF_Gun segmentation (lateral velocity, distance) — upgrade path if unsegmented baseline is too weak
Out of scope
Per-enemy weight specialization (the explicit pivot away from this)
NEAT_Gun (topology evolution) — deferred until fixed-topology guns hit ceiling
Wave surfing / bullet dodging (movement system, separate effort)
Wave-based virtual gun detection (angle-delta is sufficient for now)
End-to-end RL (PPO/SAC)
Melee / multi-enemy support
## Destination
EvoBot equipped with three competing guns (GF_Gun, GA_Gun, CMA_Gun) and a virtual guns selector that picks the best performer in real-time. Global-only weights — no per-enemy specialization. Improved network architecture (91→16→8→1) and full CMA-ES optimizer alongside the existing mutation-only GA.
## Notes
Domain: Robocode Tank Royale, Nim language. SirRoboGarage repo, evo-bot worktree.
Skills: grilling, domain-modeling.
Predecessor maps: #61 (architecture), #74 (design decisions), #88 (checkpointing) — all closed.
Mode: plan-only. All decisions resolved in grilling session. Tickets below are implementation handoff.
### Decisions locked in grilling
1. **Global-only weights** — strip per-enemy persistence entirely. One `global_ga.weights`, one `global_cma.weights`. GF_Gun is stateless (histogram rebuilt each match).
2. **Network: 91→16→8→1** — two hidden layers (16, 8), ~1625 weights. `HiddenDim` as const, recompile to change.
3. **Full CMA-ES** — no separable compromise. Auto-sized λ (~24 for 1625 dims). New `cmaes.nim` module, does not replace `ga.nim` — both coexist as separate gun optimizers.
4. **GA_Gun retained** — mutation-only GA (current TOPO_Gun), same network architecture as CMA_Gun.
5. **GF_Gun** — unsegmented guess-factor histogram. No neural net. Fires from tick 1. Stateless across matches.
6. **Virtual guns selector** — angle-delta tracking (not wave-based). Trust threshold N=10 shots. Before 10 observations, GF_Gun is default. After 10, best angle-delta score wins.
7. **Always fire** — no waiting for champion. Random-init weights from tick 1, hot-swap to latest champion when evo thread delivers one.
8. **Two evo threads** — GA_Gun and CMA_Gun each run their own evolution thread concurrently.
9. **Shared replay tape** — one writer (tick loop), multiple readers (both evo threads + GF_Gun).
10. **Sliding window: 30 ticks** unchanged. 30×3 features + distance = 91 inputs.
11. **ADR-0002** supersedes ADR-0001. CONTEXT.md updated with new terms.
## Decisions so far
All decisions resolved in charting grilling session — see list above. No individual decision tickets created; the grilling covered the full frontier.
## Not yet specified
- Training speed optimization — "we will work on training faster if required" (deferred until measured)
- CMA-ES hyperparameter tuning beyond default λ (deferred until convergence observed)
- GF_Gun segmentation (lateral velocity, distance) — upgrade path if unsegmented baseline is too weak
## Out of scope
- Per-enemy weight specialization (the explicit pivot away from this)
- NEAT_Gun (topology evolution) — deferred until fixed-topology guns hit ceiling
- Wave surfing / bullet dodging (movement system, separate effort)
- Wave-based virtual gun detection (angle-delta is sufficient for now)
- End-to-end RL (PPO/SAC)
- Melee / multi-enemy support
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Destination
EvoBot equipped with three competing guns (GF_Gun, GA_Gun, CMA_Gun) and a virtual guns selector that picks the best performer in real-time. Global-only weights — no per-enemy specialization. Improved network architecture (91→16→8→1) and full CMA-ES optimizer alongside the existing mutation-only GA.
Notes
Domain: Robocode Tank Royale, Nim language. SirRoboGarage repo, evo-bot worktree.
Skills: grilling, domain-modeling.
Predecessor maps: #61 (architecture), #74 (design decisions), #88 (checkpointing) — all closed.
Mode: plan-only. All decisions resolved in grilling session. Tickets below are implementation handoff.
Decisions locked in grilling
global_ga.weights, oneglobal_cma.weights. GF_Gun is stateless (histogram rebuilt each match).HiddenDimas const, recompile to change.cmaes.nimmodule, does not replacega.nim— both coexist as separate gun optimizers.Decisions so far
All decisions resolved in charting grilling session — see list above. No individual decision tickets created; the grilling covered the full frontier.
Not yet specified
Out of scope
Child tickets
Frontier (unblocked, ready to start): A (#100), B (#101), C (#102), D (#103), E (#104), G (#106)
Superseded — scope narrowed to GA_Gun only. New wayfinder map incoming.