diff --git a/.claude/audits/CONTEXT7-2026-10-21.md b/.claude/audits/CONTEXT7-2026-10-21.md
new file mode 100644
index 00000000..3285b80d
--- /dev/null
+++ b/.claude/audits/CONTEXT7-2026-10-21.md
@@ -0,0 +1,29 @@
+# Context7 documentation review, 2026-10-21 (branch feature/rust-r4-pdf-core, c9243b5)
+
+Read-only, `ctx7` CLI, three tracks (Rust crates, frontend libraries, tooling + backend). Nothing changed in the code.
+Not covered by Context7: miniz_oxide (Rust), libwebp-sys, rlimit, @vitejs/plugin-react-swc, supabase-js locale sync.
+
+## Findings, by priority
+
+| # | Area | Location | Doc statement | Class |
+|---|---|---|---|---|
+| 1 | Worker base image | crates/worker/Dockerfile:35 `distroless/static-debian12:nonroot` | distroless README: only `-debian13` tags are published and updated, others are deprecated | security maintenance |
+| 2 | Tailwind v4 `outline-none` | 13 files (ui/Input, Button, Chip, Select, Textarea, auth/*, brand/*, shell/*, ObservationCard) | v4 `outline-none` sets `outline-style: none`; `outline-hidden` keeps v3's forced-colors outline | accessibility, visible |
+| 3 | `safeNextPath` dot segments (security gate, not Context7) | apps/app/src/auth/redirects.ts:28 | `/..//evil.com` → `//evil.com`; neutralised today by react-router 7.18.4 `resolvePath` | latent open redirect |
+| 4 | vitest coverage block | apps/app/vitest.config.ts:20-23 | provider v8 needs `@vitest/coverage-v8`, not installed, no script uses it | dead config |
+| 5 | jest-dom entry | apps/app/tests/setup.ts:1 | Vitest entry is `@testing-library/jest-dom/vitest` | test config |
+| 6 | `tseslint.config` | apps/app/eslint.config.js:21 | deprecated for ESLint core `defineConfig` | deprecation |
+| 7 | `forwardRef` | ui/Input, Select, Textarea | React 19: ref as a prop, forwardRef to be deprecated | deprecation |
+| 8 | supabase-js comment | apps/app/src/state/authStore.ts:95-97 | reentry deadlock reason outdated; the deferral itself is still the documented advice | stale comment |
+| 9 | `auth.initialize()` without catch | apps/app/src/state/authStore.ts:164-166 | storage errors may propagate unwrapped (snippet); not settled for 2.117 | to check against source |
+| 10 | Motion reduced motion | Dialog.tsx, ObservationCard.tsx | `MotionConfig reducedMotion` default "never" | accessibility, visible |
+| 11 | DEPLOY.md runbook | DEPLOY.md:401 `listen 443 ssl http2;` | deprecated since nginx 1.25.1: `http2 on;` | runbook text |
+| 12 | seccomp arg width | crates/worker/src/sandbox.rs:189-208 | `Dword` documented for 4-byte args; current `Qword` fails closed | low, no bug claimed |
+
+## Upgrade notes (no action now)
+
+react-router 8 (drop react-router-dom, react ≥19.2.7, node ≥22.22); zod 4 (frozen readers must stay on `zod/v3`; `.default` and `.strict` semantics change); TypeScript 7 (`baseUrl` removed); vite 8 coupled with vitest ≥4 and plugin-react-swc 4; vitest 5 needs `@types/node ^22 || >=24`; ESLint 10 blocked by eslint-plugin-react 7.37.5; PGlite 0.5 moves pgTAP to `@electric-sql/pglite-pgtap`; image and rcgen `main` change the APIs the worker and its TLS test use; pnpm 11 config changes.
+
+## Confirmed as documented
+
+ureq TLS defaults (WebPki roots, verification on) and the worker's config; rustls 0.23 server builder; roxmltree untrusted-input options; wasm-bindgen CLI = crate version; serde / serde_json / sha2 / url / image 0.25 / seccompiler semantics; Vite worker, asset queries, virtual module; vitest 3 globalSetup; supabase config.toml keys; Playwright setOffline and CDP gating; supabase-js PKCE options and sync callback; zustand v5 usage; xmldom defaults.
diff --git a/.claude/tasks/TODO.md b/.claude/tasks/TODO.md
index 2af905d7..c5fd9369 100644
--- a/.claude/tasks/TODO.md
+++ b/.claude/tasks/TODO.md
@@ -284,12 +284,13 @@ feat/findings-tree-v2 merged (FindingsTreePicker tracked in HEAD); all work belo
- [x] R4.10k (verifier 8/8 MET, one formal scope gap: the contract file itself; security PASS, 3 LOW, protocol-relative test regex fixed 1877c4b) (owner 2026-10-21 rectification recorded: J1.7 PASS with picker-delay reserve, M1/M2 PASS ~60 s, M3-M6 NON TESTÉ, cause unclaimed, no app change) gates: verifier on the contract, security gate on the diff; docs (RUST.md §10.12, CHANGELOG), memory; report → STOP: owner's M1-M5 + Safari before any R4 close; no merge, no R5, no release, no deploy
- [x] R4.10n final gates: check:all green 8943bf3, verifier CONFORME 12/12, security PASS (2 LOW) → STOP, wait Safari iOS + merge signal
- [x] R4.10l owner verdict recorded (BDR-066: J1.7 PASS w/ reserve, M3 complementary non-blocking, J2.3 option 1 final, logo + CSP hardening validated, gitleaks marker valid with delegated writing, 23 deletions authorized, Safari iOS real device only); contract FILE SCOPE amended (contract itself, memory, redactions) + criteria 9-12; report paths redacted, harness distDir repo-relative; check:all + gitleaks/semgrep/cargo deny/pnpm audit run; verifier re-dispatch = orchestrator
- - [ ] R4.11 dependency maintenance before the R4 merge (owner 2026-10-21: three advisories; minimal updates, separate commits; stop on any large migration)
+ - [x] R4.11 dependency maintenance (verifier CONFORME 12/12 pass 2, security PASS; checkpoint delivered, waiting owner signal) before the R4 merge (owner 2026-10-21: three advisories; minimal updates, separate commits; stop on any large migration)
- [x] R4.11a analysis: rustls-webpki 0.103.15 and webpki-roots 1.0.9 reach the tree through ureq 3.4.2 → rustls 0.23.46 (worker only, its TLS client to Supabase; no other crate); fixes 0.103.16 / 1.0.10 published, not yanked, same minor; react-router 7.15.1 through react-router-dom ^7.1.1 (app only): 5 advisories, 4 not reachable (RSC, SSR hydration, server-side route matching; the app is a BrowserRouter SPA with no loader, action or server), 1 reachable in principle (GHSA-wrjc-x8rr-h8h6 backslash open redirect through `` / `useNavigate`) but the only untrusted destination is `next`, rebuilt by `safeNextPath` from a parsed URL against a sentinel origin; latest 7.x = 7.18.4 (2026-09-15), patch-level changelog, no API change for the app
- [x] R4.11b (7a7b71c) `cargo update -p rustls-webpki -p webpki-roots` (Cargo.lock only)
- [x] R4.11c (c9dab63) react-router-dom ^7.18.4 (apps/app/package.json + lockfile)
- [x] R4.11d (a604c07) worker TLS test: an in-process rustls server with a self-signed certificate (rcgen, dev-dependency) must be refused by `HttpBackend` (certificate validation active); honest limit: proves validation, not the emSign distrust itself
- - [~] R4.11e checks (rust-check, deny advisories ok, audit --prod clean, app 429, check:all green 17:27:54, goldens untouched, criterion 11 generic; gates dispatched): rust-check, `cargo deny check advisories` clean, `pnpm audit --prod` clean, app suite (routing, auth, redirects), check:all (images, sandbox), goldens and oracles unchanged (git status), contract + fresh verifier + targeted security gate; contract criterion 11 regex made generic (owner §6)
+ - [ ] R4.11g owner decisions on the Context7 review (`.claude/audits/CONTEXT7-2026-10-21.md`: distroless debian13, Tailwind outline-hidden, safeNextPath dot segments, dead coverage block, jest-dom entry, tseslint defineConfig, forwardRef, DEPLOY http2, reduced motion) → nothing changed until decided
+ - [x] R4.11e checks (rust-check, deny advisories ok, audit --prod clean, app 429, check:all green 17:27:54, goldens untouched, criterion 11 generic; gates dispatched): rust-check, `cargo deny check advisories` clean, `pnpm audit --prod` clean, app suite (routing, auth, redirects), check:all (images, sandbox), goldens and oracles unchanged (git status), contract + fresh verifier + targeted security gate; contract criterion 11 regex made generic (owner §6)
- [x] R4.11f docs (RUST.md §10.13, CHANGELOG, contract 1700): RUST.md §10.13 table (advisory, old, new, audit, residual), CHANGELOG, DEPLOY if the TLS note changes; memory; checkpoint table → wait for the owner's signal
- [ ] R4.10m security reserves found by the R4.10l checks, pre-existing, not fixed (dependency upgrades = owner decision, outside R4.10 scope): RUSTSEC-2026-0382 rustls-webpki 0.103.15 + RUSTSEC-2026-0381 webpki-roots 1.0.9 (worker → ureq; `cargo update -p rustls-webpki -p webpki-roots`; advisories warn-only in check:all, release gate blocks); `pnpm audit --prod` 5 (react-router <7.18.2: 2 high, 3 moderate; several RSC/framework-mode only, open-redirect GHSA-wrjc-x8rr-h8h6 applies to ``/`useNavigate`); full audit 57 incl. 2 critical tinypool (vitest, dev only); gitleaks history 561 commits clean, working tree 1 jwt in git-ignored `.env.worker` (never committed)
- [ ] owner actions: open UFW 4173 for the recette session, then delete the rule; J1 + J2 on the OD-6 devices