docs(docs): R4.1 freeze record (RUST.md §10 draft, fixtures README R4 section)

Oracle table with commits, ledger totals, repository weight, freeze findings,
TypeScript baselines in Chromium, Firefox and WebKit with the watchdog
caveat; TODO R4.1a-f ticked; journal line.
This commit is contained in:
bchanot committed 2026-10-18 15:13:19 +02:00
1 parent 4439fd2420
commit aada7997de
4 files changed
+171 -7

No files matched your search

+20
View File
@@ -36,3 +36,23 @@ under `apps/app/src/assets/brand`, rasteriser stubbed to a 2×1 PNG).
Never regenerate these files without a user decision; the Step 6 engine must
reproduce them. Generation, once: `MAKE_GOLDEN=1 corepack pnpm vitest run
tests/unit/pdf.goldens.test.ts` from `apps/app`.
## R4 freeze (2026-10-18)
What the TypeScript PDF engine and reader produced right before the Rust port,
frozen on branch `feature/rust-r4-pdf-core` (`docs/development/RUST.md` §10.1
lists every oracle with its commit). Generators run behind `MAKE_R4_ORACLES=1`;
without the flag the same tests assert equality with the committed files.
| Path | Content |
| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `r4/reports/{L,CAP}.json` | Synthetic Report v3 on the draft: 60 observations / 120 views (L) and 500 / 1,000 (CAP), the export memory inputs of plan §B.4 (O13). |
| `goldens/r4/draw.*.json` | Every drawing call of the export (text, image, line, rectangle, link) at full precision, per page and in call order, for the 12 Step 6 report × locale × logo combinations (O1). |
| `pdf/r3/` | The 12 PDFs the R3-era engine produced for those combinations, the store-path export with its `report.json`, and `real/v2full-obs1.fr.logos.pdf` with its two browser PNGs and manifest: the byte references of the writer port (O2). |
| `pdf/step6/envelope.*.pdf` | Three envelope PDFs from before R2 (O3). |
| `pdf/r4/tolerance/` | 51 PDFs, valid and hostile, with today's import outcome and message in `crates/core/tests/oracles/r4/tolerance.json` (O8). |
| `pdf/r4/read/`, `pdf/r4/inflate/` | 155 reader inputs and 24 zlib framing inputs, the bytes behind `read.json` and `inflate.json`; a `<slug>.gen.json` describes a large input by concatenation (O7, O9). |
Synthetic data only, no real bilan. Never regenerate these files to make a
test pass: a difference between the Rust port and an oracle is reported and
decided (plan §A.3), or it is a bug in the port.