docs(docs): R4.10 owner decisions: J2.3 option 1 (expected result corrected), J1.7 rectified as PASS with a picker-delay reserve, R4.8 deletion trace (23 files), RUST.md §10.12 ZenQuality logo diagnosis, CHANGELOG, contract, TODO

This commit is contained in:
bchanot committed 2026-10-21 15:47:19 +02:00
1 parent dcc79400de
commit c619f3eba2
9 files changed
+156 -21

No files matched your search

+13 -5
View File
@@ -32,7 +32,7 @@ named the browser (J1.7). Brave is outside the OD-6 list, reported as run.
| J1.4 engine unavailable (`--csp without`) | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | PASS déclaré |
| J1.5 engine recovered | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | PASS déclaré |
| J1.6 interrupted import | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | PASS déclaré |
| J1.7 offline import | NON TESTÉ | FAIL | FAIL | NON TESTÉ | NON TESTÉ | FAIL |
| J1.7 offline import | NON TESTÉ | PASS, picker delay (see note) | PASS, picker delay (see note) | NON TESTÉ | NON TESTÉ | PASS, performance reserve |
| J1.8 L export (≈ 42 MB) opens, time to the editor | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | PASS déclaré |
| J1.9 six L imports in a row, tab alive | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | PASS déclaré |
| J1.10 twenty picks of `values-1m.pdf` | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | PASS déclaré |
@@ -42,10 +42,18 @@ named the browser (J1.7). Brave is outside the OD-6 list, reported as run.
Notes (FAIL, incidents, timings, memory warnings, reloads):
- J1.7 FAIL on Brave and Firefox (owner, 2026-10-21): surface 2 (production
build, port 4173, production CSP); offline, « Importer » does not open the
file picker and the browser becomes unusable. Diagnosis and fix: RUST.md
§10.12; the mini-recette `R4_MINI_RECETTE.md` runs it again.
- J1.7 (owner, 2026-10-21, Brave and Firefox, surface 2: production build,
port 4173, production CSP). First declared FAIL: offline, « Importer » did
not open the file picker and the browser seemed unusable. Rectified the
same day after the mini-recette (`R4_MINI_RECETTE.md`, M1 and M2): with
the system's network cut, the file picker takes about one minute to open,
from Ctrl+O in an empty tab as from the Faunosteo button alike; once open,
the offline import works. Functional PASS with a performance reserve on
the picker's opening. The behaviour is seen outside Faunosteo, so no
proof of an application defect remains; the cause of the delay is not
established (not measured, not traced). Diagnosis: RUST.md §10.12; the
recette server's cache headers fix stays (a demonstrated, separate
defect).
- J1.12: « quelques secondes » from the pick to the editor, no measure; the
20 s timer is neither confirmed nor moved by it (the §B.3 rule needs the
timings).
+1 -1
View File
@@ -56,7 +56,7 @@ and whether the tab survived.
|---|---|---|
| J2.1 | FR export: import `1-reference/r3-demo.fr.logos.pdf`, tap « Exporter en PDF » | a download named `bilan-<animal>-<date>.pdf`; opened, 7 pages identical to the imported file: the same texts, the four logos (header, footer, ZenQuality, the partner drawing), the anatomy views with the observation's zones highlighted in the accent colour, the severity pill, the conclusion page, the pagination « n / 7 » |
| J2.2 | EN export: switch the language to English in the editor, export again | the same pages in English (« GENERAL VIEW », « FINDINGS — », « Powered by »); the animal and practitioner names unchanged |
| J2.3 | Without logos: import `r3-demo.fr.nologos.pdf`, export | the header shows the site name as text, the footer the credit texts (« zenquality.fr », « @paws.iin.harmony ») in place of the logos; no alert |
| J2.3 | Archive without logos: import `r3-demo.fr.nologos.pdf` (its archived branding has the four logo slots empty), export | the exported file carries the application's current branding, the four logos as in J2.1 (header, footer, ZenQuality, the partner drawing), not the archive's empty slots; no alert. Owner decision 2026-10-21 (RUST.md §10.12): a new export from the editor is a new document with the current branding; the archive keeps its own data for a faithful reproduction by the tool (`export_from_envelope`) |
| J2.4 | Links: in the exported file of J2.1, tap the header logo and the two footer credits | they open `faunosteo.com`, `zenquality.fr` and the partner's Instagram page |
| J2.5 | Real rasters: import `r3-real.v2full-obs1.fr.logos.pdf`, export, zoom at 400 % on the main view of the first observation | the drawing is crisp (1200 px wide raster), the highlighted zones and the halo as in the imported file |
| J2.6 | Large export on the phone (E4): import `2-large/L.fr.logos.pdf`, export | the download arrives (note the time; the development machine takes 7 s in Chromium); the tab survives, no reload, no memory warning; the file opens with 61 pages |
+8 -4
View File
@@ -20,7 +20,7 @@ outside the OD-6 list, reported as run.
|---|---|---|---|---|---|---|
| J2.1 FR export identical to the imported demo | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | PASS déclaré |
| J2.2 EN export | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | PASS déclaré |
| J2.3 export without logos | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | FAIL |
| J2.3 export of an archive without logos | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | acceptable under the corrected expected result, subject to the logos matching the current branding (owner, 2026-10-21) |
| J2.4 links open the three sites | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | PASS déclaré |
| J2.5 real rasters crisp at 400 % | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | PASS déclaré |
| J2.6 L export on the phone (E4), time, tab alive | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | NON TESTÉ | PASS déclaré |
@@ -35,11 +35,15 @@ outside the OD-6 list, reported as run.
Notes (FAIL, incidents, timings, memory warnings, reloads):
- J2.3 FAIL (owner, 2026-10-21): after importing `r3-demo.fr.nologos.pdf`,
- J2.3 (owner, 2026-10-21): after importing `r3-demo.fr.nologos.pdf`,
the exported PDF shows the graphic logos in the header and the footer.
Declared FAIL against the R4.6 expected result, which was wrong.
Diagnosis: RUST.md §10.12 (the editor export embeds the application's
bundled branding, never the imported archive's; the expected result
written at R4.6 does not match that rule); owner decision pending.
bundled branding, never the imported archive's). Owner decision, option 1:
the rule stays, the expected result of J2.3 is corrected (R4_J2.md), and
the observed result is acceptable under it, subject to the logos shown
being the application's current branding (the four logos of J2.1). No
engine, golden or oracle change.
Recommendation (filled after the run): accept R4.6 as is / accept with
follow-ups / do not accept, and why.
+21 -4
View File
@@ -1,9 +1,9 @@
# R4 mini-recette after R4.10 (J1.7 and its dependencies)
Re-runs only what R4.10 touched: the offline import (J1.7) and the import
path it shares with J1.1 and J1.13. Diagnosis: RUST.md §10.12. J2.3 waits
for the owner's decision on the branding of a re-export; nothing to run for
it until then.
path it shares with J1.1 and J1.13. Diagnosis: RUST.md §10.12. J2.3 is
settled by the owner's decision (option 1, the expected result corrected in
R4_J2.md): nothing to run for it.
## 1. Setup (computer, development machine)
@@ -37,7 +37,24 @@ limitation to note. If M1 opens but M2 hangs, the defect is Faunosteo's and
R4.10 continues. If M2 passes from the local copy but failed from the share
at J1, the kit's location caused it.
## 3. What to report
## 3. Results (owner, 2026-10-21, Firefox and Brave, kit stored locally)
| Check | Result |
|---|---|
| M1 | PASS, the dialog opens after about 60 s |
| M2 | PASS, the dialog opens after about 60 s, then the import works |
| M3 | NON TESTÉ |
| M4, M5 | NON TESTÉ in the mini-recette; the earlier J1 declarations stand |
| M6 | NON TESTÉ (iPhone not available) |
Reading: M1 and M2 show the same delay, so the file dialog itself is slow
to open when the system's network is cut, whatever the page. No proof of a
Faunosteo defect remains for this symptom; the cause of the delay is not
established and is not claimed. J1.7 is a functional PASS with a
performance reserve (`R4_J1_RESULTS.md`). No application change for this
symptom without proof of a Faunosteo defect.
## 4. What to report
Per check and browser: PASS / FAIL / NON TESTÉ; the operating system of the
computer and the browser versions; how the network was cut (Wi-Fi off,
+58 -4
View File
@@ -2226,10 +2226,15 @@ core alone no longer compiled with no feature (`facade::restore_copy` used
the feature-gated reader's cap; the workspace run unified the wasm crate's
features and hid it from `rust:check` and `check:all`): fixed, and
`rust:check` now lints the core alone; pass 2 found the §6 register without
the J2 merge-gate row: added; pass 3 CONFORME 16/16. The floor lists the 21
test files R4.8 deleted (approved in the owner's brief, every case in the
ledger with a present target): they clear formally only with the owner's
own `[gated]` line. Security, fresh: pass 1 BLOCK(1) on the R4.1
the J2 merge-gate row: added; pass 3 CONFORME 16/16. The floor lists the
test files R4.8 deleted (23 by `git log --diff-filter=D` on 0dc1ba2, the
one deleting commit of the branch; the verifier counted 21): approved in
the owner's brief, 22 traced case by case in the ledger with a present
target, the glue's `pdf-export.ts-engine.test.ts` traced in §10.10; the
owner's written approval is the R4.9 contract's header (2026-10-20) and
BDR-064. The floor clears formally only with the owner's own `[gated]`
line; the owner asked (2026-10-21) for the trace to be verified, not for
a marker. Security, fresh: pass 1 BLOCK(1) on the R4.1
`.gitleaks.toml` path allowlist, which carries no owner `[gated]` marker
(the owner approved it on 2026-10-18; only the owner adds the marker), and
a MEDIUM, the recette server bound every interface on an empty `--host`;
@@ -2282,6 +2287,17 @@ dialog opening on a network folder (the kit read from a share) but nothing
proves it yet: the mini-recette's discriminating step settles it (Ctrl+O
offline in an empty tab, the kit copied to a local folder).
Settled by the owner (2026-10-21, mini-recette M1 and M2 on Firefox and
Brave, the kit stored locally): with the system's network cut, the file
dialog takes about one minute to open, from Ctrl+O in an empty tab as from
the Faunosteo button alike, and the offline import then works. The
symptom exists outside Faunosteo, so no proof of an application defect
remains; J1.7 is a functional PASS with a performance reserve on the
picker's opening. The cause of the minute is not established (the share
hypothesis is not confirmed; nothing was measured or traced) and no
application change follows without proof of a Faunosteo defect. The
recette server's cache fix stays: a demonstrated defect on its own.
**B. J2.3, export without logos (FAIL).** The reference file
`1-reference/r3-demo.fr.nologos.pdf` carries an archive whose branding has
the four logo slots `null` (the R3 oracle's `nologos` mode: the logo fetch
@@ -2300,3 +2316,41 @@ result of J2.3 written at R4.6 was wrong: it described the oracle's
rules and the expected result untouched); an owner decision is needed:
keep the rule and correct the expected result of J2.3, or make a re-export
of an imported bilan reuse the archived branding (a product change).
Owner decision (2026-10-21): option 1. A new export from the editor is a
new document with the application's current branding; the archive keeps
its own branding for a faithful reproduction by the tool
(`export_from_envelope`). Only the expected result of J2.3 and the recette
documents changed; the owner's observed result is acceptable under the
corrected rule, subject to the logos shown being the current branding.
**C. The footer's ZenQuality logo under the production CSP (2026-10-21,
owner's ask).** `Footer.tsx` loaded « Propulsé par » from
`https://zenquality.fr/assets/logo-horizontal-1024.png` since the footer
exists (caac149, 2026-05-21), and DEPLOY.md's CSP, `img-src 'self' data:
blob:`, dates from the same day (98117b3). Impact: on an origin that sends
that policy, the image is refused and its slot shows the alt text
« ZenQuality » (or the browser's broken-image mark); the link itself still
works, nothing else on the page depends on it. The exported PDF is not
affected: `pdf/branding.ts` embeds the bundled `zenquality-logo-fr.png`,
never a fetched file. Where the policy lives: the VPS reverse proxy
(DEPLOY.md, nginx Option A or Caddy), not `docker/nginx.conf`, which sets
no CSP; `faunosteo.com` answered with no `Content-Security-Policy` header
on 2026-10-21 (HEAD request), so the live site does not refuse it today.
Why the recettes did not report it: the J1 / J2 checklists carry no
footer item, and the development server (`pnpm dev`) sets no policy; the
headless CSP proofs did see it, on every page since the R2 app-image proof
(§8) and in `r4-app-csp.mjs` (§10.3), recorded as "the one known
violation" and excluded from their verdict. Fix (R4.10j): the same file
bundled under `src/assets/brand/zenquality-logo-horizontal.png` (1024 ×
237, the bytes fetched from zenquality.fr on 2026-10-21, sha256
`8625f6b1…`) and imported with `?url` like the partner's drawing, so the
pixels do not change and the CSP stays as documented; the hotlink no longer
sends the visitor's address to a third party either.
`components.Footer` pins it (every footer image served by the application;
the test fails on the hotlinked version); `r4-app-csp.mjs` drops its
known-host exception, any violation is now a problem: 12 passes, no
violation, no report (`results/2026-10-21-r4-csp.json`);
`r4-offline-import.mjs` 6 runs as expected on the same build
(`results/2026-10-21-r4-offline-import.json`). The two `?inline` PDF logos
and the `fr` variant are untouched: the footer shows the file it always
showed.