- project-name: SysML2Workbench
- organization: DEMA Consulting
- project-tagline: Cross-platform desktop viewer and IDE for SysML v2 models
- description: SysML2Workbench is a free, open-source cross-platform desktop application for opening, browsing, and visualizing SysML v2 textual model files. It renders the same nested block diagrams (General, Interconnection, State Transition, Action Flow, Sequence, and Grid views) produced by SysML2Tools, in an interactive windowed viewer rather than a batch CLI export. The application is built as a thin shell over the SysML2Tools libraries (parser, semantic model, layout engine) and the DemaConsulting.Rendering package, and is intended to grow from a read-only viewer into a full editing IDE for SysML v2 models over time.
- languages: C#
- technologies: .NET, Avalonia, SysML2Tools, DemaConsulting.Rendering
├── docs/
│ ├── build_notes/
│ ├── code_quality/
│ ├── code_review_plan/
│ ├── code_review_report/
│ ├── design/
│ ├── requirements_doc/
│ ├── requirements_report/
│ ├── reqstream/
│ ├── sysml2/
│ ├── user_guide/
│ └── verification/
├── src/
│ ├── DemaConsulting.SysML2Workbench/ # Shared Avalonia UI: views, view models, app logic
│ └── DemaConsulting.SysML2Workbench.Desktop/ # Desktop platform head (Windows/Linux/macOS entry point)
└── test/
└── DemaConsulting.SysML2Workbench.Tests/
Always use US English spelling in all output (code, comments, documentation, commit messages, and reports).
This repository follows a reference template for structure and file conventions.
- template-url:
https://github.com/demaconsulting/Agents/raw/refs/heads/template - Repository map:
{template-url}/repository-map.md - Template files:
{template-url}/{file-path}for files described in the map
When working with source code, design, or requirements artifacts, query the SysML2
architecture model under docs/sysml2/ first (see the sysml2tools-query skill) to
understand software structure, purpose, and relationships. Fall back to
docs/design/introduction.md for the human-facing narrative, folder layout, and
companion artifact locations, and use it as the primary map when the model doesn't
yet cover something.
.config/dotnet-tools.json- Local tool manifest for Continuous Compliance tools.editorconfig- Code formatting rules.clang-format- C/C++ formatting (if applicable).cspell.yaml- Spell-check configuration and technical term dictionary.markdownlint-cli2.yaml- Markdown formatting rules.yamllint.yaml- YAML formatting configuration.reviewmark.yaml- File review definitions and trackingnuget.config- NuGet package sources (if .NET)package.json- Node.js dependencies for formatting toolsrequirements.yaml- Root requirements file with includespip-requirements.txt- Python dependencies for yamllint and yamlfixdocs/sysml2/- SysML2 architecture model; authoritative source for software structurefix.ps1- Applies all auto-fixers silently (dotnet format, markdown, YAML). Always exits 0.build.ps1- Builds the solution and/or runs its test tiers on demand via switches (-Build -Test -IntegrationTest -All); run with no arguments for usage.
Before performing any work, agents must read and apply the relevant standards
from .github/standards/. Use this matrix to determine which to load:
- Any code:
coding-principles.md - C# code:
coding-principles.md,csharp-language.md - Any tests:
testing-principles.md - C# tests:
testing-principles.md,csharp-testing.md - Requirements:
requirements-principles.md,software-items.md,reqstream-usage.md - Design docs:
software-items.md,design-documentation.md,technical-documentation.md - Verification docs:
software-items.md,verification-documentation.md,technical-documentation.md - Review configuration:
software-items.md,reviewmark-usage.md - Software structure:
sysml2-modeling.md - Any documentation:
technical-documentation.md
Load only the standards relevant to your specific task scope.
The default agent should handle simple, straightforward tasks directly. Delegate to specialized agents only for specific scenarios:
- Pre-PR lint cleanup (fix all lint issues before pull request) → Call the lint-fix agent
- Scoped fixes with no new user-visible behavior (PR review comments, doc corrections, known bug fixes with defined root cause) → Call the developer agent
- Light quality checking (basic validation) → Call the quality agent
- Any change introducing new user-visible behavior (features, enhancements, new commands or options) → Call the implementation agent
- Formal bug resolution (complex debugging, unknown root cause) → Call the implementation agent
- Formal reviews (compliance verification, detailed analysis) → Call the formal-review agent
- Structural audit: (repository layout vs. template) → Call the template-sync agent
- Implementation planning only (review a plan before committing to implementation) → Call the planning agent
Specialized agents MUST generate a completion report:
- Save to
.agent-logs/{agent-name}-{subject}-{unique-id}.mdwhere{subject}is a kebab-case task summary (max 5 words) and{unique-id}is a short unique suffix (e.g., 8-char hex or timestamp) - Start with
**Result**: (SUCCEEDED|FAILED|INCOMPLETE)as the first metadata field - Include the agent-specific report sections defined in each agent's prompt
- Return the summary to the caller
Result semantics for orchestrator decision-making:
- SUCCEEDED: Work completed and all quality gates applicable to that agent's scope met
- FAILED: Work could not be completed or quality gates not met
- INCOMPLETE: Work cannot proceed without information only the user can provide (implementation, planning, and template-sync agents)
After making changes, run the auto-fix pass. This applies all available fixers silently and always exits 0 - agents do not need to respond to its output.
pwsh ./fix.ps1This automatically handles: dotnet format, markdown formatting, and YAML
formatting. Full lint compliance is a pre-PR responsibility, not an agent
responsibility - invoke the lint-fix agent once before submitting a pull request.
CI runs lint.ps1 which checks: markdownlint-cli2, cspell, yamllint, dotnet format,
reqstream, versionmark, reviewmark, and sysml2tools.
- No generated file access: Files inside any
generated/folder are build outputs - do not read, lint, or modify them - Minimum necessary changes: Only modify files directly required by the task
- No speculative refactoring: Do not refactor code adjacent to the change unless the task explicitly requests it
- No drive-by fixes: If you discover pre-existing issues in files you are reading but not modifying, document them in the report but do not fix them
- Declare scope upfront: Before making changes, determine which files will be modified. Any file outside this scope requires explicit justification.
These files contain carefully designed configuration with documented intent in header comments. Agents MUST NOT modify them unless the task explicitly requires it and the modification preserves the documented design intent:
.reviewmark.yaml,.cspell.yaml,.editorconfig.markdownlint-cli2.yaml,.yamllint.yamlrequirements.yaml,fix.ps1,lint.ps1
This repository follows the Continuous Compliance approach. Tools: ReqStream (requirements traceability), ReviewMark (file review enforcement), BuildMark (tool versions), VersionMark (version tracking).