Skip to content

plantuml, rules_score: resolve split views as one group - #521

Merged
hoe-jo merged 1 commit into
mainfrom
joho_partial_overviews
Oct 14, 2026
Merged

hoe-jo merged 1 commit into
mainfrom
joho_partial_overviews

Conversation

@hoe-jo

@hoe-jo hoe-jo commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Allow a view to be split into overview and detail .puml files.

  • puml_cli resolves all inputs of a run (--file and --folders) as one group per diagram kind; only .puml inputs are accepted and the same --file twice is an error
  • component: bodied top-level element attaches to a same-name/type/ stereotype nested declaration in another file; relation targets resolve across files only when the own file does not know them, sources must be local (undirected relations belong to the local end)
  • class: overview declares a bodyless class, detail adds members; same group rules as component
  • sequence: one file declares the cast, scenarios use aliases
  • activity: group equals per-file resolution
  • errors: GroupResolveError reports "in : ..."; a file of the wrong diagram kind reports "expected a Component diagram, found a X diagram"
  • validation: component anchoring check runs in the architectural_design profile only; class declarations merge when at most one has a body; internal API interfaces declared in several files are one interface holding the union of the methods
  • rules_score: architectural_design and unit_design run one parser action per view; static accepts component diagrams only; .plantuml is no longer accepted (the CLI only took .puml)
  • tests: one generic group runner for all resolver tests, new group fixtures for component and class
  • TRLC requirements, docs, skill and seooc example updated

@github-actions

Copy link
Copy Markdown

Coverage Report

Coverage report was generated.

Full report can be downloaded from the CI artifacts (expand Artifacts at the bottom of the run).

Overall coverage rate:

lines......: 89.1%
functions......: 59.3%

@hoe-jo
hoe-jo force-pushed the joho_partial_overviews branch 2 times, most recently from 01ae85c to 5f3cfec Compare October 14, 2026 09:46
@github-actions

Copy link
Copy Markdown

Coverage Report

Coverage report was generated.

Full report can be downloaded from the CI artifacts (expand Artifacts at the bottom of the run).

Overall coverage rate:

lines......: 89.0%
functions......: 59.2%

@hoe-jo
hoe-jo enabled auto-merge October 14, 2026 10:16
Allow a view to be split into overview and detail .puml files.

- puml_cli resolves all inputs of a run (--file and --folders) as one
  group per diagram kind; only .puml inputs are accepted and the same
  --file twice is an error
- component: bodied top-level element attaches to a same-name/type/
  stereotype nested declaration in another file; relation targets
  resolve across files only when the own file does not know them,
  sources must be local (undirected relations belong to the local end)
- class: overview declares a bodyless class, detail adds members; same
  group rules as component
- sequence: one file declares the cast, scenarios use aliases
- activity: group equals per-file resolution
- errors: GroupResolveError reports "in <file>: ..."; a file of the
  wrong diagram kind reports "expected a Component diagram, found a X
  diagram"
- validation: component anchoring check runs in the architectural_design
  profile only; class declarations merge when at most one has a body;
  internal API interfaces declared in several files are one interface
  holding the union of the methods
- rules_score: architectural_design and unit_design run one parser
  action per view; static accepts component diagrams only; .plantuml
  is no longer accepted (the CLI only took .puml)
- tests: one generic group runner for all resolver tests, new group
  fixtures for component and class
- TRLC requirements, docs, skill and seooc example updated
@hoe-jo
hoe-jo force-pushed the joho_partial_overviews branch from 5f3cfec to aa87a5b Compare October 14, 2026 10:34
@github-actions

Copy link
Copy Markdown

Coverage Report

Coverage report was generated.

Full report can be downloaded from the CI artifacts (expand Artifacts at the bottom of the run).

Overall coverage rate:

lines......: 89.0%
functions......: 59.2%

@hoe-jo
hoe-jo added this pull request to the merge queue Oct 14, 2026
Merged via the queue into main with commit abcb983 Oct 14, 2026
17 checks passed
@hoe-jo
hoe-jo deleted the joho_partial_overviews branch October 14, 2026 11:41
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.

2 participants