Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
cfb76a2
replace spatial softmax with flatten CNN (7 conv blocks) + probe fram…
Ipsedo Nov 16, 2026
5c33815
single advantage for all actions : remove separate aim credit (aim ad…
Ipsedo Nov 16, 2026
f4702f9
fix kl skip
Ipsedo Nov 16, 2026
68c41e2
fix test tanks above ground
Ipsedo Nov 16, 2026
b347e35
add trained ppo (with separated advantages, last working config curre…
Ipsedo Nov 17, 2026
4369c0c
minimap + all gamepad buttons
Ipsedo Nov 17, 2026
64ae004
smaller minimap with more alpha
Ipsedo Nov 17, 2026
edd68d0
camera orientation in minimap
Ipsedo Nov 17, 2026
cc4ee96
add new graphic parameters to GUI
Ipsedo Nov 17, 2026
81b4d6c
colored AR(1) exploration noise, canon sigma cap 0.25, kills-per-tank…
Ipsedo Nov 18, 2026
0137ae7
flank-aware aim potential for separate canon credit, group KL stop, u…
Ipsedo Nov 21, 2026
4b0a2bd
add trained model with new phi
Ipsedo Nov 21, 2026
1720af1
* add terminal state when reaching arena limits
Ipsedo Nov 21, 2026
27d0108
actor batch size to 2400
Ipsedo Nov 21, 2026
2ea2130
experimental : macos build in CI
Ipsedo Nov 21, 2026
10211f7
add trained model with new phi
Ipsedo Nov 21, 2026
dcca274
bootstrap the value on the last state at the episode time limit (GAE …
Ipsedo Nov 22, 2026
7bccaa0
update harness
Ipsedo Nov 22, 2026
86edf2d
single policy optimization group (remove aim credit, per-group KL sto…
Ipsedo Nov 22, 2026
93798c7
update golden image
Ipsedo Nov 22, 2026
65899e8
remove old parameters
Ipsedo Nov 22, 2026
db9a825
enemy presence auxiliary head on the actor and critic CNNs
Ipsedo Nov 23, 2026
f7435cc
update harness
Ipsedo Nov 23, 2026
7b61293
spatial softmax
Ipsedo Nov 24, 2026
95f1812
spatial aim action (cell + offset) for ppo, ppo_liquid and ppg
Ipsedo Nov 24, 2026
8dfe94a
update aidr spatial aim
Ipsedo Nov 24, 2026
01e7aaf
regenerate golden images
Ipsedo Nov 24, 2026
512cba9
feat(agent): add arenai_agent_match, a headless match under the deskt…
Ipsedo Nov 25, 2026
2afbb3c
docs(harness): only a game match judges a run (M7), add the game-matc…
Ipsedo Nov 25, 2026
ed3ae1e
docs(harness): ask before each commit, conventional commits, no signa…
Ipsedo Nov 25, 2026
d0e59f2
feat(probe): export aim offset entropies
Ipsedo Nov 25, 2026
6134457
revert(agent): remove presence auxiliary head, spatial softmax and sp…
Ipsedo Nov 25, 2026
838bf61
docs(harness): bound default answer length to ten lines
Ipsedo Nov 25, 2026
97f400d
feat(probe): add an approach oracle to arenai_agent_match
Ipsedo Nov 25, 2026
de88b52
feat(probe): export the nearest target's bearing and elevation gap in…
Ipsedo Nov 25, 2026
2aac912
feat(probe): add an off-field acquisition oracle to arenai_agent_match
Ipsedo Nov 25, 2026
17c7040
refactor(core): make the agent vision size a compile-time constant
Ipsedo Nov 25, 2026
b6f6175
feat(agent): add a full-turn panorama as a second vision input
Ipsedo Nov 25, 2026
a770f76
docs(harness): record the panorama decision and fix the training comm…
Ipsedo Nov 25, 2026
609d024
docs(architecture): add ARCHITECTURE.md and align the harness depende…
Ipsedo Nov 25, 2026
cd1539a
docs: add BUILD.md and USAGE.md guides and reference them from the RE…
Ipsedo Nov 25, 2026
0b95294
docs(readme): rewrite the README as a project landing page
Ipsedo Nov 25, 2026
9c0c03f
docs(decisions): record main decisions since July 2026 and drop names…
Ipsedo Nov 25, 2026
b6376c4
docs(changelog): add CHANGELOG.md for released versions v1.0.0 to v1.2.6
Ipsedo Nov 25, 2026
b65d6b6
feat(harness): add cleaner audit agent and its worktree fixer
Ipsedo Nov 25, 2026
fbce9bc
refactor(harness): make kaizen continuous improvement and move root-c…
Ipsedo Nov 25, 2026
b8b7ad4
refactor(desktop): name HUD enemy score after its max semantics
Ipsedo Nov 25, 2026
89e47f8
refactor(desktop): replace GPU selection out-parameters with a GpuCho…
Ipsedo Nov 25, 2026
f8828b3
refactor(desktop): derive GUI sizes from named constants and drop unu…
Ipsedo Nov 25, 2026
cfcc1e8
style(menu): reduce HUD and menu stylesheet comments to one-line titles
Ipsedo Nov 25, 2026
f7eb264
docs(decisions): backfill the RL decisions since the start of the RL …
Ipsedo Nov 26, 2026
585fa13
docs(architecture): document the ppg and sac networks
Ipsedo Nov 26, 2026
8b580f8
test(harness): pin the metric definitions of the skill measurement sc…
Ipsedo Nov 26, 2026
e8d8427
refactor(harness): move run notes, reports and game labels to a git-t…
Ipsedo Nov 26, 2026
26c5502
fix(probe): count each landed shell once in the shot metrics
Ipsedo Nov 26, 2026
a504b8e
refactor(harness): fold project notes into the decisions register and…
Ipsedo Nov 26, 2026
654eb54
docs(harness): announce compute time when launching a computation
Ipsedo Nov 26, 2026
e318fb2
feat(agent): aggregate the panorama feature map by the mean over rows
Ipsedo Nov 26, 2026
b8ec481
docs(harness): open chat explanations with a diagram
Ipsedo Nov 26, 2026
6e34b47
docs(harness): require a legend inside every diagram
Ipsedo Nov 26, 2026
84fa145
docs(plan): plan the panorama encoder trained by an enemy-visibility …
Ipsedo Nov 26, 2026
f2b6edc
feat(harness): add work plans handed between sessions
Ipsedo Nov 26, 2026
a64c39b
docs(plan): record the validated pieces of the panorama mask encoder
Ipsedo Nov 26, 2026
d75fec1
feat(agent): train a shared panorama encoder by an enemy-visibility mask
Ipsedo Nov 26, 2026
9c6185a
feat(harness): route every feature through a four-phase work plan
Ipsedo Nov 27, 2026
0d87475
feat(probe): add arenai_agent_render_bench
Ipsedo Nov 27, 2026
876fbe9
perf(view): draw diffuse meshes indexed
Ipsedo Nov 27, 2026
44f1243
perf(view): share meshes, sky texture and scene pipelines across rend…
Ipsedo Nov 27, 2026
5367a45
docs(harness): skip commit hooks once final-check passed
Ipsedo Nov 27, 2026
f0fb99c
docs(harness): write the knowledge base and skill script output in En…
Ipsedo Nov 27, 2026
acdb785
docs(knowledge): translate to English and import ElMatador runs
Ipsedo Nov 27, 2026
c24cef4
docs(knowledge): record run 556 probe and shots-by-range comparison
Ipsedo Nov 27, 2026
063f1e9
docs(knowledge): record run 556 gun elevation diagnosis
Ipsedo Nov 27, 2026
524db3a
docs(knowledge): record run 556 gun elevation timeline
Ipsedo Nov 27, 2026
7d99d63
docs(knowledge): record run 556 save_24 game match
Ipsedo Nov 27, 2026
a5fcba8
docs(knowledge): record run 556 early dump decomposition
Ipsedo Nov 27, 2026
0091c50
docs(knowledge): record run 556 off-target firing frames
Ipsedo Nov 27, 2026
62ba85c
feat(probe): export the best-aligned wreck of each tank
Ipsedo Nov 27, 2026
4bb13f7
docs(knowledge): record run 556 trigger on wrecks
Ipsedo Nov 27, 2026
081ce9c
style(knowledge): add missing end-of-file newlines
Ipsedo Nov 27, 2026
8022695
docs(knowledge): record run 556 wreck decoding
Ipsedo Nov 27, 2026
62077f3
docs(plan): plan the hatched rendering of wrecks
Ipsedo Nov 27, 2026
c6177f2
feat(view): draw dead tanks as hatched wrecks
Ipsedo Nov 27, 2026
617269c
docs(knowledge): record run 556 hatched wreck decoding
Ipsedo Nov 27, 2026
25164f8
fix(desktop): draw wrecks unhatched in the player view
Ipsedo Nov 27, 2026
85571b9
docs(architecture): make neural network formulas render on GitHub
Ipsedo Nov 27, 2026
4b12343
docs(harness): refer to the developer instead of by name
Ipsedo Nov 29, 2026
5ef89d1
docs(knowledge): record run 557 early game match vs 556
Ipsedo Nov 27, 2026
871e3a8
docs(knowledge): record run 557 save_14 close-range aim diagnosis
Ipsedo Nov 27, 2026
99626b6
feat(probe): export panorama mask and enemy sightings; record 557 s14…
Ipsedo Nov 27, 2026
757cffa
docs(harness): announce duration and end time for every compute launc…
Ipsedo Nov 27, 2026
3bede4e
docs(plan): plan the supervised aim mask on the main view
Ipsedo Nov 27, 2026
f1aed9b
docs(plan): record aim-mask projection, storage, network and coeffici…
Ipsedo Nov 27, 2026
1279d10
feat(agent): supervise the main-view vision with an aim mask read by …
Ipsedo Nov 27, 2026
57edb39
docs(knowledge): record run 558 aim-mask s11 probe
Ipsedo Nov 28, 2026
f6e97f1
docs(knowledge): record run 558 curriculum stall and game matches s11…
Ipsedo Nov 28, 2026
85ac440
docs(knowledge): record run 558 trigger collapse between s14 and s21
Ipsedo Nov 28, 2026
a452548
feat(probe): attribute liquid-cell gradients of each actor term to th…
Ipsedo Nov 28, 2026
7cca3de
docs(knowledge): locate run 558 trigger collapse and test a dense imp…
Ipsedo Nov 28, 2026
eb10b63
docs(knowledge): refute range aliasing as the 558 trigger-collapse cause
Ipsedo Nov 28, 2026
68102fc
docs(knowledge): record run 558 throttle collapse and weak drive inte…
Ipsedo Nov 29, 2026
d073946
feat(probe): export the drive sigma of each probed step
Ipsedo Nov 29, 2026
47b4dbe
feat(probe): replay the actor update with the drive gradient cut from…
Ipsedo Nov 29, 2026
7bc4536
docs(knowledge): record run 558 drive-cut replay
Ipsedo Nov 29, 2026
3a34930
docs(knowledge): refer to the developer instead of by name
Ipsedo Nov 29, 2026
b7c61e8
docs(plan): split the ppo_liquid actor cell into drive and aim cells
Ipsedo Nov 29, 2026
e18fb09
feat(agent): split the ppo_liquid actor into drive and aim liquid cells
Ipsedo Nov 29, 2026
6fdf9e8
docs(knowledge): record run 559 split-cell CSV analysis at 376k
Ipsedo Nov 29, 2026
e2b51fb
docs(knowledge): record run 559 save_13 probe, throttle collapse not …
Ipsedo Nov 29, 2026
ebfb2da
docs(knowledge): record run 559 s21 keep-or-revert rule
Ipsedo Nov 29, 2026
5eae48e
docs(knowledge): record run 559 save_21 probe, trigger collapse not p…
Ipsedo Nov 29, 2026
e9e59ac
revert(agent): restore the single ppo_liquid actor liquid cell
Ipsedo Nov 29, 2026
3762e12
docs(knowledge): record run 559 save_21 game match vs 558 save_21
Ipsedo Nov 29, 2026
da96f7f
docs(knowledge): record 558 trigger-collapse cuts 10-13 and the 557 s…
Ipsedo Nov 29, 2026
14a4956
docs(harness): name the problem before any solution or intervention o…
Ipsedo Nov 29, 2026
ebd341e
feat(probe): evaluate a shadow checkpoint on the acting checkpoint's …
Ipsedo Nov 29, 2026
6cf4bfb
docs(knowledge): record 558 gun-hold break before the trigger closure…
Ipsedo Nov 29, 2026
18b477e
feat(probe): attribute the canon sigma and mu to per-term actor gradi…
Ipsedo Nov 29, 2026
9b32536
docs(plan): shape the reward with a hit-probability potential, drop t…
Ipsedo Nov 29, 2026
de861f0
docs(knowledge): record the reward landscape of 557/558 and the 557 s…
Ipsedo Nov 29, 2026
36ec65f
docs(plan): drop the applied aim-mask plan
Ipsedo Nov 29, 2026
f5cc16a
docs(knowledge): record 558 cut 21 replication and the dropped aim-ma…
Ipsedo Nov 29, 2026
f4b682e
docs(plan): end the potential on GAE cuts, record the tank half sizes
Ipsedo Nov 29, 2026
8be10f6
feat(agent): shape the reward with a hit-probability potential, drop …
Ipsedo Nov 30, 2026
c6ef0fb
docs(knowledge): record run 560 potential-reward CSV analysis at 385k
Ipsedo Nov 30, 2026
5d0325b
docs(knowledge): record run 560 save_11/save_14 game match vs 558 and…
Ipsedo Nov 30, 2026
c19e87d
docs(plan): restore the flattened 7-block vision with the potential a…
Ipsedo Nov 30, 2026
05a15b7
feat(agent): restore the flattened 7-block vision encoder alongside t…
Ipsedo Nov 30, 2026
bff3476
refactor(core): drop the unused per-tank vision view-projection buffer
Ipsedo Nov 30, 2026
8469f0c
docs(knowledge): record run 561 identity and CSV at 236k
Ipsedo Nov 30, 2026
a85c6ad
docs(knowledge): record run 561 save_11/save_14 game match vs 557
Ipsedo Nov 30, 2026
0132331
docs(knowledge): record run 561 save_21 game match vs 557
Ipsedo Nov 30, 2026
3eeb877
docs(decisions): keep the hit-probability potential after run 561
Ipsedo Nov 30, 2026
2388474
feat: add trained ppo liquid
Ipsedo Nov 30, 2026
b57f0cb
docs(knowledge): record run 561 save_30 game match regression
Ipsedo Nov 30, 2026
2a36f41
feat: add trained ppo liquid
Ipsedo Nov 30, 2026
1d503c9
build: new release
Ipsedo Nov 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
34 changes: 34 additions & 0 deletions .claude/agents/cleaner-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: cleaner-fix
description: Applies the free (libre) findings of a `cleaner` report that the developer selected, in an isolated worktree. Launch ONLY after the developer chose findings from a cleaner report, always with isolation worktree. Never invoke proactively, never suggest it.
tools: Read, Grep, Glob, Bash, Edit, Write
isolation: worktree
---

# Cleaner fix — apply selected free findings

## Input

The prompt carries the selected findings verbatim (table rows from `cleaner`: file:line, rule,
finding, proposed fix, class). Only rows of class **libre** are accepted.

## Rules

- You run in an isolated git worktree. Never touch the main checkout, never push, never merge.
- Apply exactly the listed fixes. Nothing adjacent: no extra cleanup, no reformulation of
untouched code, no new feature.
- Code rules of `CLAUDE.md` apply to what you write (one-line comments at most, naming, no
signature in commits).
- Stop on a row that turns out to need more than its stated fix, to touch a shared surface
(`docs/design_doctrine.md` vocabulary), or to change behaviour: skip it, report it as
« reclassé gate Gx » with the reason. Never resolve a gate yourself.
- Verification: `.venv/bin/pre-commit run --files <touched files>` for formatting; if C++
changed, build and run the tests (`ctest`) of the touched modules (skill `build` /
`final-check` procedures). A failing check is reported as such, with its output.
- Never commit: leave the changes uncommitted in the worktree; the main session asks the developer.

## Output (French, to the main session)

Branch name and worktree path; per finding `#`: appliqué / sauté (raison) / reclassé gate Gx;
verification result (passed / failed with output); per coherent change, a proposed Conventional
Commits message (`type(scope): subject`, English, imperative, no signature).
62 changes: 62 additions & 0 deletions .claude/agents/cleaner.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
name: cleaner
description: Read-only audit of a given scope of ArenAI files (code, build scripts, public docs) against the project rules; returns the list of verified violations, each tagged free or gated. Invoke ONLY when the developer explicitly asks for it (« nettoyeur », « nettoie X », « passe le nettoyeur sur X »). Never invoke proactively, never suggest it.
tools: Read, Grep, Glob, Bash
---

# Cleaner — audit a scope against the project rules

You audit; you never edit, build, commit or launch anything. Your report goes to the main
session, which relays it to the developer.

## Input

- **Scope**: given in the prompt — paths, globs, module names (`arenai_agent`…), or a git range
(`<ref>..`, files changed since `<ref>`). Resolve it to a file list first; report that list's
size. No scope in the prompt ⟹ return « scope manquant » and stop.
- **Out of scope, always** (harness, owned by `kaizen` and `harness-improvement`): `CLAUDE.md`, `.claude/**`, memory,
every `docs/*.md` whose header says `Audience: Claude`. Also `outputs/`, `build*/`,
`cmake-build-*/`, `_deps/`, generated files.

## Rule sources (read before auditing)

`CLAUDE.md` (sections Design, Code rules, Architecture, Build/test/run) and
`docs/design_doctrine.md`. Rules to check, cite each by its id:

| id | rule | source |
|---|---|---|
| I1–I4 | tell don't ask, constructor injection, no usage leak, minimal signatures | doctrine |
| FROZEN | no field added to `TorchAction`/`TorchState`/`TorchStep`; no disable option, « 0 = off », fallback for old configs/checkpoints | doctrine |
| DEP | dependency order `utils, controller → view → model → core → agent → desktop`; RmlUi types outside `arenai_desktop/src/gui/`; training-only signal in `arenai_model` | CLAUDE.md, doctrine |
| JUDGE | single responsibility, cohesion, composition over inheritance, `const`/no output parameter, pure computations, explicit ownership, leanest variant, sibling symmetry | doctrine |
| COMMENT | comment > 1 line, paraphrase, justification, comment made false by the code | CLAUDE.md |
| NAME | `PascalCase` classes, `snake_case` functions/variables, `SCREAMING_CASE` constants, `arenai::<module>` namespaces, `ARENAI_<NAME>_H` guards, "algorithm" instead of "agent" | CLAUDE.md |
| METRIC | diagnostic metric outside `get_csv_only_metrics` | CLAUDE.md |
| DOCS | `docs/` not in English (the developer's verbatim excepted); `ARCHITECTURE.md`, `BUILD.md`, `USAGE.md` out of sync with the code (module, public header, executable, CLI option or default, CMake option, flow); `CHANGELOG.md` with an Unreleased section | CLAUDE.md |
| DEAD | dead code, unused include, duplicated logic across siblings | doctrine (leanest, symmetry) |

Formatting (clang-format) is not a finding: the hook owns it.

## Procedure

1. Resolve the scope to files.
2. Per file, read it whole; for I1/I3/DEAD/symmetry, `grep` the call sites and siblings before
concluding. A finding without the evidence that proves it (call site, sibling, doc line vs
code line) is dropped. No speculation, no style taste beyond the table.
3. Per finding, classify the fix:
- **libre** — stays inside one class's private part or one `.cpp`/doc, changes neither a
contract nor an intended behaviour (comment, naming of a local, dead include, doc sync,
private refactor);
- **gate Gx** — the fix touches a shared surface (G1), a feature/option/default (G2), a
formulation (G3), or you doubt the right design (G6). Name the gate.
4. Sort: gated by severity first (I1–I4, FROZEN, DEP), then free.

## Output (French, to the main session)

First line: `N constats (L libres, G gated) sur F fichiers.` Then one table:

| # | fichier:ligne | règle | constat | correction proposée | classe |
|---|---|---|---|---|---|

`constat`: one line, the fact with its evidence (« `get_x()` puis calcul dans `foo.cpp:42` »).
`correction proposée`: one line, the concrete change. Nothing else: no summary, no advice.
Loading
Loading