Commit Graph
900 Commits
Author SHA1 Message Date
bchanot e39f69ee6d fix(app): a failed account load no longer leaves own grants loading
Delta verifier: when the profile or roles read failed, the grant read never ran and the creation page waited forever; the catch now marks the grants failed (form shown, server decides). Store transition tests (ready, loading on change and sign-out, failed), red without the fix. Contract clarification states the failed-read behaviour for the owner.
2026-11-02 18:41:32 +01:00
bchanot f04bfdd040 fix(app): creation page waits for own grants; e2e never prints setup keys
Delta verifier: two remaining setup-key assertions now booleans. Its observation: the editor rule read grants before they loaded; authStore.catalogGrantsStatus (loading, ready, failed): the page waits, and a failed read leaves the decision to the server. App 654, e2e:ui 227, admin shell spec 14 + 6 skipped.
2026-11-02 18:33:57 +01:00
bchanot 02625a76b6 fix(app): sheet creation form only for editors; review findings (V1-2.5 K)
Verifier C4: /app/admin/sheets/new shows Accès non autorisé without sheet_editor (display rule, server unchanged), tests. Security: M7 restates get_sheet_version grants; e2e enrolment check never prints the setup key. Contract clarifications: phone skips, run evidence, one intermittent e2e failure tracked.
2026-11-02 18:18:54 +01:00
bchanot 3d2b5a5f1c docs(docs): V1-2.5 administration, MFA, catalogue documented
CLAUDE.md overview and folder map, IDENTITY §1 and §4, BROWSER_TESTS shell specs, V1-2 contract §16.6 state and §5.7.3-§5.7.4 pointers, design README owning steps with two deviations.
2026-11-02 17:48:50 +01:00
bchanot c12702bac1 chore(memory): V1-2.5 slice J done 2026-11-02 17:44:15 +01:00
bchanot 4f6c0ba407 test(app): V1-2.5 browser journeys A0, A1, S1, P1 on the sandbox (J)
Owner bootstrap with two factors, step-up, rights; sheet creation; species activation seen by the animal form; catalogue reader with search, zone panel, withdrawn and archived versions; access per right; axe and widths 320-430 / 375 / desktop, FR and EN. Shell suite 108 passed, 6 skipped by design.
2026-11-02 17:44:14 +01:00
bchanot a897dd8876 chore(memory): V1-2.5 slices G, H, I done 2026-11-02 17:18:56 +01:00
bchanot d6a772818e chore(memory): V1-2.5 label proposals for G, H, I 2026-11-02 17:18:55 +01:00
bchanot ff9d5c4a3d chore(memory): BDR-098 deprecated fingerprint 2026-11-02 17:18:28 +01:00
bchanot 0176b3184d feat(app): administration screens and anatomical catalogue (V1-2.5 G, H, I)
Administration page (board 10), species, rights, official sheets list with filters, creation from the core's empty document, overview with the working-copy action; catalogue list (search by sheet name), sheet and version pages through PreviewSheet with zoom and pan. App 650, typecheck, lint, build green.
2026-11-02 17:18:27 +01:00
bchanot 9f7824dc08 fix(supabase): get_sheet_version returns a deprecated version's fingerprint
PreviewSheet checks the fingerprint of published and deprecated versions; M5 gave it for published only, so no withdrawn version opened in the catalogue. Redefined in M7 (owner decision, BDR-098); pgTAP 022 +3, suite 1941 on the sandbox; contract §10, §12.3, §17.10.
2026-11-02 17:18:26 +01:00
bchanot ffefb91204 chore(memory): V1-2.5 slices E, F done 2026-11-02 16:49:38 +01:00
bchanot 4744e28986 feat(app): admin and catalogue entries, step-up guard, MFA in Mon compte (V1-2.5 E, F)
Nav hint from own grants and roles (never a control); RequireCatalog, RequireAdmin (no admin read before aal2), Accès non autorisé page, placeholder routes; TOTP factor list, enrolment with QR and one-time secret, removal, inline step-up for aal2 actions, step-up in password reset; auth kind aal2_required. App 601, e2e:ui 227.
2026-11-02 16:49:37 +01:00
bchanot 99488d71d9 chore(memory): V1-2.5 slice D done 2026-11-02 16:31:51 +01:00
bchanot c9ace9aff2 feat(supabase): MFA, species, rights, admin and catalogue access layer (V1-2.5 D)
mfa.ts (closed kinds, TOTP list incl. unverified, enrol, verify, unenrol, assurance); sheets.ts wrappers for species, working copy, account lookup, M7 reads, versions list, drawing download, own grants, with shape parsers. Unit 148, sandbox sheets-admin 5/5 x2.
2026-11-02 16:31:50 +01:00
bchanot a79e1f0af7 chore(memory): V1-2.5 slices A-C done in TODO 2026-11-02 16:19:59 +01:00
bchanot bbab0e61cb feat(domain): sheet.empty free op for a new sheet's document (V1-2.5 C)
Wraps create_empty_sheet_document; refusals invalid_shape / invalid_json; ts-rs SheetEmptyInput, core-wasm proof, app wrapper emptySheetDocument.
2026-11-02 16:19:49 +01:00
bchanot b0a4cbe588 feat(supabase): M7 admin read RPCs for official sheets (V1-2.5 B)
list_official_sheets_admin and get_official_sheet_admin: badges, version and round states, named actors; capability holders at aal2, one answer for unknown or forbidden ids, no write path. pgTAP 022 (40); sandbox fresh and upgrade from M6: 1938 pass, types match.
2026-11-02 16:19:48 +01:00
bchanot 78791bfb6b test(supabase): GoTrue MFA behaviour proven on the sandbox (V1-2.5 A)
Ten cases on the pinned GoTrue: aal1 cannot enrol a second factor or remove a verified one (no STOP); removal downgrades only the sessions verified with that factor; password change and reset need aal2 once a factor is verified. Findings in IDENTITY.md §4.1.
2026-11-02 16:19:47 +01:00
bchanot a701b04210 chore(memory): BDR-097 V1-2.5 start decisions, TODO plan 2026-11-02 16:06:55 +01:00
bchanot 3d80812cdb docs(docs): V1-2.5 start, prerequisites and owner answers
Contract §17.10 (V1-2.1 VERIFIED at ac71c5b, V1-2.2, V1-2.4 approved), §3 EN « Permission », §12.3 M7 admin reads, §16.6 SQL and working-copy action, §16.2 state; step contract and plan.
2026-11-02 16:06:54 +01:00
bchanot 994b04ee73 chore(memory): V1-2.4 TODO lines read as history after the approval 2026-11-02 16:04:15 +01:00
bchanot 410025715c chore(memory): BDR-096 V1-2.4 graphic approval, TODO, journal 2026-11-02 15:38:53 +01:00
bchanot 567f27e37d docs(docs): record the V1-2.4 owner graphic approval
V1-2.4 GRAPHICAL APPROVED: twelve boards and the « Accès non autorisé » page, unchanged. Contract §16.5 state, §17.9 (object_conflict FR, L14, L20 EN, L32 EN, messages checked at integration, L15 second sentence open), §3 and §11.3 pointers; REVUE.md labels and status; design README validated with owning steps.
2026-11-02 15:38:42 +01:00
bchanot 74aa8f6099 chore(memory): BDR-095, V1-2.4 label arbitrations, journal 2026-11-02 14:52:37 +01:00
bchanot 27e5727cca docs(docs): V1-2.4 owner label arbitrations and board 05 framing
BDR-095 references in the contract (§3 L11, §14.2, §16.8 review lists, §17.8). Board 05 shows the whole horse at 768 px; 05, 06, 07, 09, 10, 12 carry the labels ratified on 2026-11-02; REVUE.md lists ratified and open labels. Still a proposal, no global graphic approval.
2026-11-02 14:52:36 +01:00
bchanot c2a3147293 chore(memory): V1-2.4 final graphic corrections, journal 2026-11-02 14:01:19 +01:00
bchanot f9fc13c110 docs(docs): V1-2.4 REVUE.md records the third conformance check 2026-11-02 14:00:54 +01:00
bchanot 9adbd3ac34 docs(docs): V1-2.4 final graphic corrections and access-denied board
Owner brief « dernières corrections graphiques »: sheet-name search only (01), whole horse at opening on a phone (03), vertex wording (04), 1 024 px instead of a device (05), distinct failed/unavailable titles (06), board 12 rows. Complementary « Accès non autorisé » board outside the twelve. Still a proposal.
2026-11-02 13:51:19 +01:00
bchanot fdf0f7f023 chore(memory): BDR-094 V1-2.4 catalogue access UX, journal 2026-11-02 12:53:29 +01:00
bchanot 7979506f35 docs(docs): V1-2.4 catalogue access UX and verdict_refused divergence
Records BDR-094 in the V1-2 contract (§5.3 hidden entry and « Accès non autorisé » page, §11.1 reviewer-only Administration content, §6.5 no operator notification, §17.8) and in REVUE.md. Boards unchanged, still a proposal.
2026-11-02 12:53:28 +01:00
bchanot 1a68cd8351 chore(memory): V1-2.4 G1/G2 corrections, verifier CONFORME, journal 2026-11-02 12:44:41 +01:00
bchanot 98e8403f8b docs(docs): V1-2.4 maquettes G1/G2 corrections and review dossier
Board 06 drops a warning the core cannot raise, board 12 leaves « Mark as reviewed » to arbitrate and states the real fingerprint and verdict_refused behaviour. Adds the contact sheet and REVUE.md. Still a proposal, no graphic approval.
2026-11-02 12:44:16 +01:00
bchanot a15c35ca66 chore(memory): V1-2.4 open UX decisions, journal 2026-11-02 01:00:41 +01:00
bchanot c434e0e944 docs(docs): V1-2.4 maquettes verifier notes (working copy, vertices, change wording) 2026-11-02 00:51:49 +01:00
bchanot 108604acf4 docs(docs): V1-2.4 maquettes revised after the design review 2026-11-02 00:43:16 +01:00
bchanot ab9cb8d5f3 chore(memory): V1-2.4 maquettes contract 2026-11-02 00:35:06 +01:00
bchanot 09595ed977 chore(memory): containment done, remaining DEV entry points tracked 2026-11-02 00:34:27 +01:00
bchanot bbc0627f8a fix(supabase): sheet-assets runner review LOWs (one destination, no anon key at build) 2026-11-02 00:34:03 +01:00
bchanot 8191e3a42c chore(memory): DEV read incident report, LRN-110 supersedes LRN-102 2026-11-02 00:25:30 +01:00
bchanot 34a49f5769 fix(supabase): branch-neutral refusal message of the sheet-assets runner 2026-11-02 00:24:01 +01:00
bchanot 9c4603755e chore(memory): journal, DEV read incidents 2026-11-02 00:11:51 +01:00
bchanot 53cedf2499 chore(memory): repair TODO line, record the two DEV read incidents 2026-11-02 00:11:37 +01:00
bchanot f00d8b4e4c docs(docs): V1-2.4 maquettes proposal, verification worker risk register
docs/design/v1-2-4: twelve functional mockups on the existing identity
(catalogue, editor, narrow read-only, verification states, review, admin
navigation, FR/EN labels), not validated. V1-2 contract §13.1: accepted risks
VR-1 (CPU contention, MEDIUM) to VR-5 with their re-examination condition.
2026-11-02 00:11:04 +01:00
bchanot 8db62b43e2 chore(memory): BDR-093 V1-2.3 verified, CPU-contention MEDIUM accepted temporarily 2026-11-02 00:09:03 +01:00
bchanot f924ad056d test(supabase): sheet-assets e2e on the sandbox only
pnpm e2e:sheet-assets is now an alias of pnpm db:sandbox sheet-assets-e2e:
gateway on 127.0.0.1:57800 (occupied port refused), the runner refuses any
URL but the sandbox gateway and any key not issued by the sandbox, before
building or any request; no DEV URL, port or key remains.
2026-11-02 00:09:02 +01:00
bchanot 57b93afae6 chore(memory): V1-2.3 closure verified, journal 2026-11-01 23:47:04 +01:00
bchanot 093083da07 docs(docs): STORAGE §6 no longer pairs the e2e suite with a DEV worker 2026-11-01 23:39:45 +01:00
bchanot bb8acbe663 docs(docs): V1-2.3 closure adjustments, review and gates 2026-11-01 23:24:19 +01:00
bchanot 3c141c942b fix(supabase): targeted review LOWs on retry and sandbox isolation
fail_sheet_verification refuses lease_expired (the claim's record, never a
worker report); the sandbox state dir guard resolves the repository path; the
avatar suite also refuses keys not issued by the sandbox. pgTAP 021: 90.
2026-11-01 23:13:42 +01:00