Skip to content

Add the SysML2 self-model of the software structure - #143

Merged
Malcolmnixon merged 3 commits into
mainfrom
sysml2-self-model
Nov 20, 2026
Merged

Malcolmnixon merged 3 commits into
mainfrom
sysml2-self-model

Conversation

@Malcolmnixon

Copy link
Copy Markdown
Member

Pull Request

Description

Adds docs/sysml2/, a SysML v2 self-model of SysML2Tools' software structure, following the template's sysml2-modeling.md standard and the Rendering repository's docs/sysml2/ pattern. This addresses the missing self-model flagged by review in #141.

  • Model: 78 .sysml files modeling 4 systems, 19 subsystems, 52 units, and 13 OTS items, plus 137 dependency statements and 24 views.
  • Design docs: docs/design/introduction.md replaces the hand-maintained structure tree and OTS list with the rendered SoftwareStructureView. 57 design documents embed their system or subsystem view.
  • Tooling:
    • demaconsulting.sysml2tools.tool 0.3.0-beta.3 (the latest published) is pinned in the tool manifest.
    • lint.ps1 runs sysml2tools lint over the model.
    • CI self-validates the tool and renders the views into docs/design/generated.
    • VersionMark captures the tool version.
    • ReviewMark and FileAssert configuration is added, along with OTS requirements and verification for the tool.
  • Dogfooding: all 78 files lint clean with the published tool and with the current main build (default and --strict-unresolved).

Software Structure view (published tool):

SoftwareStructureView

Tool system view:

ToolView

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Code quality improvement

Related Issues

Follows up the review comments on #141.

Pre-Submission Checklist

Before submitting this pull request, ensure you have completed the following:

Build and Test

  • Code builds successfully and all tests pass: pwsh ./build.ps1 (6365 tests, 0 failures)
  • Code produces zero warnings

Code Quality

  • New code has appropriate XML documentation comments (not applicable; no C# changes)
  • Static analyzer warnings have been addressed (not applicable)

Quality Checks

Please run the following checks before submitting:

  • All linters pass: pwsh ./lint.ps1 (passed, including the new sysml2tools lint step)

Testing

  • Added unit tests for new functionality (not applicable)
  • Updated existing tests if behavior changed (not applicable)
  • All tests follow the AAA (Arrange, Act, Assert) pattern (not applicable)
  • Test coverage is maintained or improved (not applicable)

Documentation

  • Updated README.md (if applicable)
  • Updated docs/ documentation (if applicable)
  • Added code examples for new features (if applicable)
  • Updated requirements.yaml (if applicable)

Additional Notes

  • The views are spec-conformant General Views of part definitions: each definition shows its parts compartment, as in Rendering's self-model. Making the views show composition trees and dependency edges is being evaluated against the OMG Pilot and will be a follow-up.
  • CI renders with the pinned published tool (0.3.0-beta.3), so the generated design diagrams use that release's notation until the pin is bumped.
  • Dogfooding findings are filed separately.

Model the four systems, 19 subsystems, 52 units and 13 OTS items under docs/sysml2, lint the model from lint.ps1 with the pinned published sysml2tools, render the views into the design document, and cover the model in ReviewMark and the OTS requirements.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings November 20, 2026 19:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A moderate documentation-modeling issue remains because ExportCommand’s filter parser/evaluator collaborator is missing from the self-model, causing dependency and impact queries to be incomplete.

3 open issues
What changed in this PR

Adds a SysML v2 self-model for SysML2Tools and integrates it into documentation, linting, CI rendering, version tracking, and requirements verification.

Changes:

  • Adds SysML model files describing systems, subsystems, units, dependencies, OTS items, metadata, and documentation views.
  • Replaces the hand-maintained software-structure tree with rendered SysML2 diagrams embedded throughout the design documentation.
  • Adds published-tool validation, model linting, CI rendering, FileAssert, ReviewMark, VersionMark, and OTS requirements and verification integration.
File Description
requirements.yaml Registers the SysML2Tools OTS requirements in the repository requirements configuration.
lint.ps1 Adds linting of the SysML2 self-model to the repository lint workflow.
docs/​verification/​ots/​sysml2tools.md Documents verification scenarios and evidence for the published SysML2Tools package.
docs/​verification/​ots.md Lists the SysML2Tools OTS verification documentation.
docs/​verification/​definition.yaml Registers the SysML2Tools verification document.
docs/​sysml2/​views/​design-views.sysml Declares the rendered software-structure and subsystem design views.
docs/​sysml2/​model/​sysml2-tools-tool/​utilities/​path-helpers.sysml Models the Tool path-helper utility and its traceability metadata.
docs/​sysml2/​model/​sysml2-tools-tool/​utilities/​diagnostic-formatter.sysml Models the Tool diagnostic-formatting utility and its traceability metadata.
docs/​sysml2/​model/​sysml2-tools-tool/​utilities.sysml Defines the Tool Utilities subsystem and its constituent units.
docs/​sysml2/​model/​sysml2-tools-tool/​self-test/​validation.sysml Models the Tool self-test validation unit and its verification metadata.
docs/​sysml2/​model/​sysml2-tools-tool/​self-test.sysml Defines the Tool SelfTest subsystem.
docs/​sysml2/​model/​sysml2-tools-tool/​render/​render-command.sysml Models the Tool render command and its collaborators.
docs/​sysml2/​model/​sysml2-tools-tool/​render.sysml Defines the Tool Render subsystem.
docs/​sysml2/​model/​sysml2-tools-tool/​query/​query-command.sysml Models the Tool query command and its collaborators.
docs/​sysml2/​model/​sysml2-tools-tool/​query.sysml Defines the Tool Query subsystem.
docs/​sysml2/​model/​sysml2-tools-tool/​program.sysml Models the Tool program orchestration unit.
docs/​sysml2/​model/​sysml2-tools-tool/​lint/​lint-command.sysml Models the Tool lint command and its collaborators.
docs/​sysml2/​model/​sysml2-tools-tool/​lint.sysml Defines the Tool Lint subsystem.
docs/​sysml2/​model/​sysml2-tools-tool/​help/​help-command.sysml Models the Tool help command and its dispatch behavior.
docs/​sysml2/​model/​sysml2-tools-tool/​help.sysml Defines the Tool Help subsystem.
docs/​sysml2/​model/​sysml2-tools-tool/​export/​export-command.sysml Models the Tool export command and its collaborators.
docs/​sysml2/​model/​sysml2-tools-tool/​export.sysml Defines the Tool Export subsystem.
docs/​sysml2/​model/​sysml2-tools-tool/​cli/​context.sysml Models the Tool CLI context and its I/O responsibilities.
docs/​sysml2/​model/​sysml2-tools-tool/​cli.sysml Defines the Tool CLI subsystem.
docs/​sysml2/​model/​sysml2-tools-tool.sysml Defines the SysML2Tools command-line tool system and its dependencies.
docs/​sysml2/​model/​sysml2-tools-stdlib/​stdlib-provider.sysml Models the standard-library provider unit.
docs/​sysml2/​model/​sysml2-tools-stdlib.sysml Defines the SysML2Tools standard-library system.
docs/​sysml2/​model/​sysml2-tools-language/​semantic/​workspace-loader.sysml Models the semantic workspace-loader unit.
docs/​sysml2/​model/​sysml2-tools-language/​semantic/​model/​sysml-node.sysml Models semantic SysML nodes.
docs/​sysml2/​model/​sysml2-tools-language/​semantic/​model/​sysml-metadata-node.sysml Models semantic metadata nodes.
docs/​sysml2/​model/​sysml2-tools-language/​semantic/​model/​sysml-edge.sysml Models semantic SysML edges.
docs/​sysml2/​model/​sysml2-tools-language/​semantic/​model/​sysml-annotation.sysml Models semantic annotations.
docs/​sysml2/​model/​sysml2-tools-language/​semantic/​model/​symbol-table.sysml Models the semantic symbol table.
docs/​sysml2/​model/​sysml2-tools-language/​semantic/​model/​supertype-walker.sysml Models semantic supertype traversal.
docs/​sysml2/​model/​sysml2-tools-language/​semantic/​model/​serialized-stdlib.sysml Models serialized standard-library data.
docs/​sysml2/​model/​sysml2-tools-language/​semantic/​model/​semantic-index.sysml Models semantic reverse indexing.
docs/​sysml2/​model/​sysml2-tools-language/​semantic/​model/​reference-resolver.sysml Models semantic reference resolution.
docs/​sysml2/​model/​sysml2-tools-language/​semantic/​model/​name-resolver.sysml Models semantic name resolution.
docs/​sysml2/​model/​sysml2-tools-language/​semantic/​model/​ast-serializer-context.sysml Models AST serializer configuration.
docs/​sysml2/​model/​sysml2-tools-language/​semantic/​model/​ast-builder.sysml Models semantic AST construction.
docs/​sysml2/​model/​sysml2-tools-language/​semantic/​model.sysml Defines the semantic model structure.
docs/​sysml2/​model/​sysml2-tools-language/​semantic/​ast-serializer.sysml Models semantic AST serialization.
docs/​sysml2/​model/​sysml2-tools-language/​semantic/​ast-deserializer.sysml Models semantic AST deserialization.
docs/​sysml2/​model/​sysml2-tools-language/​semantic.sysml Defines the Language Semantic subsystem.
docs/​sysml2/​model/​sysml2-tools-language/​parser/​workspace-parser.sysml Models the language workspace parser.
docs/​sysml2/​model/​sysml2-tools-language/​parser/​internal/​sysml-diagnostic-listener.sysml Models the parser diagnostic listener.
docs/​sysml2/​model/​sysml2-tools-language/​parser/​internal.sysml Defines the Parser internal subsystem.
docs/​sysml2/​model/​sysml2-tools-language/​parser.sysml Defines the Language Parser subsystem.
docs/​sysml2/​model/​sysml2-tools-language/​filtering/​filter-expression-evaluator.sysml Models filter-expression evaluation.
docs/​sysml2/​model/​sysml2-tools-language/​filtering.sysml Defines the Language Filtering subsystem.
docs/​sysml2/​model/​sysml2-tools-language.sysml Defines the SysML2Tools Language system.
docs/​sysml2/​model/​sysml2-tools-core/​rendering/​internal/​dynamic-view-synthesizer.sysml Models rendering dynamic-view synthesis.
docs/​sysml2/​model/​sysml2-tools-core/​rendering/​internal/​diagram-type-router.sysml Models rendering diagram-type routing.
docs/​sysml2/​model/​sysml2-tools-core/​rendering/​internal.sysml Defines the Rendering internal subsystem.
docs/​sysml2/​model/​sysml2-tools-core/​rendering/​diagram-renderer.sysml Models the public diagram renderer.
docs/​sysml2/​model/​sysml2-tools-core/​rendering.sysml Defines the Core Rendering subsystem.
docs/​sysml2/​model/​sysml2-tools-core/​query/​query-verb.sysml Models supported query verbs.
docs/​sysml2/​model/​sysml2-tools-core/​query/​query-result.sysml Models query results.
docs/​sysml2/​model/​sysml2-tools-core/​query/​query-result-serializer-context.sysml Models query-result serialization context.
docs/​sysml2/​model/​sysml2-tools-core/​query/​query-result-renderer.sysml Models query-result rendering.
docs/​sysml2/​model/​sysml2-tools-core/​query/​query-result-exporter.sysml Models query-result export.
docs/​sysml2/​model/​sysml2-tools-core/​query/​query-options.sysml Models query options.
docs/​sysml2/​model/​sysml2-tools-core/​query/​query-engine.sysml Models query execution.
docs/​sysml2/​model/​sysml2-tools-core/​query/​query-argument-parser.sysml Models query argument parsing.
docs/​sysml2/​model/​sysml2-tools-core/​query/​qualified-name-shortener.sysml Models qualified-name shortening.
docs/​sysml2/​model/​sysml2-tools-core/​query.sysml Defines the Core Query subsystem.
docs/​sysml2/​model/​sysml2-tools-core/​layout/​internal/​state-transition-view-layout-strategy.sysml Models state-transition view layout.
docs/​sysml2/​model/​sysml2-tools-core/​layout/​internal/​sequence-view-layout-strategy.sysml Models sequence view layout.
docs/​sysml2/​model/​sysml2-tools-core/​layout/​internal/​layout-warnings.sysml Models layout warnings.
docs/​sysml2/​model/​sysml2-tools-core/​layout/​internal/​layered-placement.sysml Models layered placement.
docs/​sysml2/​model/​sysml2-tools-core/​layout/​internal/​interconnection-view-layout-strategy.sysml Models interconnection view layout.
docs/​sysml2/​model/​sysml2-tools-core/​layout/​internal/​grid-view-layout-strategy.sysml Models grid view layout.
docs/​sysml2/​model/​sysml2-tools-core/​layout/​internal/​general-view-layout-strategy.sysml Models general-view layout.
docs/​sysml2/​model/​sysml2-tools-core/​layout/​internal/​expose-scope-resolver.sysml Models layout expose-scope resolution.
docs/​sysml2/​model/​sysml2-tools-core/​layout/​internal/​browser-view-layout-strategy.sysml Models browser view layout.
docs/​sysml2/​model/​sysml2-tools-core/​layout/​internal/​action-flow-view-layout-strategy.sysml Models action-flow view layout.
docs/​sysml2/​model/​sysml2-tools-core/​layout/​internal.sysml Defines the Layout internal subsystem.
docs/​sysml2/​model/​sysml2-tools-core/​layout.sysml Defines the Core Layout subsystem.
docs/​sysml2/​model/​sysml2-tools-core/​io/​glob-file-collector.sysml Models file-glob collection.
docs/​sysml2/​model/​sysml2-tools-core/​io.sysml Defines the Core I/O subsystem.
docs/​sysml2/​model/​sysml2-tools-core.sysml Defines the SysML2Tools Core system.
docs/​sysml2/​model/​ots.sysml Defines modeled off-the-shelf dependencies and their traceability metadata.
docs/​sysml2/​common/​software-items.sysml Defines shared software-item traceability metadata.
docs/​reqstream/​quality.yaml Connects SysML2Tools model-quality requirements to the quality hierarchy.
docs/​reqstream/​ots/​sysml2tools.yaml Defines requirements and evidence for SysML2Tools qualification and validation.
docs/​design/​sysml2-tools-tool/​utilities/​path-helpers.md Embeds the generated path-helper design view.
docs/​design/​sysml2-tools-tool/​utilities/​diagnostic-formatter.md Embeds the generated diagnostic-formatter design view.
docs/​design/​sysml2-tools-tool/​utilities.md Embeds the generated Utilities subsystem view.
docs/​design/​sysml2-tools-tool/​self-test/​validation.md Embeds the generated validation-unit view.
docs/​design/​sysml2-tools-tool/​self-test.md Embeds the generated SelfTest subsystem view.
docs/​design/​sysml2-tools-tool/​render.md Embeds the generated Render subsystem view.
docs/​design/​sysml2-tools-tool/​query.md Embeds the generated Tool Query subsystem view.
docs/​design/​sysml2-tools-tool/​program.md Embeds the generated Program view.
docs/​design/​sysml2-tools-tool/​lint.md Embeds the generated Lint subsystem view.
docs/​design/​sysml2-tools-tool/​help.md Embeds the generated Help subsystem view.
docs/​design/​sysml2-tools-tool/​export.md Embeds the generated Export subsystem view.
docs/​design/​sysml2-tools-tool/​cli/​context.md Embeds the generated CLI context view.
docs/​design/​sysml2-tools-tool/​cli.md Embeds the generated CLI subsystem view.
docs/​design/​sysml2-tools-tool.md Embeds the generated Tool system view.
docs/​design/​sysml2-tools-stdlib/​stdlib-provider.md Embeds the generated standard-library provider view.
docs/​design/​sysml2-tools-stdlib.md Embeds the generated standard-library system view.
docs/​design/​sysml2-tools-language/​semantic/​workspace-loader.md Embeds the generated workspace-loader view.
docs/​design/​sysml2-tools-language/​semantic/​model/​sysml-node.md Embeds the generated SysML-node view.
docs/​design/​sysml2-tools-language/​semantic/​model/​sysml-edge.md Embeds the generated SysML-edge view.
docs/​design/​sysml2-tools-language/​semantic/​model/​sysml-annotation.md Embeds the generated annotation view.
docs/​design/​sysml2-tools-language/​semantic/​model/​symbol-table.md Embeds the generated symbol-table view.
docs/​design/​sysml2-tools-language/​semantic/​model/​supertype-walker.md Embeds the generated supertype-walker view.
docs/​design/​sysml2-tools-language/​semantic/​model/​semantic-index.md Embeds the generated semantic-index view.
docs/​design/​sysml2-tools-language/​semantic/​model/​reference-resolver.md Embeds the generated reference-resolver view.
docs/​design/​sysml2-tools-language/​semantic/​model/​name-resolver.md Embeds the generated name-resolver view.
docs/​design/​sysml2-tools-language/​semantic/​model/​ast-builder.md Embeds the generated AST-builder view.
docs/​design/​sysml2-tools-language/​semantic/​model.md Embeds the generated semantic-model view.
docs/​design/​sysml2-tools-language/​semantic/​ast-serializer.md Embeds the generated AST-serializer view.
docs/​design/​sysml2-tools-language/​semantic/​ast-deserializer.md Embeds the generated AST-deserializer view.
docs/​design/​sysml2-tools-language/​semantic.md Embeds the generated Semantic subsystem view.
docs/​design/​sysml2-tools-language/​parser/​workspace-parser.md Embeds the generated workspace-parser view.
docs/​design/​sysml2-tools-language/​parser/​internal/​sysml-diagnostic-listener.md Embeds the generated diagnostic-listener view.
docs/​design/​sysml2-tools-language/​parser.md Embeds the generated Parser subsystem view.
docs/​design/​sysml2-tools-language/​filtering/​filter-expression-evaluator.md Embeds the generated filter-evaluator view.
docs/​design/​sysml2-tools-language/​filtering.md Embeds the generated Filtering subsystem view.
docs/​design/​sysml2-tools-language.md Embeds the generated Language system view.
docs/​design/​sysml2-tools-core/​rendering/​internal/​dynamic-view-synthesizer.md Embeds the generated dynamic-view synthesizer view.
docs/​design/​sysml2-tools-core/​rendering/​internal/​diagram-type-router.md Embeds the generated diagram-type router view.
docs/​design/​sysml2-tools-core/​rendering/​internal.md Embeds the generated Rendering internal view.
docs/​design/​sysml2-tools-core/​rendering/​diagram-renderer.md Embeds the generated diagram-renderer view.
docs/​design/​sysml2-tools-core/​rendering.md Embeds the generated Rendering subsystem view.
docs/​design/​sysml2-tools-core/​query.md Embeds the generated Core Query subsystem view.
docs/​design/​sysml2-tools-core/​layout/​internal/​state-transition-view-layout-strategy.md Embeds the generated state-transition layout view.
docs/​design/​sysml2-tools-core/​layout/​internal/​sequence-view-layout-strategy.md Embeds the generated sequence layout view.
docs/​design/​sysml2-tools-core/​layout/​internal/​layout-warnings.md Embeds the generated layout-warnings view.
docs/​design/​sysml2-tools-core/​layout/​internal/​layered-placement.md Embeds the generated layered-placement view.
docs/​design/​sysml2-tools-core/​layout/​internal/​interconnection-view-layout-strategy.md Embeds the generated interconnection layout view.
docs/​design/​sysml2-tools-core/​layout/​internal/​grid-view-layout-strategy.md Embeds the generated grid layout view.
docs/​design/​sysml2-tools-core/​layout/​internal/​general-view-layout-strategy.md Embeds the generated general-view layout.
docs/​design/​sysml2-tools-core/​layout/​internal/​expose-scope-resolver.md Embeds the generated expose-scope resolver view.
docs/​design/​sysml2-tools-core/​layout/​internal/​browser-view-layout-strategy.md Embeds the generated browser layout view.
docs/​design/​sysml2-tools-core/​layout/​internal/​action-flow-view-layout-strategy.md Embeds the generated action-flow layout view.
docs/​design/​sysml2-tools-core/​layout/​internal.md Embeds the generated Layout internal view.
docs/​design/​sysml2-tools-core/​layout.md Embeds the generated Layout subsystem view.
docs/​design/​sysml2-tools-core/​io/​glob-file-collector.md Embeds the generated glob-file collector view.
docs/​design/​sysml2-tools-core/​io.md Embeds the generated I/O subsystem view.
docs/​design/​sysml2-tools-core.md Embeds the generated Core system view.
docs/​design/​ots/​sysml2tools.md Documents SysML2Tools as an integrated OTS dependency.
docs/​design/​ots.md Lists the SysML2Tools OTS design documentation.
docs/​design/​introduction.md Replaces the manual software-structure listing with the generated model overview.
docs/​design/​definition.yaml Registers the design documentation and generated diagram resources.
AGENTS.md Documents the SysML2 model as the authoritative software-structure source and records its lint integration.
.versionmark.yaml Captures the pinned SysML2Tools version.
.reviewmark.yaml Adds review coverage for the SysML2 model and OTS evidence.
.github/​workflows/​build.yaml Runs published-tool validation and renders the SysML2 design documentation in CI.
.fileassert.yaml Adds assertions for generated design output.
.config/​dotnet-tools.json Pins the published SysML2Tools CLI version.

Review effort: Lite

Comment thread docs/verification/ots/sysml2tools.md Resolved
Declare every package exactly once: one uniquely named package per model
file (<System>_<Item>), with explicit private imports between packages and
qualified cross-package dependency targets. Parenthesize the view filter
(filter not (@sysml::Documentation)). View content is unchanged; rendered
output is byte-identical with the published tool.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings November 20, 2026 20:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Active moderate, nit, and critical findings remain, including a missing dependency, inaccurate verification coverage, and a lint gate that does not enforce unresolved-reference failures.

4 open issues

Review effort: Lite

Comment thread lint.ps1 Resolved
…wording, fail lint on sysml2tools warnings

- ExportCommand depends on FilterExpressionEvaluator; QueryCommand on QueryVerb and SysmlNode.
- DiagnosticFormatter doc no longer claims export uses it.
- OTS design/verification/requirement text states exactly what the published self-test proves
  and that unresolved references are warnings until --strict-unresolved is available.
- lint.ps1 fails on any sysml2tools warning line (pinned 0.3.0-beta.3 rejects --strict-unresolved).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings November 20, 2026 20:50
Malcolmnixon pushed a commit to demaconsulting/Agents that referenced this pull request Nov 20, 2026
Add the repository-wide uniqueness rule with a subsystem-path-qualified
fallback, and use one repository-level views package, matching
demaconsulting/SysML2Tools#143 (SysML2ToolsDesignViews).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Malcolmnixon pushed a commit to demaconsulting/Agents that referenced this pull request Nov 20, 2026
Add the repository-wide uniqueness rule with a subsystem-path-qualified
fallback, and use one repository-level views package, matching
demaconsulting/SysML2Tools#143 (SysML2ToolsDesignViews).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

An active moderate finding remains because the self-test model omits dependencies for collaborators it directly exercises, causing dependency and impact queries to be incomplete.

No open issues 🎉

1 previously missed issue

In code that hasn't changed since last review

Medium severity Add Validation's missing workspace, rendering, and export dependencies

docs/​sysml2/​model/​sysml2-tools-tool/​self-test/​validation.sysml:22

Validation directly loads workspaces, invokes DiagramRenderer with the SVG/PNG renderers, and constructs the export result/serializer (see src/DemaConsulting.SysML2Tools.Tool/SelfTest/Validation.cs:300-358, 412-415, 674-696). The model currently records only Context, Program, and PathHelpers, so dependency and impact queries omit the collaborators exercised by the self-test runner. Add dependencies for WorkspaceLoader, DiagramRenderer, OtsDependencies::DemaRendering, and the Tool ExportCommand unit.

4 resolved since last review

Review effort: Lite

@Malcolmnixon
Malcolmnixon merged commit 92d4b20 into main Nov 20, 2026
10 checks passed
@Malcolmnixon
Malcolmnixon deleted the sysml2-self-model branch November 20, 2026 21:15
Malcolmnixon added a commit to demaconsulting/Agents that referenced this pull request Nov 20, 2026
* SysML2: one uniquely named package per file; no package merging

SysML v2 has no package merging; same-named root packages in different
files are duplicate members of the global namespace (Pilot: "Duplicate
of other owned member name"). Declare one uniquely named package per
file, named {System}_{Subsystem}Subsystem / {System}_{Unit}, reference
other files through private import or qualified names, and write
filter not (@x); with parentheses.

See demaconsulting/SysML2Tools#143, #146, #147.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* SysML2: repository-wide unique package names; one {RepoName}DesignViews

Add the repository-wide uniqueness rule with a subsystem-path-qualified
fallback, and use one repository-level views package, matching
demaconsulting/SysML2Tools#143 (SysML2ToolsDesignViews).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* SysML2: address review wording

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Malcolm Nixon <Malcolm.Nixon@hiarc.inc>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Malcolmnixon added a commit to demaconsulting/Agents that referenced this pull request Nov 20, 2026
* SysML2: one uniquely named package per file; no package merging

SysML v2 has no package merging; same-named root packages in different
files are duplicate members of the global namespace (Pilot: "Duplicate
of other owned member name"). Declare one uniquely named package per
file, named {System}_{Subsystem}Subsystem / {System}_{Unit}, reference
other files through private import or qualified names, and write
filter not (@x); with parentheses.

See demaconsulting/SysML2Tools#143, #146, #147.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* SysML2: repository-wide unique package names; one {RepoName}DesignViews

Add the repository-wide uniqueness rule with a subsystem-path-qualified
fallback, and use one repository-level views package, matching
demaconsulting/SysML2Tools#143 (SysML2ToolsDesignViews).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* SysML2: address review wording

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Malcolm Nixon <Malcolm.Nixon@hiarc.inc>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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