Expeditions no longer hand out packs: they bring back single cards, with one hourly card chance that Fortune and the longsight still raise. A card comes from the destination's Carnets des Veilleurs; a destination tied to an open collection draws it from that collection most of the time, at the collection's rarity rates (a legendary can come as a mythic variation), with missing cards twice as likely.
Each destination has a loot specialty (Éclats, stardust, cards or items) that multiplies its reward and slightly lowers the others, and the planner shows it with the destination's collection. A destination tied to a collection cannot be rich in cards.
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>
A player with no destination card receives one from the Carnets on their first visit to open expeditions. Expedition loot can hold a Carnets destination card the player does not own yet, and a group member without the card of the group's destination has a strong chance to get it. Both chances are expedition settings, and destination cards never drop as ordinary Carnets cards.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The daily draw is now personal: up to four destinations among the visible ones the player has unlocked, with one difficulty level each, from the easiest up to the number of destinations drawn. A destination card gained during the day completes the draw, and a card given away removes its destination. A destination with no card in the catalog yet stays open to everyone, so only Le Cœur du Nuage Cosmique is locked for now. Joining a group never needs the destination card, and the planner shows how many destinations are unlocked.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A destination card is a rare that unlocks an expedition destination: it never joins a team (no tags, profile or equipment) and always shows as a full-art card. The catalog checks that it is rare and names an existing destination, and that no two cards unlock the same one.
Le Cœur du Nuage Cosmique is the first one: a new destination at the heart of the cosmic dust cloud, where a new sun may be about to form, with its landscape and its card in the Primordial Nebula packs. Full-art names at large size now keep clear of the rarity symbol.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each daily destination now draws a difficulty level, one of each per day, and the planner shows it as a star badge instead of letting the player choose. Solo and group derive their stars from that level; the 5th and 6th destinations keep a stable random level for the day and the hidden one takes the highest.
The 14 destinations get a watercolour landscape, shown in the destination picker as a banner cut by a brush-stroke mask. docs/expeditions/destinations-illustrations.md holds the prompts, each destination's palette and signature, and the crop used for every image.
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>
All 20 cards and the card back now have their watercolour naturalist
illustrations, so the whole collection can drop from expeditions.
- Add the Kitsune, Ouvreur des Passages (legendary), the Chauve-souris des
Nuits sans Étoiles (epic), the Furet Messager des Îles (rare), and two
power commons, the Lanterne de tempête and the Cloche de brume, placed in
the Passage Écarlate, the Grand Vide and the Courants de Lumière.
- Code the two new powers: the lantern softens dangers but adds travel
time; the bell adds synergy in group expeditions but costs loot solo.
Both are tunable from the admin settings and covered by tests.
- Rewrite the illustration guide around the naturalist style and what the
tests taught (portrait first for legendaries, hero size and paws spelled
out, no Nebula pose reused, paper margins trimmed).
- Make the Suricate de la Vigie masculine, like the Nebula character, and
keep the drop test independent of which cards are illustrated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A new watchers-logbooks collection of category expedition never comes from packs, the shop or codes, and administrators cannot open it as a pack.
- Its six commons carry powers instead of stats (Longue-vue, Provisions, Carte au trésor, Talisman, Boussole folle, Filet à étoiles filantes); a card holds one power and each counts once per team.
- Powers change travel time, loot, score or tier, hide requirements, or catch a logbook card; each destination lists the logbook cards it can bring back.
- A workshop turns a plan and three duplicate commons into a power common.
- The fifteen cards ship without images with ready ChatGPT prompts; a card only drops or gets crafted once illustrated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Expeditions bring back objects by weight, proportional to the loot; treasure-map fragments, burins and workshop plans need enough average Orientation.
- A guide star adds a fifth destination to the player's day, a sky chart a sixth with richer loot, and enough fragments open one of two hidden destinations: Le Passage Écarlate and L'Observatoire perdu.
- An anchor recalls a running solo expedition and keeps the Éclats and stardust already earned; a burin engraves a tag on a common to create the synergy a player wants.
- The Veilleur's bag lists objects with their use, reports show brought-back objects, and Administration › Guilde tunes object chances, weights, the Orientation threshold and hidden-destination loot.
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 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>
- A player opens a group with one card and a chosen role; others join from the board with a free role, and the creator launches it once enough players are in.
- At departure the Veilleur de la Guilde holds empty places without a role, each member rolls their own loot multiplied by the number of players, and distinct collections add a cohesion bonus.
- An unlaunched group departs on its own at the end of recruitment with enough players, or dissolves and tells its members; leaving, dissolving and deleted accounts free cards or forfeit shares.
- The Guild tile flags joinable groups; Administration › Guilde tunes group places, players, stars, recruitment, loot multipliers, keeper stats, cohesion and the score bonus cap.
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>
- La Carte du jour: one zoomed card shared by all players each Paris day, six guesses with collection and rarity hints, a fixed stardust reward and an emoji result to share.
- The Guilde des Veilleurs lists the quests, with a menu entry, a home banner and an admin section for quest settings.
- The section menu folds into a dropdown below 960 px; the home pairs the guild with the best pull and moves the opening reserve under the menu.
- The shop pack share moves to the shop collection admin page, which recalls where the pack draws its cards.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sharing a toolbox meant exporting a JSON file and passing it around by
hand. A toolbox can now be sent from the site while staying local first:
the browser compresses and encrypts the v2 export with AES-GCM, and the
key lives only in the link fragment, so the server keeps for at most
24 hours a copy it cannot read.
- Add the /api/shares service: upload, metadata, download and revoke,
with files in SHARES_DIR, a purge every 10 minutes, and single-use
links (the default) deleted only once fully downloaded.
- Cap the server load: 50 MiB per share, total storage, free disk
space, daily volume, concurrent and stalled uploads, reads per link,
plus a wide per-connection cap kept in memory without storing IPs.
- Limit each browser to 2 shares and 100 MiB per day and 2 active
links, and show the existing link of a toolbox already shared.
- Add the send dialog (card and game drawer) and the /receive page,
which previews or directly imports through the existing import path.
- Move shared HTTP helpers to services/http.js for both APIs.
- Document the format, delivery, server layout and privacy wording.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The new mythic effect works on two levels. An opaque iridescent film is
painted under the artwork and only shows through its transparent areas,
while a light overlay makes the whole card shine. Both follow the card
tilt without any running animation, like the Diffraction Sheen.
Cards can declare cutout versions of their artwork with the __cutout
suffix: cutoutImage for the standard format and fullCutoutImage for the
full-art format. The catalog only accepts the format's own image name
followed by __cutout. Prismatic Backdrop finishes use them when present
and fall back to the opaque artwork otherwise. The Mythic Card Pull gets
both cutout versions, and the admin visual lab previews the effect on them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every page reads the reserve for the Sokko TCG menu count, and those reads
shared the game API limit of 60 requests per minute and per address. Browser
tests reloading many pages from one address got 429 responses. The route now
has its own limit, like the public configuration, and focus or tab returns
read it at most once every 15 seconds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A gold count now sits on the Sokko TCG menu icon while the opening reserve is
full, so players notice it from any page. A light reserve route keeps it up to
date outside the game, and the game page updates it with every state it gets.
The opening stage also lists the remaining openings, apart for the automatic
recharge and for openings bought one at a time, since the sidebar reserve is
hidden there.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Session and OAuth cookies now carry the __Host- prefix over HTTPS, so another
application of the domain cannot set them. The public configuration route has
a request limit, the trader list reads every player in one query, and new
campaign codes need eight characters while existing ones keep working.
The Vite server now listens on 127.0.0.1 unless HOST says otherwise, because
it gives administrator rights to any visitor.
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>
The sidebar and About page advertised the game even when disabled. The admin
rates also warned that the shop pack had no drawable common, rare or epic card
although it draws them from the other collections.
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>
Keep a pending opening's cards out of the home highlight and collection until
they are revealed, and refuse transfers meanwhile. Odds now ignore rarities a
pack cannot give. Stable files gain an ETag so card images revalidate instead
of downloading again, and logging out clears the local collection copy.
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>
An invalid URL or Host header rejected inside the async request handler and
ended the process, even with Sokko TCG disabled. Requests now parse against a
fixed base and any unexpected failure answers 500. An invalid Cards setup
disables the game instead of the site, SIGTERM closes the database cleanly,
and the rate limiter forgets past minutes.
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>