docs(docs): U1 execution record and owner checkpoint reservations

Checkpoint page §7: criteria and gates, exact shell suite at da95b84
(188 passed, 90 skipped, 4 failed in admin.spec.ts:717), the five
out-of-scope files and three one-for-one assertion rewrites accepted
by the owner with their justification, reservations kept in U1.
Owner trial: canvas widths, trial-lan not run, the admin failures.
This commit is contained in:
bchanot committed 2026-11-09 12:47:42 +01:00
1 parent da95b846e4
commit b1045088c5
2 files changed
+82 -1

No files matched your search

+10
View File
@@ -301,6 +301,16 @@ vous avez créée dans l'interface.
inerte sous le voile) : on parcourt d'abord le panneau, le contenu après sa fermeture.
- « Gérer les vues », « Modifier les catégories » et « Régions vertébrales » ouvrent les éditeurs existants en
section pleine largeur ; U3, U4 et U6 les remplacent.
- Largeur du dessin (choix 2.6) : 538 px à 1 024 px et à 1 280 px (la barre latérale revient à 1 280 px), 694 px
à 1 180 px, 793 px à 1 279 px ; le panneau des références ouvert ne la change pas.
- Le parcours automatique sur un second appareil du réseau local (`e2e/lan/trial-lan.spec.ts`) n'a pas été
exécuté : il demande cette pile d'essai. Votre essai depuis un autre appareil (section 3) en est la première
vérification.
- Suite de navigateur au dernier commit de U1 (da95b84) : 188 réussis, 90 ignorés, 4 échecs, tous dans le test
d'accessibilité des écrans d'administration (`admin.spec.ts:717`, fr et en, bureau et 375 px). Cause probable :
l'état de la pile jetable (la copie de travail unique de la fiche historique existait déjà après un passage
précédent), à confirmer par une reproduction non destructive ou un test isolé. Les 192 réussites sans échec
datent du commit 81fba46 sur une pile neuve, pas du dernier commit.
## Repli facultatif : tunnel SSH
Le réseau local suffit normalement. Hors de ce réseau, ou si l'essai tourne en `FAUNOSTEO_TRIAL_HOST=127.0.0.1`,
+72 -1
View File
@@ -1,6 +1,7 @@
# V1-2.6 UX U1: authorisation checkpoint
Status: FOR THE OWNER'S U1 AUTHORISATION, 2026-11-06 (brief « U1 / U2b — Derniers arbitrages avant
Status: U1 implemented; owner validation checkpoint open (section 7, 2026-11-09). Written FOR THE OWNER'S U1
AUTHORISATION, 2026-11-06 (brief « U1 / U2b — Derniers arbitrages avant
implémentation »). This page presents the plan `.claude/tasks/plans/2026-11-06-v1-2-6-ux-u1.md` as committed at
2e46c14, without changing it, and its contract `.claude/tasks/contracts/2026-11-06-v1-2-6-ux-u1-1123.md`. Nothing
here authorises code, a sandbox reset or any data deletion. « Plan :n » is a line of the plan file at 2e46c14.
@@ -237,3 +238,73 @@ sentinels », which the plan never defines; the rule of :55-59 (every editor spe
- The amendments 2.1 to 2.9.
- The sandbox procedure of section 4: a go per reset (proposed), or both resets named in the authorisation.
- Whether the confirmation pass's fixes get a targeted re-check before execution (section 3).
## 7. Execution record (owner checkpoint, 2026-11-09)
Owner decisions: brief « V1-2.6 UX — Décisions au checkpoint U1 », 2026-11-09 (BDR-106). U1 implementation is done;
the owner's validation checkpoint stays open until the manual trial (`V1-2-6_OWNER_TRIAL.md` §4.9 and « Limites
connues de U1 »). U2 is not started.
### 7.1 Criteria and gates
- Pre-code counter-check: CONFORME at 9ec232a (three confirmation-pass fixes, precautions 2.8 and AC7).
- Lots A to I, 26 commits 9ec232a..da95b84, each reviewed per lot; ledger in the SDD workspace.
- Fresh verifier on 9ec232a..942d52a: the 22 acceptance criteria MET, AC18 gates included. Its two gaps are the
files and assertions of 7.2, accepted by the owner.
- Security gate on 846994b..81fba46: PASS, 0 blocking, 3 LOW (static mockup `innerHTML`; hidden edit-only inputs
stay live, refused by the store's `blockKind`; partial semgrep parse on tests). Not re-run on the final fixes
(0467885, da95b84: interface and tests only, no new data or access path).
- Final whole-branch review: ready with fixes; the fixes landed in 0467885 and da95b84, and the scoped re-review
found every finding addressed and no new Critical or Important issue.
- Tests at da95b84: typecheck and lint green; `test:run` app 1 280, supabase 159, core-wasm 66; `e2e:ui` 227.
- Whole shell suite at da95b84: 188 passed, 90 skipped, 4 failed. It is not green on the last commit. The four
failures are `admin.spec.ts:717` (fr and en, desktop and 375 px): « Créer une copie de travail » is disabled
because the historical sheet's single working-copy slot (`WorkingCopyAction.tsx:88`) was taken by an earlier run
on the same sandbox. Probable sandbox-state dependency, to confirm by a non-destructive reproduction or an
isolated test; no sandbox reset was made to obtain a green result.
- Earlier evidence, not of the last commit: at 81fba46 on the sandbox recreated under the owner's go of
2026-11-08, `e2e-shell` 192 passed, 0 failed; `test-db` 1 992; `db:sandbox test` 105; `check:all` passed;
`r5:import-equine --check` 0 differences.
- Not run: `e2e/lan/trial-lan.spec.ts` (needs the LAN trial stack); its revision reading is unit-tested on the real
save-line strings (`tests/unit/e2e-save-line-text.test.ts`).
### 7.2 Accepted by the owner, with their justification
Files outside the initial FILE SCOPE (executor rulings, contract CLARIFICATIONS « Files outside FILE SCOPE added
during execution »):
| File | Lot | Justification |
|---|---|---|
| `components/catalogue/CatalogueCanvas.tsx` | B2a | the catalogue canvas detaches its tree while hidden, like the editor canvases |
| `lib/placeVisibility.ts` | B2a | the visibility context in a neutral lib, so the catalogue does not import the editor |
| `editor/editingContext.ts` | B2b | `EditOnly` and `useEverEditable`, precaution 2.8 |
| `editor/references/filter.ts` | D | the panel filter split from `citations.ts` |
| `components/shell/ShellChrome.tsx` | F | `Sidebar` and `TopBar` split from `AppLayout.tsx` for the function limits |
Assertion lines rewritten one for one (floor guard ASSERT_DROP; `expect(` per file unchanged; mapping in the body of
99b669b, Lot E):
| Test | Assertion lines | `expect(` in the file | Rewrite |
|---|---|---|---|
| `e2e/shell/editor-journey.spec.ts:14` | 8 → 4 | 37 → 37 | undo/redo and revision text → `historyButton` and `saveLine` helpers |
| `e2e/shell/editor-recovery.spec.ts:7` | 4 → 2 | 41 → 41 | revision and unsaved text → `saveLine` helpers |
| `tests/unit/editor-route-recovery.test.tsx:93` | 8 → 5 | 45 → 45 | « Revision n » and copy_cap / copy_quota text queries → the save-line testid |
These acceptances do not widen the scope of later steps.
### 7.3 Reservations kept
Kept in U1, not moved to U2:
- N4: a field that switches in place to read-only loses a value the save refused.
- N6: an upload in flight at a narrow crossing still attaches.
- Repair window: the refusal `result` and an unparseable geometry draft are not kept across a crossing.
- Local recovery copy: held in the tab's `sessionStorage`, lost with the tab.
- References panel: the tab panels are `inert` while it is open (keyboard reaches them after closing).
- Widths (choice 2.6): canvas 538 px at 1 024 and 1 280 px, 694 at 1 180, 793 at 1 279.
- `trial-lan.spec.ts` not run; the four `admin.spec.ts:717` failures above.
- LOW: `usePress` (`HistoryButtons.tsx`) over the 25-line function limit.
Out of U1 and U2: the unbounded rights list (`list_catalog_grants`, `GrantList`) and its memory exhaustion under
the axe scan, tracked as TODO RR-13 « Pagination côté serveur de la liste des droits et prévention de l'épuisement
mémoire », not implemented.