chore(memory): V1-2.5 checkpoint, LRN on inert drawer and GoTrue MFA, journal
This commit is contained in:
1 parent
5db85ff19f
commit
14ff890761
3 files changed
+13
-2
No files matched your search
@@ -510,3 +510,4 @@ R5.4: `draft/{labels,changelog,review_report,drawing,overlay,app_review,svg_comp
|
||||
- 2026-11-02 V1-2.4 final graphic corrections (owner brief after external review): 01 sheet-name search only (UX item 4 withdrawn; no repo trace of earlier 'no zone search'), 06 distinct failed/unavailable titles, 03 whole horse at opening, 05 1 024 px not device, 04 vertex wording, complement « Accès non autorisé » board. 9adbd3a, f9fc13c. Verifier ECARTS(1) = zip not built yet; built after. Labels open. Checkpoint, no approval.
|
||||
- 2026-11-02 V1-2.4 owner arbitrations: BDR-095 (sheet-name search replaces BDR-094 zone item, distinct failed/unavailable titles, V1-2.7 lists on failure_outcome), board 05 whole horse at 768 px, 24 common labels + owner arbitrations ratified, object_conflict kept open (meaning = hash mismatch). Verifier ECARTS(2) → ECARTS(1) → CONFORME 21/21 incl. archive -3.zip. No global graphic approval.
|
||||
- 2026-11-02 V1-2.4 GRAPHICAL APPROVED by owner (BDR-096): 12 boards + « Accès non autorisé » page, no board regenerated; object_conflict FR, L20 EN, L32 EN ratified, L14 confirmed; L15 2nd sentence + code messages open, checked at integration. Recorded contract §16.5/§17.9, maquettes contract, REVUE.md, design README, TODO. Next: V1-2.5 prerequisites.
|
||||
- 2026-11-02 V1-2.5 built + tested on sandbox (A-K): MFA proofs 10/10 no STOP, M7 admin reads + deprecated fingerprint (BDR-097/098), access layer, shell/step-up/MFA UI, admin, catalogue, e2e A0 A1 S1 P1. pgTAP 1941, unit 66/148/655, e2e:shell 108+6 skip, check:all green. Security PASS; verifier ECARTS(7)->ECARTS(1)->ECARTS(1)->CONFORME. Phone e2e flake root-caused (inert closing drawer). DEV untouched, no merge. Checkpoint.
|
||||
@@ -767,3 +767,13 @@ Supersedes [[LRN-100]].
|
||||
|
||||
**Application**: quote every heredoc delimiter (`<<'EOF'`, `<<'PYEOF'`) unless expansion is wanted, pass values as arguments; prefer Write/Edit for prose. Run commands with an absolute, verified directory (`git -C <abs>`, `pnpm --dir <abs>`, `[ "$(pwd -P)" = <abs> ]` before acting); never `cd X && cmd &`. Validate the environment before any side effect (target URL, key issuer, container name) inside the script itself, so its safety never depends on cwd. Put these rules in every sub-agent brief that may run shell commands, with the explicit ban on running scripts from other worktrees.
|
||||
Supersedes [[LRN-102]].
|
||||
|
||||
## LRN-111 — Closing modal drawer leaves page inert: e2e typing lost until dialog gone (2026-11-02)
|
||||
**Context**: V1-2.5 e2e P1 at 375 px: search fill lost 2/4 full runs (8 cards, not 1). Test clicked drawer link, saw heading + first card, filled search at once.
|
||||
**Pattern**: native `<dialog>` showModal kept mounted through motion AnimatePresence exit → page behind inert ~200 ms; Playwright fill there goes nowhere, intermittently under load. Fix in test: after drawer link click, `expect(dialog).toHaveCount(0)` before typing. Proof: 1/16 red repro, 32/32 after.
|
||||
**Apply**: any e2e acting right after closing a modal drawer/dialog waits for it gone; flaky "input ignored" → suspect inert from closing modal first. Keep failure snapshot (check:all e2e:ui wipes test-results).
|
||||
|
||||
## LRN-112 — GoTrue v2.197 MFA: aal2 needed for password/email change; factor removal downgrades only its sessions (2026-11-02)
|
||||
**Context**: V1-2.5 sandbox proofs on GoTrue v2.197.0 (mfa-behaviour.sandbox.ts, IDENTITY.md §4.1).
|
||||
**Pattern**: once a TOTP factor verified: password change and recovery-link reset refused at aal1 (401 insufficient_aal) → reset/change UI must step up first; email change same. Removing verified factor downgrades only sessions last verified with that factor; their access token keeps aal2 claim until expiry (has_mfa true, has_aal2_session false). supabase-js `mfa.listFactors().totp` hides unverified factors → read `all`.
|
||||
**Apply**: never assume aal from claim alone for sensitive RPCs (session row check); any password/email flow on MFA accounts needs a step-up path; factor lists show unverified ones.
|
||||
Reference in new issue
Block a user