docs(docs): Step 8 / R1 — files foundation, worker loop, avatar: CLAUDE, DEPLOY (.env.worker, CSP), SUPABASE, RUST, TEST_STRATEGY, WORKSPACE, IDENTITY §5, design README, plan as-built note, CHANGELOG; R1 plan and verifier contract
This commit is contained in:
1 parent
0c6053c174
commit
62eb4e5d82
13 files changed
+235
-35
No files matched your search
@@ -18,7 +18,7 @@ by side until the plan's Step 14 decides what goes behind authentication.
|
||||
| `/reset-password` | none; needs the recovery session | new password ×2; "invalid or expired link" otherwise |
|
||||
| `/auth/callback` | none | landing of OAuth redirects and confirmation links; waits for the session then goes to `/app` (or `?next=`) |
|
||||
| `/app` | `RequireAuth` | dashboard: greeting, profile completeness card, local tool card, account card |
|
||||
| `/app/account` | `RequireAuth` | Mon compte: personal, professional, preferences (language, timezone), security (password, MFA note, sign out) |
|
||||
| `/app/account` | `RequireAuth` | Mon compte: profile photo (Step 8, `STORAGE.md` §4), personal, professional, preferences (language, timezone), security (password, MFA note, sign out) |
|
||||
|
||||
`RequireAuth` waits for the client to read the persisted session, then sends
|
||||
a visitor to `/login?next=<path>`; `next` is honoured only when it is a
|
||||
@@ -126,6 +126,16 @@ VITE_AUTH_PROVIDERS=google pnpm dev
|
||||
password → `/app`; sign out and sign in with the new password.
|
||||
9. REST: anon cannot read profiles (`42501`), alice reads one row only
|
||||
(SUPABASE.md §8).
|
||||
10. Profile photo (Step 8, worker container running: `pnpm worker:image`
|
||||
then `docker compose --profile worker up worker` or the container of
|
||||
`scripts/avatar-e2e.sh`): Mon compte → Modifier la photo with a phone
|
||||
JPEG → preview → Enregistrer → "Traitement en cours…" → the photo in the
|
||||
circle, the sidebar, the drawer (mobile) and the top bar (name beside it
|
||||
on desktop, alone on mobile) linking to Mon compte; a renamed PNG is
|
||||
accepted, an HTML or SVG file is refused at the picker; replace, then
|
||||
Supprimer la photo → confirmation → monogram; sign in as bob: nothing of
|
||||
alice shows; open the object path of alice's photo in a private window
|
||||
→ 400.
|
||||
|
||||
Automated: `pnpm test:run` (auth store, locale sync, forms, guards, shell,
|
||||
dashboard, account, pgTAP 009), plus the headless end-to-end run described in
|
||||
|
||||
Reference in new issue
Block a user