Skip to content

Commit 5bf3ba5

Browse files
authored
Merge pull request #145 from varvedesign/codex/inkscape-corpus-1951-1960
Inkscape corpus: review 1951–1961 and fix SVG clone opacity
2 parents 1946efe + 8409c99 commit 5bf3ba5

13 files changed

Lines changed: 244 additions & 43 deletions

File tree

‎docs/audits/inkscape/continuation.md‎

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,134 @@
22

33
Last updated: 2026-10-19.
44

5+
## Resume checkpoint — 2026-10-19 10:26 UTC
6+
7+
- IID 1961's 13 user comments and 23 system/history events (36 cached notes)
8+
were reviewed. Inkscape's footer regression was closed after MR !3080's
9+
viewBox change and !3146's style-source propagation fix; neither is the same
10+
implementation path as Varve's importer. The notes' minimal SVG also
11+
exposed a matching observable defect in Varve: repeated `<use>` instances
12+
keep shorthand `#e5e` RGB correctly but lose `fill-opacity=".1"` on the
13+
basic shape's top-level fill color.
14+
- Added a regression in `packages/import/src/svg.test.ts`. Its first run failed
15+
for the expected reason (alpha 255 instead of 26); the focused test passed
16+
after `applyStylesToNode` began clamping and applying `fill-opacity` to the
17+
stored fill alpha as well as existing fill-array opacity. The focused import
18+
regression and complete `@varve/import` unit suite passed. E2E typecheck and
19+
import/editor/desktop typechecks passed. The full editor suite exceeded the
20+
affected lane's 5-minute limit; a direct retry continued for more than 12
21+
minutes while Vitest workers stayed busy and root free space fell below 250
22+
MB, so only that run was stopped. The first affected attempt hit ENOSPC before
23+
completing the same suite. The desktop unit suite passed (15 files, 90
24+
tests).
25+
- Added a permanent SVG-import E2E in
26+
`tests/e2e/canvas/file-import.spec.ts` that loads repeated legacy
27+
`xlink:href` instances with shorthand color and `.1` opacity and captures a
28+
canvas screenshot. The lease-wrapped Chromium regression now passes and its
29+
screenshot was inspected: both unselected repeated-use shapes render with
30+
the expected faint magenta fill, without selection overlays. A rerun without
31+
updating the baseline also passes. The full file-import spec passed (7/7),
32+
the import domain passed (12/12), and the export domain passed (14/14), all
33+
under the heavy-task lease. Chromium used the pure-TypeScript fallback, so
34+
these browser results do not certify the native renderer.
35+
- Slice 1951–1960 is committed locally as `48486f5bd` but not pushed. Its
36+
exact-ref push checkpoint passed local lanes; the actual pre-push hook
37+
refused to create its disposable target worktree because the root filesystem
38+
is full. The repository is at `217/230 GB` with only `1.3 GB` reported
39+
available; do not bypass the hook or remove another session's files. Recheck
40+
capacity after concurrent work finishes and retry safely, potentially using
41+
`/dev/shm` only if available memory is sufficient.
42+
- Discussion review progress is now 1,163/5,669 threads (IID 1961 adds 36
43+
notes: 13 user comments and 23 system/history events; its reported comment
44+
count reconciles). The 32 unrelated inventory retrieval mismatches remain.
45+
Continue with IID 1962 after the current #1961 affected checks, and retain
46+
#1953's menu screenshot as visually pending because Chromium exhausted
47+
resources before the app mounted.
48+
49+
## Resume checkpoint — 2026-10-19 09:54 UTC
50+
51+
- PR #143's merge SHA `1946efe80b6c39c61fbdcf7667783dcf9f730bd1` is on
52+
`master`. The merge-triggered Pages quality job had one intermittent browser
53+
screenshot-capture failure on the unrelated Gradient Maps page. The
54+
documented source-deploy workflow was rerun against the exact merged SHA;
55+
website quality gates, artifact build/upload, deploy, and live Lighthouse
56+
report all completed successfully.
57+
- IID 1951–1960 remains the current engineering batch. The selected
58+
`pnpm verify:affected` run passed static checks, editor/desktop type checks,
59+
focused menu/localization/shortcut tests, the full editor suite (897 files
60+
passed, 2 skipped; 8,784 tests passed, 2 skipped), and the desktop suite
61+
(15 files, 90 tests passed). Its Chrome visual lane completed 19/30; eleven
62+
unrelated canvas/upscale/email/workspace cases failed due browser crashes,
63+
the WASM-to-TS fallback, or a 537-pixel high-contrast snapshot difference.
64+
The selected keyboard lane first timed out in global setup before executing
65+
tests; a lease-protected retry passed all 28 tests. Two temporary direct
66+
menu screenshot attempts could not get the app to render: the first timed
67+
out waiting for its New button; the extended retry recorded Chromium
68+
`net::ERR_INSUFFICIENT_RESOURCES` while fetching Vite editor modules, then
69+
displayed the startup-fallback screen. The requested menu never mounted.
70+
The temporary test has been removed after recording this environmental
71+
blocker; keep #1953 visually pending until a browser session can render the
72+
app.
73+
- The menu now labels the fixed analytical CMYK view “Approximate CMYK
74+
Preview” so it is not mistaken for the profile-aware ICC proof in the
75+
Document panel. The eight affected menu snapshots were regenerated and the
76+
package suite now passes. #1960 remains a candidate Varve defect awaiting a
77+
semantic check, focused regression, and visual outline verification.
78+
- The Inkscape-only tracker is at 1,162/5,669 note-bearing discussions
79+
reviewed. Continue with IID 1961 after committing this batch. Keep the
80+
original task worktree's unrelated changes out of task commits, and leave
81+
the user's ChatGPT desktop app and other sessions' processes running.
82+
83+
## Resume checkpoint — 2026-10-19 08:25 UTC
84+
85+
- Scope remains Inkscape only. The typo in the supplied brief was corrected;
86+
do not substitute Photocraft or broaden the tracker scope.
87+
- Incremental checkpoint PR [#143](https://github.com/varvedesign/varve/pull/143)
88+
merged to `master` at `1946efe80b6c39c61fbdcf7667783dcf9f730bd1` from tested
89+
head `6175a2ab17198e55d9bf97cb2ac590de0cd125c7`. It includes the #1946
90+
Layers selection-sync E2E, print-PDF sRGB claim boundary, touch-guide
91+
clarification and softened callout, and corpus progress. The automatic
92+
GitHub Pages workflow triggered at merge and is in progress; no separate
93+
manual deployment was run. The post-merge `master` CI run is pending.
94+
- PR checks passed for the Linux package build, WASM, JS, Playwright, both
95+
website deployment modes, desktop/mobile Lighthouse, pipeline/SHA pins,
96+
change lanes, and attribution. Hosted plan deliberately skipped unrelated
97+
native Tauri and WebGL2 qualification lanes. The PR's later certification
98+
job had not yet acquired a runner when the merge completed; post-merge
99+
validation remains tracked by the new `master` workflows.
100+
- The exact candidate's local `pnpm verify:plan` selected 13 lanes with no
101+
full-suite escalation. `pnpm verify:affected` passed selected static,
102+
docs, E2E typecheck, and website typecheck/unit checks; its Layers file
103+
E2E had the new #1946 case pass and three unrelated failures (one stale
104+
collision-target assertion and two browser crashes). The full website E2E
105+
passed 687/690; only three existing homepage/footer visual snapshots failed.
106+
The changed touch-and-pen screenshots and axe checks passed in both modes.
107+
Both website builds produced 126 routes. Print-production desktop/mobile
108+
and touch-and-pen guide screenshots were inspected. No unrelated snapshots
109+
were refreshed. The PR push checkpoint passed its selected local lanes and
110+
deferred hosted gates; hosted results are listed above.
111+
- Reviewed all comments for IID 1951–1960 (145 cached notes: 77 user comments,
112+
68 system/history records). #1954 remains one of the 32 inventory note-count
113+
mismatches (32 reported, 31 cached). Updated findings and the ledger. #1953
114+
exposed that the View shortcut's analytical CMYK overlay was called “Soft
115+
Proofing” despite being separate from Document-panel ICC proof; the menu and
116+
shortcut labels now distinguish it as “Approximate CMYK Preview.” Visual
117+
validation is still pending. #1960 exposes a possible concrete Varve gap:
118+
`expandStrokeNode` ignores dash patterns; confirm the action semantics and
119+
add a regression before deciding the fix.
120+
- Corpus completion is still far away: 6,390/6,392 bodies are fully screened,
121+
1,152/5,669 note-bearing discussions have been content-reviewed, 32
122+
inventory note-count mismatches and 29 missing reported user comments
123+
remain. Linked evidence, engineering dispositions, and native/platform
124+
validation are incomplete. Cutoff B is pending. Continue the discussion
125+
review with IID 1961, and keep separate product fixes as progressive commits.
126+
- Current integration worktree:
127+
`.worktrees/inkscape-corpus/.worktrees/inkscape-pr`, branch
128+
`codex/inkscape-corpus-1951-1960`, based on the merged remote `master`.
129+
Keep the original `feat/inkscape-corpus` worktree's unrelated export,
130+
codegen and scene changes out of task commits. Do not close the user's
131+
ChatGPT desktop app or stop another session's work.
132+
5133
## Resume checkpoint — 2026-10-19 05:35 UTC
6134

7135
- Target and scope remain the Inkscape issue corpus and verified Varve fixes.

‎docs/audits/inkscape/findings.md‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3027,3 +3027,21 @@ in the complete source snapshot remain an inventory-level reconciliation item.
30273027
- [#1950](https://gitlab.com/inkscape/inkscape/-/work_items/1950) reports missing linked tutorial images when opening a tutorial as a new document because its document base was not retained. [MR !2640](https://gitlab.com/inkscape/inkscape/-/merge_requests/2640) fixes #1950. Varve's tutorial content does not use this external linked-image/base-path workflow.
30283028

30293029
The IID 1941–1950 discussion sweep covers 120 cached notes (48 user comments, 72 system/history events) across ten threads; each issue's reported user-comment count reconciles. The separate corpus retrieval mismatch count remains 32.
3030+
3031+
## Inkscape IID 1951–1960
3032+
3033+
- [#1951](https://gitlab.com/inkscape/inkscape/-/work_items/1951) reports missing linked images in the pixel-art tracing tutorial. The discussion connects it to [#1950](https://gitlab.com/inkscape/inkscape/-/work_items/1950) and [MR !2640](https://gitlab.com/inkscape/inkscape/-/merge_requests/2640), which fixed retaining the tutorial document base. Varve's tutorials do not use that linked-asset workflow.
3034+
- [#1952](https://gitlab.com/inkscape/inkscape/-/work_items/1952) is a Python error in the separate Printing Marks extension's bleed-mark action. The issue confirms the fix landed in the extensions repository. Varve has no matching extension host or execution route.
3035+
- [#1953](https://gitlab.com/inkscape/inkscape/-/work_items/1953) reports that Inkscape's View checkbox and canvas status icon disagree about color-managed proof availability. The discussion includes reproductions but the precise state transition varies with display/profile setup. Varve has no matching bottom-right status icon, but source review found its View-menu “Soft Proofing” shortcut invokes a fixed analytical CMYK approximation while the Document panel's “Soft Proof” control invokes profile-aware output simulation. The same label blurred two distinct previews, so the shortcut and menu now say “Approximate CMYK Preview.” Verify the menu wording visually before treating this slice as complete.
3036+
- [#1954](https://gitlab.com/inkscape/inkscape/-/work_items/1954) is a long-running Windows text-entry complaint: with NumLock on, keypad plus/minus can trigger zoom instead of entering text. Varve routes text editing through a native textarea overlay and suppresses editor shortcuts for text-entry targets; keypad canonicalization has unit coverage. Windows text entry and IME behavior remain platform-unverified, so parity is not claimed.
3037+
- [#1955](https://gitlab.com/inkscape/inkscape/-/work_items/1955) reports a copy/export crash caused by an invalid legacy `shape-inside` reference. Varve explicitly reports and skips unsupported `flowRoot`/`shape-inside` text-flow constructs during SVG import; no corresponding copy/export crash path was established.
3038+
- [#1956](https://gitlab.com/inkscape/inkscape/-/work_items/1956) asks that a preference disclose when icon-size changes need an application restart. No matching restart-required icon-size preference was found in Varve's current settings UI.
3039+
- [#1957](https://gitlab.com/inkscape/inkscape/-/work_items/1957) concerns state leaking between successive Inkscape CLI `--export-id-only` SVG exports. Varve's CLI has no equivalent subset-export option or repeated export-id lifecycle.
3040+
- [#1958](https://gitlab.com/inkscape/inkscape/-/work_items/1958) reports an absolute-path script IRI being rewritten to `file://` while editing/saving SVG. Varve does not round-trip editable SVG scripts through that workflow; no equivalent mutation path was established.
3041+
- [#1959](https://gitlab.com/inkscape/inkscape/-/work_items/1959) reports freezes and occasional crashes while dragging an envelope/perspective live-path-effect cage into a singular configuration. Varve has no live path effect runtime or matching cage interaction.
3042+
- [#1960](https://gitlab.com/inkscape/inkscape/-/work_items/1960) reports incorrect Stroke to Path results for zero-length dash segments with round caps. Varve's `expandStrokeNode` passes the path centerline, width and cap into `expandStroke` without consulting `stroke.dashPattern`. This is a relevant candidate defect in Varve's stroke-expansion route; correct dashed-outline behavior and a focused regression remain to be implemented and visually verified.
3043+
- [#1961](https://gitlab.com/inkscape/inkscape/-/work_items/1961) began as black tutorial footers after tutorials started opening as new documents. Its 13-user-comment discussion narrowed into SVG style propagation regressions: shorthand `#e5e` on clones and leading-decimal `fill-opacity=".1"`. Inkscape closed the report after [MR !3080](https://gitlab.com/inkscape/inkscape/-/merge_requests/3080) changed viewBox handling and [MR !3146](https://gitlab.com/inkscape/inkscape/-/merge_requests/3146) corrected style-source propagation; those upstream fixes do not map to Varve's import path. Varve already parses `#rgb`, but `applyStylesToNode` only applied fill-opacity to fill arrays, leaving the basic shape's `fill.a` unchanged. A repeated-`<use>` regression reproduced alpha 255 instead of 26 for `.1`; a local fix now clamps and applies the multiplier to top-level color alpha and existing fill opacity. The focused importer regression, full `@varve/import` suite, and Chromium visuals pass. The screenshot was inspected with selection overlays dismissed; it shows both repeated-use shapes with the expected faint magenta fill. The full file-import E2E (7), import domain (12), and export domain (14) pass; Chromium used the pure-TypeScript fallback, so this does not certify native rendering. The broader editor unit suite exceeded the affected lane's time limit and was stopped after exceeding 12 minutes under machine pressure.
3044+
3045+
The IID 1951–1960 discussion sweep covers 145 cached notes (77 user comments, 68 system/history events) across ten threads. The #1954 cache has 31 user comments against 32 reported; this is one of the 32 unresolved inventory-level retrieval mismatches.
3046+
3047+
The IID 1961 discussion contains 36 cached notes (13 user comments and 23 system/history events); the reported user-comment count reconciles.

0 commit comments

Comments
 (0)