Files
faunosteo/.claude/audits/2026-11-01-v1-2-2-interior-evidence.md

5.7 KiB
Raw Permalink Blame History

V1-2.2 last MEDIUM, zone without interior: evidence

Owner brief « V1-2.2 : fermeture du dernier MEDIUM » (2026-11-01) on de2dfb3. Contract .claude/tasks/contracts/2026-11-01-v1-2-2-interior.md. Commits 8dd2d78 (rule), 03be75b (review 1: tiny arc radius), 86dce16 (review 2: f32 endpoints, arc spread), c73415a (review 3 LOW: sampling skipped where unused). Final code HEAD c73415a. Details RUST.md §12.14. Tools .claude/audits/2026-11-01-v1-2-2-interior-tools/ (touch tap grid and its results).

Rule

Polygon or path zone/trigger must fill a disc of 4 CSS px on the 320 × 568 preview (main 286 × 310, detail 254 × 191), nonzero (the layer's rule), stroke out. Conservative widest-disc search (disc crossing no edge, chord deviation taken off, arcs add an f32 drift bound), refuses in doubt (0.03 px band measured). Caps: 4 096 vertices, 4 096 cells, 2²⁵ edge distances per sheet, over them refused. Arcs as browsers store them: nonzero radius below 2⁻²⁰ unreadable, endpoints equal in f32 draw no arc, the spread of one-ulp variants added to the deviation and their extremes to the bounds. Codes annotation.geometry.interior_too_small / verification.validation.marker_interior_too_small (approved by the owner 2026-11-01).

Threshold

Equine at 320 widest disc: caudal 4.951 px, sacral 11.30, thoracic 11.47, cervical 12.17, lumbar 14.15, trigger 29.13. 4 px = the approved point threshold; equine accepted; caudal falls first past × 1.2378.

Proofs

  • cargo: sheet_marker_visibility (hostile refused, small legit accepted, threshold edge, projection, transforms, caps, equine), interior_probe (fixture drift), interior and path unit tests (random polygons both rules, 300 random curves within deviation, tiny and large arc radii).
  • Browsers, 6 projects: interior-clicks.spec.ts 102 passed, canvas-clicks.spec.ts 99 passed. 16 probes: core never over the browser's fill; 10 refused fill no 4 px disc; 6 accepted take real presses at the core's centre and the hit test on a 90 % ring, fill only and as shipped; equine zones take a real press.
  • Chromium touch adjustment: a tap up to ~10 px around a point's disc goes to the point (chromium-320/375, not webkit-375); every equine zone keeps a tappable interior (320: caudal 18/21 … cervical 195/195).
  • Mutations, rerun on the final code c73415a (closure): 29 killed, 2 equivalent (Z22 prune, Z25 unreachable); see Closure.
  • References: no frozen oracle, golden, N-1 copy, seed or PDF digest touched; app 566 incl. PDF suites pass.
  • Ignored cargo tests: one timing test (pdf_serialize::l_report_with_real_rasters_costs_what_it_costs) × 3 feature runs; passed in release (5.2 s).

Reviews

  • Verifier on 8dd2d78: ECARTS(3), all documentation, fixed in 03be75b; I1–I4, I6 met; I5/I7 gates run here.
  • Security on 8dd2d78: PASS, MEDIUM sub-f32 arc radius (fixed 03be75b), LOWs fixed (arc f32 drift, trace past cap, fail-open default) or informational (libm ulp native/wasm at the exact threshold).
  • Security on 03be75b: PASS, two sibling MEDIUMs (f32-equal endpoints, ill-conditioned arc), fixed 86dce16.
  • Security on 86dce16: PASS, no MEDIUM; LOW sampling cost fixed c73415a; LOWs open: arc tangent to a frame edge refused (spread in bounds), spread an estimate (≤ 0.13 units measured on a model), refused needle hairline past the frame, arc cost bounded by document size only (~1.8 s worst native).

Gates on c73415a

check:all passed: cargo 2 350 passed, 0 failed, 3 ignored (one timing test × 3 runs); core-wasm 65, supabase 128, app 566; e2e:ui 227 (incl. canvas-clicks 99 and interior-clicks 102, six projects); Docker app image, worker test and image. e2e:shell 86 on the isolated sandbox. WASM 580 428 B gzip -9 native, 580 522 in the app image (margin 19 478 B).

Closure (owner brief « Validation définitive V1-2.2 », 2026-11-01)

  • Owner verdict: VERIFIED on c73415a (BDR-092, V1-2 contract §17.7). Codes interior_too_small / marker_interior_too_small approved. Six LOWs accepted and still tracked (TODO V1-2 section), never declared fixed.
  • Verifier history: on 8dd2d78 ECARTS(3), three documentation gaps fixed in 03be75b (the earlier result is not a conformity). Fresh verifier on the closed state (de2dfb3..e190dfc): I1-I6 and I8 MET, I7 ECARTS(1): Z7, Z19, Z24 of the mutation script anchored on code that left with 03be75b / 86dce16, so the recorded count was not reproducible on the final HEAD. Fixed: anchors moved to the final code, whole script rerun on c73415a: 29 killed, Z22 and Z25 equivalent. Z23 survived its integration suite there (the f32 spread of 86dce16 refuses those arcs on its own) and is killed by the unit test a_tiny_arc_radius_is_not_read; the script now runs it on --lib. The final conformity therefore rests on this rerun plus the verifier's other findings (cargo 17 + 19 tests, Playwright interior-clicks 102 on six projects, WASM 580 428 B native, references diff empty).
  • Security: three passes PASS, no MEDIUM open on 86dce16; c73415a = one LOW fix (sampling skipped).
  • Gates on c73415a: check:all passed; e2e:shell 86 on the isolated sandbox; WASM 580 522 B gzip in the app image.
  • Memory: LRN-108 (Chromium touch adjustment, observation only, never a selection contract).
  • Delta verifier on 5eca086 (I7 only, code diff c73415a..HEAD empty): CONFORME. 31/31 anchors found once, baseline green (lib 66, sheet_frame 13, sheet_marker_visibility 16), Z22 and Z25 equivalence confirmed by reading, the one ignored test × 3 feature runs confirmed. Final conformity of the closed state: I1-I6 and I8 MET (full pass), I7 MET (delta pass). Note: the V1-2.3 contract was committed with the closure (planning only, no V1-2.3 code then).