Give Sokko TCG's server files headers that explain their role, callers and pitfalls

Each core file of services/cards now says where it sits, its entry points,
who calls it and what to watch for: admin checks living in the service, the
methods added to ExpeditionService and TeamService by Object.assign, the
InTx suffix, settings defaults that do not change an existing database, and
rules shared with the browser.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-12-01 09:47:18 +01:00
parent 22b397ebfa
commit 73bd5ae21c
29 changed files with 291 additions and 73 deletions

View file

@ -507,3 +507,4 @@
{"id":"int-1bbd15f6ba7f5033c1c9527777834cc6","kind":"field_change","created_at":"2026-11-30T15:05:57.058711987Z","actor":"Shinuwa","issue_id":"sokko-g-4chi.19","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Closed"}}
{"id":"int-ac7920a5e45f76e6dbb7530c01b10d3a","kind":"field_change","created_at":"2026-11-30T15:43:32.747503563Z","actor":"Shinuwa","issue_id":"sokko-g-qbne","extra":{"field":"status","new_value":"closed","old_value":"open","reason":"Guilde de l'admin refondue avec les patterns NDS existants : accueil en nds-card illustrées, quêtes en sous-entrées du menu, en-tête de collection par quête (badge, interrupteur, chiffres du jour), tableau des taux de tirage pour le Miroir, destinations en nds-list-row alignées. Lint, 225 tests unitaires, tests de style et 16 tests e2e passent."}}
{"id":"int-029ff1d8004e9556ea626ab85e212d33","kind":"field_change","created_at":"2026-11-30T22:15:50.270314394Z","actor":"Shinuwa","issue_id":"sokko-g-gi3j.1","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"ARCHITECTURE.md, CONTRIBUTING.md, 7 README de dossier, gabarit d'en-tête en trois niveaux (website/AGENTS.md), règles AGENTS.md et CLAUDE.md. npm run check réussi (472 tests)."}}
{"id":"int-fbb330b201b85d1a5a45a4b625c8b657","kind":"field_change","created_at":"2026-12-01T08:47:13.138179797Z","actor":"Shinuwa","issue_id":"sokko-g-gi3j.2","extra":{"field":"status","new_value":"closed","old_value":"in_progress","reason":"En-têtes niveau 3 de service.js, api.js, database.js, catalog.js, expedition-service.js et ses 5 fichiers de méthodes, team-service.js, team-race.js, mirror-service.js, expedition-rules/settings ; niveau 2 complété (Utilisé par, @see) pour les règles et réglages. README du serveur complété (défauts des réglages, InTx, pas de tâche planifiée)."}}