diff --git a/CHANGELOG.md b/CHANGELOG.md index e7a7bbd9..e06f5c73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ Versions follow [Semantic Versioning](https://semver.org/). ## [Unreleased] -### Changed (Rust R3, anatomy core, 2026-10-15) +### Changed (Rust R3, anatomy core, 2026-10-15; validated by the owner's LAN acceptance and merged 2026-10-17) - **The editor canvas draws what the Rust core composes** (`crates/core/src/anatomy`): one SVG reader for every drawing the product shows (bounds checked by a markup scanner before any XML parser, the engine's allowlist matched the same way, a reference graph refusing cycles and expansions over 50,000 elements, a serialiser that re-reads to the same tree), the annotation layer and the view composition, reached through the new `view.canvas` operation and memoised per view. The canvas keeps its in-place selection styling, click and tooltip delegation. The browser-side denylist and the app's dependency on the TypeScript renderer are gone; the PDF engine and the curation pipeline keep the TypeScript renderer until R4 and R5. - **No visible change**, proven first with the TypeScript: canvas trees of both views and 28 selection states, layer trees with attribute order, 36 PDF highlight compositions, 36 hostile SVGs and 10 generated floods, the 4 product SVGs untouched; in Chromium 156 the live canvas trees equal the frozen ones and 30 screenshots (desktop and phone) are pixel-identical before and after. The Step 6 goldens are untouched. diff --git a/CLAUDE.md b/CLAUDE.md index dee3db76..c44b652e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -519,7 +519,7 @@ Database (Supabase) Study and roadmap: `docs/development/RUST_ARCHITECTURE_REVIEW.md` (validated with the amendments of Annex C). Done: R0, R1 (worker), R2 (domain core used by the app, `docs/development/RUST.md` §8), R3 (anatomy core: SVG reader, layer, composition; editor canvas on it, -RUST.md §9; awaiting the owner's validation). Next: R4 (PDF core), R5 (pipeline); release 0.2.0 unaffected. +RUST.md §9; validated and merged 2026-10-17). Next: R4 (PDF core), R5 (pipeline); release 0.2.0 unaffected. - Any logic that can run in Rust with no significant loss (features, UX, graphics, data compatibility, security, reliability, useful performance, diff --git a/README.md b/README.md index ec2aa917..4e519354 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ contract. - **Detail views** — click the head trigger to open the head view (a crop of the same drawing, or a view's own asset) - **PDF export** — A4 portrait with rasterized views, structured observations, and the full Report v3 JSON as a native PDF attachment; older v2 PDFs import through a generated migration map - **PDF re-import** — open a previously exported PDF to restore the session for a follow-up +- **Rescue copy (JSON)**: when the tab cannot save the report (storage full) or the computation engine stops, "Télécharger une copie" saves the report in progress as a `.json` file. To restore it, open the home page, "Choisir un fichier", and pick that file: the report reopens in the editor. The copy holds the report only. It does not replace the original PDF, which stays the archive of record for past reports (the frozen sheet snapshot, logos and labels it was produced with). - **Bilingual UI** — full FR/EN interface with a one-click language switcher; default locale auto-detected from the browser, then persisted - **Configurable identity** — site name, brand, footer, tagline all come from env vars; nothing hardcoded - **Practitioner cache** — last-used practitioner block prefilled via localStorage diff --git a/docs/development/RUST.md b/docs/development/RUST.md index 55e22c48..bcb1e586 100644 --- a/docs/development/RUST.md +++ b/docs/development/RUST.md @@ -1,8 +1,8 @@ # Rust in the Faunosteo monorepo Status: plan R0 (foundation, validated 2026-10-13), R1 (the Step 8 worker, -validated 2026-10-13) and R2 (the domain core, delivered 2026-10-14 on -`feature/rust-r2-domain-core`, awaiting the owner's validation). Rule and +validated 2026-10-13) and R2 (the domain core, validated and merged 2026-10-14) and R3 (the anatomy core, +validated after the owner's LAN acceptance and merged 2026-10-17). Rule and roadmap: `RUST_ARCHITECTURE_REVIEW.md` (rule "Rust by default", Part III boundary rules, Part IV the worker, Part VI phases R0–R5, Annex B R0 scope, Annex C owner amendments). R0 shipped the toolchain, the workspace skeleton, @@ -710,8 +710,9 @@ application itself builds. ## 9. R3: the anatomy core in Rust, drawn by the editor canvas (2026-10-15) Plan and contract: `.claude/tasks/plans/2026-10-14-rust-r3-anatomy-core.md` -(revision 2 after three plan challenges, 32 findings folded). Status: delivered -on `feature/rust-r3-anatomy-core`, awaiting the owner's validation; not merged. +(revision 2 after three plan challenges, 32 findings folded). Status: validated by +the owner's LAN acceptance (functional and graphical) and merged into `develop` on 2026-10-17. Residual risks are +tracked in the project's blocker registry (BLK-011, BLK-012). ### 9.1 What runs in Rust, and who calls it