chore(docs): R3 contract verification result recorded

This commit is contained in:
bchanot committed 2026-11-16 18:19:54 +01:00
1 parent bcdacbbb9a
commit a8ab6689e8
1 file changed
+6
@@ -197,3 +197,9 @@ Une fois M9 appliquée et vérifiée sur db:trial, tu peux poursuivre les tâche
## FILE SCOPE
supabase/migrations/20261116100000_sheet_admin_last_modified.sql, supabase/tests/022_sheet_admin_reads.sql, scripts/db-sandbox.sh, packages/supabase/{src/sheets.ts,tests/sheets-admin.test.ts}, apps/app/src/{admin/sheetList.ts,admin/labels.ts,catalogue/useCatalogue.ts,components/admin/ModifiedDate.tsx,app/routes/app/admin/{AdminSheetsRoute,AdminHomeRoute}.tsx,i18n/{fr,en}.ts}, apps/app/tests/**, apps/app/e2e/{shell/admin-sheets-list.spec.ts,support/admin.ts} and the three locator call sites, docs/**, CLAUDE.md, CHANGELOG.md, .claude/tasks/**.
## Verification 2026-11-16 (fresh verifier, range 98178de..bcdacbb)
- VERDICT: ECARTS(1). Criteria 1-3 and 5-18 MET. Criterion 4 NOT-MET on its CHECK line only: the oracle greps the one-line literal `last_modified_at: z.string().datetime({ offset: true })`, which the fix wave (374e300, security LOW 3) split over four lines and made stricter with `.refine(Date.parse)`. The verifier judged the behaviour in place and stricter (both call sites pass `last_modified_at`, `<time>` same instant, refusal tests 205-216 pass) and left the oracle to the human gate.
- Controller ruling (not a verifier verdict): the CHECK line is a defective oracle written by the controller before the security fix; it stays as written above. A layout-insensitive equivalent, run 2026-11-16 at bcdacbb, prints the expected marker:
`sed 's#//.*$##' packages/supabase/src/sheets.ts | tr -d ' \n' | grep -q "last_modified_at:z.string().datetime({offset:true}).refine((value)=>!Number.isNaN(Date.parse(value)))" && ! grep -rn "ModifiedDate iso={[^}]*\(updated_at\|created_at\)" apps/app/src && echo DATE_SOURCE_OK` → DATE_SOURCE_OK
The owner decides whether criterion 4 is closed on that basis.