chore(memory): BDR-094 V1-2.4 catalogue access UX, journal
This commit is contained in:
1 parent
7979506f35
commit
fdf0f7f023
4 files changed
+22
-1
No files matched your search
@@ -708,3 +708,17 @@ Also kept by owner: per-document-instance prefix required on top of per-view pre
|
||||
**Rationale**: definitive failures deterministic for frozen input → one child run, not five; transient by environment keeps retries; SQL owns code policy so any worker honours it. Evidence: RUST.md §13.1, V1-2 contract §6.4/§6.5, gates on 3c141c9 (check:all, pgTAP 1898, verify-e2e 10/10, avatar-e2e 5/5, e2e:shell 86, DEV untouched).
|
||||
|
||||
**Alternatives**: retry every worker code (five identical runs on deterministic failure, refused by owner); per-call `final` flag in RPC (signature change, rejected); rusage-based timeout classification (needs `unsafe`, deferred by owner).
|
||||
|
||||
## BDR-094 — V1-2.4 catalogue access UX (O21): hidden entry, « Accès non autorisé » page, reviewer keeps limited Administration; §6.5 alert divergence recorded (2026-11-02)
|
||||
- **Status**: accepted
|
||||
**Decision**: owner brief « V1-2.4 : validation de la décision UX n° 3 » (2026-11-02, on 1a68cd8). Signed-in account without catalogue right (`private.can_read_official_catalog` false, O21):
|
||||
1. Sidebar and drawer hide « Fiches anatomiques » (`/app/anatomy`; owner's « Catalogue anatomique » = same entry, name kept).
|
||||
2. Direct URL (`/app/anatomy`, `/:sheetId`, `/versions/:n`) → page « Accès non autorisé »: explanation + link back to `/app`. Same page whether sheet exists or not (no existence oracle).
|
||||
3. Server checks, capabilities, RLS unchanged; hidden entry protects nothing.
|
||||
4. Reviewer-only account (`sheet_reviewer` only) keeps « Administration » entry to reach its rounds (boards 07, 09, 10; §11.1 E,V,P; R1 « À relire »), sees no entry or action it cannot use: no « Nouvelle fiche », « Créer une copie de travail », « Accès et habilitations », species creation or activation. Owner chose this reading of « ne pas exposer les entrées d'administration » (AskUserQuestion), boards unchanged.
|
||||
5. Not signed in → `RequireAuth` → `/login?next=` (IDENTITY.md); signed in, not entitled → « Accès non autorisé ». Never mixed.
|
||||
Also: G1/G2 corrections validated, conformance 8/8 acknowledged; UX decisions 2-11 of the 2026-11-02 checkpoint list ratified (3 settled here); item 1, labels, open. §6.5 « reported to the operator » for `verification.worker.verdict_refused` diverges from code: worker logs `complete_malformed` at error level, RPC keeps code on round + audit, no notification; recorded, no alert mechanism added. Still open: owner visual validation of 12 boards, 31 FR/EN labels.
|
||||
|
||||
**Rationale**: O21 right ≠ authentication ≠ capability (§5.3), so UI must tell the three apart; fail-closed, server decides. Hiding entry for reviewers would cut R1 (no e-mail in V1-2). Implementation (V1-2.5): visibility hint from own `anatomical_catalog_grants` rows (select policy `user_id = auth.uid()`), page decision from server refusal, never the hint.
|
||||
|
||||
**Alternatives**: show catalogue page with explanation for everyone (rejected by owner); hide « Administration » from reviewer-only accounts with separate « À relire » entry (needs boards 07, 09, 10 redrawn, not chosen); rename entry « Catalogue anatomique » (design change, not chosen).
|
||||
@@ -506,3 +506,4 @@ R5.4: `draft/{labels,changelog,review_report,drawing,overlay,app_review,svg_comp
|
||||
- 2026-11-02 V1-2.3 closed (BDR-093, risk register §13.1), e2e:sheet-assets sandbox alias, V1-2.4 maquettes proposal. TWO DEV READ INCIDENTS: old DEV sheet-assets script ran from main checkout at 23:03:49 (executor, backgrounded cd) and 23:10:59 UTC (orchestrator, unquoted heredoc backticks); 13 GET each, no write, DEV not restarted. Stopped, reported to owner.
|
||||
- 2026-11-02 incident containment: bugfix sheet-assets guard merged into develop 6287e5b (always refuses there), refusals proven without IP sockets, security PASS; incident report reconciled (13 GET each); LRN-110 supersedes LRN-102. V1-2.4 maquettes: design review applied, security PASS on V1-2 runner, verifier ECARTS(1) (§13.1 register in the maquettes commit, owner-ordered). Graphic checkpoint.
|
||||
- 2026-11-02 V1-2.4 G1/G2 fixed on owner brief: phantom warning board 06 removed, « Mark as reviewed » to arbitrate, fingerprint + verdict_refused messages match code; only 06/12 re-rendered, contact sheet + REVUE.md; fresh verifier CONFORME; 98e8403 pushed. Graphic checkpoint, no approval.
|
||||
- 2026-11-02 V1-2.4 owner: UX decisions 2-11 ratified, item 3 = hidden catalogue entry + « Accès non autorisé » page, reviewer-only keeps limited Administration (asked: point 4 conflicted with boards 07/09/10), §6.5 alert divergence recorded. BDR-094. Boards unchanged; visual validation + 32 labels open.
|
||||
@@ -802,4 +802,5 @@ Apply when implementing B-phase:
|
||||
- [ ] at the V1-2 merge: CLAUDE.md (e2e:sheet-assets line) and docs/development/SUPABASE.md §3.1 conflict with develop's bugfix text: keep the V1-2 text
|
||||
- [ ] still vulnerable, owner decision needed: develop `pnpm e2e:avatar` (scripts/avatar-e2e.sh: DEV keys, worker on DEV, writes, purge expedite); main checkout (feature/v1-1-clients-animals) and worktree old-958228a hold both old scripts on disk; main and release/0.2.0 hold neither. Agents never run them.
|
||||
- [ ] V1-2.4 maquettes: design review (4 MUST-FIX, 10 SHOULD) applied, boards re-rendered; sheet-assets V1-2 security PASS, LOWs open: one sandbox e2e at a time (shared gateway name and port), PGPASSWORD reaches the sheet-assets build, issuer claim not signature, gateway left after SIGKILL; verifier ECARTS(2) on a15c35c (G1 phantom warning board 06, G2 « Mark as reviewed » shown ratified) → owner-authorised text fixes + fingerprint / verdict_refused messages, only 06 and 12 re-rendered, contact sheet + `docs/design/v1-2-4/REVUE.md` (98e8403); fresh verifier CONFORME; graphic checkpoint: owner visual validation of the 12 boards and 31 FR/EN labels pending
|
||||
- [ ] owner to confirm which ten UX decisions the brief « corrections G1/G2 » calls ratified (read as checkpoint items 2-11; item 3, catalogue access O21, has no drawn option) before a BDR
|
||||
- [x] UX decisions 2-11 ratified, item 3 settled (hidden entry, « Accès non autorisé », signed out → login), reviewer-only keeps limited « Administration », §6.5 alert divergence recorded: BDR-094, contract §5.3, §6.5, §11.1, §17.8, REVUE.md (L32 « Accès non autorisé » EN to arbitrate)
|
||||
- [ ] owner: visual validation of the 12 boards, 32 FR/EN labels (L1-L32)
|
||||
@@ -51,5 +51,10 @@ until the owner validates them. STOP at the graphic checkpoint.
|
||||
10. Delivery as a folder of twelve PNGs plus source rather than one file (§16.5 « one file »).
|
||||
11. For implementation, outside this slice: green badge and amber notice tones, thirteen new icons.
|
||||
|
||||
Owner, 2026-11-02 (BDR-094, V1-2 contract §17.8): items 2 to 11 ratified. Item 3: entry hidden without the
|
||||
catalogue right, « Accès non autorisé » on a direct URL, signed out → login. Item 8 read with the brief's
|
||||
point 4: a reviewer-only account keeps « Administration » with only the entries its capability allows. Item 1
|
||||
(labels, now 31 with « Mark as reviewed ») and the visual validation of the twelve boards stay open.
|
||||
|
||||
Scope note: the §13.1 risk register added to the V1-2 contract in f00d8b4 belongs to the V1-2.3 closure the owner ordered (BDR-093), not to the maquettes; it records accepted risks and changes no rule.
|
||||
|
||||
Reference in new issue
Block a user