docs(docs): V1-2.4 maquettes proposal, verification worker risk register

docs/design/v1-2-4: twelve functional mockups on the existing identity
(catalogue, editor, narrow read-only, verification states, review, admin
navigation, FR/EN labels), not validated. V1-2 contract §13.1: accepted risks
VR-1 (CPU contention, MEDIUM) to VR-5 with their re-examination condition.
This commit is contained in:
bchanot committed 2026-11-02 00:11:04 +01:00
1 parent 8db62b43e2
commit f00d8b4e4c
17 files changed
+688

No files matched your search

+17
View File
@@ -796,3 +796,20 @@ Apply when implementing B-phase:
| C. Full horse.json authoring (user) | external |
| C. QA + docs + deploy | 4 |
| **Total dev** | **~23h** |
- [ ] S closure + V1-2.4 go (brief « Clôture V1-2.3 et lancement V1-2.4 », 2026-11-02, on 57b93af): V1-2.3 VERIFIED (BDR-093); CPU-contention MEDIUM accepted temporarily, register V1-2 contract §13.1 (VR-1..VR-5);
> faunosteo@0.1.0 e2e:sheet-assets /home/bchanot/Documents/faunosteo
> bash scripts/sheet-assets-e2e.sh
PASS check writes nothing (exit 0)
PASS first run (exit 0)
PASS rerun (exit 0)
PASS rerun has nothing to do
PASS anon key refused (exit 1)
PASS wrong key refused (exit 1)
PASS https refused (exit 1)
PASS non-local host refused (exit 1)
PASS no port refused (exit 1)
PASS unreachable port (exit 3)
PASS folder outside the seed (exit 1)
e2e:sheet-assets OK = sandbox alias (f924ad0); INCIDENT 2026-11-01 23:03:49 UTC: executor ran the old DEV script from the main checkout (13 GET, no write, DEV not restarted); V1-2.4 maquettes (proposition); STOP at graphic checkpoint
+18
View File
@@ -46,3 +46,21 @@ password recovery, dashboard (profile completeness, local tool, account
facts), Mon compte as stacked sections, sidebar + drawer, FR/EN. The owner
accepted that the Home of the local tool (`/`) shows no sidebar while signed
in, only the "Mon espace" button, until the tool is integrated into `/app`.
## v1-2-4/ — V1-2.4 maquettes (PROPOSITION, not validated)
Produced 2026-11-02 for the owner's checkpoint (V1-2 contract §16.5, §11.3; brief « Clôture V1-2.3 et
lancement V1-2.4 »). Not a reference until the owner validates it; this line then says so. Functional
mockups on the existing identity (logo, `tokens.css` palette and fonts, Step 7 shell, cards, badges,
buttons, notices): no new design system. Source `maquettes.html`, rendered by `render.cjs` with the
pinned Chromium into twelve PNGs:
1. `01`–`03` catalogue `/app/anatomy`: list, sheet page (desktop, with « Ouvrir dans l'administration »
for an editor), sheet page at 375 px;
2. `04` draft editor at 1 280 px (tabs, tools point / zone / detail view link, canvas, properties);
3. `05` read-only draft below 1 024 px (768 px and 375 px) with its notice;
4. `06` Vérification tab: before submission, verifying (attempts, last code), failed, unavailable;
5. `07`–`09` review screen: reviewer view with groups and acknowledgments, publication confirmation,
three mobile states;
6. `10`–`11` single « Administration » entry, desktop sidebar and mobile drawer;
7. `12` FR/EN labels, ratified or to arbitrate, and the 20 closed codes (identifier vs message).
Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 KiB

+620
View File
@@ -0,0 +1,620 @@
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>Faunosteo V1-2.4 maquettes (proposition)</title>
<!--
V1-2.4 functional mockups (contract docs/development/V1-2_ANATOMICAL_SHEETS.md §16.5, §11):
static, never shipped. Colours and fonts are the app's tokens (apps/app/src/styles/tokens.css),
shapes those of its components (Button, Card, Badge, Notice, SidebarNav). Rendered to PNG by
render.cjs; the PNGs are the deliverable, this file their source.
-->
<style>
:root {
--color-bg: #fbf9f5; --color-surface: #ffffff; --color-surface-strong: #f4efe6;
--color-ink: #1f1b16; --color-ink-muted: #6b6359; --color-border: #e7e0d2;
--color-accent: #b85a3f; --color-accent-strong: #9c4831;
--color-danger: #c0392b; --color-danger-strong: #962c21;
--severity-mild: #6b8e6b; --severity-moderate: #b88a3f; --severity-severe: #c0392b;
--font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: #ece6da; font-family: var(--font-sans); color: var(--color-ink); -webkit-font-smoothing: antialiased; }
.sheet-title { font: 600 15px var(--font-sans); margin: 0 0 10px; color: var(--color-ink); }
.row { display: flex; gap: 28px; align-items: flex-start; padding: 24px 28px; flex-wrap: wrap; }
[data-board] { background: #ece6da; padding: 16px; }
.frame { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(31,27,22,.06); }
.desk { width: 1280px; height: 800px; display: flex; }
.phone { width: 375px; height: 780px; display: flex; flex-direction: column; border-radius: 28px; border: 8px solid #2a2520; }
.tablet { width: 768px; height: 720px; display: flex; flex-direction: column; }
/* shell */
.side { width: 256px; flex: none; background: var(--color-surface); border-right: 1px solid var(--color-border); display: flex; flex-direction: column; }
.side .logo { padding: 20px; } .side .logo img { height: 34px; }
.nav { padding: 0 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.nav a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--color-ink-muted); text-decoration: none; }
.nav a.on { background: var(--color-surface-strong); color: var(--color-ink); font-weight: 500; }
.nav a.on::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--color-accent); }
.nav .sub { display: flex; flex-direction: column; line-height: 1.2; }
.nav .sub small { font-size: 12px; color: var(--color-ink-muted); font-weight: 400; }
.nav hr { border: 0; border-top: 1px solid var(--color-border); margin: 8px 4px; }
.nav .gate { margin-left: auto; font-size: 11px; color: var(--color-ink-muted); }
.side .foot { border-top: 1px solid var(--color-border); padding: 16px; font-size: 14px; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.top { height: 56px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 24px; border-bottom: 1px solid var(--color-border); background: rgba(255,255,255,.95); }
.top .crumb { font-size: 14px; color: var(--color-ink-muted); }
.top .crumb b { color: var(--color-ink); font-weight: 500; }
.top .me { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--color-accent); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.content { flex: 1; overflow: hidden; padding: 28px 32px; }
h1.page { font: 400 28px/1.2 var(--font-serif); margin: 0 0 4px; }
p.lede { margin: 0 0 20px; color: var(--color-ink-muted); font-size: 14px; }
h2.sec { font: 400 19px/1.3 var(--font-serif); margin: 0 0 12px; }
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; box-shadow: 0 1px 2px rgba(31,27,22,.05); }
.pad { padding: 18px 20px; }
.muted { color: var(--color-ink-muted); }
.small { font-size: 12px; } .s13 { font-size: 13px; } .s14 { font-size: 14px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 500; background: var(--color-surface-strong); color: var(--color-ink); white-space: nowrap; }
.badge.accent { background: rgba(184,90,63,.1); color: var(--color-accent-strong); }
.badge.warn { background: #fffbeb; color: #b45309; }
.badge.danger { background: #fef2f2; color: #b91c1c; }
.badge.ok { background: color-mix(in srgb, var(--severity-mild) 14%, white); color: #3f5e3f; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 8px; font-size: 14px; font-weight: 500; border: 1px solid transparent; white-space: nowrap; }
.btn.sm { height: 36px; padding: 0 12px; border-radius: 6px; font-size: 13px; }
.btn.primary { background: var(--color-accent); color: #fff; }
.btn.secondary { background: var(--color-surface); color: var(--color-ink); border-color: var(--color-border); }
.btn.ghost { background: transparent; color: var(--color-ink); }
.btn.danger { background: var(--color-danger); color: #fff; }
.btn[disabled] { opacity: .5; }
.notice { display: flex; gap: 8px; align-items: flex-start; border: 1px solid; border-radius: 8px; padding: 9px 12px; font-size: 14px; }
.notice.info { border-color: var(--color-border); background: var(--color-surface-strong); }
.notice.error { border-color: rgba(192,57,43,.4); background: color-mix(in srgb, var(--color-danger) 8%, white); color: var(--color-danger-strong); }
.notice.success { border-color: rgba(107,142,107,.4); background: color-mix(in srgb, var(--severity-mild) 10%, white); }
.notice.warn { border-color: rgba(184,138,63,.45); background: color-mix(in srgb, var(--severity-moderate) 10%, white); }
.notice svg { flex: none; margin-top: 1px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.field span.inp { height: 38px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); padding: 0 10px; display: flex; align-items: center; font-size: 14px; }
.field label { font-weight: 500; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--color-border); background: var(--color-surface); display: inline-flex; align-items: center; font-size: 13px; }
.chip.on { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-bg); }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--color-border); }
.tabs a { padding: 10px 14px; font-size: 14px; color: var(--color-ink-muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.on { color: var(--color-accent-strong); border-color: var(--color-accent); font-weight: 500; }
.tabs a .cnt { margin-left: 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.list { display: flex; flex-direction: column; }
.list > div { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--color-border); font-size: 14px; }
.list > div:first-child { border-top: 0; }
.canvas { position: relative; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; }
.canvas img.horse { display: block; width: 100%; }
.sel { position: absolute; border: 2px dashed var(--color-ink); border-radius: 4px; }
.sel i { position: absolute; width: 10px; height: 10px; background: #fff; border: 2px solid var(--color-ink); border-radius: 2px; }
.tool { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; color: var(--color-ink-muted); }
.tool.on { background: var(--color-ink); color: var(--color-bg); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13px; }
.kv dt { color: var(--color-ink-muted); } .kv dd { margin: 0; }
.mono { font-family: ui-monospace, 'DejaVu Sans Mono', monospace; font-size: 12px; }
.annot { background: #fff8e6; border: 1px dashed #c9a35a; color: #6b5323; border-radius: 8px; padding: 8px 10px; font-size: 12px; line-height: 1.4; }
.annot b { color: #4a3916; }
table.lab { border-collapse: collapse; width: 100%; font-size: 13px; background: var(--color-surface); }
table.lab th, table.lab td { border-bottom: 1px solid var(--color-border); padding: 7px 10px; text-align: left; vertical-align: top; }
table.lab th { background: var(--color-surface-strong); font-weight: 600; font-size: 12px; }
table.lab td.st { white-space: nowrap; }
.dialog-wrap { position: absolute; inset: 0; background: rgba(31,27,22,.45); display: grid; place-items: center; }
.dialog { width: 480px; background: var(--color-surface); border-radius: 16px; padding: 22px 24px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.ph-top { height: 56px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid var(--color-border); background: var(--color-surface); flex: none; }
.ph-top img { height: 26px; }
.ph-body { flex: 1; overflow: hidden; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
</style>
</head>
<body>
<!-- Shared icons, the app's 24-unit stroke style (components/ui/Icon.tsx); new ones marked "new". -->
<svg width="0" height="0" style="position:absolute">
<symbol id="i-dashboard" viewBox="0 0 24 24"><path d="M4 4h7v7H4zM13 4h7v4h-7zM13 11h7v9h-7zM4 14h7v6H4z"/></symbol>
<symbol id="i-users" viewBox="0 0 24 24"><path d="M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM2 21a7 7 0 0 1 14 0M16 3.5a4 4 0 0 1 0 7M22 21a7 7 0 0 0-4.5-6.5"/></symbol>
<symbol id="i-paw" viewBox="0 0 24 24"><path d="M5.5 12a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6zM9 8.4a1.9 1.9 0 1 0 0-3.8 1.9 1.9 0 0 0 0 3.8zM15 8.4a1.9 1.9 0 1 0 0-3.8 1.9 1.9 0 0 0 0 3.8zM18.5 12a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6zM12 11c-3 0-5.5 4.5-5.5 6.5 0 2 2 2.5 3 2.2 1-.3 1.6-.7 2.5-.7s1.5.4 2.5.7c1 .3 3-.2 3-2.2 0-2-2.5-6.5-5.5-6.5z"/></symbol>
<symbol id="i-user" viewBox="0 0 24 24"><path d="M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM4 21a8 8 0 0 1 16 0"/></symbol>
<symbol id="i-tool" viewBox="0 0 24 24"><path d="M14 3l7 7-4 4-7-7zM10 10l-6 6 4 4 6-6M3 21l3-3"/></symbol>
<symbol id="i-check" viewBox="0 0 24 24"><path d="M5 12l5 5L20 7"/></symbol>
<symbol id="i-alert" viewBox="0 0 24 24"><path d="M12 9v4M12 17h.01M10.3 3.9L2.8 17a2 2 0 0 0 1.7 3h15a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z"/></symbol>
<symbol id="i-menu" viewBox="0 0 24 24"><path d="M4 7h16M4 12h16M4 17h16"/></symbol>
<symbol id="i-close" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6L6 18"/></symbol>
<symbol id="i-logout" viewBox="0 0 24 24"><path d="M10 4H5v16h5M15 8l5 4-5 4M20 12H9"/></symbol>
<!-- new -->
<symbol id="i-book" viewBox="0 0 24 24"><path d="M4 5a2 2 0 0 1 2-2h13v16H6a2 2 0 0 0-2 2zM4 21V5M8 7h7M8 11h5"/></symbol>
<symbol id="i-shield" viewBox="0 0 24 24"><path d="M12 3l8 3v6c0 4.5-3.4 8-8 9-4.6-1-8-4.5-8-9V6zM9 12l2 2 4-4"/></symbol>
<symbol id="i-search" viewBox="0 0 24 24"><path d="M11 18a7 7 0 1 0 0-14 7 7 0 0 0 0 14zM20 20l-4-4"/></symbol>
<symbol id="i-cursor" viewBox="0 0 24 24"><path d="M5 3l14 7-6 2-2 6z"/></symbol>
<symbol id="i-point" viewBox="0 0 24 24"><path d="M12 16a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM12 2v3M12 19v3M2 12h3M19 12h3"/></symbol>
<symbol id="i-zone" viewBox="0 0 24 24"><path d="M5 7l7-4 7 5-2 10-9 2-3-6z"/></symbol>
<symbol id="i-link" viewBox="0 0 24 24"><path d="M4 6h7v7H4zM14 11h6v9h-9v-5M11 9.5l4.5 4.5"/></symbol>
<symbol id="i-zoom" viewBox="0 0 24 24"><path d="M11 18a7 7 0 1 0 0-14 7 7 0 0 0 0 14zM20 20l-4-4M8 11h6M11 8v6"/></symbol>
<symbol id="i-clock" viewBox="0 0 24 24"><path d="M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18zM12 7v5l3 2"/></symbol>
<symbol id="i-eye" viewBox="0 0 24 24"><path d="M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12zM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/></symbol>
<symbol id="i-lock" viewBox="0 0 24 24"><path d="M6 11h12v10H6zM8 11V7a4 4 0 0 1 8 0v4"/></symbol>
<symbol id="i-chat" viewBox="0 0 24 24"><path d="M4 5h16v11H9l-5 4z"/></symbol>
<symbol id="i-chevron" viewBox="0 0 24 24"><path d="M9 6l6 6-6 6"/></symbol>
</svg>
<!-- ======================================================================= 1. Catalogue -->
<div class="row">
<div data-board="01-catalogue-desktop">
<p class="sheet-title">1a. Catalogue anatomique, consultation (desktop, praticien avec accès au catalogue)</p>
<div class="frame desk">
<aside class="side">
<div class="logo"><img src="../../../apps/app/public/logo-horizontal.svg" alt="Faunosteo"></div>
<nav class="nav">
<a><svg class="icon"><use href="#i-dashboard"/></svg>Tableau de bord</a>
<a><svg class="icon"><use href="#i-users"/></svg>Clients</a>
<a><svg class="icon"><use href="#i-paw"/></svg>Animaux</a>
<a class="on"><svg class="icon"><use href="#i-book"/></svg>Fiches anatomiques</a>
<a><svg class="icon"><use href="#i-user"/></svg>Mon compte</a>
<a><svg class="icon"><use href="#i-tool"/></svg><span class="sub">Outil de bilan<small>Sans compte, export PDF</small></span></a>
</nav>
<div class="foot muted">Se déconnecter</div>
</aside>
<div class="main">
<div class="top"><span class="crumb"><b>Fiches anatomiques</b></span><span class="me"><span class="avatar">CL</span>Camille Laurent</span></div>
<div class="content">
<h1 class="page">Fiches anatomiques</h1>
<p class="lede">Les fiches officielles publiées, par espèce. Consultation seule : rien n'est modifié ici.</p>
<div style="display:flex;gap:12px;align-items:center;margin-bottom:18px">
<div class="field" style="width:340px"><span class="inp"><svg class="icon muted" style="width:18px;height:18px;margin-right:8px"><use href="#i-search"/></svg><span class="muted">Rechercher une fiche ou une zone</span></span></div>
<div class="chips"><span class="chip on">Toutes les espèces</span><span class="chip">Cheval</span></div>
</div>
<div class="grid2" style="grid-template-columns:repeat(3,1fr)">
<div class="card pad">
<div style="display:flex;justify-content:space-between;align-items:center"><span class="badge">Cheval</span><span class="badge ok"><svg class="icon" style="width:14px;height:14px"><use href="#i-check"/></svg>Publiée</span></div>
<h2 class="sec" style="margin:12px 0 4px">Cheval, squelette et rachis</h2>
<p class="s13 muted" style="margin:0 0 12px">Version 3 · publiée le 28/10/2026 · 2 vues, 27 zones de constats</p>
<div style="height:120px;border-radius:10px;background:var(--color-surface-strong);overflow:hidden;display:grid;place-items:center"><img src="../../../supabase/seed/anatomical-sheets/equine/draft/review/app-main.svg" style="height:118px" alt=""></div>
<div style="margin-top:12px;display:flex;gap:8px"><span class="btn secondary sm"><svg class="icon" style="width:16px;height:16px"><use href="#i-eye"/></svg>Consulter</span></div>
</div>
<div class="card pad" style="display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:8px;border-style:dashed;box-shadow:none;background:transparent">
<p class="s14" style="margin:0">Une espèce apparaît ici dès qu'une fiche officielle est publiée pour elle.</p>
<p class="s13 muted" style="margin:0">Les brouillons et les revues ne sont jamais listés dans le catalogue.</p>
</div>
<div class="annot" style="align-self:start">
<b>Distinction consultation / modification.</b> Le catalogue ne montre que les versions publiées (§11.1, P1). Un éditeur voit en plus, sur la page de la fiche, le lien « Ouvrir dans l'administration » ; aucun bouton d'édition n'apparaît ici.<br><br>
<b>Recherche.</b> Par nom de fiche et de zone ; le filtre d'espèce reprend les espèces actives qui ont au moins une fiche publiée.
</div>
</div>
</div>
</div>
</div>
</div>
<div data-board="02-fiche-desktop">
<p class="sheet-title">1b. Fiche du catalogue, vue principale (desktop, utilisateur aussi éditeur de fiches)</p>
<div class="frame desk">
<aside class="side">
<div class="logo"><img src="../../../apps/app/public/logo-horizontal.svg" alt="Faunosteo"></div>
<nav class="nav">
<a><svg class="icon"><use href="#i-dashboard"/></svg>Tableau de bord</a>
<a><svg class="icon"><use href="#i-users"/></svg>Clients</a>
<a><svg class="icon"><use href="#i-paw"/></svg>Animaux</a>
<a class="on"><svg class="icon"><use href="#i-book"/></svg>Fiches anatomiques</a>
<hr>
<a><svg class="icon"><use href="#i-shield"/></svg>Administration</a>
<hr>
<a><svg class="icon"><use href="#i-user"/></svg>Mon compte</a>
<a><svg class="icon"><use href="#i-tool"/></svg><span class="sub">Outil de bilan<small>Sans compte, export PDF</small></span></a>
</nav>
<div class="foot muted">Se déconnecter</div>
</aside>
<div class="main">
<div class="top"><span class="crumb">Fiches anatomiques › <b>Cheval, squelette et rachis</b></span><span class="me"><span class="avatar">BC</span>Bastien Chanot</span></div>
<div class="content" style="display:flex;gap:20px">
<div style="flex:1;min-width:0">
<div style="display:flex;align-items:flex-start;gap:12px">
<div style="flex:1"><h1 class="page">Cheval, squelette et rachis</h1>
<p class="lede" style="margin-bottom:12px">Version 3 · publiée le 28/10/2026 · <a class="muted" style="text-decoration:underline">2 versions antérieures</a></p></div>
<span class="btn secondary sm"><svg class="icon" style="width:16px;height:16px"><use href="#i-shield"/></svg>Ouvrir dans l'administration</span>
</div>
<div class="tabs" style="margin-bottom:12px"><a class="on">Vue principale</a><a>Tête</a></div>
<div class="canvas"><img class="horse" src="../../../supabase/seed/anatomical-sheets/equine/draft/review/app-main.svg" alt="">
<div style="position:absolute;right:12px;top:12px;display:flex;gap:6px"><span class="btn secondary sm">−</span><span class="btn secondary sm">+</span><span class="btn secondary sm">Ajuster</span></div>
</div>
</div>
<div style="width:300px;flex:none;display:flex;flex-direction:column;gap:12px">
<div class="card pad"><h2 class="sec">Zone : rachis cervical</h2>
<p class="s13 muted" style="margin:0 0 10px">Catégorie : rachis · 7 vertèbres (C1 à C7)</p>
<div class="list s13"><div>Restriction de mobilité</div><div>Douleur à la palpation</div><div>Contracture paravertébrale</div></div>
</div>
<div class="card pad s13"><b>Références</b><p class="muted" style="margin:6px 0 0">Ouvrage de référence cité par la fiche, avec son lien.</p></div>
<div class="notice info s13"><svg class="icon" style="width:18px;height:18px"><use href="#i-alert"/></svg><div>Outil d'aide au bilan d'ostéopathie animale ; ne remplace pas un avis vétérinaire.</div></div>
</div>
</div>
</div>
</div>
</div>
<div data-board="03-fiche-mobile">
<p class="sheet-title">1c. Fiche du catalogue (mobile, 375 px)</p>
<div class="frame phone">
<div class="ph-top"><svg class="icon"><use href="#i-menu"/></svg><img src="../../../apps/app/public/logo-horizontal.svg" alt=""><span class="avatar" style="margin-left:auto">CL</span></div>
<div class="ph-body">
<div class="s13 muted">Fiches anatomiques ›</div>
<h1 class="page" style="font-size:24px">Cheval, squelette et rachis</h1>
<div class="s13 muted">Version 3 · publiée le 28/10/2026</div>
<div class="tabs"><a class="on">Vue principale</a><a>Tête</a></div>
<div class="canvas"><img class="horse" src="../../../supabase/seed/anatomical-sheets/equine/draft/review/app-main.svg" alt=""></div>
<div class="s13 muted">Pincer pour zoomer, glisser pour se déplacer. Toucher une zone pour voir ses constats.</div>
<div class="card pad"><b class="s14">Zone : rachis cervical</b><div class="list s13" style="margin-top:6px"><div>Restriction de mobilité</div><div>Douleur à la palpation</div></div></div>
</div>
</div>
</div>
</div>
<!-- ======================================================================= 2. Editor -->
<div class="row">
<div data-board="04-editeur-desktop">
<p class="sheet-title">2. Éditeur de brouillon, onglet Annotations (desktop, 1 280 px ; à partir de 1 024 px)</p>
<div class="frame desk">
<aside class="side">
<div class="logo"><img src="../../../apps/app/public/logo-horizontal.svg" alt="Faunosteo"></div>
<nav class="nav">
<a><svg class="icon"><use href="#i-dashboard"/></svg>Tableau de bord</a>
<a><svg class="icon"><use href="#i-users"/></svg>Clients</a>
<a><svg class="icon"><use href="#i-paw"/></svg>Animaux</a>
<a><svg class="icon"><use href="#i-book"/></svg>Fiches anatomiques</a>
<hr>
<a class="on"><svg class="icon"><use href="#i-shield"/></svg>Administration</a>
<hr>
<a><svg class="icon"><use href="#i-user"/></svg>Mon compte</a>
</nav>
</aside>
<div class="main">
<div class="top"><span class="crumb">Administration › Fiches officielles › Cheval, squelette et rachis › <b>Brouillon, version 4</b></span><span class="me"><span class="avatar">BC</span>Bastien Chanot</span></div>
<div style="padding:14px 24px 0;display:flex;align-items:center;gap:10px">
<h1 class="page" style="font-size:22px;margin:0">Brouillon, version 4</h1>
<span class="badge">Brouillon</span><span class="badge accent">Copie de travail</span>
<span class="s13 muted" style="margin-left:auto">Révision 12 · enregistrée à 14:32</span>
<span class="btn secondary sm">Annuler les modifications</span><span class="btn primary sm">Enregistrer</span>
</div>
<div class="tabs" style="padding:0 16px;margin-top:10px">
<a>Général</a><a>Vues et illustrations</a><a class="on">Annotations</a><a>Constats</a><a>Références</a><a>Vertèbres</a><a>Vérification <span class="badge danger cnt">2</span></a>
</div>
<div style="flex:1;display:flex;gap:14px;padding:14px 16px;min-height:0">
<div style="width:56px;display:flex;flex-direction:column;gap:6px;align-items:center" aria-label="Outils">
<span class="tool on" title="Sélectionner"><svg class="icon"><use href="#i-cursor"/></svg></span>
<span class="tool" title="Point"><svg class="icon"><use href="#i-point"/></svg></span>
<span class="tool" title="Zone"><svg class="icon"><use href="#i-zone"/></svg></span>
<span class="tool" title="Accès à une vue détaillée"><svg class="icon"><use href="#i-link"/></svg></span>
<span style="height:1px;width:32px;background:var(--color-border);margin:4px 0"></span>
<span class="tool" title="Zoom"><svg class="icon"><use href="#i-zoom"/></svg></span>
</div>
<div style="flex:1;min-width:0;display:flex;flex-direction:column;gap:8px">
<div style="display:flex;gap:8px;align-items:center"><span class="chip on">Vue principale</span><span class="chip">Tête (vue détaillée)</span><span class="s13 muted" style="margin-left:auto">Outil : Sélectionner · Échap pour annuler un tracé</span></div>
<div class="canvas" style="flex:1">
<img class="horse" src="../../../supabase/seed/anatomical-sheets/equine/draft/review/app-main.svg" alt="" style="width:100%;height:100%;object-fit:contain">
<div class="sel" style="left:21%;top:12%;width:16%;height:27%"><i style="left:-6px;top:-6px"></i><i style="right:-6px;top:-6px"></i><i style="left:-6px;bottom:-6px"></i><i style="right:-6px;bottom:-6px"></i></div>
<div style="position:absolute;left:21%;top:calc(12% - 30px)" class="badge" >Zone sélectionnée : rachis cervical</div>
</div>
<div class="s13 muted">Les points et zones se tracent sur l'illustration ; l'illustration elle-même n'est jamais modifiée (niveau 1).</div>
</div>
<div style="width:300px;flex:none;display:flex;flex-direction:column;gap:10px;overflow:hidden">
<div class="card pad" style="display:flex;flex-direction:column;gap:10px">
<div style="display:flex;justify-content:space-between;align-items:center"><b class="s14">Zone</b><span class="badge warn">À confirmer</span></div>
<div class="field"><label>Nom (FR)</label><span class="inp">Rachis cervical</span></div>
<div class="field"><label>Nom (EN)</label><span class="inp">Cervical spine</span></div>
<div class="field"><label>Catégorie</label><span class="inp">Rachis</span></div>
<div class="field"><label>Latéralité</label><span class="inp">Non latéralisée</span></div>
<div class="field"><label>Zone de constats liée</label><span class="inp">Rachis cervical (C1 à C7)</span></div>
<div class="field"><label>Statut de relecture</label><div class="chips"><span class="chip on">À confirmer</span><span class="chip">Relu</span></div></div>
<span class="btn ghost sm" style="color:var(--color-danger-strong);justify-content:flex-start;padding:0">Supprimer cette zone</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- ======================================================================= 3. Narrow read-only -->
<div class="row">
<div data-board="05-lecture-seule-etroit">
<p class="sheet-title">3. Brouillon sur écran étroit : lecture seule (tablette 768 px et mobile 375 px)</p>
<div style="display:flex;gap:24px;align-items:flex-start">
<div class="frame tablet">
<div class="ph-top"><svg class="icon"><use href="#i-menu"/></svg><img src="../../../apps/app/public/logo-horizontal.svg" alt=""><span class="avatar" style="margin-left:auto">BC</span></div>
<div class="ph-body">
<div class="s13 muted">Administration › Fiches officielles › Cheval, squelette et rachis</div>
<div style="display:flex;align-items:center;gap:8px"><h1 class="page" style="font-size:22px;margin:0">Brouillon, version 4</h1><span class="badge">Brouillon</span><span class="badge"><svg class="icon" style="width:14px;height:14px"><use href="#i-lock"/></svg>Lecture seule</span></div>
<div class="notice info"><svg class="icon" style="width:18px;height:18px"><use href="#i-alert"/></svg><div><b>L'édition demande un écran d'au moins 1 024 px de large.</b><br>Sur cet écran, le brouillon se consulte sans le modifier : tracés, propriétés et vérification restent visibles. Ouvrez-le sur un ordinateur pour l'éditer.</div></div>
<div class="tabs"><a>Général</a><a class="on">Annotations</a><a>Constats</a><a>Vérification</a><a class="muted">Plus</a></div>
<div class="canvas"><img class="horse" src="../../../supabase/seed/anatomical-sheets/equine/draft/review/app-main.svg" alt=""></div>
<div class="card pad s13"><b>Zone : rachis cervical</b> <span class="badge warn">À confirmer</span><p class="muted" style="margin:6px 0 0">Catégorie : rachis · non latéralisée · liée à « Rachis cervical (C1 à C7) »</p></div>
</div>
</div>
<div class="frame phone" style="height:720px">
<div class="ph-top"><svg class="icon"><use href="#i-menu"/></svg><img src="../../../apps/app/public/logo-horizontal.svg" alt=""><span class="avatar" style="margin-left:auto">BC</span></div>
<div class="ph-body">
<h1 class="page" style="font-size:22px">Brouillon, version 4</h1>
<div style="display:flex;gap:6px"><span class="badge">Brouillon</span><span class="badge"><svg class="icon" style="width:14px;height:14px"><use href="#i-lock"/></svg>Lecture seule</span></div>
<div class="notice info s13"><svg class="icon" style="width:18px;height:18px"><use href="#i-alert"/></svg><div><b>Édition à partir de 1 024 px de large.</b> Ici, consultation seule.</div></div>
<div class="tabs"><a class="on">Annotations</a><a>Vérification</a><a class="muted">Plus</a></div>
<div class="canvas"><img class="horse" src="../../../supabase/seed/anatomical-sheets/equine/draft/review/app-main.svg" alt=""></div>
<div class="s13 muted">Pincer pour zoomer. Aucune action d'édition n'est proposée.</div>
</div>
</div>
</div>
</div>
</div>
<!-- ======================================================================= 4. Verification tab -->
<div class="row">
<div data-board="06-verification-etats">
<p class="sheet-title">4. Onglet Vérification et ses états (desktop, zone de contenu de l'éditeur)</p>
<div style="display:grid;grid-template-columns:repeat(2,620px);gap:20px">
<div class="frame pad" style="background:var(--color-bg)">
<p class="s13 muted" style="margin:0 0 8px">A. Avant soumission : contrôle du brouillon par le cœur, dans la page</p>
<h2 class="sec">Vérification du brouillon</h2>
<div style="display:flex;gap:8px;margin-bottom:12px"><span class="badge danger"><svg class="icon" style="width:14px;height:14px"><use href="#i-alert"/></svg>2 erreurs bloquantes</span><span class="badge warn">1 avertissement</span><span class="badge">5 éléments à confirmer</span></div>
<div class="card pad" style="display:flex;flex-direction:column;gap:8px">
<div class="notice error s13"><svg class="icon" style="width:18px;height:18px"><use href="#i-alert"/></svg><div><b>Une annotation n'a pas de tracé.</b> Point « Boulet antérieur gauche », vue principale. <a style="text-decoration:underline">Aller à l'annotation</a></div></div>
<div class="notice error s13"><svg class="icon" style="width:18px;height:18px"><use href="#i-alert"/></svg><div><b>L'intérieur d'une zone est trop étroit pour être touché.</b> Zone « Ligament nuchal ». <a style="text-decoration:underline">Aller à la zone</a></div></div>
<div class="notice warn s13"><svg class="icon" style="width:18px;height:18px"><use href="#i-alert"/></svg><div><b>Repère proche du bord du cadre.</b> Point « Grasset droit ».</div></div>
<div class="notice info s13"><svg class="icon" style="width:18px;height:18px"><use href="#i-eye"/></svg><div><b>À relire avant soumission :</b> 5 éléments « À confirmer », 2 « Hérité, non relu ». La revue ne pourra pas couvrir leurs groupes tant qu'ils ne sont pas relus.</div></div>
</div>
<div style="display:flex;gap:8px;margin-top:14px;align-items:center"><span class="btn secondary">Prévisualiser</span><span class="btn primary" disabled>Soumettre à la revue</span><span class="s13 muted">Corrigez les 2 erreurs bloquantes pour soumettre.</span></div>
</div>
<div class="frame pad" style="background:var(--color-bg)">
<p class="s13 muted" style="margin:0 0 8px">B. Après soumission : vérification par le serveur en cours (brouillon figé)</p>
<h2 class="sec">Revue n° 2 · Vérification en cours</h2>
<div class="notice info"><svg class="icon" style="width:18px;height:18px"><use href="#i-clock"/></svg><div><b>Vérification en attente depuis 3 min.</b><br>Tentative 2 sur 5 · dernier incident : « Vérification momentanément indisponible, nouvelle tentative automatique. » <span class="mono muted">verification.worker.unavailable</span></div></div>
<p class="s13 muted">Le brouillon est figé pendant la revue. Aucune décision ni publication n'est possible avant un verdict valide et à jour.</p>
<div style="display:flex;gap:8px"><span class="btn secondary">Retirer la soumission</span></div>
</div>
<div class="frame pad" style="background:var(--color-bg)">
<p class="s13 muted" style="margin:0 0 8px">C. Vérification échouée, issue « contenu » (failed)</p>
<h2 class="sec">Revue n° 2 · Vérification échouée</h2>
<div class="notice error"><svg class="icon" style="width:18px;height:18px"><use href="#i-alert"/></svg><div><b>La fiche ne passe pas la vérification.</b> Corrigez le brouillon puis soumettez-le de nouveau.</div></div>
<div class="list s13" style="margin-top:8px">
<div><span class="badge danger">Contenu</span>Une illustration n'est pas dans sa forme enregistrée. <span class="mono muted" style="margin-left:auto">verification.integrity.svg_not_canonical</span></div>
<div><span class="badge danger">Règle</span>Une annotation sort du cadre de sa vue. <span class="mono muted" style="margin-left:auto">verification.validation.out_of_frame</span></div>
</div>
<div style="display:flex;gap:8px;margin-top:12px"><span class="btn primary">Reprendre le brouillon</span></div>
</div>
<div class="frame pad" style="background:var(--color-bg)">
<p class="s13 muted" style="margin:0 0 8px">D. Vérification impossible, issue « indisponible » (unavailable)</p>
<h2 class="sec">Revue n° 2 · Vérification échouée</h2>
<div class="notice warn"><svg class="icon" style="width:18px;height:18px"><use href="#i-alert"/></svg><div><b>La vérification n'a pas pu aboutir.</b> Après 5 tentatives, le service n'a pas rendu de verdict. Le contenu n'est pas mis en cause : soumettez de nouveau plus tard.<br><span class="muted s13">Dernier incident : « Vérification momentanément indisponible. » <span class="mono">verification.worker.unavailable</span></span></div></div>
<p class="s13 muted">Variante « fiche trop lourde » (fermée dès la première fois) : « La fiche est trop lourde à vérifier : réduisez le document ou une illustration. » <span class="mono">verification.worker.resource_limit</span></p>
<div style="display:flex;gap:8px"><span class="btn primary">Soumettre de nouveau</span></div>
</div>
</div>
</div>
</div>
<!-- ======================================================================= 5. Review -->
<div class="row">
<div data-board="07-revue-desktop">
<p class="sheet-title">5a. Écran de revue, verdict passé, relecteur (desktop)</p>
<div class="frame desk" style="position:relative">
<aside class="side">
<div class="logo"><img src="../../../apps/app/public/logo-horizontal.svg" alt="Faunosteo"></div>
<nav class="nav">
<a><svg class="icon"><use href="#i-dashboard"/></svg>Tableau de bord</a>
<a><svg class="icon"><use href="#i-book"/></svg>Fiches anatomiques</a>
<hr>
<a class="on"><svg class="icon"><use href="#i-shield"/></svg>Administration</a>
<hr>
<a><svg class="icon"><use href="#i-user"/></svg>Mon compte</a>
</nav>
</aside>
<div class="main">
<div class="top"><span class="crumb">Administration › Fiches officielles › Cheval, squelette et rachis › <b>Revue n° 2</b></span><span class="me"><span class="avatar">ML</span>Dr Marie Lefèvre</span></div>
<div class="content" style="display:flex;gap:20px;padding-top:20px">
<div style="flex:1;min-width:0;display:flex;flex-direction:column;gap:14px">
<div style="display:flex;align-items:center;gap:10px"><h1 class="page" style="margin:0">Revue n° 2</h1><span class="badge accent">À relire</span><span class="s13 muted">Brouillon version 4, révision 12 · soumis par B. Chanot le 31/10/2026</span></div>
<div class="notice success"><svg class="icon" style="width:18px;height:18px"><use href="#i-check"/></svg><div><b>Vérification réussie</b> le 31/10/2026 à 14:41, à jour pour la révision 12. Empreinte <span class="mono">3f9c…a21e</span> · <a style="text-decoration:underline">Prévisualiser comme un praticien</a></div></div>
<div class="card pad">
<div style="display:flex;align-items:center;margin-bottom:6px"><h2 class="sec" style="margin:0">Groupes à couvrir</h2><span class="s13 muted" style="margin-left:auto">4 sur 6 lus</span></div>
<div class="list">
<div><span class="badge ok"><svg class="icon" style="width:14px;height:14px"><use href="#i-check"/></svg>Groupe lu</span>Général <span class="s13 muted">modifié</span><span class="s13 muted" style="margin-left:auto">M. Lefèvre, 31/10</span></div>
<div><span class="badge ok"><svg class="icon" style="width:14px;height:14px"><use href="#i-check"/></svg>Groupe lu</span>Vue : principale <span class="s13 muted">modifiée</span><span class="s13 muted" style="margin-left:auto">M. Lefèvre, 31/10</span></div>
<div><span class="badge ok"><svg class="icon" style="width:14px;height:14px"><use href="#i-check"/></svg>Groupe lu</span>Zone : rachis cervical<span class="s13 muted" style="margin-left:auto">reporté de la revue n° 1, 24/10</span></div>
<div><span class="badge ok"><svg class="icon" style="width:14px;height:14px"><use href="#i-check"/></svg>Groupe lu</span>Zone : rachis thoracique<span class="s13 muted" style="margin-left:auto">M. Lefèvre, 31/10</span></div>
<div><span class="badge">À lire</span>Zone : grasset <span class="s13 muted">modifiée</span><span class="btn secondary sm" style="margin-left:auto">Voir les changements</span><span class="btn secondary sm">Marquer comme lu</span></div>
<div><span class="badge warn">À confirmer</span>Zone : boulet <span class="s13 muted">2 éléments à confirmer par l'éditeur</span><span class="btn secondary sm" style="margin-left:auto" disabled>Marquer comme lu</span></div>
</div>
</div>
</div>
<div style="width:320px;flex:none;display:flex;flex-direction:column;gap:12px">
<div class="card pad"><h2 class="sec">Décision</h2>
<div class="field"><label>Note de décision (obligatoire)</label><span class="inp muted" style="height:64px;align-items:flex-start;padding-top:8px">Votre note…</span></div>
<div style="display:flex;flex-direction:column;gap:8px;margin-top:10px"><span class="btn secondary">Demander des modifications</span><span class="btn primary" disabled>Approuver</span>
<span class="s13 muted">Approbation possible quand les 6 groupes sont lus. Vous n'êtes pas autrice de cette revue.</span></div>
</div>
<div class="card pad"><h2 class="sec"><svg class="icon" style="vertical-align:-3px"><use href="#i-chat"/></svg> Commentaires</h2>
<div class="s13"><b>B. Chanot</b> <span class="muted">31/10</span><p style="margin:4px 0 10px">Grasset : tracé repris d'après la planche de référence.</p></div>
<div class="field"><span class="inp muted">Ajouter un commentaire…</span></div>
</div>
<div class="card pad s13"><b>Publication</b><p class="muted" style="margin:6px 0 0">Possible après approbation, par un responsable de publication, sur ce verdict à jour.</p></div>
</div>
</div>
</div>
</div>
</div>
<div data-board="08-revue-publication">
<p class="sheet-title">5b. Revue approuvée : confirmation avant publication (desktop, responsable de publication)</p>
<div class="frame desk" style="position:relative">
<aside class="side">
<div class="logo"><img src="../../../apps/app/public/logo-horizontal.svg" alt="Faunosteo"></div>
<nav class="nav"><a><svg class="icon"><use href="#i-dashboard"/></svg>Tableau de bord</a><a><svg class="icon"><use href="#i-book"/></svg>Fiches anatomiques</a><hr><a class="on"><svg class="icon"><use href="#i-shield"/></svg>Administration</a></nav>
</aside>
<div class="main">
<div class="top"><span class="crumb">Administration › Fiches officielles › Cheval, squelette et rachis › <b>Revue n° 2</b></span><span class="me"><span class="avatar">BC</span>Bastien Chanot</span></div>
<div class="content"><div style="display:flex;align-items:center;gap:10px"><h1 class="page" style="margin:0">Revue n° 2</h1><span class="badge ok">Approuvée</span></div>
<div class="notice success" style="margin-top:14px;width:640px"><svg class="icon" style="width:18px;height:18px"><use href="#i-check"/></svg><div>Approuvée par Dr M. Lefèvre le 31/10/2026 · 6 groupes lus · verdict à jour (révision 12).</div></div>
<div style="margin-top:14px"><span class="btn primary">Publier la version 4</span></div>
</div>
</div>
<div class="dialog-wrap"><div class="dialog">
<h2 class="sec" style="font-size:21px">Publier la version 4 ?</h2>
<p class="s14 muted" style="margin:0 0 12px">Elle remplacera la version 3 dans le catalogue. La version 3 restera consultable et sera marquée « retirée ».</p>
<dl class="kv">
<dt>Fiche</dt><dd>Cheval, squelette et rachis</dd>
<dt>Version, révision</dt><dd>4, révision 12</dd>
<dt>Approuvée par</dt><dd>Dr Marie Lefèvre, le 31/10/2026</dd>
<dt>Groupes lus</dt><dd>6 sur 6 (dont 1 reporté de la revue n° 1)</dd>
<dt>Verdict</dt><dd>réussi le 31/10/2026 à 14:41, à jour</dd>
<dt>Empreinte</dt><dd class="mono">3f9c0b…e7a21e</dd>
</dl>
<div style="display:flex;justify-content:flex-end;gap:8px;margin-top:18px"><span class="btn secondary">Annuler</span><span class="btn primary">Publier</span></div>
</div></div>
</div>
</div>
</div>
<div class="row">
<div data-board="09-revue-mobile">
<p class="sheet-title">5c. Écran de revue (mobile, 375 px) : en attente, échouée, à relire</p>
<div style="display:flex;gap:24px">
<div class="frame phone">
<div class="ph-top"><svg class="icon"><use href="#i-menu"/></svg><img src="../../../apps/app/public/logo-horizontal.svg" alt=""><span class="avatar" style="margin-left:auto">ML</span></div>
<div class="ph-body">
<div class="s13 muted">Administration › Cheval, squelette et rachis</div>
<h1 class="page" style="font-size:24px">Revue n° 2</h1>
<span class="badge" style="align-self:flex-start"><svg class="icon" style="width:14px;height:14px"><use href="#i-clock"/></svg>Vérification en cours</span>
<div class="notice info s13"><svg class="icon" style="width:18px;height:18px"><use href="#i-clock"/></svg><div><b>En attente depuis 3 min.</b> Tentative 2 sur 5.<br>Dernier incident : vérification momentanément indisponible, nouvelle tentative automatique.</div></div>
<p class="s13 muted" style="margin:0">Pas de décision ni de publication avant un verdict valide et à jour.</p>
</div>
</div>
<div class="frame phone">
<div class="ph-top"><svg class="icon"><use href="#i-menu"/></svg><img src="../../../apps/app/public/logo-horizontal.svg" alt=""><span class="avatar" style="margin-left:auto">ML</span></div>
<div class="ph-body">
<h1 class="page" style="font-size:24px">Revue n° 2</h1>
<span class="badge danger" style="align-self:flex-start"><svg class="icon" style="width:14px;height:14px"><use href="#i-alert"/></svg>Vérification échouée</span>
<div class="notice error s13"><svg class="icon" style="width:18px;height:18px"><use href="#i-alert"/></svg><div><b>La fiche ne passe pas la vérification.</b><br>2 problèmes de contenu à corriger par l'éditeur.</div></div>
<div class="list s13"><div>Une illustration n'est pas dans sa forme enregistrée.</div><div>Une annotation sort du cadre de sa vue.</div></div>
<span class="s13 muted">Détail technique : <span class="mono">svg_not_canonical</span>, <span class="mono">out_of_frame</span></span>
</div>
</div>
<div class="frame phone">
<div class="ph-top"><svg class="icon"><use href="#i-menu"/></svg><img src="../../../apps/app/public/logo-horizontal.svg" alt=""><span class="avatar" style="margin-left:auto">ML</span></div>
<div class="ph-body">
<h1 class="page" style="font-size:24px">Revue n° 2</h1>
<span class="badge accent" style="align-self:flex-start">À relire</span>
<div class="notice success s13"><svg class="icon" style="width:18px;height:18px"><use href="#i-check"/></svg><div>Vérification réussie, à jour (révision 12).</div></div>
<div class="card pad"><div style="display:flex"><b class="s14">Groupes</b><span class="s13 muted" style="margin-left:auto">4 sur 6 lus</span></div>
<div class="list s13" style="margin-top:4px"><div><span class="badge ok">Lu</span>Général</div><div><span class="badge ok">Lu</span>Vue : principale</div><div class="muted">+ 2 autres groupes lus</div><div><span class="badge">À lire</span>Zone : grasset<svg class="icon" style="margin-left:auto;width:16px;height:16px"><use href="#i-chevron"/></svg></div><div><span class="badge warn">À confirmer</span>Zone : boulet</div></div></div>
<span class="btn secondary" style="width:100%">Demander des modifications</span>
<span class="btn primary" style="width:100%" disabled>Approuver</span>
</div>
</div>
</div>
</div>
</div>
<!-- ======================================================================= 6. Admin navigation -->
<div class="row">
<div data-board="10-administration-desktop">
<p class="sheet-title">6a. Entrée « Administration » (desktop) : visible seulement avec une habilitation</p>
<div class="frame desk">
<aside class="side">
<div class="logo"><img src="../../../apps/app/public/logo-horizontal.svg" alt="Faunosteo"></div>
<nav class="nav">
<a><svg class="icon"><use href="#i-dashboard"/></svg>Tableau de bord</a>
<a><svg class="icon"><use href="#i-users"/></svg>Clients</a>
<a><svg class="icon"><use href="#i-paw"/></svg>Animaux</a>
<a><svg class="icon"><use href="#i-book"/></svg>Fiches anatomiques</a>
<hr>
<a class="on"><svg class="icon"><use href="#i-shield"/></svg>Administration</a>
<hr>
<a><svg class="icon"><use href="#i-user"/></svg>Mon compte</a>
<a><svg class="icon"><use href="#i-tool"/></svg><span class="sub">Outil de bilan<small>Sans compte, export PDF</small></span></a>
</nav>
<div class="foot muted">Se déconnecter</div>
</aside>
<div class="main">
<div class="top"><span class="crumb"><b>Administration</b></span><span class="me"><span class="avatar">BC</span>Bastien Chanot</span></div>
<div class="content">
<h1 class="page">Administration</h1>
<p class="lede">Vos habilitations : éditeur de fiches, responsable de publication. Les droits sont vérifiés par le serveur à chaque action.</p>
<div class="grid2" style="grid-template-columns:repeat(3,1fr)">
<div class="card pad"><h2 class="sec">Fiches officielles</h2><p class="s13 muted" style="margin:0 0 12px">Brouillons, revues, versions, copie de travail.</p><div class="s13" style="display:flex;gap:6px;flex-wrap:wrap"><span class="badge accent">1 à relire</span><span class="badge">1 brouillon</span></div><div style="margin-top:14px"><span class="btn secondary sm">Ouvrir</span></div></div>
<div class="card pad"><h2 class="sec">Espèces</h2><p class="s13 muted" style="margin:0 0 12px">Espèces du catalogue, actives ou non.</p><div style="margin-top:14px"><span class="btn secondary sm">Ouvrir</span></div></div>
<div class="card pad" style="opacity:.55"><h2 class="sec">Accès et habilitations</h2><p class="s13 muted" style="margin:0 0 12px">Réservé au propriétaire de la plateforme.</p><div class="s13 muted"><svg class="icon" style="width:16px;height:16px;vertical-align:-3px"><use href="#i-lock"/></svg> Non affiché sans le rôle propriétaire</div></div>
</div>
<div class="annot" style="margin-top:18px;width:760px"><b>Visibilité et accès.</b> L'entrée n'apparaît que si le compte détient au moins une habilitation (éditeur, relecteur, responsable de publication) ou le rôle propriétaire. Masquer l'entrée ne protège rien : chaque page et chaque action restent refusées par le serveur sans le droit correspondant (§5). Une seule entrée principale ; ses trois listes s'ouvrent depuis cette page.</div>
</div>
</div>
</div>
</div>
<div data-board="11-administration-mobile">
<p class="sheet-title">6b. Tiroir mobile avec « Administration »</p>
<div class="frame phone" style="position:relative">
<div class="ph-top"><svg class="icon"><use href="#i-menu"/></svg><img src="../../../apps/app/public/logo-horizontal.svg" alt=""></div>
<div style="position:absolute;inset:56px 0 0 0;background:rgba(31,27,22,.45)"></div>
<div style="position:absolute;top:0;bottom:0;left:0;width:300px;background:var(--color-surface);display:flex;flex-direction:column">
<div style="display:flex;align-items:center;padding:14px 16px"><img src="../../../apps/app/public/logo-horizontal.svg" alt="" style="height:28px"><svg class="icon" style="margin-left:auto"><use href="#i-close"/></svg></div>
<nav class="nav">
<a><svg class="icon"><use href="#i-dashboard"/></svg>Tableau de bord</a>
<a><svg class="icon"><use href="#i-users"/></svg>Clients</a>
<a><svg class="icon"><use href="#i-paw"/></svg>Animaux</a>
<a><svg class="icon"><use href="#i-book"/></svg>Fiches anatomiques</a>
<hr>
<a class="on"><svg class="icon"><use href="#i-shield"/></svg>Administration</a>
<hr>
<a><svg class="icon"><use href="#i-user"/></svg>Mon compte</a>
<a><svg class="icon"><use href="#i-tool"/></svg><span class="sub">Outil de bilan<small>Sans compte, export PDF</small></span></a>
</nav>
<div class="foot" style="color:var(--color-accent-strong);display:flex;gap:8px;align-items:center"><svg class="icon"><use href="#i-logout"/></svg>Se déconnecter</div>
</div>
</div>
</div>
</div>
<!-- ======================================================================= 7. Labels -->
<div class="row">
<div data-board="12-libelles" style="width:1320px">
<p class="sheet-title">7. Libellés FR / EN (statut : ratifié, ou proposé à arbitrer)</p>
<table class="lab">
<tr><th>Élément</th><th>Identifiant interne</th><th>FR (interface)</th><th>EN (interface)</th><th>Statut</th></tr>
<tr><td>États de revue</td><td class="mono">verifying · open · approved · changes_requested · withdrawn · verification_failed</td><td>Vérification en cours · À relire · Approuvée · Modifications demandées · Soumission retirée · Vérification échouée</td><td>Verifying · Awaiting review · Approved · Changes requested · Submission withdrawn · Verification failed</td><td class="st">ratifié (§3, O16)</td></tr>
<tr><td>Versions</td><td class="mono">draft · published · deprecated</td><td>Brouillon · Publiée · Retirée</td><td>Draft · Published · Withdrawn</td><td class="st">ratifié (§3)</td></tr>
<tr><td>Statut de relecture</td><td class="mono">to_confirm · reviewed · inherited</td><td>À confirmer · Relu · Hérité, non relu</td><td>To confirm · Reviewed · Inherited, not reviewed</td><td class="st">ratifié (§3)</td></tr>
<tr><td>Groupe de revue</td><td class="mono">acknowledgment</td><td>Groupe lu · À lire · Marquer comme lu</td><td>Group read · To read · Mark as read</td><td class="st">« Groupe lu » ratifié ; « À lire », « Marquer comme lu » <b>à arbitrer</b></td></tr>
<tr><td>Issue d'une vérification (O23)</td><td class="mono">failed · unavailable</td><td>La fiche ne passe pas la vérification · La vérification n'a pas pu aboutir</td><td>The sheet fails verification · Verification could not complete</td><td class="st"><b>à arbitrer</b></td></tr>
<tr><td>Attente (O23)</td><td class="mono">attempts, failure_code</td><td>Vérification en attente depuis N min · Tentative N sur 5</td><td>Verification pending for N min · Attempt N of 5</td><td class="st">FR du contrat (§6.5) ; EN <b>à arbitrer</b></td></tr>
<tr><td>Accès au catalogue (O21)</td><td class="mono">catalog_reader</td><td>Accès au catalogue</td><td>Catalogue access</td><td class="st">§3 ; <b>à confirmer</b> sur ces maquettes</td></tr>
<tr><td>Fiche historique, copie de travail (O17)</td><td class="mono">working_copy_source_version_id</td><td>Fiche historique (pipeline Git) · Copie de travail · Créer une copie de travail</td><td>Historical sheet (Git pipeline) · Working copy · Create a working copy</td><td class="st">§3 ; <b>à confirmer</b></td></tr>
<tr><td>Navigation</td><td class="mono">/app/anatomy · /app/admin</td><td>Fiches anatomiques · Administration</td><td>Anatomical sheets · Administration</td><td class="st">« Fiches anatomiques » maquette étape 7 ; « Administration » décidé (2026-11-02)</td></tr>
<tr><td>Écran étroit</td><td class="mono">§8.4</td><td>L'édition demande un écran d'au moins 1 024 px de large. Sur cet écran, le brouillon se consulte sans le modifier.</td><td>Editing needs a screen at least 1,024 px wide. On this screen the draft is read-only.</td><td class="st"><b>à arbitrer</b></td></tr>
</table>
<p class="sheet-title" style="margin-top:18px">Codes fermés : identifiant interne (affiché en petit, pour le support) et message utilisateur (proposé, à arbitrer)</p>
<table class="lab">
<tr><th>Identifiant</th><th>Issue</th><th>FR</th><th>EN</th></tr>
<tr><td class="mono">verification.integrity.document</td><td>échec</td><td>Le document de la fiche est illisible.</td><td>The sheet document cannot be read.</td></tr>
<tr><td class="mono">verification.integrity.base</td><td>échec</td><td>La version de référence est illisible.</td><td>The base version cannot be read.</td></tr>
<tr><td class="mono">verification.validation.rules</td><td>échec</td><td>Des règles de la fiche ne sont pas respectées.</td><td>Some sheet rules are not met.</td></tr>
<tr><td class="mono">verification.validation.no_geometry</td><td>échec</td><td>Une annotation n'a pas de tracé.</td><td>An annotation has no shape.</td></tr>
<tr><td class="mono">verification.validation.caps</td><td>échec</td><td>La fiche dépasse une limite de taille.</td><td>The sheet exceeds a size limit.</td></tr>
<tr><td class="mono">verification.integrity.drawing_missing</td><td>échec</td><td>Une illustration est introuvable.</td><td>A drawing is missing.</td></tr>
<tr><td class="mono">verification.integrity.size_mismatch</td><td>échec</td><td>La taille d'une illustration ne correspond pas.</td><td>A drawing's size does not match.</td></tr>
<tr><td class="mono">verification.integrity.object_conflict</td><td>échec</td><td>Une illustration entre en conflit avec un fichier existant.</td><td>A drawing conflicts with an existing file.</td></tr>
<tr><td class="mono">verification.integrity.svg_rejected</td><td>échec</td><td>Une illustration est refusée par le lecteur SVG.</td><td>A drawing is refused by the SVG reader.</td></tr>
<tr><td class="mono">verification.integrity.svg_removal</td><td>échec</td><td>Une illustration contient des éléments à retirer.</td><td>A drawing holds elements to remove.</td></tr>
<tr><td class="mono">verification.integrity.svg_not_canonical</td><td>échec</td><td>Une illustration n'est pas dans sa forme enregistrée.</td><td>A drawing is not in its stored form.</td></tr>
<tr><td class="mono">verification.validation.out_of_frame</td><td>échec</td><td>Une annotation sort du cadre de sa vue.</td><td>An annotation lies outside its view's frame.</td></tr>
<tr><td class="mono">verification.validation.marker_too_small</td><td>échec</td><td>Un repère est trop petit pour être touché.</td><td>A marker is too small to tap.</td></tr>
<tr><td class="mono">verification.validation.marker_interior_too_small</td><td>échec</td><td>L'intérieur d'une zone est trop étroit pour être touché.</td><td>A zone's interior is too narrow to tap.</td></tr>
<tr><td class="mono">verification.integrity.fingerprint</td><td>échec</td><td>L'empreinte de la fiche ne correspond pas.</td><td>The sheet fingerprint does not match.</td></tr>
<tr><td class="mono">verification.worker.unavailable</td><td>indisponible</td><td>Vérification momentanément indisponible, nouvelle tentative automatique.</td><td>Verification temporarily unavailable, retrying automatically.</td></tr>
<tr><td class="mono">verification.worker.timeout</td><td>indisponible</td><td>La vérification a pris trop de temps, nouvelle tentative automatique.</td><td>Verification took too long, retrying automatically.</td></tr>
<tr><td class="mono">verification.worker.resource_limit</td><td>indisponible</td><td>La fiche est trop lourde à vérifier : réduisez le document ou une illustration.</td><td>The sheet is too heavy to verify: reduce the document or a drawing.</td></tr>
<tr><td class="mono">verification.worker.lease_expired</td><td>indisponible</td><td>La vérification a été interrompue, reprise automatique.</td><td>Verification was interrupted, resuming automatically.</td></tr>
<tr><td class="mono">verification.worker.verdict_refused</td><td>indisponible</td><td>Le résultat de vérification a été refusé : signalez-le à l'équipe.</td><td>The verification result was refused: report it to the team.</td></tr>
</table>
</div>
</div>
</body>
</html>
+19
View File
@@ -0,0 +1,19 @@
// node render.cjs <html> <out-dir>: one PNG per [data-board] element, plus the full page (all.png).
// PW_MODULE = the absolute path of apps/app/node_modules/@playwright/test (the pinned Chromium).
const path = require('path')
const { chromium } = require(process.env.PW_MODULE)
;(async () => {
const [html, out] = process.argv.slice(2)
const browser = await chromium.launch()
const page = await browser.newPage({ viewport: { width: 1400, height: 900 }, deviceScaleFactor: 1 })
await page.goto('file://' + path.resolve(html))
await page.waitForLoadState('networkidle')
const boards = await page.$$('[data-board]')
for (const b of boards) {
const name = await b.getAttribute('data-board')
await b.screenshot({ path: path.join(out, name + '.png') })
}
await page.screenshot({ path: path.join(out, 'all.png'), fullPage: true })
await browser.close()
console.log('boards', boards.length)
})()
@@ -1806,6 +1806,20 @@ Residual risks:
readers refuse bigger snapshots;
- RR-2 stays open (§16.12).
### 13.1 Accepted risks of the verification worker (register, V1-2.3)
Owner decisions of 2026-11-02 (BDR-093): accepted for the sandbox scope, not
fixed, and no authorisation to deploy. Each line is re-examined before
`worker-verify` runs on DEV or verification reaches external users.
| Id | Severity | Scenario | Existing limits | Effect on attempts and resources | Re-examination |
|---|---|---|---|---|---|
| VR-1 | MEDIUM | A document whose verdict needs about 60 s of CPU, on a host where the child gets less than one full core (the VPS shares its cores with the Supabase stack; `--cpus 1` is a ceiling, not a guarantee), reaches the 90 s wall deadline before the 60 s CPU budget: the parent kills it, the end reads `Timeout`, reported `verification.worker.timeout`, a transient code. Reproduce: a document at the CPU budget on a loaded host. | child RLIMIT_AS 1 GiB, CPU 60 s (SIGXCPU, definitive), wall 90 s; one child at a time per worker; five attempts; delays 2, 5, 10, 20 s | up to five runs of about 90 s plus 37 s of delays, about 8 min of worker time for one round, instead of one run for a definitive close; other rounds wait behind it on a single worker; no effect on publication (the round closes `unavailable` at the limit) | before `worker-verify` on DEV or external users: measure the child's CPU time at the end (`wait4` rusage, an `unsafe` exception the owner deferred) or reserve a core for the worker |
| VR-2 | LOW | A frame header over 64 KiB (several hundred drawings named) is reported `resource_limit` instead of `caps` | definitive at first occurrence | one run | when the editor screens show worker codes (V1-2.7) |
| VR-3 | LOW | An object larger than the policy is passed without bytes: failures `[caps, drawing_missing]`, never `size_mismatch` | bucket limit 2 MiB prevents it in practice | none (verdict failed at once) | same |
| VR-4 | LOW | SIGABRT also covers a child panic and a host ENOMEM, both closed `resource_limit` | panic deterministic on a frozen input | one run; a host ENOMEM needs a resubmission | before DEV activation |
| VR-5 | LOW | A verdict bound to another round, sent with a valid token, answers `stale` and waits for the lease | only after a core or worker regression | up to five leases of 10 min before `lease_expired` closes it | before DEV activation |
---
## 14. Equine sheet