From 31be3155ef93b59de92474166b946dc48fd871d4 Mon Sep 17 00:00:00 2001 From: Bastien Chanot Date: Tue, 19 May 2026 07:53:03 +0200 Subject: [PATCH] =?UTF-8?q?chore(memory):=20journal=20=E2=80=94=20domain?= =?UTF-8?q?=20pivot=20+=20B0+B1+B2=20reminder=20for=20next=20session?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Records the schema-v1.1 findings pivot decision, the inert JSON drop, and the species.id reconciliation ("equin" vs "equine") to resolve before the next loader migration runs. Co-Authored-By: Claude --- .claude/memory/journal.md | 2 ++ src/domain/species/equine/pathologies.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.claude/memory/journal.md b/.claude/memory/journal.md index 88f64396..9af12e2b 100644 --- a/.claude/memory/journal.md +++ b/.claude/memory/journal.md @@ -33,3 +33,5 @@ Parser reads data-anno-special; convention doc updated. feat(editor): home-nav (back btn + clickable Brand link to "/") + "Modifier les infos" dialog reusing PractitionerForm/AnimalForm via draft-copy with save/cancel. 3 store setters (setPractitioner/setAnimal/setOwner), 4 setter tests. Cache re-synced on save. 100/100 tests, lint 0, typecheck clean. - hotfix(pdf): multi-SVG observation page packed into 2-col grid; pre-rasterize → measure aspect → reserve text-area height → cell budget per row; single-SVG keeps full width; floor prevents zero-cells. Text sections now always visible. LRN-009 captured. - hotfix(editor): zone-highlight scoped to active obs only (collapsed obs no longer leave faint 'linked'/'multi' tints). AnatomyCanvas re-paints highlights after async SVG mount so DetailModal popup zones color correctly. NewReportRoute header harmonized with editor — back btn + clickable Brand left-aligned. 3 files (hotfix cap +1, accepted). LRN-010 captured. +- domain pivot decided: flat Pathology[] → hierarchical findings tree per zone, path+snapshot serialization, FR/EN bilingual site+PDF. ReportSchema bumps v1→v2 (no retro-compat, no prod PDFs). Sample 3-zone JSON v1.1 dropped at src/domain/species/equine/pathologies.json — inert (loader not migrated). TODO rewritten as B0..B5 + C ship gate, ~23h dev. +- NEXT SESSION: run /ship-feature on B0 (findings Zod schema + JSON loader) + B1 (ReportSchema v2 + observation.findings) + B2 (FindingsTreePicker replacing flat PathologyPicker). I18N (B3) deferred to separate feature. Reconcile JSON species.id (currently "equin") vs registry species.id ("equine") before parse — pick one. diff --git a/src/domain/species/equine/pathologies.json b/src/domain/species/equine/pathologies.json index abf07d78..9aed26d5 100644 --- a/src/domain/species/equine/pathologies.json +++ b/src/domain/species/equine/pathologies.json @@ -2,7 +2,7 @@ "schema_version": "1.1", "scope_disclaimer": "Les éléments listés correspondent au périmètre légal de l'ostéopathie animale : dysfonctions ostéopathiques palpées, observations cliniques et motifs de consultation. Aucun diagnostic médical n'est posé. Toute pathologie organique relève du vétérinaire.", "species": { - "id": "horse", + "id": "equin", "name_fr": "Cheval", "name_en": "Horse" },