Repository navigation
docs: add CanvasNet tooling and architecture diagram - #76
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
A critical file:read format error prevents the filter from processing every recognized source, and the architecture diagram contains an inaccurate package-boundary label.
1 open issue
What changed in this PR
Adds CanvasNet documentation tooling and a shared SysML2Tools architecture diagram.
Changes:
- Adds the pinned CanvasNet tool, Pandoc filter, CI version tracking, skill guidance, and diagram documentation standards.
- Enables CanvasNet processing across the documentation builds with caching and dependency tracking.
- Adds and references architecture diagram assets in the README and user guide.
| File | Summary | Review notes |
|---|---|---|
README.md |
References the architecture diagram with an absolute image URL. | No findings. |
docs/verification/definition.yaml |
Enables the CanvasNet filter for verification documents. | No findings. |
docs/user_guide/introduction.md |
Adds the architecture diagram to the user guide. | Nit (1 vote): Include the required lead-in/reference before the diagram. Nit (1 vote): Update command coverage to include Export, or remove it from the figure. |
docs/user_guide/definition.yaml |
Adds image resources, embedded resources, and the CanvasNet filter. | No findings. |
docs/requirements_report/definition.yaml |
Enables the CanvasNet filter for requirements reports. | No findings. |
docs/requirements_doc/definition.yaml |
Enables the CanvasNet filter for requirements documentation. | No findings. |
docs/layout/definition.yaml |
Enables the CanvasNet filter for layout documentation. | No findings. |
docs/images/architecture.svg |
Adds the maintainable architecture diagram source. | Nit (2 votes): Clarify that Core orchestrates renderer output rather than providing the concrete renderers. Nit (1 vote): Use the exact DemaConsulting.SysML2Tools.Core package name. Nit (1 vote): Redraw the Stdlib-to-Language relationship as an external runtime dependency/seed flow. |
docs/filters/canvasnet.lua |
Adds CanvasNet rendering, caching, dependency hashing, and image rewriting. | Critical (1 vote): Change file:read("a") to file:read("*a"). Moderate (1 vote): Pass --strict and update the failure-behavior documentation. Moderate (1 vote): Reserve an OS-provided or otherwise unique temporary path for concurrent builds. |
docs/design/definition.yaml |
Enables the CanvasNet filter for design documentation. | No findings. |
docs/code_review_report/definition.yaml |
Enables the CanvasNet filter for code review reports. | No findings. |
docs/code_review_plan/definition.yaml |
Enables the CanvasNet filter for code review plans. | No findings. |
docs/code_quality/definition.yaml |
Enables the CanvasNet filter for code quality documentation. | No findings. |
docs/build_notes/definition.yaml |
Enables the CanvasNet filter for build notes. | No findings. |
AGENTS.md |
Registers the diagram standard and CanvasNet skill. | No findings. |
.versionmark.yaml |
Adds CanvasNet version extraction configuration. | No findings. |
.github/workflows/build.yaml |
Captures the CanvasNet tool version during documentation builds. | No findings. |
.github/standards/diagram-documentation.md |
Defines diagram selection, authoring, rendering, and maintenance standards. | Nit (1 vote): Replace or supplement the nonexistent docs/sysml2/ authoritative source reference with the actual design documentation or another valid fallback. |
.github/skills/canvasnet/SKILL.md |
Documents CanvasNet usage, rendering, and verification guidance. | No findings. |
.cspell.yaml |
Adds CanvasNet to the spelling dictionary. | No findings. |
.config/dotnet-tools.json |
Pins the CanvasNet local tool version. | No findings. |
Review effort: Lite
12 of 18 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Pull Request
Description
Adds the CanvasNet tooling (skill, diagram standard,
canvasnet.luaPandoc filter, tool manifest entry) and an architecture diagram (SVG for the user guide, PNG with an absolute URL for the README). The diagram shows sysml2tools (Program), the Tool commands, the Core library, the Language library, the Stdlib, and the inputs and outputs.Type of Change
Related Issues
None.
Pre-Submission Checklist
Build and Test
pwsh ./build.ps1(not run; docs and tooling only)Code Quality
Quality Checks
pwsh ./lint.ps1(passed)Testing
Documentation
Additional Notes
The diagram content was derived from the design docs; please verify it. The user guide Pandoc build embeds the SVG (
data:image/svg).