diff --git a/.claude/tasks/contracts/2026-11-22-detail-views-graphic-crop-0134.md b/.claude/tasks/contracts/2026-11-22-detail-views-graphic-crop-0134.md index 56206931..a5a72e9e 100644 --- a/.claude/tasks/contracts/2026-11-22-detail-views-graphic-crop-0134.md +++ b/.claude/tasks/contracts/2026-11-22-detail-views-graphic-crop-0134.md @@ -99,30 +99,39 @@ Phase 2 (owner approval of the plan 2026-11-22; PLAN_BASE = bc68463e, the plan r 5. [gated 2026-11-22] The core's internal category, N-1 characterisation, access minimum and editor commands pass (Tasks 1-3). CHECK: cd /home/bchanot/Documents/faunosteo-v1-2 && cargo test -p faunosteo-core --test n1_access_category --test sheet_access_category --test sheet_frame --test sheet_preview --test sheet_edit >/dev/null 2>&1 && echo CORE-OK EXPECT: CORE-OK + EVIDENCE: pending 6. [gated 2026-11-22] Validation rules unchanged and no SQL migration since the plan (sheet-model rule; owner « sans migration SQL »). CHECK: cd /home/bchanot/Documents/faunosteo-v1-2 && git diff --quiet bc68463e..HEAD -- crates/core/src/domain/sheet/validate.rs supabase/migrations && echo RULES-UNCHANGED EXPECT: RULES-UNCHANGED + EVIDENCE: pending 7. [gated 2026-11-22] Historical references, oracles, N-1 copies and the equine seed unchanged since the plan (owner stop 2). CHECK: cd /home/bchanot/Documents/faunosteo-v1-2 && test -z "$(git diff --name-only bc68463e..HEAD -- apps/app/tests/fixtures/goldens crates/core/tests/oracles packages/core-wasm/tests/n-1 supabase/seed ':(exclude)crates/core/tests/oracles/proportions')" && echo FROZEN-UNCHANGED EXPECT: FROZEN-UNCHANGED + EVIDENCE: pending 8. [gated 2026-11-22] PDF suites, old and new, pass: raster exact for every view ratio, images in proportion and in the views' order, pagination before any row under 60 pt, no overlap (Tasks 24-28). CHECK: cd /home/bchanot/Documents/faunosteo-v1-2 && cargo test -p faunosteo-core --features pdf-write --test pdf_layout --test pdf_serialize --test pdf_session --test pdf_content --test pdf_proportions --test pdf_budget >/dev/null 2>&1 && echo PDF-OK EXPECT: PDF-OK + EVIDENCE: pending 9. [gated 2026-11-22] The wasm module stays under its 600 000 B budget (LRN-118 measure). CHECK: cd /home/bchanot/Documents/faunosteo-v1-2 && pnpm --filter @faunosteo/core-wasm exec vitest run tests/size.test.ts >/dev/null 2>&1 && echo WASM-OK EXPECT: WASM-OK + EVIDENCE: pending 10. [gated 2026-11-22] App, packages and SQL (PGlite) suites pass. CHECK: cd /home/bchanot/Documents/faunosteo-v1-2 && pnpm test:run >/dev/null 2>&1 && echo UNIT-OK EXPECT: UNIT-OK + EVIDENCE: pending 11. [gated 2026-11-22] Type-check passes. CHECK: cd /home/bchanot/Documents/faunosteo-v1-2 && pnpm typecheck >/dev/null 2>&1 && echo TYPES-OK EXPECT: TYPES-OK + EVIDENCE: pending 12. [gated 2026-11-22] Lint passes (run alone). CHECK: cd /home/bchanot/Documents/faunosteo-v1-2 && pnpm lint >/dev/null 2>&1 && echo LINT-OK EXPECT: LINT-OK + EVIDENCE: pending 13. [gated 2026-11-22] The N-1 fixture is the one characterised at N1_BASE: committed once, never changed (Task 5). CHECK: cd /home/bchanot/Documents/faunosteo-v1-2 && test "$(git log --format=%H -- crates/core/tests/fixtures/n1/access-category.json | wc -l)" -eq 1 && echo FIXTURE-ONCE EXPECT: FIXTURE-ONCE + EVIDENCE: pending 14. [gated 2026-11-22] Browser proofs green (Task 29: editor-detail-views and catalogue shell specs at --workers=2, e2e/ui access-labels, the regression set; data guard clean; never editor-equine). Manual: the run outputs in the SDD ledger. 15. [gated 2026-11-22] The implementation follows plan rev 4 (Tasks 0-31) and the validated board (D1-D25, A1-A8 as answered by the owner): judged by the verifier against the plan and the board README. Manual. 16. [gated 2026-11-22] The new PDF references were shown to the owner as images and frozen only after the owner's go (Task 28). Manual: the owner's message quoted in the freezing commit.