The 669 // comments sitting right above a function, method or hook become
/** */ blocks, unchanged in wording; eslint directives stay right above the
line they target. website/AGENTS.md now asks for JSDoc on function comments
and // inside function bodies. ExpeditionPlanner.jsx grew past 300 lines and
gets its full header, as the header test requires.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each core file of services/cards now says where it sits, its entry points,
who calls it and what to watch for: admin checks living in the service, the
methods added to ExpeditionService and TeamService by Object.assign, the
InTx suffix, settings defaults that do not change an existing database, and
rules shared with the browser.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add ARCHITECTURE.md (layers, flows, folder map, glossary), CONTRIBUTING.md
(setup and step-by-step recipes) and a README in each main folder, with an
index of docs/. Convert the 511 JavaScript headers from "// Rôle :" lines to
JSDoc @file blocks, define a three-level header template in website/AGENTS.md
and check the header in tests/file-headers.test.mjs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Players kept finishing third or fourth: opponents were played better than
their owners would (always the best runner, half of them with perfect
boosts and no reaction time), and the Watchers recruited knowing the day's
circuit, which players never see.
- A player who already ran today now comes back as a ghost with their real
race; other teams play like an attentive player (best runner, each
teammate given in a zone of its best stat after a reaction delay). The
Watchers recruit blind; only the strong one plays attentively. The
administration counts the ghosts.
- The rule that a boost keeps the value of the zone where it was given is
now stated before and during the race.
- A boosting teammate is greyed at once with "Élan donné", a 1.5 s bar and
its locked value; the others dim while the player has to wait.
- The result shows the place as a medal, the finish as lanes (with a gold
silhouette at the best boosts), the three times, each boost placed on
the circuit (dashed in the teammate's best stat when it was worth more
elsewhere), a sentence per boost to place better and, when clearly
faster, another runner. The best boosts are searched in the browser.
- A development-only "Recourir (dev)" button erases the race and keeps the
team.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The daily team page now opens on a welcome screen with the three steps,
and the recruitment keeps the same look: golden steps, the choice in a
golden panel with the hidden stars, a team summary of colored mini cards
and its strengths, and a reroll badge. One "Your team" block is shared by
the Guild, the recruitment and the ready team. The header shows the extra
golden stars and the balms; the tips button is gone. On the Guild, team
quests carry a "En groupe" sign until the team is ready and the streak
badge stays readable. The race gets its own admin tab: its own opening,
the day's circuit and results, rewards by place and the watchers' skill.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>