diff --git a/.claude/tasks/contracts/2026-11-03-v1-2-6-editor-1509.md b/.claude/tasks/contracts/2026-11-03-v1-2-6-editor-1509.md index 08d43c5d..b6e53dc9 100644 --- a/.claude/tasks/contracts/2026-11-03-v1-2-6-editor-1509.md +++ b/.claude/tasks/contracts/2026-11-03-v1-2-6-editor-1509.md @@ -357,6 +357,24 @@ checked across develop, main, feature/v1-1, feature/v1-2: next free were BDR-099 reconciled with the contract-order run, and 34/34 is stated only if a fresh verification confirms it; the owner trial guide's commands are run from `/home/bchanot/Documents/faunosteo-v1-2` (local URL `http://127.0.0.1:5193`, SSH tunnel documented), no DEV, no DEV worker, no merge, no V1-2.7. +45. [gated 2026-11-04 final] Free paths in the repair dialog: never replaced by a triangle or any automatic + shape; every original vertex kept; out-of-frame vertices identified and corrected explicitly only when the core + allows it; attach and corrections validated atomically; cancel loses nothing; an invalid geometry is never saved + or submitted. Without a core operation for it, no TypeScript path parser or rival validation: the attach is + refused cleanly with the document unchanged, and the minimal core evolution is presented to the owner before it + is built. Non-regression test with a complex free path and several vertices outside the frame. +46. [gated 2026-11-04 final] « Ajouter une catégorie » never depends on the selected node: it creates a category on + the first level directly under a zone of the business model, the zone chosen explicitly; adding child findings + stays a separate explicit action. (Owner confirms « root » = that first level.) +47. [gated 2026-11-04 final] The owner trial is reachable from the trusted LAN at http://192.168.1.100:5193 without a + tunnel: the app server bound to 192.168.1.100 only (never 0.0.0.0), the browser's Supabase URL is that origin + (Auth, REST, Storage proxied to the loopback trial gateway, no other port opened), Vite host check limited to + that address, Supabase DEV and its ports 54321-54324 untouched, no production configuration changed, no + Internet exposure; authentication, MFA and RLS unchanged; the journey (sign-in, MFA, catalogue, SVG import, + save) checked through that address; the guide gives the address and exact start/stop commands. +48. [gated 2026-11-04 final] Final controls: affected tests, restore/conflict/non-destruction of annotations, + historical documents unchanged, an independent verification of criteria 23 and 34 on a written final report, a + security review of the final changes; « 34/34 » stated only when established. ## FILE SCOPE diff --git a/.claude/tasks/plans/2026-11-03-v1-2-6-execution.md b/.claude/tasks/plans/2026-11-03-v1-2-6-execution.md index 0790009b..76014237 100644 --- a/.claude/tasks/plans/2026-11-03-v1-2-6-execution.md +++ b/.claude/tasks/plans/2026-11-03-v1-2-6-execution.md @@ -223,3 +223,24 @@ Fresh verifiers, combined: 6471b25 pass → 1-36 and 38-44 MET in code, 37 NOT M 23 and 34 only for the checkpoint report itself. Verifier notes kept: 8 of the 48 e2e skips are pre-existing admin.spec 375 px journeys; the keyboard spec focuses programmatically (no Tab walk); the journey's restore checks the unsaved status (editor-recovery:134 proves the value in SQL); FILE SCOPE amended (a09e24d) awaits the owner. + +## Lot O — last owner decisions before the trial (brief « V1-2.6 : derniers arbitrages avant essai propriétaire ») + +Contract criteria 45-48. Owner confirmed R19 (default tab), R20 (category root = first level under a zone, but the +action must not depend on the selection: C46), and the FILE SCOPE amendment a09e24d (only files the criteria need). + +| Lot | Scope | State | +|---|---|---| +| O1 | C45 free paths: drop the triangle conversion, clean refusal, regression test; C46 explicit zone choice | pending | +| O2 | C47 LAN trial on http://192.168.1.100:5193 (bind, Supabase URL, host check), guide | pending | +| O3 | gates, checkpoint report file, fresh verifier (incl. 23, 34 on the written report), security review | pending | + +- R25 C45: the core stores a free path as an SVG `d` string and exposes no operation that lists or moves its + points (`sheet.check`, `sheet.empty`, `sheet.edit`, `sheet.dependents` only). Parsing `d` in TypeScript would be + a rival parser (BDR-043, owner clause): O1 refuses the attach cleanly when a free path falls out of the new frame + (document unchanged, no triangle) and the minimal core evolution is presented at the checkpoint, not built. +- R26 O1 and O2 run in parallel: disjoint files (O1: editor repair/findings/i18n/unit and e2e editor specs; O2: + apps/app/vite/trial.config.ts, scripts/db-sandbox.sh, guide). Cost: one conflict if a file overlaps. +- R27 C47: only Vite is exposed, on 192.168.1.100:5193; it proxies /auth/v1, /rest/v1, /storage/v1 to the trial + gateway kept on 127.0.0.1:57801; the sandbox ports stay on loopback; secrets live in ~/.cache (outside Vite's + served root); the LAN browser runs in a non-secure context (plain HTTP), already handled by lib/id.ts as on DEV.