chore(memory): /close — BDR-016 + LRN-020 + BLK-002 resolve + journal 2026-05-21

- BDR-016: pathologies.json v2.0 — boolean source of truth, generic
  vet description_fr purged, full 26-zone horse coverage.
- LRN-020: forward-compat Zod schema absorbs catalog version bump
  zero-code (optional fields + boolean-driven logic since B0).
- BLK-002 resolved — catalog no longer empty (612 leaves > 40-60 target).
- journal entry 2026-05-21 logs the in-place v2.0 swap, the hyoïde
  case alignment fix, and the doc refresh.
- TODO refreshed: Phase C item 1 (full horse.json) done,
  PATHOLOGIES-FORMAT.md v2.0 refresh done, B4 PDF observationPage
  marked partially done (scope_disclaimer footer still TBD).
This commit is contained in:
Bastien Chanot committed 2026-05-21 03:23:38 +02:00
1 parent 57b58b3af1
commit f5307ce61c
5 files changed
+41 -12

No files matched your search

+12 -11
View File
@@ -1,13 +1,13 @@
# TODO — Osteo Report MVP
## Status (2026-05-20): findings tree refactor landed (B0+B1+B2) — i18n + full horse catalog next
## Status (2026-05-21): catalog v2.0 + full 26-zone horse coverage in place — B4 polish + ship gate next
Domain pivot bundle (B0 schema, B1 report v2, B2 UI/PDF) shipped on
`feat/findings-tree-v2`. Editor now consumes the hierarchical
`SpeciesFindings` tree; PDF roundtrip green; v1 legacy reports hard-fail
with a French-language message.
Domain pivot bundle (B0 schema, B1 report v2, B2 UI/PDF, B3 i18n) shipped on
`feat/findings-tree-v2`. Catalog upgraded v1.2→v2.0 by domain expert: 26 zones
(was 3), 792 nodes, 612 leaves, 41 vet-referral leaves. Zero code change needed
— schema was forward-compat since B0 (BDR-016, LRN-020).
107/107 tests green, lint 0, typecheck clean, vite build OK.
154/154 tests green, lint 0, typecheck clean, vite build OK.
---
@@ -74,10 +74,10 @@ with a French-language message.
### B4. PDF observationPage updates
- [ ] Render `findings` instead of `pathologyIds` (list joined `·`)
- [ ] Show vet-referral icon next to flagged findings
- [x] Render `findings` instead of `pathologyIds` (per-zone sections "CONSTATS — <ZONE>" + "CONSTATS LIBRES", joined `·` segmented)
- [x] Show vet-referral icon (⚠) next to flagged findings (observationPage.ts:407)
- [ ] `scope_disclaimer` footer on each obs page or first page only — decide
- [ ] Update `LRN-009`-style layout still applies (text-area reservation)
- [x] Update `LRN-009`-style layout still applies (text-area reservation kept)
### B5. Stub cleanup (DONE 2026-05-20)
@@ -89,14 +89,15 @@ with a French-language message.
## Phase C — V1 SHIP gate
- [ ] Author full `horse.json` (replacing 3-zone placeholder with all corps SVG zones)
- [x] Author full `horse.json` (placeholder → v2.0, 26 zones, 792 nodes, 612 leaves — done 2026-05-21)
- [x] Fix SVG case `data-anno-name-fr="hyoïde"` → `"Hyoïde"` in `public/species/equine/Horse_head.svg` (done by user 2026-05-21; 26 JSON names ≡ 26 SVG names strict)
- [ ] PDF QA manual pass: full flow → export → re-import roundtrip
- Fonts embed, JSON attached, multi-SVG grid OK, locale FR + EN exports
- [ ] Docker build + compose up smoke test
- [ ] env-var brand identity verified
- [ ] README finalize (install, dev, Docker, env vars, locale, MIT)
- [ ] CHANGELOG v1.0.0 entry
- [ ] docs/PATHOLOGIES-FORMAT.md — schema doc + authoring guide for adding species
- [x] docs/PATHOLOGIES-FORMAT.md — schema doc + authoring guide (initial shipped 70f21cc 2026-05-20; refreshed for v2.0 boolean-only contract 2026-05-21 — scope section, 5 taxonomy patterns, structural rules, breaking-change notice, horse stats, changelog v1.0→v2.0)
- [ ] Scaleway VPS deploy (TLS + CI build/push/deploy)
---