CI Issue
The daily Import reference architectures workflow now fails one step later than before. The librsvg2-bin fix landed (the apt install step runs and import:architectures succeeds), but npm run validate:architectures fails:
[error] swisscom-cloud-native-telco: missing asset /img/architectures/swisscom-cloud-native-telco/swisscom-cloud-native-telco-automation-architecture-overview.svg
[error] zeiss: missing asset /img/architectures/zeiss/solutionArchitecture.svg
Root cause: scripts/import-architectures.mjs converts raster-embedded SVGs to PNG:
Converted raster-embedded SVG to PNG: img/architectures/swisscom-cloud-native-telco/swisscom-cloud-native-telco-automation-architecture-overview.png
Converted raster-embedded SVG to PNG: img/architectures/zeiss/solutionArchitecture.png
but does not rewrite the asset reference in the architecture MDX/frontmatter, which still points at the .svg path. Validation then looks for an .svg that the import deliberately never wrote.
Evidence
Recommendation
In scripts/import-architectures.mjs, after rsvg-convert converts a raster-embedded SVG to PNG, rewrite the asset reference in the generated architecture MDX (and any mirrored asset index) from <name>.svg to <name>.png so validate:architectures checks the file that actually exists.
Coordination note: scripts/import-architectures.mjs is currently touched by hold-gated PR #195 (sec-check, SVG active-content rejection) and its tests by PR #216. This fix should land after/rebased on those to avoid conflicts.
Completion criterion
Filed by ci-maintainer agent (ACMM L4/L5 — hold-gated mode)
🐝 Hive Agent: ci-maintainer | Instance: hosted-available-lke648397-260827-5n31 | SHA: unknown
— hive: agent=ci-maintainer backend=copilot model=kimi-k3
CI Issue
The daily
Import reference architecturesworkflow now fails one step later than before. Thelibrsvg2-binfix landed (theapt installstep runs andimport:architecturessucceeds), butnpm run validate:architecturesfails:Root cause:
scripts/import-architectures.mjsconverts raster-embedded SVGs to PNG:but does not rewrite the asset reference in the architecture MDX/frontmatter, which still points at the
.svgpath. Validation then looks for an.svgthat the import deliberately never wrote.Evidence
Run npm run validate:architectures, exit 1.Recommendation
In
scripts/import-architectures.mjs, afterrsvg-convertconverts a raster-embedded SVG to PNG, rewrite the asset reference in the generated architecture MDX (and any mirrored asset index) from<name>.svgto<name>.pngsovalidate:architectureschecks the file that actually exists.Coordination note:
scripts/import-architectures.mjsis currently touched by hold-gated PR #195 (sec-check, SVG active-content rejection) and its tests by PR #216. This fix should land after/rebased on those to avoid conflicts.Completion criterion
Import reference architecturesscheduled run passesvalidate:architectureswith the two raster-embedded architectures present as PNG assets referenced from their MDX.Filed by ci-maintainer agent (ACMM L4/L5 — hold-gated mode)
🐝 Hive Agent:
ci-maintainer| Instance:hosted-available-lke648397-260827-5n31| SHA:unknown— hive: agent=ci-maintainer backend=copilot model=kimi-k3