Repository navigation
feat(reserve): mémoire des essais, les briques déjà essayées passent en fin de réserve - #94
Merged
Conversation
…reserve
POST /fusion now notes a failure or a "presque" in a new `essai` table
(player, left brick, right brick, last published fascicule; no outcome,
no date, no catalogue text) when the player knows both bricks, capped at
3,000 rows, without a command row nor a state version bump. Rows judged
under an older fascicule are no longer read and are wiped at the next
note: a release forgets every pair at once. `Etat.essais` (serde default)
carries them; export and reset include them.
With one brick on the table, the reserve sheet moves the bricks already
tried with it, in that order, to the end of the list under "Déjà essayées
avec …", greyed but still playable, each saying why: "aucune recette",
"presque : inversez" or "au codex" (deduced from the fusion rule). The
reordering slides over 240 ms, nothing under reduced motion.
This departs from ADR 0027 / data model §7 ("fusion proposals are never
stored"): an ADR is due in the design repository.
Closes #89
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0151stDRaZV3ScbhwvwjrfQ7
…udits cargo audit flagged RUSTSEC-2026-0381/0382/0383/0385 and npm audit a high advisory on vite 8.3.1 (and moderate ones on vitest): lockfile-only updates to the patched versions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151stDRaZV3ScbhwvwjrfQ7 (cherry picked from commit a140f55df0d3ce823acc6ff6d9534bce30e72ab8)
This was referenced Oct 23, 2026
Contributor
Author
|
Les jobs « API et tâches (Rust) » et « PWA (TypeScript) » échouent, mais pas à cause de cette PR. Tout le reste passe, y compris les tests, la vérification de
J’ai ajouté à cette branche le commit Generated by Claude Code |
Lunik
marked this pull request as ready for review
October 24, 2026 14:09
…ment-retention-lyk0n0-memoire # Conflicts: # web/src/App.tsx
…udit New advisories (GHSA-4qv8-2p9j-2685 and others) turn npm audit red on develop too; lockfile-only update to the patched versions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151stDRaZV3ScbhwvwjrfQ7
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #89. Piste 1 de la page de travail
pistes-retention.html(EtymoLogique/Design#51).API (rétrocompatible)
essai:joueur_id,gauche,droite,fascicule_juge. Ni issue, ni date, ni texte du catalogue. Un test vérifie la liste des colonnes.POST /fusion:progression::noter_essainote un échec ou un « presque » quand le joueur connaît les deux briques.commande, ni changement deversion_etat: rejoué, l’essai ne fait rien (ON CONFLICT DO NOTHING).Etat.essais: les paires{ gauche, droite }, triées, avec#[serde(default)].ON DELETE CASCADE.contrat/openapi.json,web/src/contrat/api.d.tset.sqlx/sont régénérés.PWA
raisonEssai(paire, …)(services/jeu.ts) dit pourquoi une paire est déjà connue du joueur :prevoir, sans rien demander au serveur ;Vérifications
cargo fmt --check,cargo clippy -D warnings,cargo test --workspaceetcargo sqlx prepare --check: OK.npm run lint,npm run typechecketnpm test: OK. Seul reste l’avertissement dePlis.tsx, qui existait avant cette PR.check_identitysurstyles.css: 0 erreur, 0 avertissement.Generated by Claude Code