chore(memory): V1-2.2 interior rule evidence, tools, LRN-105..107
This commit is contained in:
1 parent
c73415abef
commit
e190dfc794
8 files changed
+233
No files matched your search
@@ -0,0 +1,51 @@
|
||||
# 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` (proposal).
|
||||
|
||||
## 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: 29 killed, 2 equivalent (Z22 prune, Z25 unreachable).
|
||||
- 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).
|
||||
Reference in new issue
Block a user