From a701b04210efa123ead6c381cb4ef4c1c801aaf9 Mon Sep 17 00:00:00 2001 From: bchanot Date: Mon, 2 Nov 2026 16:06:55 +0100 Subject: [PATCH] chore(memory): BDR-097 V1-2.5 start decisions, TODO plan --- .claude/memory/decisions.md | 9 +++++++++ .claude/tasks/TODO.md | 12 ++++++++++++ 2 files changed, 21 insertions(+) diff --git a/.claude/memory/decisions.md b/.claude/memory/decisions.md index 02bd9a30..c260cb62 100644 --- a/.claude/memory/decisions.md +++ b/.claude/memory/decisions.md @@ -745,3 +745,12 @@ Also: G1/G2 corrections validated, conformance 8/8 acknowledged; UX decisions 2- 7. V1-2.5 authorised once §16.6 dependencies VERIFIED, existing contract only. Kept: no merge develop/main/release, no Supabase DEV op without own authorisation, no DEV worker, tests + independent review fit for step, commits + pushes on V1-2 branch, STOP at V1-2.5 checkpoint. Design not reopened without demonstrated defect or new owner decision. **Rationale**: four review rounds (G1/G2, final corrections, arbitrations, verifier CONFORME 21/21) closed every graphic finding; remaining messages are integration-time checks against code. **Alternatives**: regenerate board 12 with final wordings (rejected by brief: design not modified); hold approval until every message settled (rejected: owner closes graphics, messages at integration). + +## BDR-097 — V1-2.5 start: M7 admin read migration, working-copy action in V1-2.5, EN Permission for Habilitation (2026-11-02) +- **Status**: accepted +**Decision**: V1-2.5 started 2026-11-02 under brief « Validation propriétaire V1-2.4 » after prerequisite check on 994b04e: V1-2.1 VERIFIED at ac71c5b (M4/M5 unchanged since), V1-2.2 VERIFIED (BDR-092), V1-2.4 approved (BDR-096), V1-2.3 VERIFIED (BDR-093). Owner answers (AskUserQuestion, 2026-11-02) to three gaps found at start: +1. Admin reads: admin list needs working-copy badge + round counts; `working_copy_source_version_id` excluded from table grants (§5.3), no admin read RPC existed, §16.6 said « SQL changes: none ». Chosen: one read migration M7 `sheet_admin_reads` (list + overview RPCs, capability holders at aal2, no write path, no policy/rule change), sandbox only, DEV untouched. Contract §12.3, §16.6, §17.10. +2. Working copy: « Créer une copie de travail » built in V1-2.5 (board 10) on existing `create_sheet_working_copy`, lands on copy's overview; editor link with V1-2.6. A1 new sheet also lands on overview until V1-2.6. +3. EN term: « Habilitation » = « Permission » in English UI; `capability` stays technical term. Contract §3 amended. +**Rationale**: board 10 (approved) shows badge, counts and working-copy action; column grant widening would expose the column to readers (§5.3); a read RPC keeps reader grants narrow. « Permission » follows L14 « Access and permissions ». +**Alternatives**: drop badge in V1-2.5 (deviates from §11.1 + board 10); widen column grant (rejected, §5.3); defer working-copy action to V1-2.6; keep EN « Capability » (§3 old). diff --git a/.claude/tasks/TODO.md b/.claude/tasks/TODO.md index 962d742f..d9b77834 100644 --- a/.claude/tasks/TODO.md +++ b/.claude/tasks/TODO.md @@ -654,6 +654,18 @@ Order (BDR-071): P0 docs + decisions → V1-1 clients and animals → V1-2 sheet - [x] C5 four historical test reductions recorded in `.claude/audits/2026-11-01-v1-2-floor-reductions.md`: none hides a security coverage (O22 mirror removal and client gate, server gate tested; one false positive) - [x] C6 gates on 3c141c9 (check:all, test-db 1898, test 87, verify-e2e 10/10, e2e:avatar 5/5, e2e:shell 86, DEV untouched); targeted review PASS, 3 LOWs fixed, MEDIUM CPU-contention timeout + 3 LOWs open for owner; verifier ECARTS(1) (STORAGE §6 DEV pairing) → fixed 093083d, delta verifier CONFORME · C7 V1-2.4 scope `.claude/tasks/contracts/2026-11-01-v1-2-4-wireframes-scope.md` - [x] V1-2.4 wireframes (editor, review, admin entry): GRAPHICAL APPROVED 2026-11-02 (BDR-096; detail under S below) + - [ ] V1-2.5 started 2026-11-02 (brief « Validation propriétaire V1-2.4 »; prerequisites checked on 994b04e, contract §17.10; owner answers BDR-097: M7 admin reads, working-copy action in V1-2.5, EN « Permission »). Contract `.claude/tasks/contracts/2026-11-02-v1-2-5-admin-catalogue.md`, plan `.claude/tasks/plans/2026-11-02-v1-2-5.md`; sandbox only, no DEV, no worker on DEV, no merge; STOP at the V1-2.5 checkpoint + - [ ] A GoTrue MFA behaviour on the sandbox (C1; STOP if aal1 enrols a second factor or removes a verified one) + - [ ] B M7 sheet_admin_reads + pgTAP 022 + types (C9) + - [ ] C core op sheet.empty + wasm + ts-rs (C5) + - [ ] D packages/supabase accessors + kinds (C1-C9) + - [ ] E shell: nav, RequireCatalog, RequireAdmin step-up, « Accès non autorisé » (C3, C4) + - [ ] F Mon compte Sécurité MFA + step-up screen (C2) + - [ ] G Administration page, species, rights (C4, C6, C7) + - [ ] H sheets list, creation, overview, working copy (C5) + - [ ] I catalogue list, sheet page, version page (C8) + - [ ] J e2e:shell A0 A1 S1 P1 + access + MFA + axe + viewports (C11) + - [ ] K docs, check:all, fresh verifier + security, memory, checkpoint (C10-C12) - [ ] V1-2.5 catalogue, admin space, rights, species, MFA · V1-2.6 editor level 1 · V1-2.7 preview, review, publication UI · V1-2.8 equine working copy and review preparation · V1-2.9 FR/EN acceptance and closure (owner checkpoints V1-2.3, V1-2.4, V1-2.6, V1-2.7, V1-2.8, V1-2.9 + each DEV operation of contract §16.11) ## Release readiness track (owner 2026-10-25, distinct from the functional roadmap; nothing here authorises a release or exposure)