docs(docs): RUST.md §10.10 R4.8 record (deleted, replaced, kept with reasons, census, non-regression table, risks, R5 prerequisites); CLAUDE.md, README, WORKSPACE, packages/README, TEST_STRATEGY, PDF-FORMAT, DEPLOY rollback R4 note and module size, hardening §5 pdf-lib closed, fixtures README, CHANGELOG R4 entry; TODO R4.8 closed; memory BDR-064, journal

This commit is contained in:
bchanot committed 2026-10-19 12:17:02 +02:00
1 parent e88769a707
commit f36dbdd4ae
13 files changed
+238 -62

No files matched your search

+9 -7
View File
@@ -10,19 +10,21 @@ Planned packages and the step that creates each one:
|---|---|---|
| `@faunosteo/domain` | Zod schemas: anatomical sheet document + integrity rules (**created**, Step 4); report document, entitlement capabilities later | Step 4 (sheet model) |
| `@faunosteo/anatomy` | legacy importer (**created**, Step 4b), curation pipeline: changeset → working draft + report migration map (**created**, Steps 4c/5), pure annotation-layer renderer `@faunosteo/anatomy/render` (**created**, Step 5; since R3 used by the PDF engine and the pipeline only, the app canvas draws the Rust core's composition) | Step 4b (importer) |
| `@faunosteo/pdf` | browser-free PDF engine (**created**, Step 6): report archive export from explicit inputs (report, sheet snapshot, branding, labels, rasterizer), layered archive reading, SVG sanitiser, page renderers | Step 6 (PDF archives) |
| `@faunosteo/pdf` | browser-free PDF engine (**created** Step 6, **deleted** R4.8, 2026-10-19): its reader, writer and compare tool live in the Rust core (`crates/core/src/pdf`); its byte-scan reader stays as the frozen N-1 copy under `core-wasm/tests/n-1/scanner` | Step 6; gone at R4.8 |
| `@faunosteo/i18n` | FR/EN dictionaries (no React) + `useT` | first second consumer (public-web or worker) |
| `@faunosteo/supabase` | browser client factory, generated database types, PGlite harness running the pgTAP suite, sheet publish gate | **created**, Step 3 |
| `@faunosteo/core-wasm` | the Rust core compiled to WebAssembly: `CoreRuntime` (lazy load, poison on a trap, offline re-instantiation, sheet handles per instance), Node source, `pkg/` shipped and `pkg-proofs/` (built by `pnpm wasm:build`, git-ignored, BUILD_STAMP), TypeScript types of the contracts generated by ts-rs (committed), the frozen N-1 Zod reader (`./n-1`), the trap, size and measurement tests | **created**, R0; runtime and app consumers R2 |
Since R2 the Rust core (`crates/core`) holds the business logic `domain` held
for the application (`docs/development/RUST.md` §8); `domain` stays frozen
for the PDF engine, the pipeline and the compare CLI. Since R3 the core also
holds the SVG reader, the annotation layer and the view composition the editor
canvas draws (`RUST.md` §9); `anatomy/render` stays frozen for the engine and the
pipeline. `pdf` follows at R4 (`docs/development/RUST_ARCHITECTURE_REVIEW.md` Part
VI); each TypeScript package is deleted in the phase that switches its last
consumer (`domain` and `anatomy` at R5, `pdf` at R4).
for the pipeline only (the application no longer depends on it: R4.8). Since
R3 the core also holds the SVG reader, the annotation layer and the view
composition the editor canvas draws (`RUST.md` §9); `anatomy/render` stays
frozen for the pipeline. Since R4 (`RUST.md` §10) the core reads, writes and
compares the PDF archives; `pdf` was deleted at R4.8
(`docs/development/RUST_ARCHITECTURE_REVIEW.md` Part VI); each TypeScript
package is deleted in the phase that switches its last consumer (`domain` and
`anatomy` at R5).
| `@faunosteo/config` | runtime config resolution shared by app, public-web, worker | with public-web |
| `@faunosteo/ui` | UI primitives and design tokens | only when public-web reuses them |