diff --git a/.claude/tasks/TODO.md b/.claude/tasks/TODO.md index 3dbaba98..437f523f 100644 --- a/.claude/tasks/TODO.md +++ b/.claude/tasks/TODO.md @@ -712,7 +712,7 @@ Order (BDR-071): P0 docs + decisions → V1-1 clients and animals → V1-2 sheet - [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) - [x] Task 3 client requires last_modified_at (d9a5846, reviewed; supabase 181, app 1722, sandbox sheets-admin 5/5, guard identical) - - [ ] Task 4 search, sort, date format (pure) + - [x] Task 4 search, sort, date format (pure) (f3b58ab, reviewed; app 1730) - [ ] Task 5 list page (board 28, 29 A) - [ ] Task 6 home card (board 29 B) - [ ] Task 7 shell spec admin-sheets-list + three locators