docs(docs): R4 close: J1/J2 results as declared (real iPhone Safari iOS, missing details listed), RUST.md §10.15 residual risks and final checks, PDF_IMPORT_HARDENING.md §7, CHANGELOG headers, TODO R4.13, BDR-067

This commit is contained in:
bchanot committed 2026-10-21 22:23:32 +02:00
1 parent 22bbfb4c8b
commit 3a7937e9fb
8 files changed
+174 -44

No files matched your search

+68 -5
View File
@@ -905,13 +905,14 @@ imports it and restyles `data-state` in place as before.
needs it.
- WASM budget: 396 KB of 600 KB used; R4 adds the PDF reader and writer.
## 10. R4: the PDF core in Rust (in progress; R4.1 freeze 2026-10-18, export and `report:compare` switched 2026-10-19)
## 10. R4: the PDF core in Rust (R4.1 freeze 2026-10-18, export and `report:compare` switched 2026-10-19, closed and merged 2026-10-21: §10.15)
Plan and contract: `.claude/tasks/plans/2026-10-17-rust-r4-pdf-core.md`
(revision 2, validated by the owner 2026-10-18 with the conditions of its
§A.6). Branch `feature/rust-r4-pdf-core`, cut from develop at 66909b6. This
section is a draft until the switch: it records what R4.1 froze and the
TypeScript baselines every later slice is measured against.
§A.6). Branch `feature/rust-r4-pdf-core`, cut from develop at 66909b6.
§10.1 and §10.2 record what R4.1 froze and the TypeScript baselines every
later slice was measured against; the slices follow in order, §10.15 is
the close.
### 10.1 R4.1: what is frozen, and where (no Rust yet)
@@ -2386,7 +2387,8 @@ showed.
error. No further file may be deleted under this authorization.
- Safari iOS stays NON TESTÉ until the owner reports results from the real
iPhone. A simulator never stands for it and is never a memory proof;
nothing is reported PASS for it in the meantime.
nothing is reported PASS for it in the meantime (reported the same day,
§10.15).
### 10.13 R4.11: dependency maintenance before the R4 merge (2026-10-21)
@@ -2498,3 +2500,64 @@ and in the musl stage); `pnpm audit --prod` clean; `cargo deny check`
(all four) ok; the goldens, oracles and the PDF engine untouched
(`git diff --stat 8943bf3 -- apps/app/tests/fixtures crates/core/tests
crates/core/src` empty).
### 10.15 R4 closed: device acceptance, residual risks, merge (2026-10-21)
Owner's final validation (2026-10-21): J1 and J2 run on the computer
(Chrome, Firefox, Brave), on Android with its browser and on a real
iPhone with Safari iOS, reported as passed with no blocking anomaly; the
R4.12 checkpoint and every earlier decision validated; the merge into
develop authorised, subject to the usual final checks. Results as
declared, with what was not given marked as missing rather than
inferred: `R4_J1_RESULTS.md`, `R4_J2_RESULTS.md`, `R4_MINI_RECETTE.md`.
What the acceptance covers, and its limits:
- Computer, Android, iPhone: a declaration per recette, no per-check or
per-browser split beyond J1.7. For the iPhone, the model, the iOS and
Safari versions, the surface, the timings (J1.8, J1.12, J2.6) and the
memory observations (J1.9, J1.10, J2.6, J2.7) were not reported. The
plan's OD-6 rule is met at the device level (every listed device was
run on a real machine); the per-check measures it also asked for are
the first follow-up below.
- J1.7: functional PASS with the picker-delay reserve (about 60 s to open
the file dialog with the computer's network cut, seen with Ctrl+O
outside Faunosteo as well); cause not established, no application
change (§10.12). M3 of the mini-recette not run: complementary, not
blocking.
- J2.3: PASS under the approved rule; a new export carries the
application's current branding, the archive keeps its own (§10.12 B).
Residual risks accepted by the owner for the merge into develop, open
until their own deadline (none is closed by the merge):
| Risk | Where | Deadline |
|---|---|---|
| Worker base image referenced by tag (`static-debian13:nonroot`), not by digest; cosign signature not checked (no cosign on the build machine) | §10.14 D1 | before a production image is published |
| Semgrep partial parse of two test files (`routes.LoginRoute.test.tsx`, `routes.coreStopped.test.tsx`: the `>()` generic call syntax), test coverage gap only | R4.12 security gate | next security pass |
| Guardrails WARN outside the R4 diff: `SB-POLICY-NOT-OWNER` on `species_select_active` (migration 20261008110000, a catalog read policy by design) | R4.12 security gate, `/guardrails` | its own review, not an R4 item |
| Device timings and memory observations not reported (items 5, 6, 7, 9, 20 of `PDF_IMPORT_HARDENING.md` §6) | `PDF_IMPORT_HARDENING.md` §7 | before the import is offered to external users (item 18) |
| J1.7 picker delay offline, cause not established | §10.12 A | reopened only on a new proven defect |
| Chromium per-export growth of the browser's raster path (BDR-063) | §10.11 | a device observation, then one reused canvas if needed |
| Accessibility (D2 `outline-hidden`, D5 reduced motion) and the D4 configuration chores | `.claude/tasks/TODO.md` | separate chantiers, not scheduled |
Checks on the final state before the merge (HEAD 22bbfb4, the code state
of 60faac8 plus memory and documentation commits): `pnpm check:all` green
at 22:15:50 (rust-check, types drift, wasm build, app 59 files / 434
cases, domain 262, core-wasm 58, anatomy 131, supabase 40, app image,
worker test stage with the TLS test, worker image on the Debian 13
digest `sha256:d62067…3e88`); `pnpm audit --prod` clean (the full audit
lists 54 advisories in the development tooling only: 26 on the pinned
`pnpm` 10.13.1 itself, the rest on vite, vitest and their transitive
packages; none reaches the production bundle);
gitleaks on the 111 commits of the branch: no leak, and on the working
tree one finding in the git-ignored `.env.worker` only; no `/home/<user>`
path, personal identifier or LAN host in a versioned file (the LAN subnet
of ENVIRONMENTS.md and the forge URL of DEPLOY.md predate the branch);
`git merge-tree develop HEAD` clean; the Step 6 goldens untouched since
8b86b92 (identical on develop), the R4 oracles since 4439fd2 and the R4
digests since d492bf7 (the declared R4.6 re-freeze); 51 deletions on the
branch, all in 0dc1ba2 (R4.8, authorised), none after. Merge: `gitflow
finish` on `feature/rust-r4-pdf-core` (no-ff into develop, branch
deleted local and remote), recorded in `.claude/memory/journal.md`.
Release 0.2.0, faunosteo.com and R5 untouched.