chore(memory): BDR-104, U1 plan challenge reports, checkpoint contract
This commit is contained in:
1 parent
13dee0908b
commit
7defed1c55
5 files changed
+215
-2
No files matched your search
@@ -680,8 +680,8 @@ Order (BDR-071): P0 docs + decisions → V1-1 clients and animals → V1-2 sheet
|
||||
- [ ] V1-2.6 UX redesign technical preparation (owner brief 2026-11-05 « V1-2.6 — Validation UX définitive et préparation technique »: 16 boards + 11 choices validated; docs and static audits only, no app/Rust/SQL/worker code, no DEV, no merge, no V1-2.7; STOP at the technical checkpoint)
|
||||
- [x] static audits (core model, rendering/PDF/N-1, geometry/wasm, SQL/worker, editor/tests) · [x] docs/development V1-2-6_UX_{PLAN,COMPATIBILITY,TESTS,RISKS,DECISIONS}.md (sub-steps U0-U9, decisions T1-T19) · [x] independent review (3 lenses: CONCERNS 5/9/6, no BLOCKER) + fixes integrated (plan §6) · [x] commit + push branch · [x] owner answers 2026-11-05 (brief « V1-2.6 UX — Ratification des décisions techniques », BDR-100): T11 approved, T16 conditional deferral (curves lot), T2/T3 conditional on proofs, T4 no residual gap, T5 history preserved, T9 three actions, T10 navigation type, T12 principle · [x] five docs updated (decisions, compatibility §0/§7/§8, tests, risks + blocking criteria, plan §7) · [x] LRN-118 (wasm measuring rule) · [x] independent reviews: correctness challenger CONCERNS(5 MAJOR, 7 MINOR) integrated; verifier ECARTS(2) fixed; targeted re-check ECARTS(2) (one U6 test assumed permissive save, deploy order said all rounds) fixed · [x] third independent check before commit (2026-11-05): ECARTS(2) on K10/K11 (R-3 mitigation, U6 objective on older T4 scope, write-lock test assumed stripping save, T16 count scope in two forms) fixed · [x] fresh targeted re-check: CONFORME 12/12 (G1-G4 closed; 7 observations kept for U0) · [x] commit + push · [x] owner answers 2026-11-05 (brief « Autorisation U0 uniquement », BDR-101): T4 both SQL checks approved (O22 amended), T5 defaults, T10 option B, T15, T16 count before activation, « Remplacer par un polygone » explicit · [x] T17 answered 2026-11-06 (BDR-102) · [ ] still open: T12 text (before U7), T6 (V1-2.8), T14 follow-up; T1 only if a measure exceeds · [x] owner authorisation to start U0 (2026-11-05)
|
||||
- [ ] V1-2.6 UX U0, contract and decisions, docs only (contract `.claude/tasks/contracts/2026-11-05-v1-2-6-ux-u0.md`; no code, no SQL, no DEV, no U1): [x] V1-2 contract §6.2, §6.4, §6.7, §7.4, §8.2-§8.4, §12.2 + §17.1 (O22), §16.7, §16.12, §17.12 · [x] level-1 contract C3, C4, C5, C6, C7, C8, C11, C13, C16, C18, C20, C25, C28, C32, C33, C40, with the precedence rule of its header · [x] docs/design/README.md · [x] rules sheet-model.md, schemas.md · [x] five UX docs · [x] BDR-101 · [x] preconditions (r5:import-equine --check clean, seed 22/6/0 paths, wasm 592 143 B) · [x] independent verification: ECARTS x6 fixed, then CONFORME 12/12 (2026-11-06); open points for U2/U6 not in docs: point edge-size handle (boards 02/03), default laterality of the automatic access (U6), §15 replay text vs the category.fixed.* filter · [x] commit + push · [x] owner U0 checkpoint (approved for good in the brief « Autorisation de U1 uniquement », 2026-11-06)
|
||||
- [ ] V1-2.6 UX U1, editor shell (brief « Autorisation de U1 uniquement » + « U1 — Validation de la conception interne », approach A; contract `.claude/tasks/contracts/2026-11-06-v1-2-6-ux-u1-1123.md`; plan `.claude/tasks/plans/2026-11-06-v1-2-6-ux-u1.md`, lots A, B1, B2, C-I; no Rust/SQL/worker/scripts, no DEV, no merge, no U2): [x] design approach A validated by the owner with 10 precisions · [x] owner choices 2026-11-06 (server save time, non-modal references panel, citation button in the finding's detail, board 01 annotation card) · [x] plan written + three-lens challenge (correctness CONCERNS 6, robustness CONCERNS 5, simplicity CONCERNS 2, no BLOCKER) integrated · [ ] owner plan checkpoint · [ ] lots A-I · [ ] gates, verifier, security · [ ] owner U1 checkpoint
|
||||
- [ ] V1-2.6 UX complement « annotations ↔ constats » (owner brief 2026-11-06 « Nouvelle exigence UX : navigation bidirectionnelle »; contract `.claude/tasks/contracts/2026-11-06-v1-2-6-findings-nav-design.md`; design only, U1 plan untouched, no code, no DEV): [x] relations audit (one link `finding_zone_id`, no new association, equine draft 1:1) · [x] boards 17-22 `docs/design/v1-2-6-constats/` · [x] study `docs/development/V1-2-6_UX_FINDINGS_NAV.md` (no U1 integration point needed, sub-step U2b proposed, risks, tests, decisions F1-F21) · [x] fresh design review APPROVE WITH FIXES (3 MUST-FIX, 16 SHOULD), fixes applied · [x] fresh verifier ECARTS(4) → ECARTS(2) → CONFORME 9/9 (round 3; 567da67 came after it, not covered) · [x] owner principle validation 2026-11-06 (brief « Validation de principe U2b et préparation des checkpoints », BDR-103): U2b retained after U2 and before U3, F1/F2/F6/F8/F22 approved, F7 for the term « Famille », F3/F4 in part · [x] decisions F1-F22 table (alternatives, consequences, state), F2 groups vs leaves, F3 field list, F4 view semantics, boards with their decisions in study §7.4, U2b entry in `V1-2-6_UX_PLAN.md` §3, LRN-119 (`<Activity>`), contract `.claude/tasks/contracts/2026-11-06-v1-2-6-findings-nav-decisions.md` · [x] fresh verifier on that contract: ECARTS(9) → fixed → CONFORME 11/11 (6 observations outside criteria kept for the owner) · [ ] owner: F2 groups, F3 fields, F4 view model, F5, F9-F21 · [ ] U2b authorisation (after U2)
|
||||
- [ ] V1-2.6 UX U1, editor shell (brief « Autorisation de U1 uniquement » + « U1 — Validation de la conception interne », approach A; contract `.claude/tasks/contracts/2026-11-06-v1-2-6-ux-u1-1123.md`; plan `.claude/tasks/plans/2026-11-06-v1-2-6-ux-u1.md`, lots A, B1, B2, C-I; no Rust/SQL/worker/scripts, no DEV, no merge, no U2): [x] design approach A validated by the owner with 10 precisions · [x] owner choices 2026-11-06 (server save time, non-modal references panel, citation button in the finding's detail, board 01 annotation card) · [x] plan written + three-lens challenge (correctness CONCERNS 6, robustness CONCERNS 5, simplicity CONCERNS 2, no BLOCKER) integrated · [x] U1 design confirmed by the owner 2026-11-06 (BDR-104; no data deletion implicit in the plan approval, sandbox included) · [x] authorisation checkpoint page `docs/development/V1-2-6_UX_U1_CHECKPOINT.md` (18 choices, amendments 2.1-2.9, audits traced, sandbox reset scope, lot criteria; challenger reports archived `.claude/audits/2026-11-06-v1-2-6-u1-plan-challenges.md`; contract `.claude/tasks/contracts/2026-11-06-v1-2-6-u1-authorisation-checkpoint.md`, fresh verifiers ECARTS(3) → ECARTS(1) → last gap fixed, not re-verified) · [ ] owner U1 authorisation · [ ] lots A-I · [ ] gates, verifier, security · [ ] owner U1 checkpoint
|
||||
- [ ] V1-2.6 UX complement « annotations ↔ constats » (owner brief 2026-11-06 « Nouvelle exigence UX : navigation bidirectionnelle »; contract `.claude/tasks/contracts/2026-11-06-v1-2-6-findings-nav-design.md`; design only, U1 plan untouched, no code, no DEV): [x] relations audit (one link `finding_zone_id`, no new association, equine draft 1:1) · [x] boards 17-22 `docs/design/v1-2-6-constats/` · [x] study `docs/development/V1-2-6_UX_FINDINGS_NAV.md` (no U1 integration point needed, sub-step U2b proposed, risks, tests, decisions F1-F21) · [x] fresh design review APPROVE WITH FIXES (3 MUST-FIX, 16 SHOULD), fixes applied · [x] fresh verifier ECARTS(4) → ECARTS(2) → CONFORME 9/9 (round 3; 567da67 came after it, not covered) · [x] owner principle validation 2026-11-06 (brief « Validation de principe U2b et préparation des checkpoints », BDR-103): U2b retained after U2 and before U3, F1/F2/F6/F8/F22 approved, F7 for the term « Famille », F3/F4 in part · [x] decisions F1-F22 table (alternatives, consequences, state), F2 groups vs leaves, F3 field list, F4 view semantics, boards with their decisions in study §7.4, U2b entry in `V1-2-6_UX_PLAN.md` §3, LRN-119 (`<Activity>`), contract `.claude/tasks/contracts/2026-11-06-v1-2-6-findings-nav-decisions.md` · [x] fresh verifier on that contract: ECARTS(9) → fixed → CONFORME 11/11 (6 observations outside criteria kept for the owner) · [x] owner 2026-11-06 (brief « U1 / U2b — Derniers arbitrages avant implémentation », BDR-104): F2 leaves, F3, F4 model A, F8, F22 decided; study §6-§7 updated · [ ] owner: F5, F9-F21 (before the U2b contract) · [ ] U2b authorisation (after U2)
|
||||
- [ ] follow-up candidates (owner T14): multi-tab notice; RR item for the rollback limit of the category model (new id, reconcile with develop)
|
||||
- [ ] curves lot (ex-U9, owner T16 2026-11-05): curve handle editing, curved zone move, path remap, path point correction; spec `V1-2-6_UX_PLAN.md` §2 D, tests `V1-2-6_UX_TESTS.md` « Curves lot ». Rule: no feature that lets a path enter a document (package import, zones from the drawing's shapes, a curve drawing tool) ships before or without it. Before the new model is activated on an environment, and before U6 or U8 reaches any environment beyond the throwaway sandbox: read-only count of path geometries in its drafts and published versions (sandbox by U6 itself; DEV and shared environments by the owner or under explicit authorisation; non-zero reopens T16)
|
||||
- [ ] MANDATORY before merging V1-2 into develop (owner 2026-11-03): registry id reconciliation. LRN-095 collides: develop 09655b2 « Port a safe runner verbatim… » (2026-11-02) vs V1-2 « pgTAP across PGlite and the real Supabase image… » (2026-10-28, cited by BDR-084 and the V1-2.1 TODO lines). BLK-013 exists on develop only (« e2e:avatar on develop reached DEV »): `memory.sh` on V1-2 would hand out BLK-013 again, so a V1-2 blocker needs its id checked against develop first. Same for the TODO release-readiness ids: RR-11 is develop's (« sandbox-only e2e follow-ups »), V1-2 uses RR-12. No renumbering during V1-2.6 unless needed; renumber one side and patch its citers at the merge
|
||||
|
||||
@@ -0,0 +1,108 @@
|
||||
# CONTRACT — v1-2-6-u1-authorisation-checkpoint
|
||||
- date: 2026-11-06 | flow: checkpoint preparation (docs only) | branch: feature/v1-2-anatomical-sheets
|
||||
- status: active
|
||||
- worktree: /home/bchanot/Documents/faunosteo-v1-2 (every command from this absolute path; never DEV; the sandbox is
|
||||
neither started nor reset)
|
||||
- base: a43145a. Commit in place, push; no merge, no `gitflow.sh finish`.
|
||||
|
||||
## REQUEST (verbatim — IMMUTABLE)
|
||||
|
||||
# FAUNOSTEO — U1 / U2b — Derniers arbitrages avant implémentation
|
||||
|
||||
Le propriétaire confirme la conception U1 et le placement de U2b entre U2 et U3.
|
||||
|
||||
## A. Décisions U2b
|
||||
|
||||
F2 — Compter uniquement les feuilles sélectionnables de l'arbre des constats, sans les groupes intermédiaires. Les doublons dus à plusieurs annotations d'une même zone doivent être éliminés.
|
||||
|
||||
F3 — Recherche en français et en anglais, sur les noms des zones, familles, groupes et feuilles. Recherche insensible aux accents et à la casse. Tous les mots doivent correspondre, dans n'importe quel ordre, y compris lorsqu'ils apparaissent à différents niveaux de l'arbre.
|
||||
|
||||
F4 — Valider le modèle A. Sans annotation cochée, les vues sélectionnées filtrent les zones représentées. Dès qu'une annotation est cochée, les zones explicitement sélectionnées déterminent le filtre anatomique. Combiner ce filtre avec la recherche textuelle par intersection.
|
||||
|
||||
F8 — Ne jamais créer automatiquement une zone de constats redondante. Une annotation sans zone doit permettre une association explicite à une zone existante ou une création validée. L'opération doit être cohérente, annulable et non destructive. Ne pas fusionner deux constats distincts sur la seule égalité de leurs libellés.
|
||||
|
||||
F22 — Lorsqu'on ajoute un constat depuis une annotation, utiliser sa zone existante comme rattachement par défaut. Toute modification de l'association anatomique passe par une action explicite, sans déplacement silencieux des constats existants.
|
||||
|
||||
Mettre à jour les décisions et les tests U2b concernés.
|
||||
|
||||
## B. Décisions encore ouvertes
|
||||
|
||||
Présenter les questions F5 et F9 à F21 avec leurs libellés exacts et les recommandations correspondantes.
|
||||
|
||||
Ne pas les considérer comme automatiquement approuvées.
|
||||
|
||||
## C. Checkpoint d'autorisation U1
|
||||
|
||||
Le plan U1 au commit 2e46c14 est conservé.
|
||||
|
||||
Présenter maintenant, sans réécrire le plan :
|
||||
|
||||
1. Les 18 choix visibles du plan U1, avec alternatives, recommandation et conséquences.
|
||||
2. Les cinq amendements contractuels exacts.
|
||||
3. Le résultat des trois audits indépendants et la trace de résolution de leurs points majeurs.
|
||||
4. La portée exacte de toute suppression ou réinitialisation de la sandbox prévue dans le lot B1.
|
||||
5. Les critères de validation de chaque lot A à I.
|
||||
|
||||
Prévoir qu'aucune suppression de données, même en sandbox, n'est implicitement autorisée par l'approbation du plan.
|
||||
|
||||
## D. Apprentissage React
|
||||
|
||||
Conserver LRN-119, notamment la distinction entre préservation de l'état et reprise des effets de React Activity, ainsi que le comportement des références DOM lors du masquage.
|
||||
|
||||
## E. Restrictions
|
||||
|
||||
Documentation et arbitrages uniquement.
|
||||
|
||||
Ne pas modifier le code applicatif, Rust, SQL ou worker.
|
||||
|
||||
Ne pas utiliser Supabase DEV.
|
||||
|
||||
Ne pas réinitialiser la sandbox.
|
||||
|
||||
Ne pas fusionner, déployer ni commencer U1, U2 ou U2b.
|
||||
|
||||
S'arrêter à la présentation des dernières décisions nécessaires à l'autorisation d'implémentation U1.
|
||||
|
||||
## CLARIFICATIONS
|
||||
(none)
|
||||
|
||||
## ACCEPTANCE CRITERIA
|
||||
1. U2b decisions (A): the study `docs/development/V1-2-6_UX_FINDINGS_NAV.md` section 7 records F2, F3, F4, F8 and
|
||||
F22 as approved with the owner's sentences of this REQUEST verbatim, adapts their recommendation and consequences
|
||||
(F2 leaves and identity never by label, F8 explicit link or validated creation and no merge on labels, F22 default
|
||||
zone and no silent move), flags any reading the owner did not state (F22 « par défaut ») and any detail left to
|
||||
the U2b contract; F5 and F9 to F21 stay « to decide »; every figure added is computed from the equine draft under
|
||||
the rule it names.
|
||||
2. U2b tests (A): the study's section 6 lists unit and e2e tests for each of F2, F3, F4, F8 and F22 as decided.
|
||||
3. U1 plan preserved (C): plan and contract byte-identical to 2e46c14.
|
||||
CHECK: cd /home/bchanot/Documents/faunosteo-v1-2 && git diff --quiet 2e46c14 -- .claude/tasks/plans/2026-11-06-v1-2-6-ux-u1.md .claude/tasks/contracts/2026-11-06-v1-2-6-ux-u1-1123.md && echo U1_UNCHANGED
|
||||
EXPECT: U1_UNCHANGED
|
||||
EVIDENCE: MET exit=0 marker-found :: U1_UNCHANGED
|
||||
4. Checkpoint page (C1-C5): `docs/development/V1-2-6_UX_U1_CHECKPOINT.md` gives (1) the plan's 18 visible choices
|
||||
quoted verbatim, each with alternatives, recommendation and consequences; (2) the five AC amendments with the
|
||||
contract's current text verbatim and an exact proposed text faithful to the plan, plus the plan's other contract
|
||||
changes quoted; (3) the verdicts and MAJOR/MINOR counts of the three challengers and the confirmation pass, each
|
||||
MAJOR traced to its resolution in the plan, matching the archived original reports
|
||||
`.claude/audits/2026-11-06-v1-2-6-u1-plan-challenges.md`; (4) the exact scope of every planned sandbox reset
|
||||
(commands, what is removed and what is not, current state) from `scripts/db-sandbox.sh`; (5) the validation
|
||||
criteria of lots A to I matching the plan; every « plan :n » reference points at the cited text.
|
||||
5. No implicit deletion (C): the page states that the plan approval authorises no data deletion and proposes a
|
||||
contract clarification that prevails over the plan lines authorising the wipe, without editing the plan.
|
||||
6. LRN-119 kept (D): unchanged by this intervention, its status line on DOM refs present.
|
||||
CHECK: cd /home/bchanot/Documents/faunosteo-v1-2 && git diff --quiet a43145a -- .claude/memory/learnings.md && grep -q "refs to DOM elements detached while hidden" .claude/memory/learnings.md && echo LRN_KEPT
|
||||
EXPECT: LRN_KEPT
|
||||
EVIDENCE: MET exit=0 marker-found :: LRN_KEPT
|
||||
7. Registries: one decisions entry for this brief through `memory.sh`, recording only owner decisions; journal; TODO.
|
||||
8. Restrictions (E): no change under `apps/`, `crates/`, `supabase/`, `packages/`, `scripts/`, `docs/design/v1-2-6/`,
|
||||
the PNG boards; no sandbox container started or removed; the untracked review file never staged.
|
||||
CHECK: cd /home/bchanot/Documents/faunosteo-v1-2 && git diff --quiet a43145a -- apps crates supabase packages scripts docs/design/v1-2-6 'docs/design/v1-2-6-constats/*.png' && ! git ls-files --error-unmatch faunosteo-v1-2-6-revue-ux-chatgpt.md >/dev/null 2>&1 && echo CK_SCOPE_OK
|
||||
EXPECT: CK_SCOPE_OK
|
||||
EVIDENCE: MET exit=0 marker-found :: CK_SCOPE_OK
|
||||
9. A fresh independent verifier against this contract; justified gaps fixed; exact verdict reported. STOP.
|
||||
|
||||
## FILE SCOPE
|
||||
- docs/development/{V1-2-6_UX_FINDINGS_NAV.md, V1-2-6_UX_PLAN.md (U2b entry), V1-2-6_UX_U1_CHECKPOINT.md (new)}
|
||||
- docs/design/v1-2-6-constats/REVUE.md
|
||||
- .claude/audits/2026-11-06-v1-2-6-u1-plan-challenges.md (new, verbatim reports)
|
||||
- .claude/tasks/TODO.md, this contract, .claude/memory (through memory.sh)
|
||||
- NOT in scope: the U1 plan and contract, apps/**, crates/**, supabase/**, packages/**, scripts/**, the boards
|
||||
Reference in new issue
Block a user