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
@@ -614,6 +614,12 @@ Order (BDR-071): P0 docs + decisions → V1-1 clients and animals → V1-2 sheet
|
||||
- [x] N4 scale bypass: projected visible size rule (owner 2026-11-01: 4 px at 320 × 568, measured equine min 4.97 px), verdict + preview, closed code; numeric guard (finite, non-degenerate, value/transform bounds, f32 precision vs magnitude and frame), Rust vs browser edge cases
|
||||
- [x] N5 gates: cargo all features, clippy, mutations, wasm size, check:all on final HEAD, e2e:ui, e2e:shell if sandbox, C8 Docker + mutations
|
||||
- [ ] N6 fresh verifier + security on final HEAD (old MEDIUMs, f32/f64 residue); memory BDR + 2 LRN (dedup); checkpoint
|
||||
- [ ] O last MEDIUM, zone without interior (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`)
|
||||
- [x] O1 measure: flattened outline (polygon, path curves/arcs with a chord deviation bound), fill rule (layer = nonzero), widest inscribed disc search (deterministic, capped), projected at 320 × 568
|
||||
- [x] O2 rule in `frame::annotation_placement` after the bounds rule; closed codes; verdict + preview; docs (ANNOTATION-RENDERING, RUST.md, V1-2 §6.7)
|
||||
- [x] O3 tests: back-and-forth, near-flat, self-intersection both rules, curves/arcs near zero, small legit, transforms/scales, threshold edges, equine; browser concordance fixture + spec on 3 engines
|
||||
- [x] O4 gates: wasm ≤ 600 000, mutations, check:all, e2e:shell sandbox, ignored tests documented, PDF unchanged; fresh verifier + security
|
||||
- [x] O5 memory: 3 LRN (WebKit snapping, Firefox client rects, WebKit tiny spans); LOW overlap recorded; checkpoint
|
||||
- [ ] V1-2.3 drawings and worker verification (M6) · V1-2.4 wireframes (editor, review, admin entry) · V1-2.5 catalogue, admin space, rights, species, MFA · V1-2.6 editor level 1 · V1-2.7 preview, review, publication UI · V1-2.8 equine working copy and review preparation · V1-2.9 FR/EN acceptance and closure (owner checkpoints V1-2.3, V1-2.4, V1-2.6, V1-2.7, V1-2.8, V1-2.9 + each DEV operation of contract §16.11)
|
||||
|
||||
## Release readiness track (owner 2026-10-25, distinct from the functional roadmap; nothing here authorises a release or exposure)
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
# Contract: V1-2.2 last MEDIUM, zone without interior
|
||||
|
||||
Owner brief « V1-2.2 : fermeture du dernier MEDIUM », 2026-11-01, on `de2dfb3` (branch
|
||||
`feature/v1-2-anatomical-sheets`). Decisions of the previous checkpoint confirmed, not reopened.
|
||||
|
||||
## Criteria
|
||||
|
||||
- I1 Rule: a zone or trigger drawn as a polygon or a path is refused unless its fill, under the
|
||||
fill rule the layer paints (nonzero: the layer writes none, the root carries none, lot B
|
||||
isolation), holds a disc of diameter at least `MIN_VISIBLE_PX` (4 CSS px) on the smallest preview
|
||||
(main 286 × 310, detail 254 × 191, `xMidYMid meet`). The stroke never counts. The bounds rule stays
|
||||
and runs first. Circles keep their disc measure.
|
||||
- I2 Measure in the Rust core, conservative: curves and arcs flattened with a proven chord deviation
|
||||
bound subtracted from the radius; a point counts only when inside under the rule and at least the
|
||||
radius away from every edge (implicit closing edges included); deterministic search, capped; over
|
||||
the caps the annotation is refused (fail closed), never accepted.
|
||||
- I3 Closed codes, the approved ones unchanged: issue `annotation.geometry.interior_too_small`,
|
||||
verdict `verification.validation.marker_interior_too_small` (implementer's proposal, to confirm).
|
||||
Verdict and preview agree. The document and the drawings never rewritten.
|
||||
- I4 Tests: back-and-forth path, near-flat polygon, self-intersection under both rules, curves and
|
||||
arcs of near-zero area, small legitimate filled shapes, drawing transforms and extreme scales,
|
||||
threshold edges, equine non-regression, every case previously accepted wrongly now refused.
|
||||
- I5 Browser concordance (Chromium, Firefox, WebKit, 320 × 568): for each accepted probe shape real
|
||||
presses inside the Rust witness disc select it; for each refused one the browser's fill-only hit
|
||||
area holds no disc of the threshold; the probe fixture generated by the core and checked for drift.
|
||||
- I6 WASM ≤ 600 000 B gzip (budget not raised); PDF bytes and historical references unchanged;
|
||||
existing click tests kept.
|
||||
- I7 Gates: check:all on the final HEAD, e2e:shell on the isolated sandbox, mutations, the three
|
||||
ignored cargo tests documented.
|
||||
- I8 Docs: ANNOTATION-RENDERING, RUST.md §12.13, V1-2 contract §6.7; LOW overlap recorded as a known
|
||||
limitation (human review identifies fully overlapping markers before publication).
|
||||
|
||||
## Out of scope
|
||||
|
||||
No selection redesign, no SQL, no DEV, no merge, no V1-2.3, no deploy.
|
||||
Reference in new issue
Block a user