ea 0.6.150 → 0.6.152

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (444) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +33 -0
  3. data/README.adoc +13 -5
  4. data/config/qea_schema.yml +0 -85
  5. data/lib/ea/cli/command/base.rb +3 -3
  6. data/lib/ea/cli/command/list.rb +30 -12
  7. data/lib/ea/cli/command.rb +0 -1
  8. data/lib/ea/export/plantuml/generator.rb +45 -32
  9. data/lib/ea/qea/database.rb +7 -0
  10. data/lib/ea/qea/factory/association_builder.rb +1 -1
  11. data/lib/ea/qea/factory/association_transformer.rb +1 -1
  12. data/lib/ea/qea/factory/attribute_tag_transformer.rb +2 -2
  13. data/lib/ea/qea/factory/attribute_transformer.rb +4 -9
  14. data/lib/ea/qea/factory/base_transformer.rb +22 -14
  15. data/lib/ea/qea/factory/class_transformer.rb +1 -1
  16. data/lib/ea/qea/factory/data_type_transformer.rb +1 -1
  17. data/lib/ea/qea/factory/diagram_transformer.rb +1 -1
  18. data/lib/ea/qea/factory/enum_transformer.rb +2 -2
  19. data/lib/ea/qea/factory/generalization_transformer.rb +1 -1
  20. data/lib/ea/qea/factory/instance_transformer.rb +1 -1
  21. data/lib/ea/qea/factory/object_property_transformer.rb +2 -2
  22. data/lib/ea/qea/factory/operation_transformer.rb +1 -1
  23. data/lib/ea/qea/infrastructure/database_connection.rb +71 -1
  24. data/lib/ea/qea/infrastructure/table_reader.rb +33 -14
  25. data/lib/ea/qea/services/database_loader.rb +22 -6
  26. data/lib/ea/query/builder.rb +1 -1
  27. data/lib/ea/rtf.rb +98 -0
  28. data/lib/ea/sources/qea/annotation_builder.rb +1 -1
  29. data/lib/ea/spa/projector.rb +36 -19
  30. data/lib/ea/svg/ea_emitter/diagram_frame.rb +25 -12
  31. data/lib/ea/svg/ea_emitter/text_renderer.rb +28 -10
  32. data/lib/ea/theme/definition.rb +167 -16
  33. data/lib/ea/theme/loader.rb +129 -107
  34. data/lib/ea/theme/theme_document.rb +53 -0
  35. data/lib/ea/theme.rb +1 -0
  36. data/lib/ea/transformers.rb +1 -10
  37. data/lib/ea/version.rb +1 -1
  38. data/lib/ea/xmi/liquid_drops/klass_drop.rb +5 -0
  39. data/lib/ea/xmi/lookup_service.rb +40 -3
  40. data/lib/ea/xmi/parser.rb +3 -2
  41. data/lib/ea.rb +1 -1
  42. metadata +6 -404
  43. data/CLAUDE.md +0 -153
  44. data/Rakefile +0 -23
  45. data/TODO.complete/01-t-xref-parsing.md +0 -91
  46. data/TODO.complete/02-per-label-geometry.md +0 -50
  47. data/TODO.complete/03-object-properties-constraints.md +0 -57
  48. data/TODO.complete/04-operation-params.md +0 -37
  49. data/TODO.complete/05-pdata-flag-matrix.md +0 -52
  50. data/TODO.complete/06-emf-image-rendering.md +0 -34
  51. data/TODO.complete/07-auxiliary-tables.md +0 -47
  52. data/TODO.complete/10-mdg-stereotype-registry.md +0 -40
  53. data/TODO.complete/11-gml-xsd-generation.md +0 -42
  54. data/TODO.complete/13-shapescript-interpreter.md +0 -17
  55. data/TODO.complete/20-cli-diff.md +0 -46
  56. data/TODO.complete/21-cli-render.md +0 -26
  57. data/TODO.complete/22-cli-export.md +0 -29
  58. data/TODO.complete/23-cli-mdg.md +0 -23
  59. data/TODO.complete/30-headerlines-ocp-refactor.md +0 -72
  60. data/TODO.complete/31-public-send-cleanup.md +0 -61
  61. data/TODO.complete/32-spec-coverage.md +0 -33
  62. data/TODO.complete/33-blocked-parity-gaps.md +0 -41
  63. data/TODO.complete/36-stereotype-icon-wiring.md +0 -32
  64. data/TODO.complete/37-cli-lint.md +0 -32
  65. data/TODO.complete/38-cli-query.md +0 -26
  66. data/TODO.complete/39-cli-info.md +0 -23
  67. data/TODO.complete/40-ocl-evaluator.md +0 -31
  68. data/TODO.complete/41-round-trip-spec.md +0 -18
  69. data/TODO.complete/42-html-diff-report.md +0 -18
  70. data/TODO.complete/43-json-schema-export.md +0 -20
  71. data/TODO.complete/44-remaining-qea-tables.md +0 -40
  72. data/TODO.complete/45-shapescript-extensions.md +0 -25
  73. data/TODO.complete/46-xsd-consolidation.md +0 -20
  74. data/TODO.complete/47-headerlines-legacy-removal.md +0 -20
  75. data/TODO.complete/51-remove-respond-to.md +0 -52
  76. data/TODO.complete/52-xsd-decouple-fixtures.md +0 -23
  77. data/TODO.complete/53-xmi-public-send-cleanup.md +0 -26
  78. data/TODO.complete/54-wire-stereotype-icon-renderer.md +0 -20
  79. data/TODO.complete/55-wire-shapescript.md +0 -20
  80. data/TODO.complete/56-wire-emf-renderer.md +0 -27
  81. data/TODO.complete/57-wire-ocl-evaluator.md +0 -23
  82. data/TODO.complete/58-diff-modifications.md +0 -21
  83. data/TODO.complete/59-delete-toy-xmi-export.md +0 -30
  84. data/TODO.complete/60-curate-json-export.md +0 -20
  85. data/TODO.complete/61-plantuml-relationships.md +0 -22
  86. data/TODO.complete/62-changelog.md +0 -17
  87. data/TODO.complete/63-dependabot-fix.md +0 -18
  88. data/TODO.complete/64-qeatoxmi-connectors.md +0 -15
  89. data/TODO.complete/65-qeatoxmi-diagrams.md +0 -15
  90. data/TODO.complete/66-qeatoxmi-style-tags-docs.md +0 -35
  91. data/TODO.complete/67-ocl-collection-ops.md +0 -20
  92. data/TODO.complete/68-ocl-comparison-ops.md +0 -24
  93. data/TODO.complete/69-spec-new-models.md +0 -20
  94. data/TODO.complete/70-specs-for-all-models.md +0 -21
  95. data/TODO.complete/71-autoload-audit.md +0 -26
  96. data/TODO.complete/72-extension-serializer-ocp-naming.md +0 -26
  97. data/TODO.complete/73-ocl-validator-latent-bugs.md +0 -50
  98. data/TODO.complete/74-visibility-symbol-dry.md +0 -39
  99. data/TODO.complete/75-database-table-collection-registry.md +0 -32
  100. data/TODO.complete/76-stale-todo-cleanup.md +0 -52
  101. data/TODO.complete/77-eliminate-banned-patterns-from-specs.md +0 -55
  102. data/TODO.complete/78-mdg-stereotype-emission.md +0 -66
  103. data/TODO.complete/79-equivalence-fixes.md +0 -57
  104. data/TODO.complete/80-performance-extension-serializer-indexes.md +0 -43
  105. data/TODO.complete/81-dry-scope-guid-extraction.md +0 -33
  106. data/TODO.complete/82-public-send-audit-conclusion.md +0 -25
  107. data/TODO.complete/83-dry-shared-xml-escape-guid-format.md +0 -52
  108. data/TODO.complete/84-ocp-markers-shape-registry.md +0 -54
  109. data/TODO.complete/85-frozen-literal-rubocop-normalize-type-spec.md +0 -38
  110. data/TODO.complete/86-frozen-sweep-lint-query-specs.md +0 -55
  111. data/TODO.complete/STATUS.md +0 -106
  112. data/TODO.diagrams/01-svg-measurement-harness.md +0 -31
  113. data/TODO.diagrams/01-xmi-extension-elements-parsing.md +0 -67
  114. data/TODO.diagrams/02-diagram-element-rich-model.md +0 -61
  115. data/TODO.diagrams/02-polygon-over-rendering.md +0 -29
  116. data/TODO.diagrams/03-ea-style-svg-emitter.md +0 -70
  117. data/TODO.diagrams/03-text-over-rendering.md +0 -30
  118. data/TODO.diagrams/04-connector-routing-from-soid-eoid.md +0 -55
  119. data/TODO.diagrams/04-rect-under-rendering.md +0 -33
  120. data/TODO.diagrams/05-canvas-dimension-parity.md +0 -51
  121. data/TODO.diagrams/05-marker-rendering-per-relationship-type.md +0 -49
  122. data/TODO.diagrams/06-connector-labels.md +0 -49
  123. data/TODO.diagrams/06-group-layering-parity.md +0 -39
  124. data/TODO.diagrams/07-canvas-size-and-viewbox.md +0 -39
  125. data/TODO.diagrams/07-text-content-fidelity.md +0 -65
  126. data/TODO.diagrams/08-qea-direct-pipeline.md +0 -46
  127. data/TODO.diagrams/08-visual-regression-harness.md +0 -34
  128. data/TODO.diagrams/09-cli-render-all-diagrams.md +0 -25
  129. data/TODO.diagrams/10-stereotype-color-config.md +0 -29
  130. data/TODO.diagrams/11-elkrb-auto-layout-integration.md +0 -53
  131. data/TODO.diagrams/12-connector-labels.md +0 -40
  132. data/TODO.diagrams/12-per-entity-svg-layer-ordering.md +0 -24
  133. data/TODO.diagrams/13-marker-polygon-vs-path-dispatch.md +0 -20
  134. data/TODO.diagrams/13-per-text-type-font-sizes.md +0 -33
  135. data/TODO.diagrams/14-center-header-text.md +0 -33
  136. data/TODO.diagrams/14-filter-diagram-frame-elements.md +0 -18
  137. data/TODO.diagrams/15-deep-dead-code-audit.md +0 -47
  138. data/TODO.diagrams/15-per-element-font-from-style.md +0 -24
  139. data/TODO.diagrams/16-canvas-marker-extent.md +0 -30
  140. data/TODO.diagrams/16-document-remaining-parity-gaps.md +0 -91
  141. data/TODO.diagrams/17-italic-abstract-classes.md +0 -28
  142. data/TODO.diagrams/17-remaining-parity-gaps.md +0 -90
  143. data/TODO.diagrams/18-canvas-from-image-bounds.md +0 -20
  144. data/TODO.diagrams/18-property-lookup-index.md +0 -42
  145. data/TODO.diagrams/19-connector-sx-sy-routing.md +0 -27
  146. data/TODO.diagrams/19-replace-respond-to-with-is-a.md +0 -31
  147. data/TODO.diagrams/20-split-labels-emitter.md +0 -56
  148. data/TODO.diagrams/20-visibility-glyph-font-encoding.md +0 -27
  149. data/TODO.diagrams/21-aggregation-navigability-arrow.md +0 -21
  150. data/TODO.diagrams/21-auto-generated-legend-block.md +0 -65
  151. data/TODO.diagrams/22-ghost-element-discriminator.md +0 -57
  152. data/TODO.diagrams/22-style-based-path-grouping.md +0 -28
  153. data/TODO.diagrams/23-marker-polygon-deduplication.md +0 -47
  154. data/TODO.diagrams/23-multiplicity-label-positioning.md +0 -29
  155. data/TODO.diagrams/24-marker-anchor-structural.md +0 -35
  156. data/TODO.diagrams/24-track-marker-anchors-structurally.md +0 -66
  157. data/TODO.diagrams/24-truncate-properties-to-fit-box.md +0 -24
  158. data/TODO.diagrams/26-phantom-general-parent-rendering.md +0 -59
  159. data/TODO.diagrams/27-path-grouping-mode-detection.md +0 -43
  160. data/TODO.diagrams/28-architecture-cleanup-batch.md +0 -47
  161. data/TODO.diagrams/30-decompose-elements-groups-for.md +0 -52
  162. data/TODO.diagrams/32-examples-coverage-batch.md +0 -78
  163. data/TODO.diagrams/36-instance-specification-model.md +0 -42
  164. data/TODO.diagrams/37-element-icon-decorations.md +0 -41
  165. data/TODO.diagrams/38-html-note-and-receptions.md +0 -32
  166. data/TODO.diagrams/39-property-stereotype-discriminator.md +0 -40
  167. data/TODO.diagrams/40-standalone-1-discriminator.md +0 -38
  168. data/TODO.diagrams/41-xmi-to-svg-pipeline.md +0 -113
  169. data/TODO.diagrams/42-close-all-parity-deltas.md +0 -69
  170. data/TODO.diagrams/43-marker-deduplication-strategy.md +0 -54
  171. data/TODO.diagrams/44-element-icon-decorations.md +0 -34
  172. data/TODO.diagrams/45-phantom-parent-class-boxes.md +0 -40
  173. data/TODO.diagrams/46-user-drawn-legend-swatches.md +0 -44
  174. data/TODO.diagrams/47-attribute-line-fidelity.md +0 -72
  175. data/TODO.diagrams/48-spec-coverage-critical-emitter-components.md +0 -45
  176. data/TODO.diagrams/49-spec-coverage-orchestrators.md +0 -25
  177. data/TODO.diagrams/50-examples-parity.md +0 -85
  178. data/TODO.diagrams/51-property-oy-gap-and-remaining-gaps.md +0 -48
  179. data/TODO.diagrams/52-marker-registration-architecture.md +0 -89
  180. data/TODO.diagrams/53-remaining-example-gaps.md +0 -86
  181. data/TODO.diagrams/54-display-name-nested-classes.md +0 -40
  182. data/TODO.diagrams/55-visibility-icon-discriminator.md +0 -58
  183. data/TODO.diagrams/56-package-contents-rendering.md +0 -148
  184. data/TODO.diagrams/57-instance-specification-model.md +0 -100
  185. data/TODO.diagrams/58-domain-model-note-text.md +0 -67
  186. data/TODO.diagrams/59-classes-arrow-discriminator.md +0 -57
  187. data/TODO.diagrams/60-testschema-association-marker.md +0 -40
  188. data/TODO.diagrams/61-legend-block-rendering.md +0 -55
  189. data/TODO.diagrams/61-plateau-parity-gaps.md +0 -59
  190. data/TODO.diagrams/62-ghost-element-rendering.md +0 -56
  191. data/TODO.diagrams/63-qualified-name-wrap.md +0 -36
  192. data/TODO.diagrams/64-property-stereotype-labels.md +0 -22
  193. data/TODO.diagrams/65-path-coordinate-frame.md +0 -62
  194. data/TODO.diagrams/67-path-coordinate-frame.md +0 -62
  195. data/TODO.diagrams/68-inherited-attributes.md +0 -65
  196. data/TODO.diagrams/69-package-anchor-conditional.md +0 -29
  197. data/TODO.diagrams/70-mdg-technology-support.md +0 -68
  198. data/TODO.diagrams/71-off-canvas-parent-ghost.md +0 -45
  199. data/TODO.diagrams/72-basic-attr-divider-paths.md +0 -39
  200. data/TODO.diagrams/73-plateau-polygon-gap.md +0 -69
  201. data/TODO.diagrams/74-plateau-rect-gap.md +0 -22
  202. data/TODO.diagrams/75-plateau-text-gap.md +0 -39
  203. data/TODO.diagrams/76-basic-poly-path-gaps.md +0 -41
  204. data/TODO.diagrams/77-basic-text-overrender.md +0 -40
  205. data/TODO.diagrams/78-headerlines-ocp-refactor.md +0 -65
  206. data/TODO.diagrams/79-architecture-backlog.md +0 -65
  207. data/TODO.diagrams/80-basic-triangle-polygons.md +0 -51
  208. data/TODO.diagrams/81-plateau-path-overrender.md +0 -53
  209. data/TODO.diagrams/82-appearance-canvas-offset.md +0 -54
  210. data/TODO.diagrams/83-3d-diagram-subtitle.md +0 -58
  211. data/TODO.diagrams/84-canvas-offset-mismatches.md +0 -61
  212. data/TODO.diagrams/85-phantom-property-overrender.md +0 -95
  213. data/TODO.diagrams/86-foreign-package-rule.md +0 -62
  214. data/TODO.diagrams/87-internal-tech-encryption.md +0 -80
  215. data/TODO.diagrams/EXAMPLES_STATUS.md +0 -88
  216. data/TODO.diagrams/README.md +0 -69
  217. data/TODO.diagrams/STATUS.md +0 -73
  218. data/TODO.fixup/01-default-grouped-paths.md +0 -34
  219. data/TODO.fixup/02-marker-consolidation-per-connector.md +0 -20
  220. data/TODO.fixup/03-diagram-font-inference.md +0 -28
  221. data/TODO.fixup/04-extract-bounds-calculator.md +0 -25
  222. data/TODO.fixup/05-marker-registry-ocp.md +0 -32
  223. data/TODO.fixup/06-connector-path-bend-routing.md +0 -28
  224. data/TODO.fixup/07-edge-attachment-formula.md +0 -22
  225. data/TODO.fixup/08-visual-diff-harness.md +0 -28
  226. data/TODO.fixup/09-extract-element-compartments.md +0 -34
  227. data/TODO.fixup/10-canvas-width-overshoot-fix.md +0 -20
  228. data/TODO.fixup/11-layer-sequencer-extraction.md +0 -18
  229. data/TODO.fixup/12-path-style-harmony.md +0 -23
  230. data/TODO.fixup/13-datatype-stereotype-fallback.md +0 -28
  231. data/TODO.fixup/14-ea-exe-reverse-engineering-notes.md +0 -56
  232. data/TODO.fixup/15-enumeration-literal-rendering.md +0 -30
  233. data/TODO.fixup/16-operation-compartment-rendering.md +0 -42
  234. data/TODO.fixup/17-path-count-calibration.md +0 -27
  235. data/TODO.fixup/18-polygon-count-calibration.md +0 -32
  236. data/TODO.fixup/19-rect-count-undershoot-investigation.md +0 -40
  237. data/TODO.fixup/20-stereotype-color-from-classifier.md +0 -18
  238. data/TODO.fixup/21-visibility-filter-for-properties.md +0 -24
  239. data/TODO.fixup/22-multiplicity-display-rule-calibration.md +0 -25
  240. data/TODO.fixup/23-diagram-frame-title-element.md +0 -31
  241. data/TODO.fixup/24-note-element-rendering.md +0 -23
  242. data/TODO.fixup/25-ea-exe-disassembly-findings.md +0 -177
  243. data/TODO.fixup/26-svg-renderer-architecture.md +0 -78
  244. data/TODO.fixup/27-svg-element-emitters-disassembly.md +0 -135
  245. data/TODO.fixup/28-geometry-parser-identification.md +0 -57
  246. data/TODO.fixup/29-qea-svg-xmi-triple-comparison.md +0 -185
  247. data/TODO.fixup/30-theme-system-stub.md +0 -46
  248. data/TODO.fixup/31-theme-value-object-registry.md +0 -17
  249. data/TODO.fixup/32-styleex-on-diagram-model.md +0 -22
  250. data/TODO.fixup/33-text-encoding-decimals-rotation.md +0 -29
  251. data/TODO.fixup/34-per-type-fill-via-theme.md +0 -18
  252. data/TODO.fixup/35-stroke-width-per-theme.md +0 -7
  253. data/TODO.fixup/36-qea-rect-coord-normalization.md +0 -24
  254. data/TODO.fixup/37-package-shape-rendering.md +0 -22
  255. data/TODO.fixup/38-note-element-rendering.md +0 -15
  256. data/TODO.fixup/39-styleex-flag-honoring.md +0 -25
  257. data/TODO.fixup/40-connector-dashed-lines.md +0 -15
  258. data/TODO.fixup/41-diagram-frame-showborder-detection.md +0 -23
  259. data/TODO.fixup/42-textrenderer-centralization.md +0 -10
  260. data/TODO.fixup/43-colorresolver-unification.md +0 -24
  261. data/TODO.fixup/44-theme-aware-textrenderer.md +0 -17
  262. data/TODO.fixup/45-theme-aware-fontresolver.md +0 -22
  263. data/TODO.fixup/46-style-parameterized-by-theme.md +0 -21
  264. data/TODO.fixup/47-canvas-frame-inset.md +0 -19
  265. data/TODO.fixup/48-background-rect-format.md +0 -15
  266. data/TODO.fixup/49-all-samples-integration-test.md +0 -17
  267. data/TODO.fixup/50-svg-emitter-architecture-docs.md +0 -33
  268. data/TODO.fixup/51-promote-theme-to-ea-namespace.md +0 -28
  269. data/TODO.fixup/52-theme-definition-integrated-fills.md +0 -26
  270. data/TODO.fixup/53-theme-registry-yaml-loading.md +0 -50
  271. data/TODO.fixup/54-diagram-theme-api.md +0 -50
  272. data/TODO.fixup/55-update-eaemitter-to-ea-theme.md +0 -23
  273. data/TODO.fixup/56-theme-yaml-files.md +0 -65
  274. data/TODO.fixup/57-theme-specs-and-integration.md +0 -27
  275. data/TODO.fixup/58-ea-entry-point-theme-autoload.md +0 -20
  276. data/TODO.fixup/59-thread-theme-through-all-renderers.md +0 -29
  277. data/TODO.fixup/60-cli-theme-option.md +0 -22
  278. data/TODO.fixup/61-theme-validation.md +0 -28
  279. data/TODO.fixup/62-theme-builder-dsl.md +0 -31
  280. data/TODO.fixup/63-theme-integration-rendering-spec.md +0 -24
  281. data/TODO.fixup/64-theme-writeback-styleex.md +0 -21
  282. data/TODO.fixup/65-remove-dead-eaemitter-theme-files.md +0 -30
  283. data/TODO.fixup/66-styleex-writeback.md +0 -22
  284. data/TODO.fixup/67-delete-dead-code.md +0 -28
  285. data/TODO.fixup/68-figure-parity-status.md +0 -82
  286. data/TODO.fixup/69-package-polygon-rendering.md +0 -54
  287. data/TODO.fixup/70-tagged-values-compartment.md +0 -39
  288. data/TODO.fixup/71-auto-detect-theme-from-xmi.md +0 -37
  289. data/TODO.fixup/72-sample-exports-as-regression-specs.md +0 -37
  290. data/TODO.fixup/73-delete-dead-transformations.md +0 -14
  291. data/TODO.fixup/74-delete-dead-diagram-renderers.md +0 -18
  292. data/TODO.fixup/75-visibility-legend-icons.md +0 -23
  293. data/TODO.fixup/76-plateau-text-undershoot.md +0 -27
  294. data/TODO.fixup/77-canvas-frame-margins.md +0 -28
  295. data/TODO.fixup/78-note-element-rendering.md +0 -30
  296. data/TODO.fixup/79-operation-compartment-rendering.md +0 -27
  297. data/TODO.fixup/80-tagged-value-stereotype-visibility.md +0 -37
  298. data/TODO.fixup/81-figure-parity-current-state.md +0 -63
  299. data/TODO.next/00-publish-blocking-bugs.md +0 -74
  300. data/TODO.next/01-standalone-ea-gem-identity.md +0 -76
  301. data/TODO.next/02-optional-lutaml-uml-dependency.md +0 -47
  302. data/TODO.next/03-slim-lutaml-uml.md +0 -79
  303. data/TODO.next/04-loader-registry-for-uml-repository.md +0 -49
  304. data/TODO.next/05-extract-shared-transformer-methods.md +0 -14
  305. data/TODO.next/06-deduplicate-stereotype-loading.md +0 -17
  306. data/TODO.next/07-transformer-registry-in-factory.md +0 -20
  307. data/TODO.next/08-connector-type-registry.md +0 -27
  308. data/TODO.next/09-element-renderer-registry.md +0 -29
  309. data/TODO.next/10-connector-renderer-lsp.md +0 -18
  310. data/TODO.next/11-consolidate-style-knowledge.md +0 -33
  311. data/TODO.next/12-data-driven-from-db-row.md +0 -24
  312. data/TODO.next/13-extract-duplicated-methods.md +0 -17
  313. data/TODO.next/14-remove-dead-code.md +0 -10
  314. data/TODO.next/15-narrow-exception-handling.md +0 -39
  315. data/TODO.next/16-repository-indexes.md +0 -28
  316. data/TODO.next/17-fix-spec-quality-and-coverage.md +0 -32
  317. data/TODO.next/18-xmi-tool-specific-parser-architecture.md +0 -172
  318. data/TODO.next/19-fix-ea-gemspec-dependency-declarations.md +0 -56
  319. data/TODO.next/20-ci-requires-unreleased-lutaml-uml.md +0 -63
  320. data/TODO.next/21-qeatoxmi-via-xmi-gem.md +0 -340
  321. data/TODO.next/22-strip-respond-to-from-qeatoxmi-specs.md +0 -32
  322. data/TODO.next/23-cleanup-idallocator.md +0 -41
  323. data/TODO.next/24-tighten-parity-specs.md +0 -42
  324. data/TODO.next/25-sparx-eaid-format-for-synthesized-ids.md +0 -62
  325. data/TODO.next/26-fix-uppervalue-lowervalue-count-gap.md +0 -51
  326. data/TODO.next/27-extract-cardinality-module.md +0 -68
  327. data/TODO.next/28-extract-xml-sanitizer.md +0 -51
  328. data/TODO.next/29-ocp-registry-for-classifier-builders.md +0 -58
  329. data/TODO.next/30-struct-return-for-association-end.md +0 -37
  330. data/TODO.next/31-idallocator-specs.md +0 -27
  331. data/TODO.next/32-phase2-gap-sentinel-specs.md +0 -53
  332. data/TODO.next/33-normalize-lower-cleanup.md +0 -30
  333. data/TODO.next/34-document-member-end-order-rt-prefix.md +0 -29
  334. data/TODO.next/35-walk-runstate-for-instance-slots.md +0 -76
  335. data/TODO.next/36-wire-interface-realization.md +0 -50
  336. data/TODO.next/37-visibility-returns-real-booleans.md +0 -36
  337. data/TODO.next/38-xmi-parser-feature-parity.md +0 -75
  338. data/TODO.next/39-ea-spa-cli-command.md +0 -53
  339. data/TODO.next/40-drop-lur-only-check-in-diagrams-extract.md +0 -56
  340. data/TODO.refactor/01-ea-model-domain-layer.md +0 -64
  341. data/TODO.refactor/02-ea-model-qea-source-adapter.md +0 -58
  342. data/TODO.refactor/03-ea-model-xmi-source-adapter.md +0 -33
  343. data/TODO.refactor/04-ea-model-annotations-tagged-values.md +0 -34
  344. data/TODO.refactor/05-ea-model-diagrams-coordinates.md +0 -37
  345. data/TODO.refactor/06-spa-projection-layer.md +0 -45
  346. data/TODO.refactor/07-spa-sharded-output-strategy.md +0 -28
  347. data/TODO.refactor/08-spa-build-time-search-index.md +0 -24
  348. data/TODO.refactor/09-spa-frontend-data-contract.md +0 -25
  349. data/TODO.refactor/10-spa-cli-command-rework.md +0 -34
  350. data/TODO.refactor/11-spa-perf-benchmark.md +0 -23
  351. data/TODO.refactor/12-lutaml-uml-static-site-deprecation.md +0 -28
  352. data/TODO.release/01-release-lutaml-uml-030.md +0 -30
  353. data/TODO.release/02-fix-lutaml-meta-gem-requires.md +0 -33
  354. data/TODO.release/03-release-lutaml-0110.md +0 -20
  355. data/TODO.release/04-update-ea-gemspec-pin.md +0 -23
  356. data/TODO.release/05-remove-ea-conditional-requires.md +0 -48
  357. data/TODO.release/06-release-ea-020.md +0 -20
  358. data/TODO.release/07-migrate-plateau-model.md +0 -35
  359. data/TODO.release/README.md +0 -15
  360. data/config/diagram_styles.yml +0 -200
  361. data/config/model_transformations.yml +0 -266
  362. data/docs/ea_to_uml_type_mapping.md +0 -89
  363. data/docs/xmi_qea_conversion_capabilities.md +0 -99
  364. data/examples/exports/20251010_current_plateau_v5/UML_EA.DTD +0 -6856
  365. data/examples/exports/20251010_current_plateau_v5/model.xml +0 -96709
  366. data/examples/exports/ArcGISWorkspace_template/UML_EA.DTD +0 -6856
  367. data/examples/exports/ArcGISWorkspace_template/model.xml +0 -1427
  368. data/examples/exports/UmlModel_template/UML_EA.DTD +0 -6856
  369. data/examples/exports/UmlModel_template/model.xml +0 -23
  370. data/examples/exports/basic/UML_EA.DTD +0 -6856
  371. data/examples/exports/basic/model.xml +0 -8039
  372. data/examples/exports/simple/UML_EA.DTD +0 -6856
  373. data/examples/exports/simple/model.xml +0 -585
  374. data/examples/exports/simple_example/UML_EA.DTD +0 -6856
  375. data/examples/exports/simple_example/model.xml +0 -23
  376. data/examples/exports/test/UML_EA.DTD +0 -6856
  377. data/examples/exports/test/model.xml +0 -1638
  378. data/examples/lur/20251010_current_plateau_v5.1.lur +0 -0
  379. data/examples/lur/basic.lur +0 -0
  380. data/examples/lur/test-output.lur +0 -0
  381. data/examples/lur/test.lur +0 -0
  382. data/examples/lur_basic_usage.rb +0 -221
  383. data/examples/lur_cli_workflow.rb +0 -263
  384. data/examples/lur_statistics.rb +0 -326
  385. data/examples/qea/20251010_current_plateau_v5.1.qea +0 -0
  386. data/examples/qea/ArcGISWorkspace_template.qea +0 -0
  387. data/examples/qea/README_qea_parser.adoc +0 -230
  388. data/examples/qea/UmlModel_template.qea +0 -0
  389. data/examples/qea/basic.qea +0 -0
  390. data/examples/qea/simple.qea +0 -0
  391. data/examples/qea/simple_example.qea +0 -0
  392. data/examples/qea/test.qea +0 -0
  393. data/examples/qea_standalone_query.rb +0 -73
  394. data/examples/qea_to_repository.rb +0 -51
  395. data/examples/smoke_test_real_qea.rb +0 -81
  396. data/frontend/README.md +0 -51
  397. data/frontend/dist/app.iife.js +0 -24
  398. data/frontend/dist/style.css +0 -1
  399. data/frontend/index.html +0 -26
  400. data/frontend/package-lock.json +0 -2359
  401. data/frontend/package.json +0 -26
  402. data/frontend/src/App.vue +0 -63
  403. data/frontend/src/app.ts +0 -8
  404. data/frontend/src/components/AppHeader.vue +0 -154
  405. data/frontend/src/components/AppSidebar.vue +0 -119
  406. data/frontend/src/components/ClassDetails.vue +0 -230
  407. data/frontend/src/components/DiagramView.vue +0 -92
  408. data/frontend/src/components/PackageDetails.vue +0 -133
  409. data/frontend/src/components/PackageTreeNode.vue +0 -69
  410. data/frontend/src/components/SearchResults.vue +0 -61
  411. data/frontend/src/components/WelcomeView.vue +0 -87
  412. data/frontend/src/shims-vue.d.ts +0 -5
  413. data/frontend/src/stores/dataStore.ts +0 -173
  414. data/frontend/src/stores/uiStore.ts +0 -166
  415. data/frontend/src/styles/main.css +0 -1566
  416. data/frontend/src/types.ts +0 -218
  417. data/frontend/tests/e2e/__screenshots__/new-dark-mode.png +0 -0
  418. data/frontend/tests/e2e/__screenshots__/new-package-details.png +0 -0
  419. data/frontend/tests/e2e/__screenshots__/new-search-modal.png +0 -0
  420. data/frontend/tests/e2e/__screenshots__/new-sidebar-collapsed.png +0 -0
  421. data/frontend/tests/e2e/__screenshots__/new-welcome.png +0 -0
  422. data/frontend/tests/e2e/render.spec.ts +0 -188
  423. data/frontend/tsconfig.json +0 -20
  424. data/frontend/vite.config.ts +0 -26
  425. data/frontend/vitest.config.ts +0 -8
  426. data/gemfiles/published.gemfile +0 -24
  427. data/lib/ea/cli/command/repository_builder.rb +0 -64
  428. data/lib/ea/transformers/uml_to_xmi/id_generator.rb +0 -54
  429. data/lib/ea/transformers/uml_to_xmi/transformer.rb +0 -152
  430. data/lib/ea/transformers/uml_to_xmi/writer.rb +0 -96
  431. data/lib/ea/validation/xmi_parity.rb +0 -80
  432. data/lib/ea/validation.rb +0 -12
  433. data/memory/deviations.md +0 -3
  434. data/reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-1-themes-list.png +0 -0
  435. data/reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-1-themes.png +0 -0
  436. data/reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-2-gradients.png +0 -0
  437. data/reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-3-colors.png +0 -0
  438. data/reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-4-appearance-fonts.png +0 -0
  439. data/reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-4-appearance.png +0 -0
  440. data/reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-5-behavior.png +0 -0
  441. data/reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-6-sequence.png +0 -0
  442. data/reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram.png +0 -0
  443. data/reference-docs/enterprise-architect-appearance-dialogs/appearance-2-objects.png +0 -0
  444. data/reference-docs/enterprise-architect-appearance-dialogs/appearance-3-links.png +0 -0
@@ -1,64 +0,0 @@
1
- # 01 - Ea::Model Domain Layer
2
-
3
- ## Status: DONE (2026-07-19)
4
-
5
- ## Problem
6
-
7
- EA QEA/XMI sources are tightly coupled to their storage format. The
8
- existing pipeline funnels everything through `Lutaml::Uml::Document`,
9
- which is lossy (drops annotations, tagged values, diagram coordinates)
10
- and slow (allocates huge Ruby object graphs).
11
-
12
- We need a canonical in-process domain model — `Ea::Model::*` — that
13
- both QEA and XMI sources harmonize into. The model is the single
14
- source of truth for "what the model IS". Source format becomes
15
- irrelevant once you're in `Ea::Model`.
16
-
17
- ## Architectural Principle
18
-
19
- Hexagonal / Ports & Adapters. `Ea::Model` is the hexagon:
20
- - **Driving ports** = source adapters (`Ea::Sources::Qea`,
21
- `Ea::Sources::Xmi`) that produce model instances from source files.
22
- - **Driven ports** = consumer adapters (`Ea::Spa`, future
23
- `Ea::Export::*`, `Ea::Validate::*`, `Ea::Compare::*`) that project
24
- or transform the model for their use case.
25
-
26
- Dependencies point inward only. The model never knows about a source
27
- format; consumers never know about a source format.
28
-
29
- ## Domain Types
30
-
31
- - `Ea::Model::Document` — root container (packages, classifiers,
32
- relationships, diagrams, stereotypes)
33
- - `Ea::Model::Package` — hierarchical containment (sub-packages,
34
- owned classifiers)
35
- - `Ea::Model::Classifier` (abstract) → `Class`, `DataType`,
36
- `PrimitiveType`, `Enumeration`, `Interface`
37
- - `Ea::Model::Property` — typed slot, multiplicity, defaults,
38
- stereotypes, tagged values
39
- - `Ea::Model::Operation` — signature, parameters, return type
40
- - `Ea::Model::Parameter`
41
- - `Ea::Model::Relationship` (abstract) → `Association` (two ends),
42
- `Generalization`, `Realization`, `Dependency`
43
- - `Ea::Model::EnumerationLiteral`
44
- - `Ea::Model::Stereotype` — first-class, with tagged-value schema
45
- - `Ea::Model::TaggedValue` — first-class (key, value, scope)
46
- - `Ea::Model::Annotation` — first-class (type, body, author)
47
- - `Ea::Model::Diagram` + `DiagramElement` (with bounds/style) +
48
- `DiagramConnector` (with waypoints/style)
49
- - `Ea::Model::Point` (x,y), `Ea::Model::Bounds` (x,y,w,h),
50
- `Ea::Model::Waypoint`
51
-
52
- ## Files
53
-
54
- - `lib/ea/model.rb` — namespace + autoloads
55
- - `lib/ea/model/base.rb` — `Ea::Model::Base` (lutaml-model subclass,
56
- common `id`, `name`, `qualified_name` attrs)
57
- - One file per type under `lib/ea/model/`
58
- - `spec/ea/model/*_spec.rb` — type-level specs
59
-
60
- ## Verification
61
-
62
- - Each type has a spec verifying attributes, defaults, JSON round-trip
63
- - `Ea::Model::Document` builds in-memory fixtures for use by upstream
64
- specs (no source-format coupling in model specs)
@@ -1,58 +0,0 @@
1
- # 02 - QEA Source Adapter
2
-
3
- ## Status: DONE (2026-07-19)
4
-
5
- ## Problem
6
-
7
- `Ea::Qea::Database` is a typed wrap of the Sparx SQLite schema. It
8
- mirrors the schema 1:1 — `t_object`, `t_package`, `t_connector`,
9
- `t_attribute`, `t_operation`, `t_diagram`, `t_diagramlinks`,
10
- `t_objectproperties`, `t_objectconstrains`, etc. — with their
11
- packed-string columns and integer-coded types. It is intentionally
12
- faithful to the source format.
13
-
14
- `Ea::Model::*` is the canonical domain. Something has to translate.
15
-
16
- ## Approach
17
-
18
- `Ea::Sources::Qea::Adapter` is a driving adapter: takes a
19
- `Ea::Qea::Database`, produces an `Ea::Model::Document`. The adapter
20
- walks the database tables once, builds typed model instances, and
21
- resolves foreign-key references into model-id references.
22
-
23
- The adapter is structured as a coordinator + per-table builders
24
- (OCP/MECE):
25
- - `Adapter` — orchestrates traversal
26
- - `PackageBuilder` — `t_package → Model::Package`
27
- - `ClassifierBuilder` — `t_object (Class/DataType/Enum/Interface)
28
- → Model::Classifier subclass`
29
- - `PropertyBuilder` — `t_attribute → Model::Property`
30
- - `OperationBuilder` — `t_operation + t_operationsparams →
31
- Model::Operation`
32
- - `RelationshipBuilder` — `t_connector → Model::Relationship
33
- subclass` (dispatches on `Connector_Type`)
34
- - `StereotypeBuilder` — `t_object + stylename → Model::Stereotype
35
- application`
36
- - `TaggedValueBuilder` — `t_objectproperties → Model::TaggedValue`
37
- - `AnnotationBuilder` — `t_object.Note + t_document →
38
- Model::Annotation`
39
- - `DiagramBuilder` — `t_diagram + t_diagramlinks + t_dg +
40
- t_connector → Model::Diagram` (with coordinates!)
41
-
42
- ID normalization: EA GUIDs (`{GUID}`) are normalized to plain
43
- strings. References become model `id` references (decoupled from
44
- source format).
45
-
46
- ## Files
47
-
48
- - `lib/ea/sources.rb` — namespace
49
- - `lib/ea/sources/qea.rb` — namespace + autoloads
50
- - `lib/ea/sources/qea/adapter.rb`
51
- - `lib/ea/sources/qea/*.rb` — per-table builders
52
- - `spec/ea/sources/qea/*_spec.rb`
53
-
54
- ## Verification
55
-
56
- - Builder specs against in-memory `Ea::Qea` fixtures
57
- - Round-trip: real QEA fixture → `Ea::Model::Document`, assert
58
- package/class/relationship counts and known element names
@@ -1,33 +0,0 @@
1
- # 03 - XMI Source Adapter
2
-
3
- ## Status: DONE (2026-07-19)
4
-
5
- ## Problem
6
-
7
- Sparx-flavored XMI files (`.xmi`) parse into `Xmi::Sparx::Root`.
8
- Same harmonization problem as QEA — different format, same model.
9
-
10
- ## Approach
11
-
12
- `Ea::Sources::Xmi::Adapter` mirrors the QEA adapter's structure
13
- (coordinator + per-element builders), but reads from the parsed
14
- `Xmi::Sparx::Root` tree instead of SQLite tables. Builders
15
- dispatch on `xmi:type` discriminator (`uml:Class`,
16
- `uml:Association`, etc.).
17
-
18
- Deferred until TODOs 01, 02, 06, 10 are green so the SPA pipeline
19
- proves itself on QEA first (the perf pain point). XMI is already
20
- served by the existing `lutaml-uml` pipeline; the EA-native QEA
21
- pipeline is the gap.
22
-
23
- ## Files
24
-
25
- - `lib/ea/sources/xmi.rb` + `lib/ea/sources/xmi/adapter.rb` +
26
- per-element builders
27
- - `spec/ea/sources/xmi/*_spec.rb`
28
-
29
- ## Verification
30
-
31
- - Round-trip on existing `spec/fixtures/*.xmi`
32
- - Parity assertions vs the QEA adapter where the same model is
33
- available in both formats
@@ -1,34 +0,0 @@
1
- # 04 - Annotations and Tagged Values (the EA value-add)
2
-
3
- ## Status: DONE (2026-07-19, folded into TODO 01)
4
-
5
- ## Problem
6
-
7
- Pure-UML pipelines drop or downplay the EA value-add: rich
8
- annotations (notes, documentation, change history) and tagged
9
- values (key/value metadata scoped to stereotypes). The canonical
10
- `Ea::Model` must capture these as first-class concepts.
11
-
12
- ## Approach
13
-
14
- Modeled in TODO 01 as:
15
-
16
- - `Ea::Model::Annotation` — `type` (enum: comment/documentation/
17
- change/file/requirement), `body`, `author`, `modified_date`
18
- - `Ea::Model::TaggedValue` — `key`, `value`, `stereotype_ref`
19
- (optional; nil for unscoped tagged values)
20
- - `Ea::Model::Stereotype` — `name`, `qualified_name`, `profile`,
21
- plus its tagged-value schema (declared keys with type/default)
22
-
23
- These types live alongside Classifiers/Properties in the model —
24
- they're not afterthoughts. The QEA source adapter populates them
25
- from `t_object.Note`, `t_objectproperties`, `t_objectconstraints`,
26
- etc.
27
-
28
- ## Verification
29
-
30
- - Spec: a Class with 3 annotations of different types round-trips
31
- - Spec: a Class with 2 stereotypes, each with tagged values,
32
- round-trips
33
- - Spec: search projection includes annotation bodies in search
34
- content
@@ -1,37 +0,0 @@
1
- # 05 - Diagrams with Coordinates (the EA value-add)
2
-
3
- ## Status: DONE (2026-07-19, folded into TODO 01)
4
-
5
- ## Problem
6
-
7
- EA diagrams carry pixel-accurate element positions, connector
8
- waypoints, color and font styling. UML-only SPAs drop all of this
9
- and present a tree of classes. For browsing the original model,
10
- the diagram IS the artifact.
11
-
12
- ## Approach
13
-
14
- Modeled in TODO 01 as:
15
-
16
- - `Ea::Model::Diagram` — owns elements + connectors + metadata
17
- - `Ea::Model::DiagramElement` — `model_element_ref` (id to a
18
- Classifier/Package/etc.), `bounds` (x,y,w,h), `style` (parsed
19
- from EA's packed `Style` string into typed fields: fill, line,
20
- font, etc.)
21
- - `Ea::Model::DiagramConnector` — `relationship_ref` (id to a
22
- Relationship), `waypoints` (ordered list of Points), `labels`,
23
- `style`
24
- - `Ea::Model::Waypoint` — `Point` + optional routing hint
25
- - `Ea::Model::Point` (x: Integer, y: Integer)
26
- - `Ea::Model::Bounds` (x, y, width, height)
27
-
28
- Style parsing lives in `Ea::Sources::Qea::DiagramStyleParser` —
29
- takes the EA `styleex`/`Style` packed strings and emits a typed
30
- `DiagramStyle` value. Same parser pattern as `Ea::Diagram::StyleParser`
31
- (which exists today for the SVG renderer); we share or unify.
32
-
33
- ## Verification
34
-
35
- - Spec: parse a real EA diagram from plateau model fixture, assert
36
- element bounds and connector waypoints are non-empty
37
- - Spec: diagram projects to SPA shape with bounds/waypoints intact
@@ -1,45 +0,0 @@
1
- # 06 - SPA Projection Layer
2
-
3
- ## Status: DONE (2026-07-19)
4
-
5
- ## Problem
6
-
7
- The SPA needs a view of the model that's shardable, searchable,
8
- and lazy-loadable. But sharding/search/lazy-loading are properties
9
- of the *view*, not the model — putting them on `Ea::Model::*`
10
- would couple the model to one consumer.
11
-
12
- ## Approach
13
-
14
- `Ea::Spa::*` is the projection. One-way transform from
15
- `Ea::Model::Document` to view-shaped artifacts:
16
-
17
- - `Ea::Spa::Projector` — walks the model, emits:
18
- - `Skeleton` — top-level: metadata + package tree + flat
19
- classifier index (`id, name, type, package_id, qualified_name`)
20
- - `Shard` (per-entity) — full detail of one Class/Package/etc.
21
- including properties/operations/relationships/annotations/
22
- tagged values
23
- - `SearchIndex` — flat search entries (id, type, name, qname,
24
- package, content) ready for MiniSearch
25
- - `PackageTree` — hierarchical navigation tree
26
-
27
- Projection is lossy by design: the SPA doesn't carry every model
28
- field; it carries what browsing needs.
29
-
30
- ## Files
31
-
32
- - `lib/ea/spa.rb` — namespace
33
- - `lib/ea/spa/projector.rb`
34
- - `lib/ea/spa/skeleton.rb`, `skeleton_entry.rb`
35
- - `lib/ea/spa/shard.rb`, `shard_writer.rb`
36
- - `lib/ea/spa/search_index.rb`, `search_entry.rb`
37
- - `lib/ea/spa/package_tree.rb`, `package_tree_node.rb`
38
- - `lib/ea/spa/lazy_ref.rb`
39
- - `spec/ea/spa/*_spec.rb`
40
-
41
- ## Verification
42
-
43
- - Projector spec: in-memory model → skeleton/shards/search
44
- - Round-trip: QEA fixture → Model → Spa::Skeleton — assert
45
- element counts match
@@ -1,28 +0,0 @@
1
- # 07 - Sharded Output Strategy
2
-
3
- ## Status: DONE (2026-07-19)
4
-
5
- ## Problem
6
-
7
- Single-file output doesn't scale. For large models, the SPA must
8
- ship as skeleton + per-entity shards, loaded on demand.
9
-
10
- ## Approach
11
-
12
- Output strategy pattern (mirrors existing lutaml-uml shape):
13
-
14
- - `Ea::Spa::Output::Strategy` (abstract)
15
- - `Ea::Spa::Output::SingleFileStrategy` — embeds everything in
16
- one HTML (small models only)
17
- - `Ea::Spa::Output::ShardedMultiFileStrategy` — directory with
18
- `skeleton.json`, `search.json`, `data/classes/{id}.json`,
19
- `data/packages/{id}.json`, `data/diagrams/{id}.json`
20
-
21
- Size threshold auto-selects: under 2 MB JSON → single file, else
22
- sharded. Configurable.
23
-
24
- ## Verification
25
-
26
- - Spec: small model → single-file output
27
- - Spec: large model → sharded output, skeleton lists every
28
- classifier, each shard file exists and parses
@@ -1,24 +0,0 @@
1
- # 08 - Build-time Search Index
2
-
3
- ## Status: DONE (2026-07-19)
4
-
5
- ## Problem
6
-
7
- Frontend search currently scans a flat list in memory. For 10k+
8
- classes, that's slow. Need a real inverted index built at build
9
- time, lazy-loaded at run time.
10
-
11
- ## Approach
12
-
13
- `Ea::Spa::SearchIndex` produces documents in MiniSearch-friendly
14
- shape (id, name, qualifiedName, type, package, content with
15
- boosts). Frontend loads MiniSearch JS lib lazily on first search
16
- focus,hydrates the index from `search.json`.
17
-
18
- Frontend integration deferred until TODO 09 lands the data
19
- contract. Ruby-side emission: implemented in TODO 06.
20
-
21
- ## Verification
22
-
23
- - Spec: search index includes all classifiers with correct boosts
24
- - Spec: search content includes annotation bodies (rich)
@@ -1,25 +0,0 @@
1
- # 09 - SPA Frontend Data Contract
2
-
3
- ## Status: DEFERRED (frontend extraction)
4
-
5
- ## Problem
6
-
7
- Vue frontend lives in `lutaml-uml/frontend`. EA-side SPA needs to
8
- share it without forking.
9
-
10
- ## Approach
11
-
12
- Define a versioned JSON schema for the SPA data contract. Both
13
- `lutaml-uml`'s SPA and `Ea::Spa` produce JSON conforming to the
14
- schema. Frontend is extracted to its own npm package
15
- (`@lutaml/spa-frontend`) and consumed by both.
16
-
17
- Deferred until Ruby-side projection is proven stable. For now,
18
- `Ea::Spa` emits JSON in a shape compatible with the existing Vue
19
- frontend's data loader, so we can copy the frontend in for
20
- testing.
21
-
22
- ## Verification
23
-
24
- - Schema spec: every field documented, has a fixture
25
- - Cross-compat: existing Vue frontend can load `Ea::Spa`'s output
@@ -1,34 +0,0 @@
1
- # 10 - Rework `ea spa` CLI Command
2
-
3
- ## Status: DONE (2026-07-19)
4
-
5
- ## Problem
6
-
7
- `Ea::Cli::Command::Spa` currently delegates to
8
- `Lutaml::UmlRepository::StaticSite::Generator`, forcing the QEA →
9
- UML transform. The new pipeline is QEA → `Ea::Model` → `Ea::Spa`.
10
-
11
- ## Approach
12
-
13
- Rewire to:
14
- 1. `Ea.parse(file)` → source-specific model (QEA Database or XMI
15
- Root)
16
- 2. Source adapter → `Ea::Model::Document`
17
- 3. `Ea::Spa::Projector` → skeleton + shards + search index
18
- 4. `Ea::Spa::Output::Strategy` → HTML/JSON on disk
19
-
20
- Output mode auto-selected by payload size, overridable by
21
- `--mode=single_file|sharded` flag.
22
-
23
- ## Files
24
-
25
- - `lib/ea/cli/command/spa.rb` — reworked
26
- - `lib/ea/cli/command/repository_builder.rb` — extended to feed
27
- the new pipeline
28
- - `spec/ea/cli/spa_spec.rb` — end-to-end on a small fixture
29
-
30
- ## Verification
31
-
32
- - `ea spa path/to/small.qea` produces a valid SPA
33
- - `ea spa path/to/plateau-model/20251010_current_plateau_v5.1.qea`
34
- completes in minutes, not hours
@@ -1,23 +0,0 @@
1
- # 11 - SPA Performance Benchmark
2
-
3
- ## Status: DEFERRED (until pipeline is stable)
4
-
5
- ## Problem
6
-
7
- Need empirical proof that the 45 MB CityGML QEA becomes
8
- browseable.
9
-
10
- ## Approach
11
-
12
- Benchmark spec that:
13
- - Loads `plateau-model/20251010_current_plateau_v5.1.qea` (6 MB)
14
- - Loads `plateau-model/20260323_CityGML_3.0_Consolidated_Draft.qea`
15
- (45 MB)
16
- - Reports: parse time, model build time, projection time, output
17
- size, shard count
18
- - Snapshot to compare regressions
19
-
20
- ## Verification
21
-
22
- The plateau v5.1 must complete in < 60 s end-to-end on a laptop.
23
- CityGML 45 MB should complete in < 10 min.
@@ -1,28 +0,0 @@
1
- # 12 - lutaml-uml StaticSite Fate
2
-
3
- ## Status: DEFERRED (post-validation)
4
-
5
- ## Problem
6
-
7
- Once `Ea::Spa` is stable, `Lutaml::UmlRepository::StaticSite` is
8
- redundant for EA sources. Decide: deprecate, or repurpose as the
9
- "UML-purist" view for non-EA sources.
10
-
11
- ## Approach
12
-
13
- Three options:
14
- 1. **Deprecate entirely** — once EA users move to `ea spa`,
15
- remove from `lutaml-uml`. Cleanest.
16
- 2. **Keep as UML-purist SPA** — for users who want the abstracted
17
- UML view (e.g. after cross-vendor harmonization via
18
- `lutaml-uml`). Document as a separate use case.
19
- 3. **Keep as thin wrapper** — `lutaml-uml`'s SPA calls into
20
- `Ea::Spa` for EA sources, falls back to its own pipeline for
21
- non-EA. Hybrid.
22
-
23
- Decision deferred until `Ea::Spa` proves itself on the plateau
24
- model (TODO 11). Document the decision as an ADR when made.
25
-
26
- ## Verification
27
-
28
- Decision recorded; downstream callers notified if deprecation.
@@ -1,30 +0,0 @@
1
- # 01 — Release lutaml-uml 0.3.0
2
-
3
- **Status: PENDING**
4
-
5
- ## Problem
6
- The local lutaml-uml has 10 unpushed commits (559 files, +354k LOC)
7
- containing the UmlRepository + StaticSite + Vue frontend infrastructure.
8
- None of this is on rubygems. The published versions (0.2.12, 1.0.0)
9
- don't include any of it.
10
-
11
- This blocks ea CI — `lutaml/uml_repository` is not installable from
12
- rubygems.
13
-
14
- ## Steps
15
- 1. Commit all local changes on `chore/consolidate-todos` branch.
16
- 2. Bump version: `0.2.0` → `0.3.0`.
17
- 3. Verify `bundle exec rspec` passes.
18
- 4. Push branch + open PR.
19
- 5. Merge-rebase.
20
- 6. Trigger GHA release.
21
-
22
- ## Version rationale
23
- 0.3.0 not 0.2.13 because the UmlRepository + StaticSite is a major
24
- feature surface. 0.3.0 continues the 0.x API line (Lutaml::Uml::UmlClass
25
- etc.) that ea targets. Published 1.0.0 has a different API (renamed
26
- classes) and should be ignored / yanked.
27
-
28
- ## Verification
29
- - `gem list -r --exact lutaml-uml` shows 0.3.0.
30
- - `gem content lutaml-uml --version 0.3.0 | grep uml_repository` succeeds.
@@ -1,33 +0,0 @@
1
- # 02 — Fix lutaml meta-gem broken requires
2
-
3
- **Status: PENDING**
4
-
5
- ## Problem
6
- `lib/lutaml.rb` requires 6 files that don't exist:
7
-
8
- ```ruby
9
- require "lutaml/converter" # MISSING
10
- require "lutaml/ea" # MISSING (ea uses Ea:: namespace)
11
- require "lutaml/xmi" # MISSING (xmi uses Xmi:: namespace)
12
- require "lutaml/qea" # MISSING
13
- require "lutaml/model_transformations" # MISSING
14
- require "lutaml/cli" # MISSING
15
- ```
16
-
17
- `require "lutaml"` crashes immediately. The meta-gem is unusable.
18
-
19
- ## Fix
20
- Remove the 6 broken requires. Keep only the ones that resolve to
21
- real files in the gem's own `lib/` tree:
22
-
23
- ```ruby
24
- require_relative "lutaml/version"
25
- require "lutaml/lml"
26
- require "lutaml/uml"
27
- require "lutaml/uml_repository"
28
- ```
29
-
30
- ## Note
31
- The meta-gem should NOT try to remap other gems' namespaces. The ea
32
- gem uses `Ea::*`, the xmi gem uses `Xmi::*`. Users who want both should
33
- `require "ea"` and `require "xmi"` explicitly.
@@ -1,20 +0,0 @@
1
- # 03 — Release lutaml 0.11.0
2
-
3
- **Status: PENDING (depends on 02)**
4
-
5
- ## Problem
6
- Published 0.10.19 has phantom runtime deps (htmlentities, liquid,
7
- listen, nokogiri, paint, lutaml-path) that shouldn't be in the
8
- meta-gem gemspec. Plus the 6 broken requires from TODO 02.
9
-
10
- ## Steps
11
- 1. After TODO 02 fix is merged.
12
- 2. Bump version: `0.10.19` → `0.11.0`.
13
- 3. Verify `require "lutaml"` works without LoadError.
14
- 4. Push + merge.
15
- 5. Trigger GHA release.
16
-
17
- ## Verification
18
- - `require "lutaml"` succeeds.
19
- - No LoadError from missing requires.
20
- - Published gemspec deps are clean.
@@ -1,23 +0,0 @@
1
- # 04 — Update ea gemspec pin to ~> 0.3
2
-
3
- **Status: PENDING (depends on 01)**
4
-
5
- ## Problem
6
- ea.gemspec pins `spec.add_development_dependency "lutaml-uml", "~> 0.2.0"`.
7
- This resolves to 0.2.12 on rubygems, which doesn't have UmlRepository.
8
- CI fails on every PR.
9
-
10
- ## Fix
11
- ```ruby
12
- # BEFORE:
13
- spec.add_development_dependency "lutaml-uml", "~> 0.2.0"
14
-
15
- # AFTER:
16
- spec.add_development_dependency "lutaml-uml", "~> 0.3"
17
- ```
18
-
19
- `~> 0.3` means `>= 0.3.0, < 1.0.0`, which resolves to 0.3.0 (with
20
- UmlRepository) and excludes the incompatible 1.0.0.
21
-
22
- ## Verification
23
- - `bundle exec rspec` passes in CI (rubygems mode) without admin override.
@@ -1,48 +0,0 @@
1
- # 05 — Remove ea conditional require workarounds
2
-
3
- **Status: PENDING (depends on 01)**
4
-
5
- ## Problem
6
- Multiple spec files use `begin/rescue LoadError` around
7
- `require "lutaml/uml_repository"` because the published gem didn't
8
- ship the file. After lutaml-uml 0.3.0 is released, these workarounds
9
- are unnecessary noise.
10
-
11
- ## Files to simplify
12
-
13
- ### spec/spec_helper.rb
14
- ```ruby
15
- # BEFORE:
16
- begin
17
- require "lutaml/uml"
18
- rescue LoadError
19
- end
20
- begin
21
- require "lutaml/uml_repository"
22
- rescue LoadError
23
- end
24
-
25
- # AFTER:
26
- require "lutaml/uml"
27
- require "lutaml/uml_repository"
28
- ```
29
-
30
- ### spec/ea/diagram/extractor_spec.rb
31
- ```ruby
32
- # BEFORE:
33
- begin
34
- require "lutaml/uml_repository/repository"
35
- rescue LoadError
36
- end
37
- RSpec.configure do ... skip ... end
38
-
39
- # AFTER:
40
- require "lutaml/uml_repository/repository"
41
- ```
42
-
43
- ### spec/ea/qea/verification/comprehensive_equivalence_spec.rb
44
- Same pattern — remove begin/rescue + skip guard.
45
-
46
- ## Verification
47
- - Full suite passes without any conditional requires.
48
- - No `skip "lutaml/uml_repository not available"` messages.
@@ -1,20 +0,0 @@
1
- # 06 — Release ea 0.2.0
2
-
3
- **Status: PENDING (depends on 04, 05)**
4
-
5
- ## Problem
6
- ea is at 0.1.6. The gemspec pin change (`~> 0.2.0` → `~> 0.3`) is a
7
- breaking change for anyone using ea's dev dependency — they need to
8
- install lutaml-uml 0.3.0. This warrants a minor version bump.
9
-
10
- ## Steps
11
- 1. After TODO 04 and 05 are merged.
12
- 2. Bump version: `0.1.6` → `0.2.0`.
13
- 3. Verify `bundle exec rspec` passes in rubygems mode (CI mode).
14
- 4. Push + merge.
15
- 5. Trigger GHA release.
16
-
17
- ## Verification
18
- - ea 0.2.0 on rubygems.
19
- - `gem install ea && ea spa model.qea` works with published lutaml-uml 0.3.0.
20
- - CI passes WITHOUT admin override (first time ever).
@@ -1,35 +0,0 @@
1
- # 07 — Migrate plateau-model to ea gem
2
-
3
- **Status: PENDING (depends on 06)**
4
-
5
- ## Problem
6
- The plateau-model project (`/Users/mulgogi/src/mn/plateau-model`)
7
- currently depends on the broken `lutaml` meta-gem via a local path:
8
-
9
- ```ruby
10
- # Gemfile
11
- gem "lutaml", path: "/Users/mulgogi/src/lutaml/lutaml"
12
- ```
13
-
14
- And generates SPA via:
15
- ```bash
16
- bundle exec lutaml uml build-spa model.qea -o index.html
17
- ```
18
-
19
- ## Fix
20
- Switch to the standalone `ea` gem:
21
-
22
- ```ruby
23
- # Gemfile
24
- source "https://rubygems.org"
25
- gem "ea", "~> 0.2"
26
- ```
27
-
28
- ```bash
29
- bundle exec ea spa model.qea -o index.html
30
- ```
31
-
32
- ## Verification
33
- - Generated index.html is structurally equivalent to the existing one
34
- (same packages=58, diagrams=188, classes≈600).
35
- - No dependency on the lutaml meta-gem.
@@ -1,15 +0,0 @@
1
- # TODO.release — Streamlined dependency tree
2
-
3
- Execute each item in order. Each step depends on the previous.
4
-
5
- ## Index
6
-
7
- | # | Title | Gem | Priority |
8
- |---|---|---|---|
9
- | 01 | [Release lutaml-uml 0.3.0](01-release-lutaml-uml-030.md) | lutaml-uml | BLOCKING — critical path |
10
- | 02 | [Fix lutaml meta-gem broken requires](02-fix-lutaml-meta-gem-requires.md) | lutaml | high — independent of 01 |
11
- | 03 | [Release lutaml 0.11.0](03-release-lutaml-0110.md) | lutaml | high — depends on 02 |
12
- | 04 | [Update ea gemspec pin to ~> 0.3](04-update-ea-gemspec-pin.md) | ea | high — depends on 01 |
13
- | 05 | [Remove ea conditional require workarounds](05-remove-ea-conditional-requires.md) | ea | high — depends on 01 |
14
- | 06 | [Release ea 0.2.0](06-release-ea-020.md) | ea | high — depends on 04, 05 |
15
- | 07 | [Migrate plateau-model to ea gem](07-migrate-plateau-model.md) | plateau-model | medium — depends on 06 |