You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Applies the DocDown diagram tooling to Rendering and adds an architecture diagram:
Adds the canvasnet skill, the diagram documentation standard, and the canvasnet.lua pandoc filter.
Pins demaconsulting.canvasnet.tool 0.2.0-beta.6 in the tool manifest and registers the filter in all pandoc definition.yaml files.
Adds docs/images/architecture.svg (source, embedded in the user guide) and architecture.png (used by the README via absolute URL for nuget.org).
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
None.
Pre-Submission Checklist
Build and Test
Code builds successfully and all tests pass: pwsh ./build.ps1 (not run; no code changes)
Code produces zero warnings (not applicable; no code changes)
Code Quality
New code has appropriate XML documentation comments (not applicable)
Static analyzer warnings have been addressed (not applicable)
Quality Checks
All linters pass: pwsh ./lint.ps1 (not run; only pwsh ./fix.ps1 was run)
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
Validated by building the user guide with dotnet pandoc --defaults docs/user_guide/definition.yaml (succeeded, diagram embedded). The README image URL points at main, so it resolves only after merge.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Active critical issues remain: three Markdown lines violate the 120-character lint limit, and the Lua file read uses invalid format "a" instead of "*a", causing hashing failures.
Adds CanvasNet-based diagram documentation support and an architecture overview to the Rendering project, including a Lua Pandoc filter, pinned CLI tool, documentation integration, and SVG/PNG diagram assets.
Changes:
Adds the CanvasNet authoring skill, diagram documentation standard, and Pandoc filter.
Registers the filter across documentation build definitions and pins the CanvasNet tool.
Adds architecture diagrams to the user guide and README.
Adds source-based rendering and caching support for supported diagram formats.
File
Summary
Review findings
README.md
Displays the architecture PNG using an absolute URL.
Critical (2 votes): The new image line exceeds the repository’s 120-character Markdown lint limit.
docs/verification/definition.yaml
Registers the CanvasNet filter for verification documentation.
No findings.
docs/user_guide/introduction.md
Introduces and embeds the architecture diagram.
Critical (2 votes): The new image line exceeds the repository’s 120-character Markdown lint limit.
docs/user_guide/definition.yaml
Enables embedded resources and the CanvasNet filter.
No findings.
docs/requirements_report/definition.yaml
Registers the CanvasNet filter for requirements-report generation.
No findings.
docs/requirements_doc/definition.yaml
Registers the CanvasNet filter for requirements-document generation.
No findings.
docs/images/architecture.svg
Provides the maintainable architecture diagram source.
Nit (1 vote): The diagram names nonexistent ILayoutAlgorithm instead of the actual LayoutAlgorithmBase extension point. Nit (1 vote):LayoutTree is shown before .Layout despite being the positioned result produced by the layout stage.
docs/filters/canvasnet.lua
Adds CanvasNet rendering and caching support.
Critical (1 vote):file:read("a") is invalid; use *a/*all. Moderate (1 vote): Missing local data files are not included in cache keys. Moderate (1 vote): Missing include targets are not included in cache keys. Moderate (1 vote): CanvasNet is invoked without --strict, allowing unsupported constructs to be silently omitted.
docs/design/definition.yaml
Registers the CanvasNet filter for design documentation.
No findings.
docs/code_review_report/definition.yaml
Registers the CanvasNet filter for review-report generation.
No findings.
docs/code_review_plan/definition.yaml
Registers the CanvasNet filter for review-plan generation.
No findings.
docs/code_quality/definition.yaml
Registers the CanvasNet filter for code-quality documentation.
No findings.
docs/build_notes/definition.yaml
Registers the CanvasNet filter for build-notes generation.
No findings.
AGENTS.md
Documents diagram standards and CanvasNet guidance.
No findings.
.github/standards/diagram-documentation.md
Defines diagram selection, source, output, and maintenance standards.
Nit (1 vote): The rule references nonexistent docs/sysml2/; make it conditional or add the referenced model.
.github/skills/canvasnet/SKILL.md
Documents CanvasNet diagram authoring and verification.
Critical (2 votes): The front-matter description exceeds the repository’s 120-character Markdown lint limit.
.config/dotnet-tools.json
Pins the CanvasNet command-line tool.
Moderate (1 vote): The build workflow’s tool-version capture list omits canvasnet, so the generated version report will not identify it.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
An active documentation issue remains because the diagram standard directs authors to a nonexistent docs/sysml2/ tree despite the repository’s SysML-agnostic design.
No open issues 🎉
1 previously missed issue
In code that hasn't changed since last review
Point SysML guidance to an existing, authoritative documentation tree
.github/standards/diagram-documentation.md:43
This rule points authors to docs/sysml2/, but this repository has no such tree and the design describes the model as SysML-agnostic. Make the SysML2 guidance conditional or point this repository's authoritative structure at docs/design/ so future diagram authors are not directed to a nonexistent source.
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
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
Applies the DocDown diagram tooling to Rendering and adds an architecture diagram:
canvasnetskill, the diagram documentation standard, and thecanvasnet.luapandoc filter.demaconsulting.canvasnet.tool0.2.0-beta.6 in the tool manifest and registers the filter in all pandocdefinition.yamlfiles.docs/images/architecture.svg(source, embedded in the user guide) andarchitecture.png(used by the README via absolute URL for nuget.org).Type of Change
Related Issues
None.
Pre-Submission Checklist
Build and Test
pwsh ./build.ps1(not run; no code changes)Code Quality
Quality Checks
pwsh ./lint.ps1(not run; onlypwsh ./fix.ps1was run)Testing
Documentation
Additional Notes
Validated by building the user guide with
dotnet pandoc --defaults docs/user_guide/definition.yaml(succeeded, diagram embedded). The README image URL points atmain, so it resolves only after merge.