Skip to content

chore: migrate flow to GraphCompose 1.7.0#2

Merged
DemchaAV merged 4 commits into
mainfrom
chore/graphcompose-1.7-upgrade
Jun 7, 2026
Merged

chore: migrate flow to GraphCompose 1.7.0#2
DemchaAV merged 4 commits into
mainfrom
chore/graphcompose-1.7-upgrade

Conversation

@DemchaAV

@DemchaAV DemchaAV commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Migrates the template-flow from GraphCompose 1.6.7 → 1.7.0 and teaches the flow the v1.7.0 additive primitives. 1.7.0 is additive (zero breaking changes), so existing generated templates compile and render unchanged.

Dependency + tooling

  • io.github.demchaav:graph-compose 1.6.7 → 1.7.0 in all render-runner / skill-fixture / preview-renderer poms, live example template-project.json, and tooling defaults (init, validate-skills, skill-validation-gate).

Skill pack

  • New skills/versions/graphcompose-1.7/ — a port of the 1.6 pack plus the v1.7.0 primitives folded into the topic skills: inline shape runs (geometry-drawn rating dots / bullets / arrows / checkboxes, no font glyph), polygon ShapeOutline geometry, composite inline figures + swappable tick/arrow styles, per-corner roundedRect(DocumentCornerRadius), verticalAlign(TextVerticalAlign), addTimeline(...), LineBuilder.dashed(...), headingBar(...), softPanel(..., stroke), FontName.JETBRAINS_MONO, availableHeight(), and the nested-stack position() fix. Corrected the spacing-and-alignment "no per-line vertical centring" note.
  • The frozen graphcompose-1.6 snapshot is retained on disk for projects pinned back.
  • Manifest → skillsVersion 0.3.0, default 1.7.x, supported [1.6.x, 1.7.x].

Prompts + docs

  • Architecture-mapper gains mapping rows for the 1.7.0 primitives; template-coder lists them as Stable surface-agnostic idioms; AGENTS.md, docs, README, CONTRIBUTING, CHANGELOG and the CI job label move to the 1.7.0 target (pre-1.6.7 JitPack boundary kept as history).

Verification

  • validate-skills --render-only: 5/5 fixtures render vs 1.7.0 from Maven Central ✓
  • revision-manager: 31/31 tests ✓
  • mvn verify on cv-reference + invoice-reference vs 1.7.0 ✓

Notes

  • Published templates/ bundles intentionally left at 1.6.7 — they re-publish on the next approve/publish through the flow.
  • Full visual-diff baseline validation remains needs-validation (separate gate).

🤖 Generated with Claude Code

DemchaAV added 4 commits June 5, 2026 10:56
The five fixture READMEs (and their expected-output mirrors) now describe the wired render/visual-diff loop: node scripts/validate-skills.mjs re-renders via the *FixtureDocument adapter and tools/preview-renderer, then compares the PNG against the committed baseline (expects IDENTICAL). Drops the stale Phase 6/7 deferred wording and points at validation/reports/skill-render-validation-2026-06-03.md.
1.6 row/section primitives expose no cross-axis alignment knob (no row top/center/baseline/bottom, no section left/right/center/stretch). Correct the doc to say so and route centring through shape containers / layer stacks (.center(...) / LayerAlign), plus a note that text has no per-line vertical centring.
copyJavaClass renamed from a hardcoded GeneratedCvTemplate, so templates whose generated class has another name were left unrenamed. Derive the source class from projectMeta.render.templateClass / projectMeta.templateClass / the public class declared in the source file, falling back to GeneratedCvTemplate.
Bump io.github.demchaav:graph-compose 1.6.7 -> 1.7.0 across all render-runner / skill-fixture / preview-renderer poms, live example template-project.json, and tooling defaults (init, validate-skills, skill-validation-gate).

Add skills/versions/graphcompose-1.7/ -- a port of the 1.6 pack plus the v1.7.0 additive primitives (inline shape runs, polygon geometry, composite inline figures + swappable tick/arrow styles, per-corner roundedRect, verticalAlign(TextVerticalAlign), addTimeline, dashed lines, headingBar, softPanel stroke, JetBrains Mono, availableHeight, nested-stack position() fix). The frozen graphcompose-1.6 snapshot is retained for projects pinned back. Manifest -> skillsVersion 0.3.0, default 1.7.x, supported [1.6.x, 1.7.x].

Refresh prompts (architecture-mapper mapping rows, template-coder idioms), docs, README, CONTRIBUTING, CHANGELOG and the CI job label to the 1.7.0 target, keeping the pre-1.6.7 JitPack boundary as history.

Verified: 5 skill-fixture render-only smoke green vs 1.7.0 from Maven Central; revision-manager 31/31; cv-reference + invoice-reference mvn verify green vs 1.7.0.
@DemchaAV DemchaAV merged commit 8253034 into main Jun 7, 2026
13 checks passed
@DemchaAV DemchaAV deleted the chore/graphcompose-1.7-upgrade branch June 7, 2026 20:27
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