2 Commits
10 changed files with 12 additions and 8 deletions

No files matched your search

+1 -1
View File
@@ -210,4 +210,4 @@ User: step not merged; findings-picker text still blurry; footer logos absent in
## 2026-10-11 (Step 6 closure)
User round 2: logos OK, picker text crisp, flows OK → STEP 6 VALIDATED. Decisions BDR-040: re-export-archive button refused for good; restore-rebase alert approved; import headlines full/partial (62b8a43). BLK-009: byte-scan attachment reader + export without object streams (60ee712), verifier CONFORME, audit PASS+2 MEDIUM → slice-fed inflater + candidate budget (3a6e926), focused re-audit. EVAL-014. Then: gitflow finish into develop, release/0.2.0 prep (Milestone A) up to the human go; Step 7 not started (UX/design to discuss with ChatGPT first).
User round 2: logos OK, picker text crisp, flows OK → STEP 6 VALIDATED. Decisions BDR-040: re-export-archive button refused for good; restore-rebase alert approved; import headlines full/partial (62b8a43). BLK-009: byte-scan attachment reader + export without object streams (60ee712), verifier CONFORME, audit PASS+2 MEDIUM → slice-fed inflater + candidate budget (3a6e926), focused re-audit. EVAL-014. Then: gitflow finish into develop, release/0.2.0 prep (Milestone A) up to the human go; Step 7 not started (UX/design to discuss with ChatGPT first). Step 6 finished into develop (c746952, 139 commits over main); release/0.2.0 prepped (dac75ab) and pushed, awaiting the human go for finish + tag.
+1 -1
View File
@@ -110,7 +110,7 @@ feat/findings-tree-v2 merged (FindingsTreePicker tracked in HEAD); all work belo
- [x] 6.6 Phase 5 docs + gates (docs synced; verifier ECARTS(31 oracle/scope) → CONFORME 13/13; security BLOCK(1) → 4 fix loops → PASS; 656 tests, build, docker ×4 green)
- [x] 6.8 user manual tests round 1 (2026-10-11): logos and picker text confirmed OK by the user after branding bundled (293a6e0) and the investigation; restore-rebase alert (e8f1734); STEP 6 VALIDATED BY USER 2026-10-11
- [x] 6.9 closure decisions (BDR-040): re-export-archive button REFUSED for good; import headlines full/partial (62b8a43); BLK-009 byte-scan reader + no object streams (60ee712), fresh security audit + verifier; gate before external users kept in PDF_IMPORT_HARDENING.md §5
- [ ] 6.10 finish into develop, release/0.2.0 prepped (Milestone A) — tag/merge to main on the user's go; Step 7 NOT started (UX/design discussion first)
- [x] 6.10 finished into develop (c746952); release/0.2.0 prepped (dac75ab: version.txt, package versions, CHANGELOG) and pushed — AWAITING the user's "go" to finish into main + tag v0.2.0 (release-candidate STEP 4-6); Step 7 NOT started (UX/design discussion with ChatGPT first)
- [ ] 6.7 follow-ups recorded for Step 13: catalog asset cap aligned with the archive cap (2 MiB), allowlist sanitiser at upload, app canvas sanitiser (EVAL-011)
- [ ] 5 follow-up: allowlist SVG sanitiser before Storage-served assets (Step 13); orphan findings UX (D5) at the report UX step; report:compare residuals (ZodError reason genericised, v3 lines computed once, long template lines); 16 MiB attachment cap without direct test
+3
View File
@@ -6,9 +6,12 @@ Versions follow [Semantic Versioning](https://semver.org/).
## [Unreleased]
## [0.2.0] — 2026-10-11
### Added (SaaS migration, plan Steps 3–6)
- **Autonomous PDF archives (Step 6)** — new `@faunosteo/pdf` engine (`packages/pdf`): the PDF is rendered from explicit inputs (report, sheet snapshot, branding, labels, locale, rasterizer, export date), with no network and no browser DOM; the attachment becomes a **report archive envelope v1** (`osteo-report.json`) carrying the Report v3, a lean but valid snapshot of the anatomical sheet (views, annotations, geometry, colours, relations, the finding paths used with their ancestor labels, the SVG drawing), the branding used at export and the FR/EN label dictionary, so an old bilan is reproduced identically after any catalog, wording or logo change. Layered reading keeps the report even when the wrapper or the snapshot is refused (closed reasons), v2 and bare v3 PDFs still import, a PDF whose attachment was stripped is recognised. Imported archives are kept in the session; a bilan reopened on a different sheet is rebased on a working copy with unresolved items flagged and their labels kept, and the import message says so. SVG assets go through an allowlist sanitiser with size and complexity caps checked at import and at export; a WinAnsi guard keeps any text from crashing the export. Pages unchanged (frozen by 39 goldens). `docs/PDF-FORMAT.md` written for real.
- **Bounded attachment import and bundled branding (Step 6 closure)** — the PDF attachment is extracted by a bounded byte scan (no pdf-lib parse on import, 16 KiB inflate slices, shared 16 MiB candidate budget, JSON depth pre-check, export without object streams); the logos and identity used at export are bundled with the app.
- **Supabase foundation** — local stack (`supabase/config.toml`), migrations (schemas `private` / `audit`, `profiles`, platform roles with audited RPCs), pgTAP suite run on PGlite (`pnpm test:run`) and on the real stack (`pnpm db:test`), `@faunosteo/supabase` typed client + generated types. No UI change.
- **Anatomical sheet model** — `@faunosteo/domain`: canonical sheet document (views tree, annotations with stable ids and explicit laterality, ordered vertebral regions, typed finding categories, explicit annotation → finding zone links, FR/EN labels) with integrity validation; tables `species`, `anatomical_sheets`, `anatomical_sheet_versions` (published rows immutable, one draft per sheet, deletion preconditions), `anatomical_sheet_assets`; lifecycle RPCs (create, draft, publish, deprecate, delete, fork with provenance, archive, assets) audited and under RLS. Spec: `docs/development/ANATOMICAL_SHEET_MODEL.md`.
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@faunosteo/app",
"version": "0.1.0",
"version": "0.2.0",
"private": true,
"description": "Faunosteo private application: veterinary osteopathy reports with PDF export/import",
"license": "MIT",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "faunosteo",
"version": "0.1.0",
"version": "0.2.0",
"private": true,
"description": "Faunosteo monorepo: private app (apps/app), future public site, worker and shared packages",
"license": "MIT",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@faunosteo/anatomy",
"version": "0.1.0",
"version": "0.2.0",
"private": true,
"description": "Faunosteo anatomy tooling: deterministic legacy importer, curation pipeline (changeset \u2192 draft, report migration map) and the pure annotation-layer renderer shared with the application",
"license": "MIT",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@faunosteo/domain",
"version": "0.1.0",
"version": "0.2.0",
"private": true,
"description": "Faunosteo pure domain model: canonical anatomical sheet document, report document (v3 + v2 migration), Zod schemas and integrity rules",
"license": "MIT",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@faunosteo/pdf",
"version": "0.1.0",
"version": "0.2.0",
"private": true,
"description": "Faunosteo PDF engine: exports a report archive (pages + envelope attachment) from explicit inputs and reads an archive back, without a browser",
"license": "MIT",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@faunosteo/supabase",
"version": "0.1.0",
"version": "0.2.0",
"private": true,
"description": "Faunosteo Supabase access layer: typed browser client, generated database types, SQL test harness",
"license": "MIT",
+1
View File
@@ -0,0 +1 @@
0.2.0