chore(memory): R2 closure BDR-117, LRN-139..141, plan Rev 4, contract 19-25

This commit is contained in:
bchanot committed 2026-11-14 23:19:37 +01:00
1 parent be0f6d8beb
commit b41c24b29d
5 files changed
+94 -1

No files matched your search

+8
View File
@@ -963,3 +963,11 @@ Decision: finding + reference add/edit/detail in D13 modal dialogs, transactiona
Alternatives: URL params (rejected: leaks into links, A2), data router + useBlocker (rejected BDR-078), inline forms (owner asked modals).
Limits: delete replaces dialog entry (one dead Back); POP during pending Back can swallow a same-instant move; CloseWatcher stub-proved only; outside tap only closes « Plus »; multi-entry Back out of editor drops dirty dialog draft -> content-free sessionStorage flag, notice once on next mount (src/editor/leftDraft.ts).
Status: built, awaiting owner trial on db:trial. Commits 553a0e5..021685f on feature/v1-2-anatomical-sheets.
## BDR-117 — R2 closure after owner trial 2026-11-14: edit-only citing, session tag, leave confirm, U2 orientation (2026-11-14)
- **Status**: accepted
Context: owner R2 trial 2026-11-14 validated main journeys; asked last fixes + U2 orientation.
Decision: (1) citing/removing references only in finding edit form, part of transactional save (one undo); view = « Références citées » + « X références »; sheet read-only (no « Retirer de ce constat »); draft citations reach sibling sheet via zustand store citationDraft.ts (shortcut). (2) deletion pops dialog entry (first Back moves); first Défaire reveals restored finding (store `revealed`). (3) « Plus » pick focuses new tab panel. (4) history entries carry random 128-bit session tag, not account id; tag record in sessionStorage bound by FNV-1a fingerprint salted with tag (sync, works on http LAN); rotated on sign-out/mismatch. (5) multi-entry traversal leaving editor with dirty dialog: Navigation API navigate event preventDefault (cancelable same-document traverse, verified Chromium 156 incl. CDP history jump), cascade ask top-down, only layers a Back removes are asked; fallback no API/not cancelable = content-free left-draft flag + notice; sign-out with dirty dialog = salted flag, notice at same account's next sign-in.
U2 orientation: properties in modal dialog, geometry direct on canvas; click without move opens dialog, drag never does; point size slider stays on canvas strip; boards 02-06, 13 redraw + owner validation before U2 code. U2 not started.
Owner-accepted limits: same-instant move vs Back race, « Aller à » view mode, search kept across tabs, first outside tap closes « Plus » only. To confirm: CloseWatcher on real Android, cascade limit, browser matrix (Firefox/Safari unverified).
Status: built afc1051..f8be0ad, awaiting owner final manual checks (OWNER_TRIAL §4.12).