Commit Graph
100 Commits
Author SHA1 Message Date
bchanot 67480b2fc2 chore(memory): LRN-115 to LRN-117, EVAL-042 from the V1-2.6 checkpoint 2026-11-04 19:14:56 +01:00
bchanot 283e459077 chore(memory): V1-2.6 lot M closed, owner checkpoint 2026-11-04 19:09:43 +01:00
bchanot 7a4ce9eb58 docs(docs): V1-2.6 state with the sandbox suites in contract order 2026-11-04 18:55:56 +01:00
bchanot 2b10471b0a test(supabase): TOTP step guard in the sandbox verify helper 2026-11-04 18:55:47 +01:00
bchanot 697cefa2dd fix(app): trial dev server pinned to loopback in its config 2026-11-04 18:32:38 +01:00
bchanot 3831a49f46 fix(app): EN tab name in two hints, trial server pinned to loopback 2026-11-04 18:32:06 +01:00
bchanot 5bd12261a5 docs(docs): V1-2.6 state with the final gate counts 2026-11-04 18:17:45 +01:00
bchanot 05c9b3e10b fix(editor): read-only undo, upload session check, restore and submit guards 2026-11-04 18:06:40 +01:00
bchanot 5979cd59ec chore(memory): V1-2.6 final review triage, owner questions m3 2026-11-04 17:58:21 +01:00
bchanot 0764eb122b docs(docs): trial guide, edge correction needs a large drawing 2026-11-04 17:42:31 +01:00
bchanot 653706fad5 test(editor): journey waits for the cleaning dialog to close, no refill 2026-11-04 17:42:21 +01:00
bchanot d10ba5d5dd fix(editor): verifier gaps: ratified wordings, copy messages, real SVG journeys 2026-11-04 17:27:45 +01:00
bchanot 9ba6d2b66c chore(memory): V1-2.6 lot M gates, verifier gaps, rulings R16-R18 2026-11-04 17:01:41 +01:00
bchanot f73980c952 chore(memory): V1-2.6 lot K ticked 2026-11-04 15:59:21 +01:00
bchanot 071b58a5f6 docs(docs): V1-2.6 state, AAL2 residual as a production prerequisite 2026-11-04 15:59:20 +01:00
bchanot de644925e9 chore(memory): V1-2.6 lot K closed 2026-11-04 15:54:08 +01:00
bchanot 4cc27a8231 test(editor): lot K review fixes, filled-document save proof 2026-11-04 15:52:15 +01:00
bchanot bb99edd2dd fix(editor): load the core's defaults-filled document, trial guide fixes 2026-11-04 15:35:19 +01:00
bchanot 0d167df271 chore(memory): V1-2.6 lot K committed, rulings R13-R15 2026-11-04 15:28:28 +01:00
bchanot 5097fd7484 test(editor): V1-2.6 browser journeys on the sandbox, touch drag and findings fixes 2026-11-04 15:27:35 +01:00
bchanot 7bbd096a16 chore(memory): V1-2.6 lot L closed 2026-11-04 14:13:10 +01:00
bchanot ac5fbfbc44 feat(supabase): owner trial sandbox commands and the V1-2.6 trial guide 2026-11-04 14:11:23 +01:00
bchanot aa5c10d73c chore(memory): V1-2.6 lot J closed 2026-11-04 14:10:06 +01:00
bchanot 3d589e1556 fix(app): a focus request is consumed once, not replayed on tab return 2026-11-04 14:09:30 +01:00
bchanot 4f223e04cd feat(app): Aller à selects the element in its tab, reload after submit 2026-11-04 14:06:09 +01:00
bchanot 2a54fa4c78 chore(memory): V1-2.6 lot H closed 2026-11-04 14:03:48 +01:00
bchanot b4eddee7a3 chore(memory): V1-2.6 lots H/J state, rulings R11-R12 2026-11-04 14:01:25 +01:00
bchanot 3f15762d95 fix(app): annotations tab split, editor-wide undo keys, keyboard point fits, typed radius message 2026-11-04 14:00:57 +01:00
bchanot 447d0a4272 feat(app): editor Vérification tab and review submission 2026-11-04 13:59:16 +01:00
bchanot 877bad0021 chore(memory): V1-2.6 lot I closed, rulings R9-R10 2026-11-04 13:52:39 +01:00
bchanot 91d06c9817 feat(app): Constats description, vet referral and citations, keyboard focus after collapse and delete 2026-11-04 13:50:20 +01:00
bchanot 26097852ff feat(app): editor Annotations tab, core-decided placement, repair rules 2026-11-04 13:49:41 +01:00
bchanot 92c595caa1 feat(app): editor Constats tree with review states and reorder 2026-11-04 13:45:34 +01:00
bchanot 66663dc0ca chore(memory): V1-2.6 lot G closed, ruling R8 on the locals count 2026-11-04 13:37:01 +01:00
bchanot 7ea9619aa0 refactor(app): split the crop group hook, closed reason in drawing refusals 2026-11-04 13:36:09 +01:00
bchanot 1bbf97e65b fix(app): closed hash and canonical-form drawing messages, split crop and drawing views 2026-11-04 13:34:02 +01:00
bchanot 7bf1404946 chore(memory): LRN-114 worktree loss, durable worktree, V1-2.6 execution ledger 2026-11-04 13:26:04 +01:00
bchanot 8343528be9 feat(app): editor views tab, drawing upload and cleaning, guarded crops 2026-11-04 13:02:30 +01:00
bchanot d163b2ce9a feat(app): editor Général, Références and Vertèbres tabs, delete with dependents 2026-11-04 12:46:55 +01:00
bchanot 6aba9711f0 feat(app): sheet draft editor route, modes, recovery offer and conflict dialog 2026-11-04 12:35:33 +01:00
bchanot b14509f221 fix(app): editor store keeps an unanswered copy across mode changes, refuses unsaved submit 2026-11-04 12:17:41 +01:00
bchanot 7f1d44065b feat(app): editor store, undo, recovery copy and geometry accept rules 2026-11-04 12:13:10 +01:00
bchanot f7e7bf4ee1 feat(supabase): sheet drawing register, upload, confirm accessors and save answer 2026-11-04 11:57:22 +01:00
bchanot cfd49c7b5b refactor(app): fold the cleaning preview bytes into addDrawing 2026-11-04 11:52:16 +01:00
bchanot bc43a1b86b fix(app): roll the preview back on a throwing accept or a non-trap failure 2026-11-04 11:50:59 +01:00
bchanot 173be5949a feat(app): editable sheet preview, edit wrappers, cleaning preview and ids 2026-11-04 11:48:01 +01:00
bchanot 2f824a947c feat(supabase): add draft_last_save to the sheet admin read (M8, sandbox only) 2026-11-04 11:40:22 +01:00
bchanot 2571978780 chore(memory): V1-2.6 owner GO, C26 repair rules, C32-C34 2026-11-04 11:32:18 +01:00
bchanot f34381c242 chore(memory): V1-2.6 owner arbitrations, plan revised, re-check REMAINING(1) 2026-11-03 22:04:29 +01:00
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
bchanot 09595ed977 chore(memory): containment done, remaining DEV entry points tracked 2026-11-02 00:34:27 +01:00