Commit Graph
913 Commits
Author SHA1 Message Date
bchanot ee6decbe4e docs(docs): record the aal2 token residual risk as a production prerequisite 2026-11-03 22:04:28 +01:00
bchanot 4657abf1e3 chore(memory): V1-2.6 plan, contract, gate re-check REMAINING(2) 2026-11-03 21:27:30 +01:00
bchanot 7f618d05a2 chore(memory): BDR-099 V1-2.5 decisions, LRN-113 TOTP reuse, Storage 409, sandbox order 2026-11-03 11:05:44 +01:00
bchanot b4415a382f chore(memory): V1-2.5 VERIFIED after owner checkpoint corrections, journal 2026-11-03 00:14:26 +01:00
bchanot 431999e45c docs(docs): V1-2.5 checkpoint corrections in browser tests, identity, contract
Eight phone skips by design, the unreadable-permissions and live-region checks, species order and Paris expiry restated in contract 7.2 and 4, PermissionsUnavailable in the folder map.
2026-11-03 00:14:19 +01:00
bchanot f5456f330d test(supabase): concurrency seeding accepts Storage's duplicate answer
After e2e:shell seeds the same content-addressed drawing, Storage answers HTTP 400 with statusCode 409 (KeyAlreadyExists); any other 400 still fails. Docs: M7 adds no new write path; a TOTP code replays more than once within its span.
2026-11-02 23:31:49 +01:00
bchanot dcb1a94ee4 docs(supabase): V1-2.5 checkpoint decisions, TOTP reuse measured, lost-factor review
IDENTITY 4.1 asserted reuse span (step N and N+1), 4.2 lost authenticator paths and gaps, production prerequisite; V1-2 contract 12.3, 13, 17.10, 17.11; design README accepted deviations; REVUE L15 and object_conflict EN; M7 header.
2026-11-02 22:57:22 +01:00
bchanot 0499a39389 test(supabase): working-copy sandbox case holds on a fresh stack
The first call creates the copy on a fresh sandbox; the second must answer working_copy.exists. Was green only from the second run.
2026-11-02 22:57:21 +01:00
bchanot 51225cacf6 fix(app): grant expiry ends the chosen day in Paris; species order 0..9999 (V1-2.5 L2)
Owner checkpoint 2026-11-02: expiry 23:59:59.999 Europe/Paris (picker, validation, display), tests under non-Paris zones and DST days; M7 redefines create_species and update_inactive_species with the range check; pgTAP 015 and 022; « Relecteur ou relectrice »; object_conflict EN; setup key selectable, no Copy.
2026-11-02 21:29:33 +01:00
bchanot 4111efa1d1 fix(app): unreadable permissions show a retry, never the form (V1-2.5 L1)
Owner checkpoint 2026-11-02: creation page checks loading, server refusal, failed read, then the editor rule; Administration home shows the same notice. reloadAccess re-reads roles and grants without wiping held state; refreshAccount (no caller) removed. Zone panel live region always mounted. Unit and e2e for reviewer-only and editor.
2026-11-02 21:21:59 +01:00
bchanot 14ff890761 chore(memory): V1-2.5 checkpoint, LRN on inert drawer and GoTrue MFA, journal 2026-11-02 19:49:38 +01:00
bchanot 5db85ff19f fix(app): a failed account reload clears the own grant rows
Delta verifier note: the catch kept earlier catalogGrants beside status failed, against the field's doc; now emptied, test extended.
2026-11-02 19:49:19 +01:00
bchanot cea0f1cfec test(app): phone navigation waits for the drawer to close before typing
Root cause of the intermittent P1 failure at 375 px: the search was filled while the drawer's modal kept the page inert. Reproduced 1/16, then 32/32 with the wait; full shell suite 108 passed, 6 skipped by design.
2026-11-02 19:47:12 +01:00
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