docs(docs): R4.9 J1 and J2 recettes re-issued on the R4.8 build: OD-6 device list, J1.13 data kept on a refused import, J2.12 views and markers, J2.13 attachment and properties, J2.14 report:compare; results cells untouched

This commit is contained in:
bchanot committed 2026-10-20 21:03:55 +02:00
1 parent 58b5688dc7
commit 9e6125b656
6 files changed
+47 -23

No files matched your search

+11 -6
View File
@@ -3,9 +3,12 @@
Plan `.claude/tasks/plans/2026-10-17-rust-r4-pdf-core.md` §A.4 (J1), owner
conditions BDR-058. The import of the application runs in a disposable
worker on the Rust core since R4.3 (`docs/development/RUST.md` §10.5); the
export is still the TypeScript engine (R4.6). Headless runs in Chromium,
Firefox and WebKit are recorded in RUST.md §10.4 and §10.5; nothing below is
validated until it has run on the owner's devices.
export runs on the core's session since R4.6 and the TypeScript engine left
the repository at R4.8 (§10.8, §10.10): the build under test holds no other
PDF reader or writer. Headless runs in Chromium, Firefox and WebKit are
recorded in RUST.md §10.4, §10.5 and §10.11; nothing below is validated
until it has run on the owner's devices (plan OD-6: a device or browser not
run is reported as not run, never as validated).
## 1. Serve the build on the LAN (owner's machine)
@@ -55,14 +58,16 @@ Record the device, the browser and its version, and the surface (1 or 2).
| J1.5 | Engine recovered: back to surface 2 with the keyword, same pick | the editor opens |
| J1.6 | Interrupted import: pick `2-hostile/values-1m.pdf` and tap « Nouveau bilan » at once, or leave Home within the first second | no alert, no editor from the import, the new page intact |
| J1.7 | Offline import: open the editor once (engine loaded), enable airplane mode, back to Home, pick a reference PDF | the editor opens (the worker chunk and the module come from the page and the cache) |
| J1.8 | Large legitimate export: from a computer, open `1-reference/r3-demo.fr.logos.pdf`, then on the phone import the L export (owner: the 60-observation report, export it from the editor on the computer first, about 42 MB) | the editor opens within the task timer (20 s); note the time to the editor; the tab survives |
| J1.8 | Large legitimate export: on the computer, import `3-copies/copie-L-60-observations.json` (the 60-observation report as a rescue copy), export it from the editor (the Rust export, about 44 MB with real rasters), then import that file on the phone | the editor opens within the task timer (20 s); note the time to the editor; the tab survives |
| J1.9 | Memory on the phone: 6 imports of the L export in a row (Home → pick → editor → Home) | no reload of the tab by the system, no Safari memory warning; note any slowdown |
| J1.10 | Repetition: 20 picks of `2-hostile/values-1m.pdf` on the phone | 20 times the message, the tab alive |
| J1.11 | Rescue copy under the cap on the phone: `3-copies/copie-valide.json`, then `copie-trop-grande.json` | the editor; the refusal |
| J1.12 | Timing: note the time from the pick to the editor for `r3-demo.fr.logos.pdf` and for the L export per device | reported in RUST.md §10.5; the 20 s timer is confirmed or moved by the §B.3 rule (≥ 10 × the slowest legitimate import) |
| J1.13 | Data kept on error: open a reference PDF, add an observation, go back to Home (« Accueil »), tap « Importer », answer « Remplacer » in « Remplacer le bilan en cours ? », pick `2-hostile/values-1m.pdf`; same again with `3-copies/copie-json-invalide.json` | each refusal shows its message; « Importer » again offers « Ouvrir le bilan en cours », which opens the bilan with the added observation; nothing was replaced or dropped |
Browsers: Safari on iPhone (the WebKit path that headless WPE does not
stand for), Chrome and Firefox on the computer, the Android browser. A
Devices and browsers (plan OD-6, the exact list): the computer with Chrome
and with Firefox; the iPhone with Safari iOS (the WebKit path that headless
WPE does not stand for); the low-end Android phone with its browser. A
device or browser not run is reported as not run.
## 4. What to report
+5 -1
View File
@@ -6,6 +6,9 @@ timing and memory event. A device or browser not run stays `NON TESTÉ`.
Status 2026-10-18: the owner reports the functional checks they executed as
passed, with no failure, on a computer (browser and version to be given).
Status 2026-10-20 (R4.9): the recette is re-issued on the R4.8 build (the
export on the core, no TypeScript engine left); J1.13 added; every cell
stays as the owner left it, nothing below was run by Claude.
iPhone / Safari iOS: not run, deferred by the owner to a later date; it
stays `NON TESTÉ` and blocks the final acceptance of R4.3 (plan §A.4, OD-6:
a device not run is never reported validated). The J1.8 / J1.12 timings and
@@ -16,7 +19,7 @@ cell below stays `NON TESTÉ` until the owner confirms it, nothing is inferred.
|---|---|---|
| (to be confirmed by the owner) | | 2026-10-18 |
| Check | Computer (browser, version?) | iPhone, Safari iOS (deferred) | Android (not run) |
| Check | Computer, Chrome / Firefox (version?) | iPhone, Safari iOS (deferred) | Android (not run) |
|---|---|---|---|
| J1.1 reference PDFs open the editor | NON TESTÉ | NON TESTÉ | NON TESTÉ |
| J1.2 hostile folder: message per file | NON TESTÉ | NON TESTÉ | NON TESTÉ |
@@ -30,6 +33,7 @@ cell below stays `NON TESTÉ` until the owner confirms it, nothing is inferred.
| J1.10 twenty picks of `values-1m.pdf` | NON TESTÉ | NON TESTÉ | NON TESTÉ |
| J1.11 rescue copy under and over the cap | NON TESTÉ | NON TESTÉ | NON TESTÉ |
| J1.12 timings (demo, L) | NON TESTÉ | NON TESTÉ | NON TESTÉ |
| J1.13 bilan in progress kept after a refused import | NON TESTÉ | NON TESTÉ | NON TESTÉ |
Notes (FAIL, incidents, timings, memory warnings, reloads):
+22 -12
View File
@@ -4,10 +4,13 @@ Plan `.claude/tasks/plans/2026-10-17-rust-r4-pdf-core.md` §B.7 (R4.6 "your
phone check of L") and the owner's R4.6 brief. The export of the application
runs on the core's session since R4.6 (`docs/development/RUST.md` §10.8):
the browser draws each view the core asks for, the core writes the file as
the rasters arrive. Headless runs in Chromium, Firefox and WebKit are
recorded in RUST.md §10.8; nothing below is validated until it has run on
the owner's devices. The J1 recette (import, `R4_J1.md`) stays due on Safari
iOS before any R4 merge; J2 can run in the same session.
the rasters arrive; the TypeScript engine left the repository at R4.8
(§10.10), so the build under test holds no other writer. Headless runs in
Chromium, Firefox and WebKit are recorded in RUST.md §10.8 and §10.11 (the
R4.9 memory bench); nothing below is validated until it has run on the
owner's devices (plan OD-6: a device or browser not run is reported as not
run, never as validated). The J1 recette (import, `R4_J1.md`) stays due on
Safari iOS before any R4 merge; J2 can run in the same session.
## 1. Serve the build on the LAN (owner's machine)
@@ -40,9 +43,11 @@ or any viewer with two tabs.
## 3. Checks per device (computer, iPhone, low-end Android: the OD-6 list)
Record the device, the browser and its version, the surface (1 or 2), and
for J2.6 the time from the tap to the download sheet and whether the tab
survived.
Devices and browsers (plan OD-6, the exact list): the computer with Chrome
and with Firefox; the iPhone with Safari iOS; the low-end Android phone
with its browser. Record the device, the browser and its version, the
surface (1 or 2), and for J2.6 the time from the tap to the download sheet
and whether the tab survived.
| # | Check | Expected |
|---|---|---|
@@ -57,12 +62,17 @@ survived.
| J2.9 | Interrupted export: on `2-large/L.fr.logos.pdf`, tap « Exporter en PDF » then leave the editor at once (« Accueil ») | no download, no alert, Home usable; a later export works |
| J2.10 | Engine unavailable: surface 2 with `--csp without`, open the editor | the degraded notice (the export button is not offered); back with the keyword, the export works |
| J2.11 | CAP on the computer only: import `2-large/CAP.fr.logos.pdf`, export | the download arrives (the development machine: Chromium about 1 min); 501 pages; the tab survives |
| J2.12 | Views and markers: on the J2.1 export, for the first observation with zones on both drawings, compare each page with the imported file | one page per view of the observation, the general view first, then the head view; every zone of the observation highlighted in the accent colour with its halo, the other markers in their category colour, none missing or added; the vertebra selection drawn on the right vertebrae |
| J2.13 | Attachment and properties: open the J2.1 export in a viewer with an attachments panel (Acrobat, Preview, the Files app on iPhone, a desktop viewer on Android) | one attachment `osteo-report.json` listed; Properties show Producer and Creator `Faunosteo`, Keywords `faunosteo-archive/1`, the title « Bilan ostéopathique… » |
| J2.14 | Archive check on the computer: `pnpm report:compare --diff 1-reference/r3-demo.fr.logos.pdf <the J2.1 export>` (first run compiles the tool, about 25 s), then `pnpm report:compare <the J2.8 re-export>` | the diff prints `identical v3 content`, exit 0; the single file prints its comparison with no `!!` line and no unresolved item |
J2.1 to J2.5 are the visual parity items: any difference between the
imported and the exported file (a shifted block, a missing glyph, a wrong
colour, a missing link) is a finding, with a screenshot of both. J2.6 and
J2.7 are the memory items of OD-2 on a device (the headless numbers are in
RUST.md §10.8).
J2.1 to J2.5 and J2.12 are the visual parity items: any difference between
the imported and the exported file (a shifted block, a missing glyph, a
wrong colour, a missing link, a marker moved) is a finding, with a
screenshot of both. J2.6 and J2.7 are the memory items of OD-2 on a device
(the headless numbers are in RUST.md §10.8 and the R4.9 bench in §10.11).
J2.13 and J2.14 are the archive items: the attachment travels with the
file and the tool reads it back as the same bilan.
## 4. Results
+7 -2
View File
@@ -3,13 +3,15 @@
Procedure: `R4_J2.md`. One column per device actually run; `PASS`, `FAIL` or
`NON TESTÉ` per cell, with a note under the table for every FAIL, incident,
timing and memory event. A device or browser not run stays `NON TESTÉ`; the
headless runs of RUST.md §10.8 never fill a cell.
headless runs of RUST.md §10.8 and §10.11 never fill a cell. Re-issued at
R4.9 (2026-10-20) on the R4.8 build with J2.12 to J2.14 added; nothing
below was run by Claude.
| Device, browser, version | Surface (1 dev / 2 prod CSP) | Date |
|---|---|---|
| (to be given by the owner) | | |
| Check | Computer | iPhone, Safari iOS | Android |
| Check | Computer, Chrome / Firefox | iPhone, Safari iOS | Android |
|---|---|---|---|
| J2.1 FR export identical to the imported demo | NON TESTÉ | NON TESTÉ | NON TESTÉ |
| J2.2 EN export | NON TESTÉ | NON TESTÉ | NON TESTÉ |
@@ -22,6 +24,9 @@ headless runs of RUST.md §10.8 never fill a cell.
| J2.9 interrupted export | NON TESTÉ | NON TESTÉ | NON TESTÉ |
| J2.10 engine unavailable then recovered | NON TESTÉ | NON TESTÉ | NON TESTÉ |
| J2.11 CAP export (computer only) | NON TESTÉ | not applicable | not applicable |
| J2.12 views and markers of an observation | NON TESTÉ | NON TESTÉ | NON TESTÉ |
| J2.13 attachment listed, properties Faunosteo | NON TESTÉ | NON TESTÉ | NON TESTÉ |
| J2.14 `pnpm report:compare` (computer only) | NON TESTÉ | not applicable | not applicable |
Notes (FAIL, incidents, timings, memory warnings, reloads):
+1 -1
View File
@@ -125,7 +125,7 @@ write('copie-version-1.json', '{"version": 1}', MESSAGES.invalid_copy)
write(
'copie-L-60-observations.json',
readFileSync(join(FIXTURES, 'r4/reports/L.json'), 'utf8'),
`${MESSAGES.editor} ; sur l’ordinateur, exporter ensuite ce bilan en PDF (≈ 42 Mo) pour J1.8 et J1.9`,
`${MESSAGES.editor} ; sur l’ordinateur, exporter ensuite ce bilan en PDF (export Rust, ≈ 44 Mo) pour J1.8 et J1.9`,
)
write(
'copie-trop-grande.json',
+1 -1
View File
@@ -108,7 +108,7 @@ function largeArchive(glue, demo, name) {
}
const lines = [
'# Kit J2 (R4.6) — fichiers de la recette de l’export Rust',
'# Kit J2 (R4.9, build R4.8) — fichiers de la recette de l’export Rust',
'',
'## 1-reference/ (exports du moteur TypeScript, R3)',
'',