Skip to content

Extract SVG materialization into a collaborator - #1345

Merged
chubes4 merged 1 commit into
trunkfrom
refactor-svg-materializer-extract
Aug 29, 2026
Merged

Extract SVG materialization into a collaborator#1345
chubes4 merged 1 commit into
trunkfrom
refactor-svg-materializer-extract

Conversation

@chubes4

@chubes4 chubes4 commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace SvgMaterializationTrait with an explicit SvgMaterializer collaborator
  • introduce SvgMaterializationContext to declare the transformer services and per-transform state the collaborator consumes
  • route SVG conversion, rich-text image materialization, form icons, and logo casing through the collaborator
  • preserve behavior on top of the selector-cache identity fix from Fix selector cache element identity reuse (#1341) #1342

Verification

  • composer test
  • fresh CSS-attached corpus comparison against current origin/trunk: 383 documents, 87 fixtures, 0 throws, byte-identical records

AI assistance

GPT-5.6 Sol was used through OpenCode to perform the collaborator extraction, diagnose implicit trait namespace dependencies, and run the unit, package-install, and corpus verification workflows. The implementation and evidence were reviewed and orchestrated by Chris Huber.

@chubes4
chubes4 merged commit e345a09 into trunk Aug 29, 2026
10 checks passed
@chubes4
chubes4 deleted the refactor-svg-materializer-extract branch August 29, 2026 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant