28 KiB
R4 Catalogue Card Integrity Warning Implementation Plan (V1-2.6), rev 3
For agentic workers: REQUIRED SUB-SKILL: Use subagent-driven-development to implement this plan task-by-task. Steps use checkbox (
- [ ]) syntax for tracking.
Status: VALIDATED by the owner, 2026-11-17 (brief « Je valide le plan R4 avec les décisions suivantes »): D1 ALTERNATIVE (a version over the size limits shows the existing caps text, no « Réessayer », told apart from an integrity failure); D2, D3, D4 as recommended; R-2 to R-7 accepted. Owner precisions, binding: (P1) the trial procedure says how to tell the anomalies already on the sandbox from R4's own behaviour; (P2) the spec cleans only the sheets and the right it created, identity checked, no pre-existing row changed. Implementation authorised on the sandbox. DEV unchanged, no merge. BLK-015 and RR-13 stay separate tracks. Rev 3 = rev 2 + the owner's answers. Rev 2 = rev 1 + three fresh challenges of 2026-11-16 (correctness FATAL(4), robustness FATAL(4), simplicity FATAL(3)); what became of each finding is in « Challenge round » at the end.
Goal: a catalogue card whose published version fails the core's integrity check says so inside the card, with « Consulter » kept; a card whose load failed for another reason has its own line and « Réessayer »; nothing is hidden and the check is never bypassed.
Architecture: UI only. useCardDetails keeps the failure kind it drops today and offers a retry. A pure
function in catalogue/failure.ts sorts the closed kinds into « integrity » and « other ». A new CardFailure
component renders the line board 30 draws through Notice, which gains a warning tone, an optional glyph and an
option to not be a live region (defaults keep its 114 call sites as they are). One new glyph. No SQL, no Rust, no
worker, no change to the sheet page or to CatalogueFailureNotice.
Tech Stack: React 19, Tailwind 4, vitest + happy-dom (real core through CataloguePreview), Playwright + axe on
pnpm db:sandbox.
Spec: docs/development/V1-2-6_U1_CORRECTIONS.md §3 « R4 — Integrity warning in catalogue cards (D9 C,
independent fix) » and §5 row C; board docs/design/v1-2-6-r0/30-catalogue-carte-integrite.png (approved as is,
2026-11-09); arbitration A10 (docs/design/v1-2-6-r0/ARBITRAGES.md, wording ratified); labels
docs/design/v1-2-6-r0/REVUE.md:85; REVUE point 9 (caps and view « restent à classer »: D1, D2).
Plan form (as R2 and R3): pure functions in full; React tasks give files, behaviour, test cases and verification, the executor writes the JSX under TDD against board 30.
Audit findings (2026-11-16, read-only, at dc67c4a; checked again by the three challenges)
| # | Finding | Evidence | Consequence |
|---|---|---|---|
| F1 | The card already runs the full check: loadVersion reads the version, downloads the drawings and builds CataloguePreview (hashes, fingerprint, caps). On !load.ok the hook returns without state: the card keeps name, « Version n » and « Consulter », silently. |
apps/app/src/catalogue/useCardDetails.ts:31-33, catalogue/catalogue.ts:197-220 |
The failure kind is already computed; R4 keeps it. No new read, no second check. |
| F2 | The closed kinds exist: CatalogueFailure (11 kinds), serverFailure, coreFailure (which folds internal, a trap, into core_unavailable). The sheet page phrases them through catalogue.failure.<kind> and CatalogueFailureNotice, which offers « Réessayer » for every kind it shows. |
catalogue/failure.ts:9-58, CatalogueFailureNotice.tsx:17-35 |
The card reuses the kinds and texts; one new label only (A10). Retry policy aligned on the page's. |
| F3 | Notice has three tones; its glyph is chosen from the tone (check or alert), no glyph prop; error is role="alert", the others role="status". Board 30 draws the network line in a warning tone with a « no network » glyph; Icon has none. |
components/ui/Notice.tsx:4-28, components/ui/Icon.tsx:26-50 |
Notice gains tone warning, icon?: IconName and live?: boolean, defaults unchanged; Icon gains wifi-off. |
| F4 | The publication date comes from a second read, listSheetVersions(...).catch(() => []): its failure only drops the date. That read is a GET, which postgrest-js retries 3 times after a fetch failure (1, 2, 4 s): with the network really down a card settles after about 7 s. |
useCardDetails.ts:28-29, packages/supabase/src/sheets.ts:510-515, postgrest-js 2.117.3 fetchWithRetry |
Date kept silent (R-6). The retry state must hold for seconds (R-3), and the owner's offline step names the wait. |
| F5 | When the version passes but the main view cannot be composed, thumbnail stays null: counts without a picture and without a word. preview.canvas answers a closed refusal, or core_unavailable / internal when the engine fails. |
useCardDetails.ts:35-40, catalogue/preview.ts:114-118, 186-192 |
« À classer »: D2. If shown, the engine kinds go to the core line with its retry, never to « vue refusée ». |
| F6 | caps is a core refusal, not listed by board 30 among the integrity failures. |
failure.ts:38-44, board 30 note « Portée » |
« À classer »: D1. |
| F7 | The existing first unit test asserts a card whose version id is unknown keeps « Version 1 » and its link: that card's load fails with denied. |
tests/unit/routes.catalogue.test.tsx:139-141 |
Extended, not removed: the card now also shows its line (R-5). |
| F8 | The trial stack has no published version (2 drafts): its catalogue is empty. The sandbox lists 156 published entries, 4 of them current versions with the fictitious fingerprint of test anomaly A, which fail the check today. | read-only counts 2026-11-16 | Where the owner tries R4: D3. Anomaly A stays a separate track. |
| F9 | The catalogue e2e seeds official sheets by SQL as postgres, « prior owner actions » (seedOfficialSheet), and never cleans them. delete_anatomical_sheet refuses any sheet that ever had a published version (sheet.published_history) and requires aal2 and sheet_editor; R3's D7 only ever deleted draft sheets. The catalogue lists status = 'active' sheets only. |
e2e/support/catalogue.ts:141-190, 20261028110000_sheet_review_workflow.sql:1275-1294, 1625-1646, 20261028100000_sheet_access_hardening.sql:42 |
A published test sheet cannot be deleted; left listed, each run adds a broken card to the shared catalogue. Cleanup: D4. |
| F10 | Each card loads once, at mount (effect keyed on sheet and version ids); cards are keyed by sheet_id. Going offline after the list loaded changes nothing; a card shows a network failure only if it mounts while offline (a search hides it, then shows it again). |
useCardDetails.ts:24-53, CatalogRoute.tsx:66-68 |
The e2e and the owner's step remount the card by search, never by reload. |
| F11 | The core runtime does not retry a failed first load by itself: ready() answers false until coreRuntime().retry() is called; the sheet page and CatalogueCanvas call it before reloading. Each trap spends one of three recoveries for the whole tab. |
packages/core-wasm/src/runtime.ts:142-184, catalogue/useSheetVersion.ts:85-88, CatalogueCanvas.tsx:100-104 |
The card's retry for core_unavailable calls coreRuntime().retry() first (R-2). |
| F12 | e2e: the app talks to a fake .invalid origin served only by the routeToSandbox context route; Playwright runs the last route first. Every card loads at mount (156+ on the sandbox). |
e2e/support/sandbox.ts:12, 33-40, CatalogRoute.tsx:68 |
A route that aborts one version must route.fallback() the rest and be removed alone; the spec searches its tag before any check (as catalogue.spec.ts). |
Owner decisions (answered 2026-11-17: D1 ALTERNATIVE, D2 to D4 recommendation)
| # | Question | Recommendation | Alternative(s) | Cost if wrong |
|---|---|---|---|---|
| D1 | caps (a version over the size limits) in a card |
Integrity line, error tone, A10 text, no « Réessayer »: the core refuses the version itself and a retry cannot change it. | Its own line, existing text catalogue.failure.caps (« Cette version dépasse les limites de taille d'une fiche. »), error tone, no retry. |
One mapping line. ANSWER: alternative (own caps line, no retry). |
| D2 | The version passes the check but its main view cannot be drawn (no thumbnail) | Say it: a neutral line (tone info, not a live region) with the existing text catalogue.failure.view; counts and « Consulter » kept; when the engine itself failed (F5) the core line with its retry instead. Nothing left silent, no new wording. |
(a) Silent as today (no code). (b) A new shorter text for the card, to ratify (e.g. « L'aperçu de cette fiche ne peut pas être affiché. »). | One component branch and its test; built only if chosen. ANSWER: recommendation. |
| D3 | Where the owner tries R4 | pnpm db:sandbox trial (the automated-test stack served for a manual trial, used on 2026-11-09): its 4 failing entries show the integrity line as they are; the network line by hiding a card with a search, going offline in DevTools, clearing the search, waiting about 7 s, going back online, « Réessayer ». No write by Claude on any stack. The page loads slowly there (156 cards each load their version). |
(a) Seed two published test sheets on the trial stack (one sound, one with a wrong stored fingerprint) through a new db:trial step: a script change and a write on the owner's trial data, its own go. (b) Both. |
(a) adds a script and a write; the recommendation adds none. ANSWER: recommendation; P1 on the procedure. |
| D4 | Cleanup of the browser spec's own data on the persistent sandbox (F9): published test sheets cannot be deleted | The spec archives its own sheets at the end, by SQL as postgres under the seed owner, the same « prior owner action » form as its seed (status archived, read back per id), and revokes its own catalogue grant the same way; it touches no other row. Archived sheets leave the catalogue. |
(a) No cleanup, as catalogue.spec.ts today: every run leaves one broken card listed on the sandbox (and in the D3 trial). (b) Archive through the application RPC with an aal2 publisher account: one more account and grant per run (BLK-015). |
(a) grows the shared catalogue with broken cards; the recommendation writes only the run's own rows. ANSWER: recommendation (soft deletion and grant removal authorised; ruling in Task 2). |
Recorded unless the owner objects
- R-1 Integrity class (error tone, A10 text in bold, glyph
alert, no retry):fingerprint_mismatch,drawing_hash_mismatch,drawing_missing,invalid_document(board 30 note « Portée »). D1 (owner):capsis NOT integrity: its own line, existing textcatalogue.failure.caps(« Cette version dépasse les limites de taille d'une fiche. »), error tone, glyphalert, no « Réessayer » (a retry cannot change the version).drawing_missingincludes Storage answering « not found » for the drawing (400 or 404, folded byclassifyDrawingError): an illustration the server does not give is missing (board 30 « illustration manquante »). The executor checks which Storage answers fold there and pins them in a test. - R-2 Other class (warning tone, existing text, « Réessayer » for that card): every other kind; texts
catalogue.failure.<kind>,access_denied.titlefordenied, the core's text and retry label forcore_unavailable(its retry callscoreRuntime().retry()before reloading, F11). Retry offered unless the kind is integrity orcaps, or the engine stopped for good (the page's own rule, plus D1). A version that traps the core spends one of the tab's three recoveries per click, as on the sheet page (accepted, same blast radius). - R-3 Announcements and focus: the lines are not live regions (no burst of announcements at load when several
cards fail). During a retry the line and « Réessayer » stay in place, the button
aria-disabledand the cardaria-busy, clicks ignored (no parallel loads); the focus stays on the button. If the retry fails again, a visually hidden polite region of the card, cleared at each attempt, says the line again. If it succeeds, the focus moves to the card's « Consulter » only if it was still on that card's « Réessayer » or onbody. - R-4 Glyph:
wifi-offfornetwork(board 30),alertfor every other line. - R-5
deniedin a card (listed entry, version read refused): other class, « Accès non autorisé », with retry. - R-6 The publication date missing after a failed
listSheetVersionsstays silent (F4). - R-7 Engine-wide failure: when the core does not load, each card shows the core line with its own retry (the board draws per-card lines only); one card's retry restarts the engine and reloads that card, the others reload on their own retry. Accepted limit, recorded in the docs.
- R-8 Rust by default: sorting closed kinds for display is display formatting (CLAUDE.md « kept as is »); one row in the review's Part II exception table, class C, as R3 did.
Global Constraints
- The integrity check is the core's (
CataloguePreview/check_published); never bypassed, weakened or skipped. - Card text FR « Contrôle d'intégrité échoué : cette version ne peut pas être affichée. », EN « Integrity check
failed: this version cannot be displayed. » (A10, REVUE.md:85), key
catalogue.card.integrity_failed. - The card stays in the list; « Publiée » stays; « Consulter » stays enabled and focusable in every state.
- The sheet page (
SheetRoute,CatalogueFailureNotice) is unchanged;Noticekeeps today's role and glyph at every existing call site. - All UI strings through
useT(), same keys infr.tsanden.ts. - Max 25 logic lines per function, 100 columns for TypeScript;
shortcut:comments harvested into TODO.md. - Tests never edit a pre-existing row; the spec's cleanup (D4) touches only the ids it created, read back per id;
the spec never opens the rights screen (BLK-015). Never run
editor-equine.spec.ts. No sandbox reset. - No merge, no deploy, DEV unchanged; no write on the trial stack (D3 recommendation).
Review Focus
- Several cards fail at once: one line per card, no burst of announcements, each « Réessayer » reloads its card only. Test: Task 1 test 4.
- A retry still running when the card unmounts (a search hides it): no state set after unmount, blob URLs created
and revoked in balance, one
free()per preview built. Test: Task 1 test 6 (deferred answer, spies). - A retry that fails again: focus stays on « Réessayer », the polite region says the line again. Test: Task 1 test 3.
- The core's first load fails, then « Réessayer » succeeds (runtime retried). Test: Task 1 test 7.
- Phone width: the line wraps, « Réessayer » and « Consulter » 44 px high, no sideways scroll. Test: Task 2 at 375 px.
File Structure
- Modify
apps/app/src/catalogue/failure.ts:cardFailure(failure, stopped)(pure, below). - Modify
apps/app/src/catalogue/useCardDetails.ts: returns{ state, retry }. - Create
apps/app/src/components/catalogue/CardFailure.tsx: the line, its glyph, « Réessayer », the polite region. - Modify
apps/app/src/components/catalogue/CatalogueCard.tsx: the failure in place of counts and thumbnail. - Modify
apps/app/src/components/ui/Notice.tsx: tonewarning,icon?: IconName,live?: boolean. - Modify
apps/app/src/components/ui/Icon.tsx: glyphwifi-off. - Modify
apps/app/src/i18n/fr.ts,en.ts:catalogue.card.integrity_failed. - Tests:
tests/unit/routes.catalogue.test.tsx(cards,cardFailureexhaustiveness),Noticedefaults. - E2E:
apps/app/e2e/support/catalogue.ts(optionstoredFingerprint, archive and revoke helpers per D4),apps/app/e2e/shell/catalogue-integrity.spec.ts. - Docs (Task 3).
Task 1: The card says its failure (board 30)
Files: as File Structure, app side.
Interfaces: Produces
// catalogue/failure.ts
export function cardFailure(
failure: CatalogueFailure,
stopped: boolean,
): { integrity: boolean; refused: boolean; retry: boolean }
// catalogue/useCardDetails.ts
export type CardState =
| { status: 'loading' }
| { status: 'ready'; details: CardDetails }
| { status: 'failed'; failure: CatalogueFailure; retrying: boolean; attempt: number }
export function useCardDetails(entry: CatalogEntry): { state: CardState; retry: () => void }
const INTEGRITY: ReadonlySet<CatalogueFailure> = new Set([
'fingerprint_mismatch',
'drawing_hash_mismatch',
'drawing_missing',
'invalid_document',
])
/**
* How a catalogue card treats its failure (board 30, A10, owner D1): never hidden; `refused` when the
* version itself is refused (integrity, or over the size limits), retried only where a retry can work.
*/
export function cardFailure(failure: CatalogueFailure, stopped: boolean) {
const integrity = INTEGRITY.has(failure)
const refused = integrity || failure === 'caps'
const retry = !refused && !(failure === 'core_unavailable' && stopped)
return { integrity, refused, retry }
}
CardFailure derives the rest at its one render site: text (catalogue.card.integrity_failed for integrity, catalogue.failure.caps for caps,
coreFailureMessage(t, 'sheet.core_unavailable') for the core, access_denied.title for denied, else
catalogue.failure.<kind>), tone (error when refused, else warning), glyph (wifi-off for network, else alert), retry label
(sheet.core_retry for the core, else common.retry).
Hook behaviour: today's loading and freeing order kept (preview freed once the canvas is composed, blob URL revoked
on cleanup, live guard of each effect run). retry(): ignored while retrying; for core_unavailable it calls
coreRuntime().retry() first; it sets retrying: true (the failed state stays, so the line and button stay
mounted) and bumps the attempt in the effect's dependencies. Within 25 logic lines per function: split the load
into a plain async function and the hook.
- Step 1: Write the failing tests in a new
describe('catalogue cards (R4, board 30)')reusing the file'sserveVersions,versionAnswerand Storage mocks:- integrity, one row per kind (fingerprint
'a'.repeat(64), one drawing byte altered, Storage answering not found,{ schema_version: 2 }): the card showsfr['catalogue.card.integrity_failed'], norole="alert"orrole="status"inside the card, no « Réessayer » in it, « Consulter Cheval » with its href, « Publiée ». - network:
get_sheet_versionanswers{ error: { message: 'network' } }(classifySheetErrorgivesnetworkfor that message, aTypeErroror status 0): textcatalogue.failure.network, one « Réessayer »; serve the version again, click: the line goes, the counts appear, the focus is on « Consulter Cheval ». - retry fails again: the button stays mounted and focused,
aria-disabledwhile the attempt runs; afterwards the polite region holds the line text (cleared then set). - two failing cards, retry one: the other id's
get_sheet_versioncall count is unchanged. - a second click while the attempt runs starts no second load.
- unmount during retry:
get_sheet_versionheld on a deferred promise; click « Réessayer », type a search that removes the card, resolve: no state update warning,URL.createObjectURL/URL.revokeObjectURLcalls balanced,CataloguePreview.prototype.freeonce per preview built. - core first load fails (
coreRuntime().readystubbed tofalseonce): the core line withsheet.core_retry; click:coreRuntime().retrycalled, the card loads. session_expiredanddenied: their texts, with « Réessayer ». 8b. caps (D1): a document over a size limit (orcoreFailure('caps')through a stubbed preview state): the card showsfr['catalogue.failure.caps'], error tone, NOT the integrity text, no « Réessayer », « Consulter » kept.- the existing first test: « Chien, rachis » also shows
fr['access_denied.title'](F7). - English: the integrity line reads the EN text.
cardFailureexhaustiveness: every member ofCatalogueFailuregives the expected pair (the test lists the union's members and fails on a new one).Noticedefaults:errorkeepsrole="alert"andalert,successkeepscheck;live={false}removes the role;iconoverrides the glyph.- D2 (owner, validated): the main view's canvas refused shows
catalogue.failure.view(toneinfo, no role) with the counts; the canvas answeringcore_unavailableshows the core line with its retry.
- integrity, one row per kind (fingerprint
- Step 2: Run, expect FAIL
pnpm --filter @faunosteo/app exec vitest run tests/unit/routes.catalogue.test.tsx. - Step 3: Implement
cardFailure,Notice,Icon, the hook,CardFailure, the card, the two dictionary lines. - Step 4: Run, expect PASS; then
pnpm --filter @faunosteo/app test:run,pnpm typecheck,pnpm lint,pnpm build. - Step 5: Commit in two:
feat(ui): notice warning tone, glyph and non-live option(Notice, Icon, test 12), thenfeat(app): catalogue cards say an integrity or load failure (board 30).
Task 2: The browser proof on the sandbox
Files: Modify apps/app/e2e/support/catalogue.ts; Create apps/app/e2e/shell/catalogue-integrity.spec.ts.
seedOfficialSheet(names, shape, options?: { storedFingerprint?: string }): when given, the versions get that fingerprint instead of the core's (additive;catalogue.spec.tsunchanged).- Fixtures (
beforeAll): one tag per run; onelistedsheet with the core's fingerprint (« R4 saine »), one withstoredFingerprint: '0'.repeat(64)(« R4 altérée »); one catalogue reader account and grant ascatalogue.spec.tsdoes. Ids kept in the run's own list. - Cleanup (
afterAll), D4 (owner, validated): each own sheet id archived on its own by SQL as postgres, throughprivate.set_sheet_status(<seed owner>, <id>, 'active', 'archived', 'anatomical_sheet.archived')(the migrations' own path, audit row included), then read backstatus = 'archived'for that id; the run's own catalogue grant revoked by id (update public.anatomical_catalog_grants set revoked_at = now(), revoked_by = <its account>, revocation_reason = 'e2e cleanup' where id = <the grant id captured at seed> and revoked_at is null returning id), read back. Every statement names one id the run captured; nothing matches by pattern. Failures listed, then asserted empty.seedGrantreturns the grant id (additive). The run's account stays (accounts are not cleaned by any suite; tracked with BLK-015). Ruling (controller): archive, not soft delete, although the owner authorised soft deletion: the application never deletes a sheet that had a published version (§6.9,delete_anatomical_sheet), so a deleted row with published history is a state no screen can reach; archiving is reachable, takes the sheet out of the catalogue and stays inside the owner's authorisation. Cost if wrong: archived test sheets remain visible in the admin sheet list under « Archivée » (one line per run, tagged « R4 »). - Integrity, per locale (fr, en) and project (desktop, chromium-375): sign in, open the catalogue, search the tag;
the altered card shows the integrity line, its « Consulter » focusable and opening the sheet page, which shows its
unchanged
catalogue.failure.fingerprint_mismatchnotice; the sound card shows its counts; axe on the searched list; no sideways scroll at 375 px; « Consulter » at least 44 px high. - Network, fr only, both projects:
context.route('**/rest/v1/rpc/get_sheet_version', handler)aborting the request whose body names the sound version's id and callingroute.fallback()for every other; remount the sound card by searching a term that hides it, then the tag again (never a reload); it shows the network line and « Réessayer » (44 px);context.unrouteof that handler only; click: the counts appear and the focus is on its « Consulter »; axe with the line shown. - Run only
pnpm db:sandbox e2e-shell e2e/shell/catalogue-integrity.spec.ts(sandbox up, never reset), then the existinge2e/shell/catalogue.spec.tsalone (the support change is additive). Record exact counts, and read back that no row other than the run's own changed (guard query before and after). - Commit
test(app): catalogue card integrity and retry on the sandbox.
Task 3: Documents and closing gates
- Mandatory:
V1-2-6_U1_CORRECTIONS.md§R4 as built (classes, R-1 to R-8, D1 to D4 answers) and §5 row C closed; the review's Part II row (R-8);CHANGELOG.md;.claude/tasks/TODO.md(one line per run, shortcuts harvested). - One line each:
BROWSER_TESTS.md(the new spec),docs/design/README.md(only if a deviation from board 30). - D3 (owner, validated):
V1-2-6_OWNER_TRIAL.md§4.16 in French, no em-dash, onpnpm db:sandbox trial, with the remount and the wait of the offline step. P1: it names the sandbox's pre-existing failing entries (anomaly A: the current versions stored with the fictitious fingerprint, listed by name from a read-only query at Task 3, and any other entry the catalogue shows failing, classified by kind) and says what is R4's own behaviour (the line inside the card, « Consulter » kept, the unchanged sheet page, « Réessayer » on a load failure) as opposed to the data's fault (why those versions fail, which R4 does not fix). - Gates, in order: task reviews, design review against board 30 (screenshots desktop and 375 px from the spec run),
final code review, security review of the diff, fresh verifier on the contract,
pnpm check:all. - Commit
docs(docs): R4 catalogue card integrity warning as built.
Out of scope, tracked
- Test anomaly A (fictitious fingerprints of worker stand-ins): separate, own go.
- Every card loading its version at once (156+ on the sandbox): with RR-13.
- BLK-015 (rights screen on the accumulated sandbox) and RR-13: separate, open.
catalogue.spec.tsleaving its published sheets listed: existing accumulation, a follow-up line (D4 applies to the new spec only).- Keeping catalogue search on back (BDR-079 follow-up).
Challenge round (2026-11-16, three fresh plan-challenger agents, read-only, on rev 1)
| Lens | Finding | Rev 2 |
|---|---|---|
| all three | Cleanup by delete_anatomical_sheet cannot work (published history, aal2, editor right); R3's D7 covered drafts only |
F9, D4 (owner), Task 2 cleanup |
| correctness, simplicity | Notice picks its glyph from the tone: wifi-off had no way to the screen |
F3, icon? prop, test 12 |
| correctness, robustness | Offline step of the trial cannot show the line (cards load once at mount) | F10, D3 recipe |
| correctness, robustness | Focus and announcement unspecified for a retry that fails again; a loading reset unmounts the focused button |
R-3, hook keeps failed with retrying, tests 3 and 5 |
| robustness | Core retry never works without coreRuntime().retry() |
F11, R-2, test 7 |
| robustness | GET retries make an offline card settle after about 7 s | F4, D3 recipe |
| correctness, robustness | e2e abort must route.fallback() the rest; no reload (156+ cards) |
F12, Task 2 network step |
| robustness | Focus move on success could steal focus | R-3 condition |
| robustness | Same text not re-announced | R-3 cleared region |
| correctness, robustness | D2 hid engine failures as « vue refusée » | F5, D2 recommendation, test 13 |
| robustness | A trap spends a recovery per click | R-2, accepted as on the sheet page |
| robustness | drawing_missing may come from Storage |
R-1, pinned by test |
| robustness | One engine failure shown N times | R-7, accepted limit |
| robustness | Unmount test could pass vacuously | test 6 deferred, spies |
| robustness | Grant per run feeds BLK-015 | D4 revokes the run's grant |
| correctness | 'Failed to fetch' is classified unavailable |
test 2 uses 'network' |
| simplicity | NO_RETRY diverged from the page |
removed, retry aligned (R-2, R-5) |
| simplicity | Task 1 too ceremonial, struct derivable | merged into Task 1, cardFailure returns two booleans |
| simplicity | D2 built ahead of the owner | test 13 and its branch conditional on D2 |
| simplicity | e2e network case in every locale | fr only, both projects |
| simplicity | Docs fan-out | mandatory set plus one-liners, trial text per D3 |
| simplicity | Hidden polite region beyond existing retries | kept, narrowed to a repeated failure (correctness and robustness both need it) |