diff --git a/.claude/memory/journal.md b/.claude/memory/journal.md index 2b0f2496..e56ca7c9 100644 --- a/.claude/memory/journal.md +++ b/.claude/memory/journal.md @@ -572,3 +572,6 @@ R5.4: `draft/{labels,changelog,review_report,drawing,overlay,app_review,svg_comp ## 2026-11-16 - R3 CLOSED 2026-11-16: owner db:trial trial pass, phone filters panel validated, reset in panel only. check:all exit 0 at a50796b. BLK-015, RR-13, pgTAP 014/021 open separate. No merge/deploy. Next R4 catalogue card integrity warning (D9 C). + +## 2026-11-17 +- R4 built 2026-11-17 (f061111..8224eda): card integrity line A10, caps own line (D1), view line (D2), retry/focus R-3; spec on sandbox 6p, cleanup archive own ids; check:all exit 0 at 2c9d837 (app 1780); verifier 16/16 MET, 2 out-of-scope files to owner. STOP owner trial §4.16 on db:sandbox trial. diff --git a/.claude/tasks/TODO.md b/.claude/tasks/TODO.md index 3db9b654..d2dc1f41 100644 --- a/.claude/tasks/TODO.md +++ b/.claude/tasks/TODO.md @@ -738,9 +738,8 @@ Order (BDR-071): P0 docs + decisions → V1-1 clients and animals → V1-2 sheet - [x] Task 1 card failure line (board 30): f061111 Notice warning tone, `icon`, `live` + `wifi-off`; 6ad8d83 `cardFailure`, `useCardDetails` `{ state, retry }`, `CardFailure`, A10 key; `Card` `aria-busy` (outside file list, accepted). App 1771 tests in 138 files; typecheck, lint, build exit 0. Review approved (0 C, 0 I) - [x] Task 2 browser proof dadd8e5: `catalogue-integrity.spec.ts` alone 6 passed 0 failed 0 skipped 0 flaky (twice: once with temporary screenshot lines, once as committed); `catalogue.spec.ts` alone 8 passed. Guard: 0 removed, 0 changed, 81 added (27 sheets, 43 versions, 11 grants); 8 R4 sheets archived, 4 grants revoked by id, read back. Review approved (0 C, 0 I) - [x] Task 3 documents as built: U1_CORRECTIONS §R4 « As built 2026-11-17 » and §5 row C closed, OWNER_TRIAL §4.16 (db:sandbox trial), review Part II class C row (R-8), CHANGELOG, BROWSER_TESTS, design README deviation. Read-only sandbox census: 164 catalogue entries, 160 ok and main view composed, 4 `fingerprint_mismatch` = the four « Cheval sandbox » (anomaly A, stored `'a'.repeat(64)`), no other kind. No `shortcut:` in the R4 diff (`git diff b895ecf..HEAD`) - - [x] Closing gates (controller): design review vs board 30 (CONFORME but one écart, fixed in the wave), final code review (0 C, 1 I, fixed), security PASS (1 LOW fixed), re-review of the wave (16/16 addressed), verifier ECARTS(5) → two tests added `83f2d8b`, contract oracle 9 and scope rulings `2c9d837`, gates.sh MET; `pnpm check:all` at `2c9d837` exit 0 (core-wasm 66, supabase 182, app 1780, e2e:ui 253; e2e:shell not run by check:all). Second verifier pass: see below - - [ ] STOP owner trial R4 on `pnpm db:sandbox trial` (OWNER_TRIAL §4.16), no merge - - [ ] Owner trial §4.16 on `pnpm db:sandbox trial` + - [x] Closing gates (controller): design review vs board 30 (CONFORME but one écart, fixed in the wave), final code review (0 C, 1 I, fixed), security PASS (1 LOW fixed), re-review of the wave (16/16 addressed), verifier ECARTS(5) → two tests added `83f2d8b`, contract oracle 9 and scope rulings `2c9d837`, gates.sh MET; `pnpm check:all` at `2c9d837` exit 0 (core-wasm 66, supabase 182, app 1780, e2e:ui 253; e2e:shell not run by check:all). Second fresh verifier at `8224eda`: ECARTS(2), criteria 1-16 all MET; the two écarts are the out-of-scope files `Card.tsx` (optional `aria-busy`) and `e2e/support/records.ts` (`capturedId`), judged justified and additive, owner micro-gate + - [ ] STOP owner trial R4 on `pnpm db:sandbox trial` (OWNER_TRIAL §4.16) and owner ruling on the two out-of-scope files; no merge - [x] Final fix wave (FX1-FX16, `.superpowers/sdd/2026-11-16-r4-card-integrity-2337/final-fix-list.md`): b378cf0 retry ending with no retry left keeps the polite region and moves focus to « Consulter », busy look on « Réessayer », engine stopped for good in the error tone, one attempt for two calls in one tick, rendered tests (engine stopped, two cards on the core, no blob URL after unmount); 2930f49 lines over 100 columns wrapped; 1e50585 board 30 deviation fixed (failure row `*:px-3`, both buttons on one row at 1280 and 375, e2e checks it); 3bea19f spec reads each own sheet's name by id before archiving, `seedGrant` account id through `capturedId`. App 1775 tests in 138 files; typecheck, lint, build exit 0. `catalogue-integrity.spec.ts` alone 6 passed 0 failed 0 skipped 0 flaky (twice: once with temporary screenshot lines, once as committed); `catalogue.spec.ts` alone 8 passed. Guard: 0 removed, 0 changed, 81 added (27 sheets, 43 versions, 11 grants), the runs' own; 8 R4 sheets archived, 4 grants revoked, read back. `pnpm check:all` then run at `2c9d837` (line above) - [ ] Follow-up: seed owner row in `private.catalog_write_budgets` is R4's own (none before R4; its first run created it, later runs update that same row, 4 archives per run; 8 of 300 per hour after the final wave, outside the data guard); `catalogue.spec.ts` still leaves its published sheets listed, warm-up its sheet and `sheet_editor` grant per invocation (BLK-015, RR-13) - [ ] owner arbitrations A1-A15 (`V1-2-6_U1_CORRECTIONS.md` §6, `TRIAL_STACK.md` §6) diff --git a/.claude/tasks/contracts/2026-11-17-r4-card-integrity-0004.md b/.claude/tasks/contracts/2026-11-17-r4-card-integrity-0004.md index ead29cd0..0c18f1e8 100644 --- a/.claude/tasks/contracts/2026-11-17-r4-card-integrity-0004.md +++ b/.claude/tasks/contracts/2026-11-17-r4-card-integrity-0004.md @@ -122,3 +122,7 @@ Aucune fusion ni intervention sur DEV. ## FILE SCOPE apps/app/src/{catalogue/failure.ts,catalogue/useCardDetails.ts,components/catalogue/CardFailure.tsx,components/catalogue/CatalogueCard.tsx,components/ui/Notice.tsx,components/ui/Icon.tsx,i18n/fr.ts,i18n/en.ts}, apps/app/tests/**, apps/app/e2e/{support/catalogue.ts,support/admin.ts,shell/catalogue-integrity.spec.ts}, docs/**, CHANGELOG.md, .claude/tasks/**. + +## Verification 2026-11-17 (fresh verifiers) +- Pass 1 at `04b723c`: ECARTS(5): criteria 3 and 5 lacked a test (glyph per kind; focus rule on `body` / elsewhere), criterion 15 pending (check:all not yet run), two files outside FILE SCOPE. Fixed: tests `83f2d8b`; criterion 9 oracle and scope rulings `2c9d837`; `pnpm check:all` at `2c9d837` exit 0. +- Pass 2 at `8224eda`: ECARTS(2). Criteria 1 to 16 all MET. The two écarts are `apps/app/src/components/ui/Card.tsx` (optional `aria-busy`, +4 lines, default undefined at the 33 other call sites) and `apps/app/e2e/support/records.ts` (`capturedId`, +8 lines, beside `literal`), judged justified and additive by the verifier; they wait for the owner's ruling.