Files
faunosteo/.claude/tasks/contracts/2026-11-05-v1-2-6-ux-u0.md

5.6 KiB

CONTRACT: V1-2.6 UX, sub-step U0 (contract, decisions and amendments, docs only) (2026-11-05)

  • REQUEST (owner brief « FAUNOSTEO — V1-2.6 UX — Autorisation U0 uniquement », 2026-11-05): start U0 and U0 only, after the pending doc corrections are verified and committed. The UX choices and the 16 V2 boards are approved for good; no graphic arbitration is reopened. Record the complementary ratification (A), run U0 as defined in docs/development/V1-2-6_UX_PLAN.md §3 U0 (docs, contract, preconditions, non-destructive checks), stop at the U0 checkpoint. No merge, no deploy, no DEV access or write, no U1, no V1-2.7. Owner brief « FAUNOSTEO — V1-2.6 UX — Finalisation de U0 uniquement » (2026-11-05, after the ratification was verified CONFORME at a505b24): finish the uncommitted U0 work without overwriting it (main contract sections, level-1 criteria, five UX docs, BDR-101, TODO), check every cross-reference, independent review, commit and push only the planned docs, stop at the U0 checkpoint.
  • OWNER ANSWERS (brief A):
    • T4: both declared SQL checks approved: at save, protect the uniqueness of the fixed categories, their roles and their presence without blocking old drafts that carry none of these keys; at approval and publication, guarantee the model's invariants whatever the worker does. O22 amended strictly for these invariants; the core's validation is not duplicated in SQL.
    • T5: new-sheet ids cat-bone, cat-joint, cat-vertebra; the validated French names kept; the English names and the exact reference colours documented from the existing data; historical sheets and their fingerprints fully preserved.
    • T10: option B: internal category cat-access, role navigation, not visible as an anatomical category; automatic access conditional on U6.
    • T15: « Annuler la dernière modification » for the history; « Abandonner » or « Abandonner les modifications » for a form.
    • T16: deferral of curve editing kept; a check of the existing geometries planned before any activation of the new model, with no DEV access during U0.
    • T12: U7 stays blocked until the source and the legal content are validated.
    • T17: its exact wording read and presented, no decision invented; stop only if it really blocks U0.
    • T1/T6: conditions and deadlines already documented kept.
    • « Remplacer par un polygone »: kept only as an explicit replacement, validated, the old path kept until success, undo and redo supported; no automatic destructive conversion.
  • ACCEPTANCE CRITERIA:
    • U1c Each answer above is recorded once (V1-2-6_UX_DECISIONS.md and the contract's new §17.12) and cited where it applies; BDR-101 written through memory.sh; BDR-100's open items marked answered through memory.sh status.
    • U2c O22 (V1-2_ANATOMICAL_SHEETS.md §12.2 and the §17.1 row) amended strictly: the two declared checks hold only the fixed-category invariants (each role bone, joint, vertebra carried by exactly one category with its fixed FR and EN names; at save: no regression of the stored draft's roles, role-less drafts still save); no other rule mirrored; .claude/rules/sheet-model.md says the same.
    • U3c §7.4 records the one-time copy of a versioned common text and the T12 block, with no normative wording.
    • U4c §8.2, §8.3, §8.4 match the validated UX and the decisions: four tabs, direct manipulation, no coordinate field in the normal journey, crop rectangle drawn, fixed categories and opacity at U6, own colour shown when set, access placed from the view's menu (automatic at U6 with cat-access), curves per T16 with the « Remplacer par un polygone » guarantee, O14 A kept, the tablet rule.
    • U5c §16.7 states the level-1 status (T11, not validated as a whole) and the redesign sub-steps; the withdrawal rule of §6.4 is precise about draft rounds, matching T4 and the code.
    • U6c Level-1 contract criteria C3, C4, C6, C7, C8, C13, C32, C33, C40 amended in place (original text kept, an amendment note appended), the immutable REQUEST untouched; no contradiction with the boards or the contract.
    • U7c docs/design/README.md: v1-2-6 validated, its boards replace v1-2-4 boards 04 and 05 for the editor (BDR-096 kept for the rest).
    • U8c .claude/rules/schemas.md and sheet-model.md: optional category keys under T2 (omitted when absent, never null, no version bump, proof list), rules also in edit.rs and sheet_report.
    • U9c The implementer decisions (T7, T8, T13, T18, T19) recorded in the contract.
    • U10c The five UX docs, RISKS blocking criteria, TODO.md and the journal agree with U1c-U9c; nothing answered is still called open or « to confirm »; T17, T1, T6, T12, T14 stay open with their conditions.
    • U11c Facts cited for T5 (names, colours) and the « Remplacer par un polygone » guarantee hold in the data and the code (file:line).
    • U12c Scope: no change under crates/, apps/, packages/, supabase/, scripts/; no SQL, worker, sandbox or DEV command; no merge.
  • FILE SCOPE: docs/development/V1-2_ANATOMICAL_SHEETS.md, docs/development/V1-2-6_UX_{DECISIONS,PLAN,COMPATIBILITY, TESTS,RISKS}.md, docs/design/README.md, .claude/tasks/contracts/2026-11-03-v1-2-6-editor-1509.md, .claude/rules/{sheet-model,schemas}.md, .claude/tasks/TODO.md, .claude/memory/{decisions,journal}.md (through memory.sh), this contract.
  • OUT OF SCOPE: code, SQL, worker, Supabase DEV, sandbox, docs/design/v1-2-6/* (archived boards and their notes), ANNOTATION-RENDERING.md and ANATOMICAL_SHEET_MODEL.md (U6), U1 and later, V1-2.7.
  • ABANDON: if a criterion needs a change outside the file scope, stop and report.