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>
The 48 files of the Daily Card, Expeditions, Daily Team and race, Broken
Mirror and card rendering move to daily/, expeditions/, team/, mirror/ and
rendering/ under website/src/features/cards, with every relative import
rewritten. The root keeps the page, server calls, cache and the player
sections outside the Guild. The cards README, the quest recipe and the
current docs follow the new paths; dated audits and plans keep theirs.
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>
The Nebula, the Long Night, the Dream Arcade and the Crimson Procession now each have two power commons: Adaptation and one of their own (Étude, Givre d'étoiles, Trouvaille, Chance de l'aube). Eight other commons change stats and four gain a tag, so that no common is dominated by another with the same effect and Bravoure can be equipped like the other stats. Commons that became power commons are taken off the cards that carried them.
Card sheets, the equipment window, placed commons and the departure preview show every power's gains and costs with their figures, and the preview says when a power has no effect.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Les Carnets des Veilleurs and Poussières d'étoiles do not come from regular
openings, so their own duplicates are too rare for awakenings. Their cards now
follow the rule of closed collections: duplicates of the same rarity from any
collection, at the same count. The balance guide records the reasons.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two tiles under the card give the player's Éclats and the free duplicates of
the card. They replace the Éclats count in the upgrade help text and are
hidden once the card reaches the maximum power.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The upgrade tip now gives the number of duplicates of the card needed for
every awakening still ahead. Two tiers crossed by the same level count as one
awakening.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A closed collection no longer sells packs, so its legendaries could
barely awaken. Its cards now accept substitute duplicates of their
rarity from any collection, at the same 6/2/1 count. The Watchers'
Logbooks never count as closed. The awakening sheet and picker say so,
and a daily tip and the balance guide explain the rule.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Duplicates now matter for awakening tiers, so the upgrade section of a card sheet says so while a tier lies ahead: level up with Éclats and experience, keep duplicates for awakenings. The bulk recycling box reminds that rare, epic and legendary duplicates also awaken cards once the player goes past commons.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The confirmation said "rareté Commun ou plus commune": it now names the recycled rarities ("Vos doublons communs, rares et épiques deviennent …") and its value list keeps only those rarities. The box no longer reads "0 doublon … +0 poussière", and the awakening texts say "6 doublons rares" instead of "doublons de rareté Rare". The history no longer shows "−undefined Éclats" for an awakening with duplicates of the collection.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The awakening with duplicates of the collection used to take them automatically, without showing them. It now opens a picker like the Atelier: the needed slots at the top, the usable duplicates below as illustrated cards with their free copies, and nothing is used before "Éveiller". The server lists the candidates and checks the chosen copies.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Opening packs stays useful once a collection is complete: the level that reaches an awakening tier can no longer be bought with Éclats, a duplicate or field experience. The card awakens without Éclats, with one of its own duplicates (a mythic also takes its legendary version) or with duplicates of its collection and rarity: 6 rares, 2 epics or 1 legendary, numbers that follow the 24/8/3 drop rates so a tier costs about the same packs at every rarity. Tiers and counts are admin settings, and the balance guide records the simulations and the options set aside.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The destinations step opens with a legend of the four loots and what the
green and red arrows mean.
- The Watcher's bag folds into a strip of item art and counts; the choice is
kept by the browser.
- Mythic cards wear a slowly turning prismatic ring across the expedition
screens; it is visual only.
- The card sheet and the stats distribution read their texts from
cards.cardSheet, and power descriptions and their figures from
cards.expeditions.powerText and powerDetails.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Expeditions
- The journey keeps the destination landscape still while a sky scenery
(clouds, floating isles, shards, sparkles) drifts behind the cards.
- A returned expedition shows only what the player receives, in place and
without a window; claiming it removes the card and confirms with a notice,
and the page reloads by itself when an expedition comes back.
- The Guild Keeper slots are gone: group requirements scale with the players.
- Local development adds a 20-second test duration, a test player for groups
and keeps the dev account stocked with every item.
- The Wind Rose has no daily limit and is used from the destinations step.
- The Guide Star opens a destination one level below the player's highest daily
level, the Sky Chart one at that level; bonus destinations are badged with
the item that opened them.
Bag and workshop
- The Watcher's bag is a grid of illustrated item cards, ordered from the
destination items, with a short "Utiliser" button; the six missing item
illustrations are added.
- The workshop opens in a window with illustrated commons, spare counts on the
cards, cancel without spending anything, and shows the crafted card with its
description and power.
- The engraving workshop picks a common first, then a tag from a chosen
character card (in its tag colours) or from every tag, filtered by name and
family; card lists filter by name, collection and stat.
Card sheet
- Two tabs: the card and its lore (default from the collection), and its
improvement (default from the expeditions) with a summary of power, level,
experience and stats.
- "Répartition des statistiques" offers Par défaut, Personnalisé and profiles,
previews the change in the summary, and a Parchemin d'oubli resets it to
Personnalisé so the next choice is free again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Guild administration now has a tab per quest. The expedition settings sit behind a status band (open or close, today's activity) and four themed tabs, with units inside the fields, the default value shown, and one sticky apply bar that lists every change before confirming.
The Pont des Veilleurs leaves the expedition page and becomes the « Éclats d’étoile » shop item, priced from Administration › Boutique. Openings and Éclats are bought by quantity: a number field capped by the stardust the player actually has, and a full-width button that shows the total cost. Stardust and Éclats get their own SVG icons, aligned with the text around them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Every common carries equipment spreading six points (+6, +3/+3, +2/+2/+2 or +8/−2), validated at load; every rare or better card shares a tag with at least three commons.
- Power opens up to three equipment slots; a common sharing a tag with its card adds synergy points, and a common equips one card at a time without ever leaving the collection.
- Teams earn score bonuses from destination affinity and resonances (Écho, Lignée, Étoiles sœurs), capped together with group cohesion.
- The Grimoire records lore pairs when equipping and resonances at departure for every player of the team.
- The card sheet lists equipment slots with synergy hints; previews, groups and reports show affinity and resonance badges; Administration › Guilde tunes slots, synergy points and score bonuses.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Each owned rare or better edition keeps a level and field experience; a level costs Éclats by current power, so every rarity reaches the same cap and a rare pays the longer road.
- A duplicate of the same edition gives a whole level; every claimed expedition grants field experience to the cards it sent.
- A one-way bridge turns stardust into Éclats at an admin-tuned rate.
- The card sheet shows level, power, stats and experience with upgrade buttons; expeditions use the upgraded power.
- Administration › Guilde tunes the cost formula, duplicate levels, field experience and the bridge rate.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Every catalog card carries expedition tags and every collection a stat profile, validated at load; twelve destinations live server-side so hidden ones stay secret.
- Pure rules compute card power, per-slot requirements, roles, dangers, the long-trip malus, the score (one more star never raises it) and loot proportional to the chosen duration.
- A simulator script and a balance test guard the design thresholds; agent docs and a new-card skill explain how to tag new cards.
- Migration 8 adds Éclats d'étoile, expedition settings stored as one validated JSON, daily destinations, expeditions, members and slots, and rebuilds gift_packs so a pack can come from an expedition.
- Players launch a solo expedition from the Guild, see an exact preview, and claim their loot when it returns; the card sheet shows cards away on an expedition.
- Administration › Guilde tunes every value with server-side bounds, toggles destinations and cancels running expeditions; expeditions stay closed until an administrator opens them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the server-backed card game: Discord login, recharging pack openings,
album, trades, gifts, stardust shop, campaign codes and its administration,
stored in SQLite and disabled in production until configured.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>