Commit graph

132 commits

Author SHA1 Message Date
39dbeb9e2b Give destination cards on the first visit, in expedition loot and to group members
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>
2026-11-16 16:03:52 +01:00
06a4ab6d6a Draw each player's daily destinations among the ones their destination cards unlock
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>
2026-11-16 15:58:00 +01:00
89eee7ce2a Add destination cards, starting with Le Cœur du Nuage Cosmique for the Primordial Nebula
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>
2026-11-16 15:45:17 +01:00
250e0633cf Draw the difficulty with the daily destinations and paint each destination as a landscape
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>
2026-11-16 15:42:28 +01:00
7c393c4a2a List the Carnets des Veilleurs from legendaries to commons, like every other collection
The Collection shows cards in catalog order, and the Carnets were listed from commons to legendaries. A test now checks that every collection lists its cards from the rarest to the most common, and the card guide states the rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 15:39:59 +01:00
4d05d812c5 Split the Guild administration into tabs and sell Éclats and openings by quantity in the shop
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>
2026-11-16 15:39:45 +01:00
beef966337 Illustrate the Carnets des Veilleurs and grow the collection to 20 cards
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>
2026-11-15 23:42:05 +01:00
21827a252b Add the Carnets des Veilleurs, the expedition-only Sokko TCG collection with power commons
- 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>
2026-11-15 17:40:51 +01:00
ae23adfdd9 Bring back objects from Sokko TCG Expeditions and open bonus and hidden destinations
- 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>
2026-11-15 17:28:05 +01:00
320498d878 Send opt-in Discord alerts for Sokko TCG Expeditions through palico-bot
- 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>
2026-11-15 17:09:29 +01:00
6828683f1d Let Sokko TCG commons equip cards and add expedition synergies with a Grimoire
- 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>
2026-11-15 16:40:06 +01:00
e0ffccd1c8 Let Sokko TCG players level up cards for Expeditions with Éclats or duplicates
- 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>
2026-11-15 14:52:44 +01:00
6b7605d04e Add group Expeditions with a Guild board to Sokko TCG
- 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>
2026-11-15 14:46:10 +01:00
8bb1d53d70 Add solo Expeditions, the second Guilde des Veilleurs quest of Sokko TCG
- 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>
2026-11-15 14:29:05 +01:00
0ef213cf4f Add the Guilde des Veilleurs and its daily guess-the-card quest to Sokko TCG
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 20m57s
Validate and deploy Sokko G / deploy (push) Successful in 12s
- 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>
2026-11-14 18:43:28 +01:00
b779190f50 Add L'Arcade des Rêves, the permanent video game Sokko TCG collection
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 20m43s
Validate and deploy Sokko G / deploy (push) Successful in 13s
2026-11-13 09:28:08 +01:00
f423fa30fa Use the share icon and space the share dialog footer
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 20m39s
Validate and deploy Sokko G / deploy (push) Successful in 12s
- Show the new share icon on the toolbox card and drawer send buttons.
- Separate the single-use option from the dialog buttons.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 17:11:14 +01:00
bec9ea5b2f Send a toolbox through an encrypted link
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 20m39s
Validate and deploy Sokko G / deploy (push) Successful in 12s
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>
2026-11-11 16:26:05 +01:00
957bfdc86f Replace the reindeer and snowy owl cutouts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 16:24:31 +01:00
98c442a9cd Simplify the Astral Genesis lore and add Long Night cutouts
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 20m14s
Validate and deploy Sokko G / deploy (push) Successful in 12s
Rewrite the Astral Genesis cards in the present tense, fix the Kitsune
gender and the Lune Écarlate name, name the Dragon in full, and say
"paquet" instead of "booster" like the rest of the site.

Add the full-art cutout illustrations of the three Long Night
legendaries for the prismatic backdrop effect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:01:21 +01:00
24d08b6b3d Fit the collection descriptions in the pack tiles
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 20m13s
Validate and deploy Sokko G / deploy (push) Successful in 11s
The Primordial Nebula description grew to about 125 characters during
the lore rewrite and overflowed the three-line pack tile, failing the
pack opening e2e test; La Longue Nuit would have done the same once
enabled. Both are now under 65 characters, a limit the lore guide now
records. The admin e2e test also counted three collections and now
expects the four in the catalog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 11:52:29 +01:00
138a2f05bf Add La Longue Nuit, the winter Sokko TCG collection
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 14m47s
Validate and deploy Sokko G / deploy (push) Has been skipped
A 30-card event collection set in the archipelago universe: during the
yearly Long Night the Dragon draws the islands together and lights the
lanterns for the Night of Return. About 60% of the cards celebrate the
year-end festivities, including all three legendaries; the rest are
winter scenes. The collection ships inactive and appears once it is
enabled with drop rates from the admin.

Two tests assumed the catalog held only three collections; the shop
count test now only counts the active collections the shop pack draws
from. docs/collections records the shared lore and the illustration
prompts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 11:26:45 +01:00
5008dd55e4 Use everyday words in the Primordial Nebula card lore
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 15m16s
Validate and deploy Sokko G / deploy (push) Has been skipped
The archipelago descriptions read too formal, with rare words such as
esquif, proue or volutes. They now use common words and plainer
sentences while keeping the same story and length, about 150 characters.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 22:32:09 +01:00
6f4f5a7f3f Shorten the Primordial Nebula pack description to three lines
The archipelago retelling lengthened the collection description to 120
characters. On the 180 px pack tile it overflowed the three-line clamp and
ended with an ellipsis, which the Cards browser test rejects. The new
77-character text keeps the archipelago story and fits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 21:40:01 +01:00
bd1da42c7f Add the Prismatic Backdrop holographic effect for cutout artwork
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>
2026-11-08 21:33:35 +01:00
24992e5502 Retell the Primordial Nebula cards as one archipelago story
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 15m21s
Validate and deploy Sokko G / deploy (push) Has been skipped
The collection's 82 descriptions now share a single universe: a nebula
collapses into a sun and a scattered sky archipelago. Legendaries are its
founding spirits, epics the creatures of the young world, rares the island
dwellers, and commons the constellations, relics and instruments of the
Watchers, the astronomer-navigators who read the stars to travel between
drifting islands. Descriptions are kept around 150 characters.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 19:06:35 +01:00
498e171bc3 Show a full reserve count on the Sokko TCG menu icon and remaining openings while opening a pack
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>
2026-11-07 23:16:47 +01:00
8c7a6a3e91 Offer to open another pack of the same collection after a reveal
Players had to go back to the pack list between two openings. Once the cards
are revealed, a button now reopens the same collection while an opening
remains, using the reserve first and then purchased openings. Gift and shop
packs do not offer it, since they spend no opening themselves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 23:46:55 +01:00
1adccb4e04 Show a New badge when a pack reveals an unowned card edition
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 19m49s
Validate and deploy Sokko G / deploy (push) Successful in 10s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 10:11:57 +01:00
f7eb225eb8 Name the Cards data controller and retire long inactive accounts
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>
2026-11-05 19:07:52 +01:00
09a92de2c5 Only mention Sokko TCG while it is enabled and fix shop pack rates
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>
2026-11-05 19:03:04 +01:00
e60fbd4e9b Let Cards players delete their account and read a privacy notice
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>
2026-11-05 18:05:41 +01:00
5ce35cd7ba Add the Sokko TCG collectible card mini-game
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>
2026-11-05 17:47:35 +01:00
243465720f Add Aniimo elemental matchup calculator
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 18m14s
Validate and deploy Sokko G / deploy (push) Successful in 10s
2026-10-31 09:43:04 +01:00
ef7eba73db Add Gachapus Prismana data and portrait
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 13m31s
Validate and deploy Sokko G / deploy (push) Has been skipped
2026-10-30 16:29:00 +01:00
d2577d8e51 Update new aniimo Json
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 5m5s
Validate and deploy Sokko G / deploy (push) Has been skipped
2026-10-30 10:10:09 +01:00
ae10661b63 Update the Aniimo catalog and regional filters
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 18m8s
Validate and deploy Sokko G / deploy (push) Successful in 9s
2026-10-30 00:03:04 +01:00
c08452d5a4 Add quantitative tasks with checklist controls to the planner
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 17m38s
Validate and deploy Sokko G / deploy (push) Successful in 9s
2026-10-24 15:02:33 +02:00
ca39b76282 Standardize public images on WebP and add conversion tooling
All checks were successful
Deploy Sokko G / deploy (push) Successful in 20s
2026-10-23 12:12:02 +02:00
ec7a4a4c1d Add library tools to local toolboxes 2026-10-22 22:58:24 +02:00
daa5eba8bd Add recovery for public data loading failures 2026-10-15 16:25:07 +02:00
1171eee510 Clarify local persistence and backup states 2026-10-15 16:10:11 +02:00
2f2e79d200 Refine toolbox navigation and local data controls
All checks were successful
Deploy Sokko G / deploy (push) Successful in 20s
2026-10-15 10:52:34 +02:00
a921c9ef02 Clarify the guide checklist action
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s
2026-10-05 23:17:04 +02:00
0fc18cd8b9 Improve compact desktop usability and action guidance
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s
2026-10-05 21:47:16 +02:00
0ac1a0974e Refocus responsive layouts on compact desktop use
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s
2026-10-05 15:47:46 +02:00
808610dcf2 Add planner-aware memos and unified tool configuration panels
All checks were successful
Deploy Sokko G / deploy (push) Successful in 18s
2026-10-03 15:58:33 +02:00
c3bab44a4b Allow linking an existing toolbox from the game drawer
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s
2026-10-01 09:33:18 +02:00
962816bbb9 Add checklist creation for filtered game results
All checks were successful
Deploy Sokko G / deploy (push) Successful in 18s
2026-09-29 23:27:10 +02:00
0acf5ecf21 Add toolbox spaces and recover from stale asset bundles
All checks were successful
Deploy Sokko G / deploy (push) Successful in 18s
2026-09-29 21:31:49 +02:00