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

+14 -2
View File
@@ -284,6 +284,16 @@ attachment"; a Step 6 build reads every older PDF (bare v2 and v3). Roll back
only with that limit in mind and tell the practitioners which build produced
their files.
Rollback note (PDF archives, R4): PDFs written by an R4 build (the core's
writer) are read by the R3 build and by release 0.2.0: the frozen copy of
their reader (`packages/core-wasm/tests/n-1/scanner`, O11) and the frozen
Zod schemas (`n-1/domain`) read every R4 fixture in the test suites
(`n-1.reader`, `n-1.scanner`, `archive.envelopes`); the attachment bytes are
the envelope the TypeScript wrote, in contract key order (D-R11). An R4
build reads every older PDF (bare v2, bare v3, Step 6 and R3 envelopes).
The TypeScript PDF engine left the repository at R4.8: a rollback is a
previous image, never a rebuild of the old engine.
---
## Data persistence
@@ -668,8 +678,10 @@ only, never `eval` or inline scripts (the proof's inline variant was still
blocked). Browser floor for the keyword: Chrome 97, Firefox 102, Safari 16
(the Vite 7 baseline). The `.wasm` file is served as `application/wasm` by
`nginx:1.31-alpine` out of the box; since R2 the image precompresses it and
`docker/nginx.conf` serves the `.wasm.gz` with `gzip_static on;` (372 KB
served for 1.18 MB raw, D-R13 budget 600 KB). A proxy in front must pass
`docker/nginx.conf` serves the `.wasm.gz` with `gzip_static on;` (R4.8
module with the PDF reader, writer and session: 1,535,289 B raw, 519,795 B
gzip -9; R3: 1.18 MB raw, 372 KB served; D-R13 budget 600 KB, report line
550 KB passed at R4.6 and declared). A proxy in front must pass
`Content-Encoding` through and keep the `application/wasm` type.
Since R4 the PDF import runs in a module worker (`/assets/import.worker-*.js`,