Commit graph

192 commits

Author SHA1 Message Date
07a43ef848 Let a guide checklist update from its page filters without losing checks, and optionally limit the page to what the checklist contains
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 24m18s
Validate and deploy Sokko G / deploy (push) Successful in 18s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 17:39:00 +01:00
17e5cd5e63 Put trading and giving up front and suggest the players who need each card
The Échanges et dons page now opens on two illustrated tiles, centred and
360 px wide at most: trade (L'Échange Écarlate) and give (the Dawn card,
renamed Le Don de l'Aube with a gift story). Each counts the cards missing
on either side and previews a few. In the composer, the most useful players
come first in the list and as suggested chips, and missing duplicates lead
with a badge; nothing is filtered, so owned duplicates stay tradeable for
Awakenings. GET /api/cards/traders adds `wants`: which of the viewer's own
duplicates each player lacks, and nothing else of their collection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 17:01:56 +01:00
64a1ad2835 Give the Nebula's rare and epic cards distinct expedition profiles
Some checks failed
Validate and deploy Sokko G / deploy (push) Blocked by required conditions
Validate and deploy Sokko G / validate (push) Has been cancelled
All 35 of them shared the collection's 25/25/20/30 profile. The 17 with a
marked character now follow an existing archetype (runner, guardian, guide,
cartographer, ferryman, reliable guide, peaceful, lucky charm). The others stay
balanced, each leaning slightly towards the stat its text suggests. The balance
targets and the expedition balance test still hold.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 16:10:51 +01:00
ccbed6cba8 Record that production pays 20 stardust or 10 and a gold star for the daily card
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 19m23s
Validate and deploy Sokko G / deploy (push) Has been skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 14:59:00 +01:00
ba2ebfb19d Cover the daily team end to end and measure keep or recruit on the race
A last Sokko TCG journey plays five days on a moved server clock: gold stars
from the daily card, a recruitment that survives reloads, a race interrupted by
a reload and finished with its boost, a full race, the team's three days and a
full reserve that turns the daily reward back into plain stardust.

scripts/simulate-team-race.mjs measures keeping against recruiting on the race
itself. inventTeam takes an optional gold reserve for it. Keeping wins 1.6
stardust per race over recruiting every day; choosing by average power adds 0.4.
The figures are in docs/equipe-du-jour.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 14:20:05 +01:00
88c7bf8317 Group Sokko TCG's interface files by Guild quest and card rendering
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>
2026-12-01 11:35:18 +01:00
863050437f File Sokko G's dated documents under docs/audits and docs/plans and renumber the design system sections
The UX audit and the toolbox loading profile join docs/audits, the P06 usage
study joins the plans it closes, and the finished holographic flares plan
moves to docs/plans with its date. Links follow them. DESIGN_SYSTEM.md no
longer has two sections 8 and two sections 11.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 11:27:25 +01:00
22b397ebfa Document Sokko G's architecture and folders, and move JavaScript file headers to JSDoc @file blocks
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>
2026-12-01 09:42:13 +01:00
52df57f781 Make Sokko TCG's Current Race fairer and explain each race afterwards
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m50s
Validate and deploy Sokko G / deploy (push) Successful in 18s
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>
2026-11-30 16:18:18 +01:00
8253f74c90 Open any toolbox from a list in Sokko TCG's toolbox drawer
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m40s
Validate and deploy Sokko G / deploy (push) Successful in 16s
Every Sokko TCG section now offers the top bar's toolbox button. Instead of
linking a toolbox, the drawer lists all toolboxes (linked to a game or not)
as wide rows with a large cover, opens the one chosen, and remembers it on
the device. Memos and alerts follow the toolbox shown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 14:31:53 +01:00
82cebd0fd1 Show the destination, result and loot in Sokko TCG Discord alerts, with a button to the expedition
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m48s
Validate and deploy Sokko G / deploy (push) Successful in 16s
- Each queued alert keeps an embed and a link button: the destination illustration as thumbnail, the tier, score and loot for a return, the difficulty and automatic departure for a new group.
- The button and the message link open #/cards/expeditions/<id>, which scrolls to the player's expedition or group and highlights it; Discord login now returns to that link.
- Without an https CARDS_PUBLIC_ORIGIN the link stays in the text, without button or thumbnail, which Discord would refuse.
- Delivery docs name palico-bot's NOTIFICATIONS_API_KEY and its local-only route on port 3101.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 11:35:15 +01:00
734a3b6a8b Make the broken mirror easier: wider margins, extra moves from balanced companions, hover outline on hard
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 18m58s
Validate and deploy Sokko G / deploy (push) Has been skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 09:43:13 +01:00
ebb220d532 Add an Easy mirror before Normal and let every companion help
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m41s
Validate and deploy Sokko G / deploy (push) Successful in 16s
Easy is a square 4 x 4 picture drawn for each player, with green
outlines, where any two pieces swap; it is scored against the free
minimum and pays 5 plus 1 per move left. The three mirrors open one
after another (Easy, Normal, Hard) and the Guild quest is done with all
three. Migration 31 rebuilds mirror_games to accept the new mode. The
mirror page shows three illustrated cards, Easy painted with Codex.

Bravery now places a misplaced piece for free, since swapping anywhere
means nothing in Easy. Each of the five companions can help once per
game instead of two in all. Mirror styles now win over the global
button hover, so placed pieces keep their green outline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:27:02 +01:00
8c0771f06f Rework the Broken Mirror screens and the Guild quest board
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m32s
Validate and deploy Sokko G / deploy (push) Successful in 16s
The mirror page opens on two illustrated cards, Normal and Hard, painted
with Codex, with three small rule reminders; a card opens or starts its
game. The five companions of the daily team show as tiles: one click uses
a help, two per game, with no selection step. Helps are renamed after
what they do (swap anywhere, show a piece's place, double the rewards,
undo the last move, see the model again), use the shared tooltip and
keep the same height. Selecting a piece no longer waits for the server,
and showing a place aims at the selected piece. Under 960 px of
dashboard, like the section menu, the board goes on top and the moves
panel keeps only the count. Stardust is always written in full.

The Guild board shows four tiles per row on full screen, aligned with
subgrids, solo quests first. Status lines give way to a wooden "Fait"
sign on finished quests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 16:25:35 +01:00
ddb3b81278 Rename mirror swaps to moves and give each helper its own kind of help
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m30s
Validate and deploy Sokko G / deploy (push) Successful in 18s
On screen, a swap is now a move. The five helps no longer all save a
move: Bravery frees the next move from the row or column rule,
Orientation shows where a chosen piece goes, Fortune doubles the reward
of a rebuilt picture, Endurance takes back the last move and Balanced
shows the model for five seconds. The model is visible until the first
move only: the server no longer sends it afterwards, except during that
help and at the end.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 14:11:28 +01:00
9cf48ea0d0 Add the Broken Mirror puzzle to the Guild
A daily puzzle: a card illustration cut into pieces, rebuilt by swapping
two pieces of the same row or column within a limited number of swaps.
The normal picture is a square card in 4 x 4, drawn for each player, with
placed pieces outlined in green; the hard one is a 5 x 7 portrait shared
by everyone each day, with a result to copy. The limit is the computer's
best result (beam search) plus a margin, and every swap left adds
stardust. Two companions of the daily team can each give one help, by
specialty; a double specialty picks one when used.

The server keeps the piece positions, sends the picture already shuffled
and checks every swap. Uniform illustrations are left out, from measures
written by scripts/mirror-illustrations.mjs. The Guild gets its quest and
a Codex tile, the administration a tab (opening, rewards, margins, the
day's summary), and migration 30 its tables. New collections must plan at
least one double-specialty character, counted by
scripts/team-specialties.mjs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 13:38:46 +01:00
52b35880f2 Rework the daily team screens, share its team block and give the race its admin tab
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m2s
Validate and deploy Sokko G / deploy (push) Successful in 16s
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>
2026-11-28 09:50:35 +01:00
327337075b Turn the Guild page into a guild hall and put the race circuit forward
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m7s
Validate and deploy Sokko G / deploy (push) Successful in 17s
The Guild page becomes a guild hall: a counter with the Watchers' dragon and
the day's quest progress, the Expeditions highlighted as the main mission,
the player's team with golden stars and balms, and a quest board whose
illustrations are clickable. The race page now opens on the day's circuit,
explained for newcomers, and the team and race pages drop their links to
each other.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 15:39:14 +01:00
b179a40a04 Add the daily team administration, recruitment retouches, the Watchers' balm and a new Guild layout
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 13:35:38 +01:00
7ed63fff49 Add the race screen of the daily team
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 22:02:57 +01:00
71cf739a2e Add the rules, storage and API of the daily team and its race
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 21:14:36 +01:00
880f007cce Rework the daily card page around what the player knows and hints opened in any order
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 23m0s
Validate and deploy Sokko G / deploy (push) Successful in 15s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 14:01:43 +01:00
6993080d81 Redraw the Petit Tsuchinoko so it no longer looks like a plain snake
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 12:06:20 +01:00
d5c2900eed Replace the rarity hint of the daily card with the theme of its name
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 20m47s
Validate and deploy Sokko G / deploy (push) Has been skipped
The rarity alone left 71 cards out of 246 and only helped to filter the album; the theme leaves 15 and helps every player. It opens after three wrong guesses and is no longer offered once a guess has found it. Games that had flipped the rarity get their hint back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:48:50 +01:00
ac6ae7df62 Name the daily subject family Créature fantastique again
Some checks failed
Validate and deploy Sokko G / deploy (push) Blocked by required conditions
Validate and deploy Sokko G / validate (push) Has been cancelled
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:37:56 +01:00
62042c4c36 Compare the subject and theme of each daily guess, let players choose their hints and find cards by related words
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m58s
Validate and deploy Sokko G / deploy (push) Successful in 17s
Collection and rarity hints only helped players who owned the daily card. Each guess now shows the common part of its subject and whether the theme of its name matches. A wrong guess earns one hint of the player's choice, the same list for everyone so that nothing reveals the ownership: album, rarity, collection, damaged page or name shape. Hidden words never leave the server, and the ownership is the one of the draw.

The guess list also finds a card by a related word, and the album no longer searches the description of unknown cards. Principles and data: docs/carte-du-jour.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:09:08 +01:00
9739189f0c Give each pack collection its own power common, fix redundant commons and spell out powers in the interface
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m49s
Validate and deploy Sokko G / deploy (push) Successful in 16s
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>
2026-11-24 13:18:38 +01:00
f949801c62 Keep the Crimson Moon Procession retouch and layer prompts in the docs
They only existed in .local, whose published working images were removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:59:14 +01:00
6726a59285 Let expedition and shop cards awaken with duplicates from any collection
Some checks failed
Validate and deploy Sokko G / deploy (push) Blocked by required conditions
Validate and deploy Sokko G / validate (push) Has been cancelled
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>
2026-11-24 11:48:54 +01:00
63ddb02c5d Add Le Cortège de la Lune Écarlate, the permanent ukiyo-e Sokko TCG collection
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m42s
Validate and deploy Sokko G / deploy (push) Successful in 18s
Add its 31 cards, its destination L'Île aux Cent Lanternes, five expedition
tags and the collection profile. The collection stays closed until an
administrator sets its drop rates and opens it.

Also clean the backdrop layer behind the wolf.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 23:59:03 +01:00
d4b7398716 Add the Crimson Moon Procession illustrations and lore
The 31 cards, the destination card and banner and the card back are in place.
The five legendary cards include their parallax layers. The collection is not
in the catalog yet.

Also redraw the paws of the Astral Snow Fox Cub.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 23:44:19 +01:00
6737a89a1c Let administrators save particles on mythic variations
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m41s
Validate and deploy Sokko G / deploy (push) Successful in 14s
Lightning, twinkles and fireflies move from a visual lab prototype to real
settings. The catalog declares the animations, their motifs, sliders and zones;
migration 24 stores each variation's particles; the service validates and
normalizes them behind a dedicated admin route and records the change in the
history. Published editions carry the particle fields, so every card of the
variation shows them in collections, card sheets and openings. The Particles
tab of the variation editor now saves with the same Enregistrer button as the
finish and tunings, including when a variation is created.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:44:32 +01:00
f77a0ca577 Prototype lightning, twinkle and firefly particles in the visual lab
The Particles tab of the visual lab now previews three persistent particle
animations for mythic cards, drawn on a canvas inside the illustration or over
the whole card. Lightning bolts grow from the edges towards a random point near
the hero and pass behind a cut-out hero with the prismatic parallax. Twinkles
pop chosen motifs in and out with a light cross at their peak. Fireflies drift
on winding paths, pulse and move away from the pointer. Each animation offers a
palette, a zone and its own sliders, runs only on a large or hovered card, and
stays still under reduced motion. Nothing is saved on the variations yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:07:22 +01:00
efdb5c558c Replace the prismatic backdrop with a prismatic parallax and redraw the Long Night legendaries
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m36s
Validate and deploy Sokko G / deploy (push) Successful in 17s
The prismatic-backdrop finish, now labelled « Parallaxe prismatique », lays a
card's cut-out hero over a backdrop without it and shifts both with the tilt,
the palette tinting the backdrop, lighting each layer's highlights and fringing
the hero. Cards declare the backdrop next to the cutout (backdropImage,
fullBackdropImage), validated by name. The Visual Lab is back to its usual
effect cards. The three Long Night legendaries are redrawn in the collection's
style, and La Pioche Mythique gets its parallax layers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 21:06:37 +01:00
a52f89e9d5 Load the Sokko TCG styles with the cards route
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 20m30s
Validate and deploy Sokko G / deploy (push) Has been skipped
The cards and Expeditions sheets were a quarter of the CSS every visitor
downloaded. cards-route.scss now bundles them with CardsPage; only the
menu icon stays in main.scss. The sheets that followed them in main.scss
(checklist, NDS attributes, responsive) are re-emitted after them so
equal-specificity rules keep the same winner: the common sheet without
them plus the route sheet rebuilds the previous CSS byte for byte, and a
test keeps the list in step with main.scss. Common CSS goes from 94 243
to 69 413 bytes gzip and its budget from 100 000 to 75 000.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 17:23:14 +01:00
d2ef3b098c Let administrators set the opening reserve size
The reserve was fixed at 5 by CHECK constraints on players and
recharge_settings. Migration 21 rebuilds both tables with foreign keys
off and checks them before committing; the reserve now goes from 1 to 50
and is set next to the recharge delay. A raised reserve restarts the
recharge of full players at once, a reduced one keeps their extra
openings, and the player counter shows the configured maximum.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 17:02:01 +01:00
fd47514d81 Freeze pack rates in a campaign when it is created
A gifted pack using the pack's own rates was drawn with whatever rates
were in force when the player opened it. Campaigns now copy those rates
at creation (packRates), every pack of the code draws with them, and the
reveal shows them. Older campaigns keep following the live rates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 16:50:51 +01:00
26984bb6c0 Split asset budgets into transfer and storage and gate them in check:full
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m42s
Validate and deploy Sokko G / deploy (push) Successful in 15s
The new dragon illustrations pushed the cold home page to 1,754,467 bytes,
over its 1.75 MB budget. The home dragon is re-encoded at quality 88 and
the sidebar dragon resized to 268 px, twice its displayed width, at
quality 92, with SSIM above 0.994: the home page is back to about 1.71 MB.

The 25 MB cap measured the images stored in the repository, which are
not downloaded on each visit. The profile now separates transfer budgets
(home, Aniimo, CSS gzip at 100 kB pending the CSS split) from storage,
which reports images per folder and caps each file at 1 MB. npm run
test:assets applies them in check:full on the production build, so a
breach blocks delivery.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 13:03:46 +01:00
2ba3e10005 Record the first delivery with the health-checked deploy script
The script that ships node_modules and waits for /api/health was installed
on the server on 2026-11-21, then reinstalled at 632cc06 after its first
run misread HOST and PORT and aborted its rollback. That delivery succeeded,
and the doc now says to install a changed script from origin/main while CI
validates, since the deploy job calls the copy already installed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 12:14:11 +01:00
067a4a8fd6 Fix the audit's concurrency, stale state and delivery findings
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 19m40s
Validate and deploy Sokko G / deploy (push) Has been skipped
Share uploads now reserve their slot, bytes and per-IP count before the
disk check, so simultaneous uploads can no longer exceed the limits.
Writes to a share's metadata run one after another, and a revocation can
no longer be undone by a pending read count.

The TCG page ignores a state reload that started before or during a
mutation, the last mutation wins, and returning to the page triggers a
single reload. The card cache confirms writes only once the IndexedDB
transaction completes and shows only the current player's copy. The
administration panel loads on demand, which shrinks the TCG chunk from
311.6 to 191.8 kB.

A new /api/health route answers 503 when the cards or shares API failed
to start. The deploy script ships the commit's production dependencies
with the build, waits up to 30 s for a healthy server instead of trusting
systemctl is-active, and restores node_modules on rollback. Both Forgejo
workflows check the route on the public site. The updated script applies
once reinstalled on the server.

Unused helpers, the ignored join role and duplicate button selectors are
removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 21:38:20 +01:00
3dcc0b6f12 Cap collection destinations in the daily expedition draw and always give a Watchers' starter destination
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m35s
Validate and deploy Sokko G / deploy (push) Successful in 13s
The daily draw now proposes at most day.maxCollectionDestinations (default 2)
destinations linked to a collection, unless the player lacks other
destinations to fill the day. The starter destination card is now granted to
any player without a Watchers' Logbooks destination, even if they already own
collection destination cards from packs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:44:30 +01:00
c73a118ffb Let players who join a group set up their card and say when they are ready
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m30s
Validate and deploy Sokko G / deploy (push) Successful in 13s
Joining a group froze the card's stats at once and locked its
equipment, so a joining player could not equip anything. Joining now
uses the same card frame as the preparation: card, equipment and
"Améliorer la carte". Everything stays editable after joining, and the
group counts the card as it is, until the player clicks "Prêt". That
freezes the card's stats. "Modifier ma préparation" reopens it.

The creator sees each member as "Prêt" or "En préparation", with a
ready count, and can still leave at any time. A player who is not
ready leaves with their card as it is at departure. A migration marks
existing members as ready, since their stats were already frozen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:24:23 +01:00
c1ef7b6ce7 Show the expedition's state on the Guild tile button
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m12s
Validate and deploy Sokko G / deploy (push) Successful in 12s
The Expeditions tile now reads "En cours" while an expedition is on its
way, "Récupérer le butin" once one has returned, and "Préparer"
otherwise. The tile also refreshes at the next return time, so the
button switches to the loot without reloading the page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:11:40 +01:00
048d9a0c91 Let closed-collection cards awaken with duplicates from any collection
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>
2026-11-19 12:29:43 +01:00
1fa8d4d80d Add the Scintillants: four new shop legendaries and a golden Stardust Dragon
Some checks failed
Validate and deploy Sokko G / deploy (push) Blocked by required conditions
Validate and deploy Sokko G / validate (push) Has been cancelled
The shop collection (Poussières d'étoiles) now has its own lore: the Scintillants, ordinary animals turned into living treasures by the gold dust left from the scales the Dragon du Néant Étoilé lost at the beginning of the world. The shop pack now features five legendaries instead of one: the Stardust Dragon, the Écureuil du Grenier d'Or, the Tortue au Coffre d'Étoiles, the Panthère aux Pépites d'Or and the Carpe Koï des Courants d'Or (new personnage:koi tag).

The Stardust Dragon keeps its scene but is redrawn gold and ivory with straight crystal horns, so it no longer looks like the mascot. Its text now tells where it comes from, and it becomes a Fortune specialist like the other legendaries. Each Scintillant has a 45 % specialty and a 10 % weakness. The collection has no commons: the shop pack never draws them, and the Scintillants find synergy partners through theme:poussiere and theme:tresor commons of other collections.

The shop pack test now checks that the configured share goes to the whole collection, split evenly between its legendaries, instead of to the Dragon alone. Lore, style guide, balance guide and the card-by-card illustration prompts are documented.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 12:05:32 +01:00
2e1d10086a Show each daily tip's part of the game as a coloured badge
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m10s
Validate and deploy Sokko G / deploy (push) Successful in 12s
A tip now carries its part of the game (section) and an optional short topic. The part shows as a badge with one colour per part: Expéditions green, Paquets violet, Collection grey, Échanges et dons gold, Carte du jour orange. The topic sits beside it as the title, so "Expéditions · Améliorer ses cartes" becomes [Expéditions] Améliorer ses cartes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 11:04:39 +01:00
e8ec657193 Add a daily tip to the Sokko TCG home that explains hidden mechanics
39 short tips cover packs, collection, trades, the daily card and Expeditions (getting cards, succeeding, groups, loot, improving cards, bag items). Each one has a topic that starts with its part of the game, such as "Expéditions · Réussir". Every figure comes from the current settings through tipValues(), so a tip follows an admin change. Expedition tips only show while Expeditions are open. The tip of the day is the same for everyone, "Astuce suivante" shows the next ones, and the card sits under the key figures so the home still fits a 1280 × 720 screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 10:56:01 +01:00
0533a8f766 Let players pick the duplicates that awaken a card, shown as cards
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>
2026-11-19 10:05:36 +01:00
0ecb2cdbc5 Make duplicates awaken cards at Power 70, 85 and 100
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>
2026-11-19 09:40:41 +01:00
79fdf2a9a8 Add an Expeditions balance guide gathering the decisions, findings and method for future cards
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m5s
Validate and deploy Sokko G / deploy (push) Successful in 15s
docs/expeditions/equilibrage.md records the design principles chosen for the Expeditions, how the score is computed, why a shortfall costs more than a surplus, the profiles, emblems, constellations, powers and destination rules in place, the method and targets to check a new card or collection, the options tried and dropped with their measurements, and the technical traps met on the way. The agent guide, the lore's card section and the new-card skill point to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:02:47 +01:00