Skip to content

Add SysML2 modeling standard and update related documentation#21

Merged
Malcolmnixon merged 1 commit into
mainfrom
feature/sysml2-modeling-standard
Jul 7, 2026
Merged

Add SysML2 modeling standard and update related documentation#21
Malcolmnixon merged 1 commit into
mainfrom
feature/sysml2-modeling-standard

Conversation

@Malcolmnixon

Copy link
Copy Markdown
Member

This pull request introduces first-class support for SysML2 architecture modeling in the repository. The changes establish the SysML2 model under docs/sysml2/ as the authoritative source for software structure, update documentation standards and review processes to reference the model, and provide comprehensive guidance for both humans and AI agents on querying, maintaining, and embedding SysML2-based diagrams. The update also adds new skills and standards for working with the model and integrates SysML2 tools into the CI and linting workflows.

SysML2 Model Integration and Standards

  • Added a new standard, sysml2-modeling.md, detailing repository structure, modeling conventions, view/diagram embedding, and quality checks for SysML2 models in docs/sysml2/.
  • Updated design-documentation.md to require that the Software Structure section uses diagrams rendered from the SysML2 model, replacing hand-maintained text trees.
  • Added references to the new SysML2 modeling standard in documentation and standards lists. [1] [2]

AI Agent and Developer Workflow

  • Introduced the sysml2tools-query skill, providing detailed instructions for querying the SysML2 model to understand system structure, dependencies, and requirements, and specifying fallback procedures when the model is incomplete.
  • Updated agent onboarding (AGENTS.md) to instruct agents to query the SysML2 model first when navigating or understanding the codebase, and to treat it as the authoritative source for software structure. [1] [2]
  • Added the docs/sysml2/ folder to the repository structure documentation.

CI, Linting, and Review Integration

  • Integrated sysml2tools into CI linting (lint.ps1) and documented this in the quality tools section.
  • Updated spellcheck and reviewmark configuration to include .sysml files and the sysml2 term. [1] [2]
  • Expanded reviewmark usage and scope to include the SysML2 model as the authoritative structural tree, and updated file path patterns accordingly.

Work Group and Agent Delegation

  • Defined a dedicated work group for docs/sysml2/ files in agent task delegation, clarifying that these are not part of a Pandoc collection but a flat folder for model files and rendered views.

- Add .github/standards/sysml2-modeling.md defining the docs/sysml2/ model
  layout (one .sysml file per system, optional ots.sysml/shared.sysml, and
  views/design-views.sysml), the correct `expose`-based view usage syntax
  (not `view def`/`render`-for-scoping), the View naming convention
  (SoftwareStructureView / {SystemName}View / {SubsystemName}View), diagram
  embedding rules, and build/lint integration guidance. No stable
  "system.sysml" alias file is used since a repository may contain more
  than one system.
- Add .github/skills/sysml2tools-query/SKILL.md documenting the agent query
  workflow (discover systems via `query list`, then describe/hierarchy/
  used-by/impact/requirements/find), generalized from the DictionaryMark
  pilot to not assume a single fixed system name.
- Update AGENTS.md: Codebase Navigation now queries the SysML2 model first;
  add docs/sysml2/ to Key Configuration Files; add a Standards Application
  matrix row for software structure changes; mention sysml2tools in the CI
  Quality Tools summary.
- Update design-documentation.md: Software Structure section is now sourced
  from the SysML2 model/diagrams, not a hand-maintained text tree.
- Update reviewmark-usage.md: include docs/sysml2/**/*.sysml in needs-review
  and in the Decomposition review's file patterns, since the model is now
  the authoritative structural source.
- Update template-sync.agent.md: add docs/sysml2/ as its own work group.
- Add "sysml" to .cspell.yaml.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 7, 2026 01:43
@Malcolmnixon
Malcolmnixon merged commit cacb626 into main Jul 7, 2026
5 checks passed
@Malcolmnixon
Malcolmnixon deleted the feature/sysml2-modeling-standard branch July 7, 2026 01:45

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.

Pull request overview

This pull request adds SysML2 modeling as a first-class documentation artifact in this repository’s distributable agent/standards content, positioning docs/sysml2/ as the authoritative source for software structure and updating related standards, review processes, and agent workflows accordingly.

Changes:

  • Added a new SysML2 modeling standard (sysml2-modeling.md) describing model layout, view conventions, rendering, and embedding guidance.
  • Added a new agent skill (sysml2tools-query) and updated agent onboarding (AGENTS.md) to prioritize querying the SysML2 model for structure/navigation.
  • Updated documentation/review standards to reference SysML2 model artifacts, and extended spellcheck vocabulary.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
src/AGENTS.md Updates navigation guidance to query docs/sysml2/ first; adds SysML2 to standards matrix and CI tool list.
src/.github/standards/sysml2-modeling.md Introduces the SysML2 modeling standard covering structure, views, rendering, embedding, and quality checks.
src/.github/standards/reviewmark-usage.md Expands ReviewMark patterns/scope to include docs/sysml2/**/*.sysml in decomposition review context.
src/.github/standards/design-documentation.md Requires Software Structure diagrams rendered from the SysML2 model instead of hand-maintained text trees.
src/.github/skills/sysml2tools-query/SKILL.md Adds a skill documenting how to query the SysML2 model using sysml2tools.
src/.github/agents/template-sync.agent.md Adds docs/sysml2/ as a dedicated work group for delegation.
.cspell.yaml Adds SysML-related terms to the spellcheck allowlist.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .cspell.yaml
Comment on lines 25 to 33
- reqstream
- reviewmark
- Sarif
- SARIF
- sarifmark
- sonarmark
- sysml
- versionmark
- Weasy
Comment on lines +14 to +16
The `sysml2tools` CLI is a local .NET tool pinned in `.config/dotnet-tools.json`.
Restore it once per session if not already available:

Comment thread src/AGENTS.md
Comment on lines 145 to +148
## CI Quality Tools

CI runs `lint.ps1` which checks: markdownlint-cli2, cspell, yamllint, dotnet format,
reqstream, versionmark, and reviewmark.
reqstream, versionmark, reviewmark, and sysml2tools.
Comment on lines +125 to +126
Place the image directly under the file's top-level heading, before its first prose
subsection, e.g. `![{Name} Structure]({ViewName}.svg)`.
Comment on lines +24 to +25
- **`docs/sysml2/`** - SysML2 model files and rendered views (root-level flat folder,
not a Pandoc collection)
Comment on lines +107 to +109
dotnet sysml2tools render `
docs/sysml2/{system-name}.sysml docs/sysml2/ots.sysml docs/sysml2/shared.sysml `
docs/sysml2/views/design-views.sysml --output docs/design/generated --format svg
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