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>
Run 324 polled 127.0.0.1:5173 instead of the service's HOST and PORT:
each env file overwrote the value found in the previous one, even when it
did not define the variable, so the check failed against a healthy server.
The rollback then stopped at once, because its local previous_commit
redeclared the read-only global of the same name.
A file now keeps the value of the previous one unless it defines the
variable, and the rollback uses its own name. A test runs the lookup on
real env files and another forbids locals that shadow read-only globals;
both fail on the previous script. The fix applies once the script is
reinstalled on the server.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Development logins were capped at a hard-coded 10 per minute per address.
The cards E2E suite logs in 21 times, and with the test added in 067a4a8
the expedition test's login became the eleventh within one minute: it got
"Trop de tentatives", never reached the admin guild tab and timed out in
CI. The limit is now the devAuthRateLimit option, still 10 by default, and
the E2E server raises it as it already did for apiRateLimit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
- The spyglass trades a quarter more travel for more cards and one more at the cap, rations are neutral per hour, the shooting-star net scales with the chosen hours and costs Fortune per place, the storm lantern adds 10 % of travel instead of a fixed hour, and the fog bell's group bonus sits outside the synergy cap.
- Card and object caps grow with each 6 hours chosen, and field experience with each 2 hours, so long expeditions are no longer held back by the caps of short ones.
- Each resonance needs its own pair of cards, "Étoiles sœurs" becomes "Thème partagé", and the bonuses say when the cap absorbs part of them.
- Every stat is a secondary stat for two vocations, and the simulator's reflected builds can pick Adaptation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A card is an expert of a required stat when it covers on its own twice the requirement of one place; each stat held by a different expert adds 8 % to the score, outside the synergy cap. Requirements rise for 3 to 5 stars and by 10 % per extra player, so a capped card without equipment rarely clears 5 stars while a reflected build does. A mythic now spreads as many level points as its legendary. Migration 21 drops stored requirements so the new defaults apply; the simulator builds teams with vocations and commons, and the balance test checks these targets.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Each player draws their own daily card and zoom point on their first visit, so a shared answer no longer helps; the migration keeps past games with their day's shared card.
- The server crops the illustration with sharp to the part visible at the current zoom; the full image only arrives once the game is over.
- The admin overview shows the day's winners and players instead of a single card.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An expedition now opens with a single card. Its creator leaves alone right away, or opens it to the Guild board with an invite link and launches it whenever they want; at the end of recruitment it leaves by itself, alone or as a group, and is never dissolved for lack of players. Stars no longer depend on the number of players, a player has one expedition at a time, and roles are gone: each card brings its stats and a team adds them up, so every requirement is its per-slot share times the number of slots.
The page follows the player's path: the offered destination card is revealed once in a modal, then Préparer shows the destinations (stat requirements, condition and dangers coloured for the chosen card, loot effects), a frame with the sent card in large size, its equipment slots and stats, and the duration and departure. Cards and commons are chosen in modals with sorts and highlighted current picks; tags get matching colours on the card and on equipment synergies. Once gone, the trip is shown with a progress bar and moving cards, the loot opens in a modal, and finished expeditions move to a Journal tab with the Grimoire.
Power commons get short power names of their own and show their exact effects on hover, a card holds one power at a time, and Coup de folie now draws the real requirements between 80 % and 130 % of the shown ones, revealed on return.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every destination now has its rare destination card, shown full-art: La Fête des Îles Réunies in La Longue Nuit, Les Îles-Niveaux in L'Arcade des Rêves, Le Cœur du Nuage Cosmique in the Primordial Nebula, and the twelve others in Les Carnets des Veilleurs. Most cards crop their landscape; Le Versant de la Lune Pâle, Les Îles-Niveaux and Le Passage Écarlate were painted again in portrait.
The two hidden destinations are trophies: their card always comes back to whoever goes there without it, and never as a starter card or a random drop. Since every visible destination is now locked behind its card, test players and the e2e partner receive all destination cards to keep four daily destinations.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Players turn on alerts one by one in their account: someone opens an expedition group, or one of their expeditions returns; both stay off until chosen.
- Opening a group queues a direct message for each other subscribed player; every 30 seconds the server queues returned expeditions once and sends pending messages to palico-bot's direct message route.
- Permanent refusals (unknown account, closed direct messages) or five failures stop retries; only real Discord accounts receive alerts, and sent rows are purged after 30 days.
- CARDS_DISCORD_ALERTS_URL and CARDS_DISCORD_ALERTS_KEY enable the feature; Administration › Guilde can turn every alert off, and the privacy notice explains what is sent.
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>
Imported toolboxes could run scripts on the site origin through image data
URLs, so only bitmap images are now accepted at import, display and opening.
The Cards game and its fake admin login no longer turn on when NODE_ENV is
missing, and the Node server now sends a CSP and the other security headers.
The deployment script no longer runs files owned by the service account as
root, the services cannot gain privileges through sudo, and the deployment
key stays in a single workflow step with actions pinned by commit. The script
and systemd units must still be reinstalled on the server after delivery.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Publish CARDS_PRIVACY_CONTROLLER in the privacy notice, required in production
like the contact. A daily maintenance anonymises non-admin accounts after 24
months without login and purges expired sessions and old idempotency keys.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add a Compte section with a privacy notice and a confirmed deletion that
anonymises the player row, erases their possessions and cancels open trades.
The public contact comes from CARDS_PRIVACY_CONTACT, which production now
requires before enabling the game. The admin E2E no longer relies on a pull
from the previous test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ignore the development login in production unless a test server asks for it in
code, apply the administrator list to existing accounts at startup, and move
the example database to a folder the deployment script does not reset to root.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A restore left the replaced database's write-ahead log in place, so SQLite
replayed it and the restored file silently kept later writes. Restores now
remove it, backups stay single files, and a systemd timer keeps 14 daily copies.
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>