chore(memory): V1-2.2 three MEDIUM evidence, lot B patch, contract, TODO, journal
This commit is contained in:
1 parent
9e49ed1b4d
commit
f1bb19b30b
9 files changed
+1652
No files matched your search
@@ -599,6 +599,14 @@ Order (BDR-071): P0 docs + decisions → V1-1 clients and animals → V1-2 sheet
|
||||
- [x] L3 fix: reader refuses a root `visibility` other than `visible` (`root_visibility`), cleaning after active content, composers fail-closed; same check everywhere
|
||||
- [x] L4 browser proof before / after (Chromium, Firefox, WebKit from the Playwright cache) incl. opacity, display, stroke on the root
|
||||
- [ ] L5 BDR reserved ids + LRN heredoc expansion (owner go); docs; gates (cargo, fixtures, mutations, wasm + ts-rs, size, check:all), fresh verifier + security on final HEAD; commit + push; checkpoint
|
||||
- [ ] M three MEDIUM (brief « V1-2.2 : arbitrages propriétaire sur les trois MEDIUM », on 958228a): isolated stacks only, DEV untouched, no merge, no V1-2.3; STOP before any R3/R4/step6 reference change
|
||||
- [x] M1 audit: inherited vs group-wide properties reaching the layer (root presentation attributes, page CSS), what the reader already removes, hit rules of each marker, frame of each view (canvas, PDF, raster size), equine margins and hit winners
|
||||
- [x] M2 tests first (red on 958228a): marker isolation (stroke, stroke-opacity, dasharray, width, fill, fill-opacity, fill-rule, opacity, display, visibility, linejoin/miterlimit) in canvas and PDF; hitbox capture rule; offset viewBox + compensating translate refused by verdict and preview (19 main markers), limits, secondary views, no view_box, invalid coordinates, legit transforms
|
||||
- [x] M3 engine (lot B, uncommitted, patch in .claude/audits): composition root owned by the engine (frame + namespaces), drawing in a group of its own, layer and halo defs its siblings; composed layer hitbox `stroke="none"` + explicit capture rule; R3 layer form kept for the seed review drawings
|
||||
- [x] M4 frame: one frame definition (view box, else drawing viewBox read strictly) for both composers, verdict and PreviewSheet; annotation bounds (circle, polygon, path data with curves and arcs); closed code
|
||||
- [x] M5 browser click proofs (Chromium, Firefox, WebKit from the cache, touch where testable): normal hock click, giant root stroke before / after, close points, invisible and overlapping surfaces
|
||||
- [x] M6 oracle inventory (evidence 2026-10-30-v1-2-2-three-medium-evidence.md): failing R3 / R4 / step6 references, before / after diff, equine render, SVG source digests, N-1 and PDF consequences → STOP for owner authorisation before any reference change
|
||||
- [ ] M7 after authorisation only: references, docs, gates (cargo, mutations, wasm size, check:all DEV-isolated), fresh verifier + security, commit + push, 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,60 @@
|
||||
# Contract: V1-2.2 three MEDIUM (marker isolation, click hijack, view frame)
|
||||
|
||||
Owner brief « V1-2.2 : arbitrages propriétaire sur les trois MEDIUM », 2026-10-30, on `958228a`
|
||||
(branch `feature/v1-2-anatomical-sheets`). Two lots:
|
||||
|
||||
- Lot A (committed): the frame rule, defect 3.
|
||||
- Lot B (working tree, NOT committed, awaiting the owner's authorisation because it changes the
|
||||
frozen R3 references): marker isolation and hitbox capture, defects 1 and 2, with the click proofs.
|
||||
|
||||
Diff under review: the working tree (lot A + lot B) against `958228a`.
|
||||
|
||||
## Problems
|
||||
|
||||
1. Both composers (`crates/core/src/anatomy/compose.rs`) appended the engine's marker layer to the
|
||||
drawing's own root: every presentation attribute the reader keeps on that root reached the markers,
|
||||
inherited (`stroke-opacity`, `stroke-dasharray`, `stroke-width`, `stroke-linejoin`, `fill-rule`,
|
||||
`color-interpolation-filters` on the halo…) or acting on a whole group (`opacity`, `display`).
|
||||
2. The point hitbox (`pointer-events="all"`, no stroke of its own) inherited a root `stroke-width`: a
|
||||
giant stroke widened every hitbox and the last one took the clicks meant for other markers.
|
||||
3. A view without `view_box` was framed by the drawing's `viewBox`: moving it and translating the
|
||||
drawing back left the horse identical and every marker out of frame, accepted.
|
||||
|
||||
## Criteria
|
||||
|
||||
- C1 Structural isolation, common to the canvas and the PDF view: no attribute of the drawing's root
|
||||
reaches the layer or the halo filter, inherited or group-wide; the drawing keeps its own attributes
|
||||
and renders as before; not a denylist of attributes.
|
||||
- C2 Interactive surfaces declare their geometry and capture rule: the point hitbox `stroke="none"` and
|
||||
a capture on its circle only; ergonomic sizes unchanged; zones and trigger keep their declared stroke.
|
||||
- C3 Real click tests in Chromium, Firefox and WebKit (installed engines), touch where testable: normal
|
||||
hock click, giant root stroke, hock after the fix, two close points, invisible and overlapping
|
||||
surfaces; red on `958228a`, green after. A missing engine is named, never passed silently.
|
||||
- C4 Frame rule in the Rust core, one definition for both composers, the verdict and PreviewSheet: the
|
||||
view's `view_box`, else the drawing's `viewBox` read as a browser reads it; `preserveAspectRatio`
|
||||
handled; annotations entirely in frame, edges included; curves, arcs, invalid coordinates, secondary
|
||||
views, views without `view_box`, legitimate transforms; explicit refusal with a closed code; the
|
||||
document never rewritten.
|
||||
- C5 The reported drawing (horse, offset `viewBox`, compensating translate) is refused with its 19
|
||||
main-view markers, the historical annotations unchanged.
|
||||
- C6 No frozen reference (R3 oracles, R3 canvas goldens, R4 digests, R4.1 real-raster manifest, step6
|
||||
goldens, N-1 copies, seed review drawings, equine drawing and fingerprint) rewritten or regenerated;
|
||||
where lot B changes what a reference compares, the change is identified, explained and left for the
|
||||
owner (no updated expectation committed).
|
||||
- C7 `osteo-halo` and `root_visibility` protections intact; the A6 perimeter unchanged.
|
||||
- C8 Gates: cargo on every feature set, clippy `-D warnings`, mutations, wasm module under 600 000 B
|
||||
gzip, check:all DEV-isolated (lot A), browser proofs.
|
||||
- C9 Docs describe only what is implemented (lot A in RUST.md §12.11, V1-2 contract §6.7,
|
||||
ANNOTATION-RENDERING); lot B documented in its patch and the evidence file, not as shipped.
|
||||
|
||||
## Out of scope
|
||||
|
||||
No SQL, no Supabase DEV, no worker DEV, no historical resource change, no merge, no V1-2.3.
|
||||
|
||||
## Clarifications
|
||||
|
||||
- The junction-point overlap (zones painted and hit after the vertebral junction points, part of their
|
||||
disc records the zone, on the historical sheet in every engine) is pre-existing and needs an owner
|
||||
decision on the capture order: reported, marked `fixme` in the click spec, not fixed.
|
||||
- `with_isolated_layer` (tests/common/svg_tree.rs, lot B) is the proposed declared change applied to
|
||||
the frozen R3 trees; it is not committed.
|
||||
Reference in new issue
Block a user