docs(docs): R2 — RUST.md §8 (migrated components, operations, runtime, census, proofs, measurements, behaviour differences, risks), CLAUDE.md, DEPLOY.md (CSP before an R2 image, never built on the VPS), WORKSPACE, TEST_STRATEGY, packages README, CHANGELOG
This commit is contained in:
1 parent
7be94d4ce6
commit
8e8c58efca
7 files changed
+306
-76
No files matched your search
+7
-5
@@ -13,12 +13,14 @@ Planned packages and the step that creates each one:
|
||||
| `@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/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` | loader of the Rust core compiled to WebAssembly (`pkg/` built by `pnpm wasm:build`, git-ignored), TypeScript types of the contracts generated by ts-rs (committed), the R0 proofs (panic and stack traps, JSON.stringify parity, Zod readers, size budget) | **created**, R0 (Rust review) |
|
||||
| `@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 |
|
||||
|
||||
From R2 on, the Rust core (`crates/core`) replaces the TypeScript business
|
||||
logic of `domain`, `anatomy` and `pdf` phase by phase
|
||||
(`docs/development/RUST_ARCHITECTURE_REVIEW.md` Part VI); each TypeScript
|
||||
package is deleted in the phase that switches its last consumer.
|
||||
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. `anatomy` and `pdf`
|
||||
follow at R3 and 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).
|
||||
| `@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 |
|
||||
|
||||
|
||||
Reference in new issue
Block a user