chore(memory): V1-2.2 root visibility evidence, A6 decision, BDR-089/090, LRN-102

This commit is contained in:
bchanot committed 2026-10-30 18:56:49 +01:00
1 parent a095ea0e1b
commit 958228a9de
8 files changed
+140 -9

No files matched your search

+17
View File
@@ -659,3 +659,20 @@ Also kept by owner: per-document-instance prefix required on top of per-view pre
**Rationale**: Figma writes `<mask maskUnits="userSpaceOnUse">` for frame clipping. Removal re-reads mask x/y/width/height in bounding-box units: Chromium 156 cut half stroke at (10,100), 208 px diff at ×8; mask off origin could hide content (deduced, untested). With keywords allowed: stored forms pixel-identical to raw files. Enumerated keywords carry no function, no reference.
**Alternatives**: keep removal, document 1 px loss (rejected: silent fidelity loss, worse off-origin); allow `maskUnits` only (rejected: same risk class for the two siblings); allow any value (rejected: free text where keyword suffices).
- **Status (2026-10-30)**: accepted, A6 scope part superseded by BDR-090 (Illustrator optional, 2026-10-30); mask/clip units part still in force
## BDR-089 — V1-2.2 reserved PDF halo id, refused by shared reader and composers (2026-10-30) (2026-10-30)
- **Status**: accepted
**Decision** (owner, 2026-10-30, RUST.md §12.9): PDF halo id `osteo-halo` reserved. Shared reader refuses any kept element holding it, root included, ASCII case folded (`SvgRejection::ReservedId`, `reserved_id`); cleaning, verdict, preview, loaded sheet, upload tool, PDF snapshot gate answer through same reader. Both composers refuse tree holding it (`ComposeError::ReservedId`), halo always engine's (`has_halo_filter` skip removed). Exact set `refs::RESERVED_IDS`, never `osteo-*` prefix.
**Rationale**: PDF view keeps drawing ids, engine writes `filter#osteo-halo` next to them. Defect: drawing own `filter#osteo-halo` → engine skipped its filter, transparent filter erased marker (0 highlight px Chromium 156 vs 1602); `g#osteo-halo` before first `<defs>` won resolution → halo lost (825 px). 11 historical drawings incl. DEV equine object (sha256 `0ea5202f…`) carry `osteo-overlays` → prefix reservation would refuse them. Fix: 08efd9a.
**Alternatives**: reserve `osteo-*` (rejected: refuses historical drawings); rename engine id to unguessable (rejected: changes R3 oracle + R4 digests, still collidable); strip drawing element silently (rejected: silent change, refusal explicit); composer guard only (rejected: refusal must happen before verification/publication).
## BDR-090 — V1-2.2 A6 final perimeter: Figma, Inkscape, cairo, ImageMagick; Illustrator + Affinity optional (2026-10-30) (2026-10-30)
- **Status**: accepted
**Decision** (owner, 2026-10-30, final; contract core E1, V1-2 contract §17.6): A6 tested perimeter = Figma (owner's two raw exports `owner/figma-web-20261030-{default,ids}.svg`), Inkscape 1.4.3, cairo 1.18.4, ImageMagick 7.1.2-18, all real exports read by suite. Adobe Illustrator + Affinity optional: never declared compatible/validated without real export; absence no longer blocks V1-2.2. `owner/` folder, procedure (Illustrator `presentation`/`internal-css`, Affinity `web`/`hq`), suite reading any file there kept for later. Replaces A6 part of BDR-088 (mask/clip units part still valid).
**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).
+1
View File
@@ -490,3 +490,4 @@ R5.4: `draft/{labels,changelog,review_report,drawing,overlay,app_review,svg_comp
- V1-2.2 owner decisions on 05de816: BDR-087 canonical stored SVG, LRN-099→LRN-100 strict reference grammar. Final review (Opus, Fable out of credits): verifier ECARTS(3) = A6 open, B9 LOW f1ef6a4 glued url( reader/composer mismatch fail-closed, FLOOR prose FP; security PASS (MEDIUM per-document prefix, 5 LOW). 05de816 = f1ef6a4 code. A6 not met. No fix, STOP at checkpoint.
- V1-2.2 finalisation 2026-10-30: Figma default Clean, ids Cleanable (g@id), pixel-identical after maskUnits/maskContentUnits/clipPathUnits allowed (BDR-088). Glued url( removed in every attribute (urls_unglued), LRN-101. check:all green 7d9ab8c. Verifier ECARTS(2): A6 Illustrator, doc drift fixed. Security PASS, pre-existing MEDIUM PDF halo id osteo-halo for owner. Not VERIFIED. STOP.
- V1-2.2 K reserved ids 2026-10-30: drawing filter#osteo-halo erased PDF marker (0 px Chromium), g#osteo-halo before defs lost halo. Reader refuses reserved_id (exact set, ASCII case), both composers fail-closed, halo always engine's. 08efd9a. check:all green, mutations 11/11, verifier ECARTS(1) LOW leaked id expansion fixed, security PASS + pre-existing MEDIUM root visibility hides markers (owner). A6 open: Illustrator.
- V1-2.2 L 2026-10-30: A6 final = Figma, Inkscape, cairo, ImageMagick; Illustrator/Affinity optional (BDR-090, BDR-088 amended). Root visibility≠visible refused (root_visibility) reader+cleaning+composers, red-first, 3 browsers, mutations 20/20, check:all green. BDR-089, LRN-102. Security PASS but 3 pre-existing MEDIUM marker-hiding vectors open (root viewBox frame, inherited stroke-opacity/dasharray, hitbox stroke-width click hijack): class fix changes R3/R4 oracles, owner decision.
+7
View File
@@ -702,3 +702,10 @@ Supersedes [[LRN-099]].
**Future application**: new SVG/CSS consumer reuses `url_openings`/`local_url_target`, never own parser. Hostile tests written apart from reader, assert browser behaviour.
Supersedes [[LRN-100]].
## LRN-102 — Unquoted heredocs expand backticks: quote the delimiter, scan before commit (2026-10-30) (2026-10-30)
**Pattern**: unquoted heredoc (`<<EOF`) runs command substitution on backticks and `$(…)` inside body. Markdown/Rust doc text with `` `id` `` became output of `id` (uid, groups incl. sudo, lxd) inside test doc comment; caught by fresh verifier before commit (V1-2.2 K, 2026-10-30). Same run: `` `tests/svg_reserved_ids.rs` `` and `` `snapshot_invalid` `` erased silently (shell errors only on stderr).
**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.