chore(docs): R3 Task 2 done, db:trial migrated to M9, pgTAP 014/021 kept open

This commit is contained in:
bchanot committed 2026-11-16 15:44:42 +01:00
1 parent 2bf219f2f4
commit f5e92dc5a9
1 file changed
+3 -2
+3 -2
View File
@@ -707,9 +707,10 @@ Order (BDR-071): P0 docs + decisions → V1-1 clients and animals → V1-2 sheet
- R2 BUILT 2026-11-13, awaiting owner validation: fc3fec7 R2.0, 4499bc7 R2.1, c21995b R2.2, 3baac4d R2.3, 8db6f42 R2.4, 4b7d254 R2.5, 2182307 R2.6 docs, 1bf2701 final-review fixes (all pushed). Verifier 18/20 (NOT-MET 9 admin.spec renderer crash from accumulated grants, 15 read-only flip keeps panel open), security PASS, final review ready-with-fixes → fixed, re-review ready. Owner decisions pending: read-only flip ratification, admin.spec closure before merge (fresh-run authorisation or separate fix: paginated grants / run-scoped cleanup), add-draft cancel control, V1-2_ANATOMICAL_SHEETS.md D1-D4 supersede note wording. editor-equine updated, never run. Parked: N1 silent draft loss on read-only flip of an unmatched tile, N2 pinned non-matching tile beside no-result, first-click loss below a refused field, landscape 667×375 panel 13 px, M10 locals over 5 in R2 hooks (/refactor)
- [x] R2 corrections (owner brief 2026-11-13, plan rev 5/5b): C0 admin.spec diagnosis (A/B 65a8fd3 vs 52aac41 identical, dose-response proves grant accumulation, BLK-015 open, pagination = RR-13), C1 read-only flip never drops a refused draft silently (3303530, 1e19479), C2 « Annuler l'ajout » + Escape (d177992, c8109af), C3 « Ne correspond pas à la recherche » (b1fd896), C4 667×375 touch proof, test only (969a5f3..78fb2d0), C5 docs (b919cf8, c0da36d, 58228ab), final review I1 (94f8a8b, 346a8fd), verifier gap undo drop announced (cb1ad47, 538ce27). Sweep 221p/119s/5f (admin.spec only), guard OK, verifier CONFORME, security PASS. BDR-115, LRN-133..135. Awaiting owner db:trial trial; residuals: two drops one flip speak last, undo/redo overwriting a pending draft in a mounted view, rotation cramped exception (auto-scroll offered), prettier drift editor-shell-layout.spec.ts:297-302
- [x] R2 CLOSED 2026-11-15 (owner brief « Clôture R2 »): owner db:trial checks §4.13 + §4.14 pass, R2 validated functionally and graphically; Rev 4-6 adjustments (b41c24b..54e09a7, BDR-118, BDR-119); choices ratified: saved-reference edit keeps own Défaire, unsaved new reference lost on abrupt close. Final sweep 52d5613: 273p/163s/6f (admin.spec BLK-015, stays open, RR-13), not green. No merge, no deploy. Next: R3, R4; U2 not started (orientation 2026-11-14 kept)
- [ ] R3 sheet list + Administration home (owner brief 2026-11-16): plan VALIDATED rev 2b `.claude/tasks/plans/2026-11-16-r3-sheet-list-0017.md` (D1-D4, D6, D7 yes; D5 no; recorded choices accepted; precisions P1-P4). Sandbox work authorised in plan scope; `pnpm db:trial migrate` waits for the operational checkpoint (Task 2 Step 6) and the owner's go; DEV unchanged. BLK-015 + RR-13 separate, open.
- [ ] R3 sheet list + Administration home (owner brief 2026-11-16): plan VALIDATED rev 2b `.claude/tasks/plans/2026-11-16-r3-sheet-list-0017.md` (D1-D4, D6, D7 yes; D5 no; recorded choices accepted; precisions P1-P4). Sandbox work authorised in plan scope; `pnpm db:trial migrate` authorised by the owner 2026-11-16 after the operational checkpoint and applied (Task 2); Tasks 3-8 authorised in plan scope; DEV unchanged. BLK-015 + RR-13 separate, open. pgTAP on the sandbox is NOT green (014, 021 below): never reported as green.
- [x] Task 1 M9 migration + pgTAP 022 (74: drafts, working copy, sheet newer than versions; mutation-proved) + task review + security PASS; frozen (blob a33b1770) — e3495df, a76a54d, f3712b2
- [ ] Task 2 `db:sandbox migrate` (21c9a81, reviewed) + sandbox migrated 2026-11-16 (rows identical 6981/7130, rerun no-op), test-db Files=21 Tests=1958 FAIL only 014 (2/258) + 021 (23, bad plan 90/42), accumulated-state, 022/023 ok; types match; recompute 6981 sheets mismatch 0 (11 working copies); STOP trial checkpoint presented, owner go pending
- [x] Task 2 `db:sandbox migrate` (21c9a81, reviewed) + sandbox migrated 2026-11-16 (rows identical 6981/7130, rerun no-op); types match; recompute 6981 sheets mismatch 0 (11 working copies). db:trial migrated 2026-11-16 on the owner's go: app process checked then stopped, `pnpm db:trial migrate` 21 s, backup `20261116T144154Z-pre-migrate` (63M, checked before M9, checksums and archives re-verified), 18 applied; before / after digest of 58 tables, 155 functions (definition + privileges), 23 policies, 20 grants: 3 lines differ (migration registry +1, the summary function = sandbox digest 1a4a1157, privileges unchanged); accounts, roles, TOTP, sheets, versions, drawings identical; recompute 2 sheets mismatch 0; admin list, sheet page and editor read answer for the aal2 editor account (read-only); app restarted on 5194. Not checked: browser sign-in (owner trial); restore not exercised
- [ ] pgTAP on the sandbox after M9, exact result kept open: `pnpm db:sandbox test-db` Files=21 Tests=1958 Result FAIL. 022 ok, 023 ok. `014_animals_relations` 2/258 failed (tests 6 « exactly the nine species… », 7 « every species row is active »). `021_sheet_verification_jobs` 23 failed, « Bad plan. You planned 90 tests but ran 42 », ERROR draft.frozen at :205. Read as accumulated-state dependent (line « suites need a fresh stack »), NOT proven by a run without M9; M9 touches neither file's functions. To settle on a fresh stack (`db:sandbox up fresh` needs an owner go: no sandbox reset in R3)
- [ ] Task 3 client requires last_modified_at (after the trial step)
- [ ] Task 4 search, sort, date format (pure)
- [ ] Task 5 list page (board 28, 29 A)