feat: add deterministic Diagram IR v2 authoring #1

Merged
jarvis-at-skic merged 1 commits from 1.0.0.0/IIAA-XYZ-typescript-capabilities-001 into test 2026-09-03 03:30:22 -07:00
Owner

Summary

  • harden Draw.io parsing and validation across XML declarations, compressed pages, containers, and connector analysis
  • add deterministic YAML Diagram IR v1/v2 authoring with multi-page output and a formal v2 JSON Schema
  • add dependency-aware TypeScript layout and obstacle-aware orthogonal routing
  • add objective all-page quality diagnostics for clipping, text overflow risk, placeholders, external assets, palette spread, and density
  • preserve the existing TypeScript/NodeNext/pnpm/Taskfile/@maxgraph/core technology stack

Validation

  • 31/31 Node test-runner tests passed
  • TypeScript build passed
  • generated two-page v2 example passed validate
  • connector validation: 0 issues
  • bounding-box validation: 0 issues
  • orphan validation: 0 issues
  • quality validation: 0 errors, 0 warnings
  • git diff --check passed
  • documentation relative-link validation passed

Dependency audit

The independent exact-tree review reported 0 production vulnerabilities using temporary npm lock resolution. The repository-native pnpm audit command could not be run because pnpm is absent from the execution shell; no runtime stack change was introduced.

Stack constraint

No Python, Graphviz, ELK runtime, MCP service, browser service, or mandatory Draw.io Desktop dependency was introduced.

## Summary - harden Draw.io parsing and validation across XML declarations, compressed pages, containers, and connector analysis - add deterministic YAML Diagram IR v1/v2 authoring with multi-page output and a formal v2 JSON Schema - add dependency-aware TypeScript layout and obstacle-aware orthogonal routing - add objective all-page quality diagnostics for clipping, text overflow risk, placeholders, external assets, palette spread, and density - preserve the existing TypeScript/NodeNext/pnpm/Taskfile/@maxgraph/core technology stack ## Validation - 31/31 Node test-runner tests passed - TypeScript build passed - generated two-page v2 example passed `validate` - connector validation: 0 issues - bounding-box validation: 0 issues - orphan validation: 0 issues - quality validation: 0 errors, 0 warnings - `git diff --check` passed - documentation relative-link validation passed ## Dependency audit The independent exact-tree review reported 0 production vulnerabilities using temporary npm lock resolution. The repository-native `pnpm audit` command could not be run because `pnpm` is absent from the execution shell; no runtime stack change was introduced. ## Stack constraint No Python, Graphviz, ELK runtime, MCP service, browser service, or mandatory Draw.io Desktop dependency was introduced.
jarvis-at-skic added 1 commit 2026-09-03 03:06:11 -07:00
jarvis-at-skic merged commit 5146b14d43 into test 2026-09-03 03:30:22 -07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: home-v1-skills-code-agent/diagrams-drawio#1