diff --git a/.claude/memory/decisions.md b/.claude/memory/decisions.md index 5fd9918c..f6c503ed 100644 --- a/.claude/memory/decisions.md +++ b/.claude/memory/decisions.md @@ -996,3 +996,10 @@ Alternatives: write-now + delete on abandon (two undo steps, rejected); fold exi **Rationale:** owner trial pass; soft delete of a published-history sheet = state no screen reaches, archive reachable + inside owner's authorisation. **Alternatives:** soft delete (rejected, breaks §6.9); one engine retry for all cards (R-7, per-card kept); live region per card (burst at load, rejected). **Open, separate:** BLK-015, RR-13, anomaly A (4 « Cheval sandbox » fingerprint_mismatch). No merge, no deploy, DEV unchanged. + +## BDR-122 — U2 design boards and A1-A15 validated by owner, three adjustments (2026-11-17) (2026-11-17) +- **Status**: accepted +**Decision:** U2 design validated by owner 2026-11-17 after external graphic review (ChatGPT): nine boards `docs/design/v1-2-6-u2/` + A1-A15 as recommended. Deviations from 2026-11-14 orientation accepted: A1 first click/Enter selects only, second click, double-click or « Propriétés » opens dialog, creation dialog opens itself after placement/trace close; A2 dialog over right column, never over drawing; A3 overview column stays. Three adjustments at implementation, boards not redrawn: A13 discreet contextual two-finger pan hint on tablet; A14 message line never moves/resizes drawing; board 33 validation messages name only fields actually missing. +**Rationale:** selection without dialog keeps successive shape corrections cheap; skeleton stays visible; list stays keyboard path. +**Alternatives:** orientation rules 1 and 6 literal (dialog per click), dialog over drawing, column removed (rejected by owner choice). +**Next:** U2 technical plan + challengers, owner gate before code. No merge, DEV unchanged. diff --git a/.claude/tasks/TODO.md b/.claude/tasks/TODO.md index 29f88a5d..c2d2e8a7 100644 --- a/.claude/tasks/TODO.md +++ b/.claude/tasks/TODO.md @@ -743,7 +743,8 @@ Order (BDR-071): P0 docs + decisions → V1-1 clients and animals → V1-2 sheet - [x] Final fix wave (FX1-FX16, `.superpowers/sdd/2026-11-16-r4-card-integrity-2337/final-fix-list.md`): b378cf0 retry ending with no retry left keeps the polite region and moves focus to « Consulter », busy look on « Réessayer », engine stopped for good in the error tone, one attempt for two calls in one tick, rendered tests (engine stopped, two cards on the core, no blob URL after unmount); 2930f49 lines over 100 columns wrapped; 1e50585 board 30 deviation fixed (failure row `*:px-3`, both buttons on one row at 1280 and 375, e2e checks it); 3bea19f spec reads each own sheet's name by id before archiving, `seedGrant` account id through `capturedId`. App 1775 tests in 138 files; typecheck, lint, build exit 0. `catalogue-integrity.spec.ts` alone 6 passed 0 failed 0 skipped 0 flaky (twice: once with temporary screenshot lines, once as committed); `catalogue.spec.ts` alone 8 passed. Guard: 0 removed, 0 changed, 81 added (27 sheets, 43 versions, 11 grants), the runs' own; 8 R4 sheets archived, 4 grants revoked, read back. `pnpm check:all` then run at `2c9d837` (line above) - [ ] Follow-up: seed owner row in `private.catalog_write_budgets` is R4's own (none before R4; its first run created it, later runs update that same row, 4 archives per run; 8 of 300 per hour after the final wave, outside the data guard); `catalogue.spec.ts` still leaves its published sheets listed, warm-up its sheet and `sheet_editor` grant per invocation (BLK-015, RR-13) - [ ] owner arbitrations A1-A15 (`V1-2-6_U1_CORRECTIONS.md` §6, `TRIAL_STACK.md` §6) - - [ ] V1-2.6 UX U2 design: boards 02-06, 13 redrawn + extras from 31 (owner brief 2026-11-17 « R4 est terminé … préparer U2 », orientation 2026-11-14 BDR-117; contract `.claude/tasks/contracts/2026-11-17-u2-design-boards.md`; docs only, no code, no DEV, no merge). [x] audit as built · [x] boards + REVUE + ARBITRAGES in `docs/design/v1-2-6-u2/` (bc19481, fixes 8bdb23a and pass 3) · [x] fresh design review (5 must-fix, 19 should, 19 observations; fixed) · [x] fresh conformity check (ECARTS(4), then re-check ECARTS(1) on 8bdb23a: two labels, fixed) · [ ] STOP owner visual validation of the boards and arbitrations A1-A15 before any U2 plan or code + - [x] V1-2.6 UX U2 design: boards 02-06, 13 redrawn + extras from 31 (owner brief 2026-11-17 « R4 est terminé … préparer U2 », orientation 2026-11-14 BDR-117; contract `.claude/tasks/contracts/2026-11-17-u2-design-boards.md`; docs only, no code, no DEV, no merge). [x] audit as built · [x] boards + REVUE + ARBITRAGES in `docs/design/v1-2-6-u2/` (bc19481, fixes 8bdb23a and pass 3) · [x] fresh design review (5 must-fix, 19 should, 19 observations; fixed) · [x] fresh conformity check (ECARTS(4), then re-check ECARTS(1) on 8bdb23a: two labels, fixed) · [x] owner validation 2026-11-17: nine boards + A1-A15 as recommended, adjustments A13 hint, A14 no shift, board 33 messages (ARBITRAGES « Validation du propriétaire ») + - [ ] V1-2.6 UX U2 technical plan (owner brief 2026-11-17 « conception graphique U2 validée … plan technique »): plan `.claude/tasks/plans/2026-11-17-v1-2-6-u2.md` · [ ] audit · [ ] plan rev 1 · [ ] three fresh plan-challengers · [ ] STOP owner approval of the plan and decisions before any U2 code - [ ] Test anomaly A (owner 2026-11-09, separate from U1/U2): fictitious fingerprints `'a'.repeat(64)` from worker stand-ins (`packages/supabase/tests/sandbox/sheet-fixtures.ts:115` openRound, `sheets-concurrency.sandbox.ts:168`, `sheets-perf.sandbox.ts:169`); 7 published/deprecated sandbox versions fail `check_published`. Fix: real fingerprint through the core (as e2e `fingerprintOf`, `apps/app/e2e/support/catalogue.ts:88`); never weaken the publish gate or the reader check. Needs its own go. Census 2026-11-17 (R4 Task 3, read-only): 4 of 164 catalogue entries fail, the four current « Cheval sandbox » versions (2 at v1, 2 at v2), all `fingerprint_mismatch`; R4 cards show them with the integrity line. - [ ] Test anomaly B (owner 2026-11-09, separate from U1/U2): `packages/supabase/tests/sandbox/sheets-admin.sandbox.ts:181-195` creates the historical working copy and never archives it; slot taken → `admin.spec.ts:717` fails x4. Fix test independence and cleanup; the existing copy `8c315a12-20d4-4432-9db3-7cb88b27a5b4` stays untouched until the owner authorises. Linked: RR-13, the admin.spec confirmation line above. - [x] Test anomaly C (owner 2026-11-09, separate from U1/U2): CLOSED 2026-11-17 with R4's owner validation. Integrity failure invisible in catalogue cards; implemented as lot R4; failure shown, never hidden or bypassed. Built 2026-11-17 (R4 Task 1-3 and final fix wave, `V1-2-6_U1_CORRECTIONS.md` §5 row C: built by R4, closes on the owner's validation); checked off with R4's owner validation. diff --git a/.claude/tasks/contracts/2026-11-17-u2-design-boards.md b/.claude/tasks/contracts/2026-11-17-u2-design-boards.md index ac0edecb..29a05cb8 100644 --- a/.claude/tasks/contracts/2026-11-17-u2-design-boards.md +++ b/.claude/tasks/contracts/2026-11-17-u2-design-boards.md @@ -1,6 +1,6 @@ # CONTRACT — u2-design-boards - date: 2026-11-17 | flow: design and documentation only (U2 boards, review, arbitrations, tracking) | branch: feature/v1-2-anatomical-sheets -- status: open +- status: closed (owner validation 2026-11-17) - worktree: /home/bchanot/Documents/faunosteo-v1-2 (every command from this absolute path; never DEV: the `supabase_*_faunosteo` containers are DEV). The sandbox and the trial stack are not read nor written by this lot. - base: c42c655. Commit in place, push; no merge, no `gitflow.sh finish`. @@ -116,3 +116,34 @@ Aucune fusion ni intervention sur DEV. ## FILE SCOPE docs/design/v1-2-6-u2/**, docs/design/README.md, docs/development/V1-2-6_UX_PLAN.md (U2 note only), .claude/tasks/TODO.md, .claude/tasks/contracts/this file, .claude/memory/* + +## Owner validation 2026-11-17 (verbatim) + +J'ai fait examiner l'archive graphique U2 par ChatGPT. + +La revue graphique est favorable. Je valide les neuf maquettes ainsi que les arbitrages A1 à A15, y compris les trois écarts A1, A2 et A3 par rapport à l'orientation initiale. + +En particulier : + +- A1 : le premier clic sélectionne l'annotation sans ouvrir de modale. Un deuxième clic, un double-clic ou le bouton « Propriétés » ouvre la modale. La création ouvre automatiquement la modale après le placement du point ou la fermeture du tracé. +- A2 : la modale des propriétés s'affiche sur la colonne de droite pour préserver la visibilité du squelette. +- A3 : la colonne de droite reste présente avec les vues, catégories et annotations. +- A4 à A15 : les propositions des maquettes sont acceptées. + +Trois ajustements mineurs sont demandés : + +1. A13 : rendre compréhensible le déplacement du dessin à deux doigts sur tablette, avec une indication discrète et contextuelle. Ne pas surcharger l'interface. + +2. A14 : s'assurer que l'apparition et la disparition des messages comme « Point déplacé · Défaire » ne provoquent aucun déplacement ni redimensionnement du schéma. + +3. Planche 33 : rendre les messages de validation cohérents avec les champs réellement manquants. Si la catégorie est déjà sélectionnée, le message ne doit pas demander de la choisir à nouveau. + +Ces ajustements ne nécessitent pas de refaire l'ensemble des maquettes. + +Tu peux considérer la conception graphique U2 comme validée et poursuivre avec la préparation du plan technique U2, selon ton processus habituel. + +Je te laisse autonome sur l'architecture, les choix techniques, les tests, les relectures et l'organisation des travaux. + +L'objectif reste une édition anatomique fluide, précise et intuitive, aussi bien à la souris qu'au toucher, sans perte de données et sans déplacement intempestif de l'interface. + +Présente-moi le plan technique et les éventuels arbitrages réellement nécessaires avant l'implémentation. diff --git a/docs/design/README.md b/docs/design/README.md index 5cc8d5d1..9210af50 100644 --- a/docs/design/README.md +++ b/docs/design/README.md @@ -225,3 +225,10 @@ above the drawing; extra boards 31 (properties dialog states), 32 (when the dial deviations from the orientation: A1 (rules 1 and 6: a first click or Enter selects without opening the dialog), A2 (the dialog opens over the right column, not over the drawing) and A3 (the overview column stays beside the drawing). Until the owner validates them, boards 02 to 06 and 13 of `v1-2-6/` stay the reference; no U2 code before that validation. + +2026-11-17: U2 boards VALIDATED by the owner (after a favourable external graphic review): the nine boards of +`v1-2-6-u2/` and arbitrations A1 to A15 as recommended, deviations A1, A2 and A3 included. They replace boards 02 to 06 +and 13 of `v1-2-6/` as the reference. Three minor adjustments apply at implementation, boards not redrawn +(`v1-2-6-u2/ARBITRAGES.md` « Validation du propriétaire »): a discreet contextual hint for the two-finger pan on +tablet (A13); the message after a gesture never moves or resizes the drawing (A14); validation messages name only the +fields actually missing (board 33). diff --git a/docs/design/v1-2-6-u2/ARBITRAGES.md b/docs/design/v1-2-6-u2/ARBITRAGES.md index ee5323f4..c4ae1784 100644 --- a/docs/design/v1-2-6-u2/ARBITRAGES.md +++ b/docs/design/v1-2-6-u2/ARBITRAGES.md @@ -1,4 +1,4 @@ -# U2 : choix à arbitrer par le propriétaire +# U2 : choix arbitrés par le propriétaire Brief du 2026-11-17 (« préparer U2 », « sans que les modales gênent les gestes »), orientation du 2026-11-14 (BDR-117, `docs/development/V1-2-6_UX_PLAN.md` §U2 « Orientation 2026-11-14 »). Les planches dessinent la @@ -206,3 +206,18 @@ recommandation de chaque choix. Rien n'est implémenté ; aucun choix ci-dessous - **Conséquences** : garder les libellés construits évite une traduction et une habitude à changer ; « Annuler » seul se confondrait avec le « Annuler » d'un formulaire. - **Recommandation** : garder les libellés construits. + +## Validation du propriétaire (2026-11-17) + +Après une revue graphique externe favorable, le propriétaire valide les neuf planches et les arbitrages A1 à A15 tels +que recommandés, y compris les écarts A1, A2 et A3 avec l'orientation du 14/11. Les planches de ce dossier remplacent +les planches 02 à 06 et 13 de `v1-2-6/` comme référence. Trois ajustements mineurs sont demandés ; ils s'appliquent à +l'implémentation sans refaire les planches : + +1. **A13** : le déplacement du dessin à deux doigts sur tablette doit se comprendre, par une indication discrète et + contextuelle, sans surcharger l'interface. +2. **A14** : l'apparition et la disparition d'un message comme « Point déplacé · Défaire » ne déplacent ni ne + redimensionnent le schéma. +3. **Planche 33** : les messages de validation suivent les champs réellement manquants. Une catégorie déjà choisie + n'est jamais redemandée (la ligne générale de 33 B « Choisissez la catégorie et la latéralité… » ne s'affiche pas + telle quelle ; seul le champ en défaut est nommé). diff --git a/docs/design/v1-2-6-u2/REVUE.md b/docs/design/v1-2-6-u2/REVUE.md index 93167dc7..7f29fc50 100644 --- a/docs/design/v1-2-6-u2/REVUE.md +++ b/docs/design/v1-2-6-u2/REVUE.md @@ -1,9 +1,9 @@ -# V1-2.6 U2 : manipulation graphique des annotations (proposition de conception, non validée) +# V1-2.6 U2 : manipulation graphique des annotations (conception validée par le propriétaire le 2026-11-17) Brief du propriétaire du 2026-11-17 (« préparer U2 : la refonte de la manipulation graphique des annotations »), orientation du 2026-11-14 (BDR-117, `docs/development/V1-2-6_UX_PLAN.md` §U2 « Orientation 2026-11-14 »). Contrat `.claude/tasks/contracts/2026-11-17-u2-design-boards.md`. Ces planches remplacent les planches 02 à 06 et 13 de -`docs/design/v1-2-6/` une fois validées ; les planches 14 et 16 (téléphone) ne changent pas (O14 A). Rien n'est +`docs/design/v1-2-6/` (validées le 2026-11-17, ajustements dans `ARBITRAGES.md`) ; les planches 14 et 16 (téléphone) ne changent pas (O14 A). Rien n'est implémenté : ni code, ni SQL, ni Rust, ni pile démarrée. Aucune fusion, DEV inchangé. | Fichier | Contenu | diff --git a/docs/development/V1-2-6_UX_PLAN.md b/docs/development/V1-2-6_UX_PLAN.md index e8642e06..ed76686f 100644 --- a/docs/development/V1-2-6_UX_PLAN.md +++ b/docs/development/V1-2-6_UX_PLAN.md @@ -560,6 +560,11 @@ choices waiting for the owner, including deviations from rules 1 and 6 above (fi « the dialog opened over the drawing » (it opens over the right column) and from « the drawing keeps its full width » (the overview column stays), are in `docs/design/v1-2-6-u2/ARBITRAGES.md` (A1 to A3). +Owner validation 2026-11-17: the redrawn boards and arbitrations A1 to A15 are validated as recommended (A1 to A3 +deviations included), with three adjustments for the implementation (two-finger pan hint, A13; no layout shift from +the message line, A14; validation messages naming only missing fields, board 33). U2 planning starts; U2 code waits +for the owner's approval of the U2 plan. + Risks to settle in the U2 plan: the slop threshold for touch versus mouse; a dialog opened by a tap at a canvas edge on a tablet; focus return after « Modifier la forme »; the ghost's contrast under the backdrop; the handle cap (T18) with a dialog open.