chore(memory): V1-2.2 owner decisions evidence, BDR-091, LRN-103/104

This commit is contained in:
bchanot committed 2026-11-01 02:01:50 +01:00
1 parent 76ead9567c
commit de2dfb392e
6 files changed
+171

No files matched your search

+10
View File
@@ -676,3 +676,13 @@ Also kept by owner: per-document-instance prefix required on top of per-view pre
**Rationale**: owner had already lifted Illustrator requirement; earlier brief wording ("Illustrator obligatoire pour revendiquer la compatibilité Illustrator") read as A6 blocker. Compatibility claim stays evidence-bound: no export, no claim.
**Alternatives**: keep Illustrator required (rejected by owner: blocks step on tool not owned); fabricate or emulate exports (forbidden: VectorCraft not equivalent, never fake fixtures).
## BDR-091 — V1-2.2 view frame: one Rust rule, out_of_frame refusal (2026-11-01) (2026-11-01)
- **Status**: accepted
**Context**: V1-2.2 three MEDIUM, defect 3 (owner brief 2026-10-30). View without `view_box` framed by drawing root `viewBox`; shifting it + translating content back kept horse identical, all 19 main markers off frame, accepted.
**Decision**: one Rust rule `anatomy::frame::view_frame` = view `view_box`, else drawing `viewBox` read with SVG grammar. Same frame for both composers (canvas, PDF), server verdict, PreviewSheet. Annotation not entirely inside (edges incl., curves/arcs on shape, unreadable path data refused) → issue `annotation.geometry.out_of_frame`, verdict `verification.validation.out_of_frame`; no usable frame → `view.frame.unknown`. Document never rewritten. Owner validated 2026-11-01.
**Alternatives**: cap on viewBox dims (rejected: bypass by scale); document owning main frame (heavier model change); TS-side check (rejected: Rust by default, one definition).
**Extension 2026-11-01** (same rule, owner brief « décisions »): frame usable only within browser-faithful range (edges ≤ 2^20, span ≥ 1, aspect ≤ 100, far edge ≤ 256 spans); marker visible size ≥ 4 CSS px at 320 × 568 → `verification.validation.marker_too_small`. RUST.md §12.11, §12.13.
+3
View File
@@ -494,3 +494,6 @@ R5.4: `draft/{labels,changelog,review_report,drawing,overlay,app_review,svg_comp
## 2026-10-31
- V1-2.2 three MEDIUM: lot A frame rule committed 0c87c7f..9e49ed1 (check:all green faa53c7); lot B isolation+hitbox built, uncommitted, patch in audits, R3 oracles pass under declared transforms, R4.1 manifest digest fails. Security PASS + MEDIUM scale bypass, verifier ECARTS(2) fixed. Junction-point overlap found. STOP: owner authorisation.
## 2026-11-01
- V1-2.2 N (owner 2026-11-01): lot B committed 4f52f5e, R4.1 call-1 svgSha256 e677150, visible wins canvas-only 9c606aa, marker_too_small 4 px @320x568 + frame range 96b9978, path numbers ±2^20 76ead95. check:all + e2e:shell green on 76ead95, 56 mutants killed, 1 equivalent. Open: zone without interior (MEDIUM, owner). STOP at checkpoint.
+14
View File
@@ -709,3 +709,17 @@ Supersedes [[LRN-100]].
**Context**: any shell-written file holding backticks: Rust/TS doc comments, markdown, commit bodies, python snippets passed via `python3 - <<EOF`.
**Application**: always quote delimiter (`<<'EOF'`, `<<'PYEOF'`) unless expansion wanted; prefer Write/Edit tools for prose; before commit grep added lines for `uid=`, `gid=`, home paths and empty backtick pairs; treat `command not found` lines during a file write as corruption signal, re-read file.
## LRN-103 — SVG pointer-events all hits the stroke area even unpainted: hitboxes declare stroke none + visibleFill (2026-11-01)
**Pattern**: SVG `pointer-events="all"` hits fill AND stroke area whether painted or not. Transparent hitbox with no own `stroke-width` inherits ancestor's: root `stroke-width="2000"` widened every point hitbox, last one took 13 of 19 equine clicks (Chromium, WebKit). `stroke="none"` alone does not shrink hit area under `all`.
**Context**: V1-2.2 lot B (2026-10-30/11-01), marker layer hitboxes on editor canvas.
**Application**: invisible capture surface declares its own geometry + rule: `stroke="none"` + `pointer-events="visibleFill"` (hit = fill only; transparent fill still counts as painted). Visible element that should win → `visiblePainted`. Never rely on inherited stroke for a hit area; test with hostile root stroke in 3 engines.
## LRN-104 — Precomputed click coordinates go stale when the page moves after the first interaction (2026-11-01)
**Pattern**: click coordinates computed once (boundingBox before first click) go stale when page layout moves after first interaction. Canvas harness listed recorded clicks above canvas: first click grew list, canvas shifted down, later precomputed points hit wrong marker/nothing. Looked like hit-test bug.
**Context**: V1-2.2 canvas click proofs (Playwright, `e2e/harness/canvas.tsx`), 2026-10-30.
**Application**: recompute target box right before each press (`centreOf` per click), or keep layout fixed (output with fixed height, `overflow:hidden`). Treat "first click right, next ones wrong" as layout shift first, hit-test second.