Registry Mirror
Skip to content

Conversation

@Malcolmnixon

Copy link
Copy Markdown
Member

Pull Request

Description

Adds the CanvasNet diagram tooling (mirroring BuildMark, DictionaryMark, and DocDown) and a FileAssert architecture diagram: the canvasnet skill, the diagram documentation standard, the canvasnet.lua Pandoc filter (added to all definition.yaml files), and the CanvasNet tool in the tool manifest, VersionMark config, and CI version capture. The diagram is embedded as SVG in the user guide and as a PNG (absolute URL) in the README.

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

Closes #

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
  • Code produces zero warnings

Code Quality

  • New code has appropriate XML documentation comments
  • Static analyzer warnings have been addressed

Quality Checks

Please run the following checks before submitting:

  • All linters pass: pwsh ./lint.ps1

Testing

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

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: pwsh ./lint.ps1 (passed); canvasnet render --strict for the PNG; dotnet pandoc --defaults docs/user_guide/definition.yaml (succeeded, SVG embedded). build.ps1 not run (docs-only).

… diagram

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

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

The architecture diagram still contains three active documentation inaccuracies about subsystem responsibilities and the unconnected validation flow.

No open issues 🎉

What changed in this PR

Adds CanvasNet diagram tooling to the documentation pipeline and introduces a FileAssert architecture diagram for the README and user guide.

Changes:

  • Adds the CanvasNet tool, Pandoc filter, skill guidance, documentation standards, and version tracking.
  • Enables CanvasNet rendering across all documentation definitions and captures its version in CI.
  • Adds and embeds the FileAssert architecture diagram as SVG in the user guide and as a PNG reference in the README.
File Changes and review findings
README.md Adds the architecture diagram with an absolute image reference. Nit (1 vote): Update the alt text to describe validation and normal execution as alternative paths rather than one sequential flow.
docs/​verification/​definition.yaml Enables the CanvasNet filter for verification documentation.
docs/​user_guide/​introduction.md Adds the architecture diagram to the user guide. Nit (1 vote): Update the alt text to describe validation and normal execution as alternative paths rather than one sequential flow.
docs/​user_guide/​definition.yaml Enables embedded resources, image lookup, and the CanvasNet filter.
docs/​requirements_report/​definition.yaml Enables the CanvasNet filter for requirements reports.
docs/​requirements_doc/​definition.yaml Enables the CanvasNet filter for requirements documentation.
docs/​images/​architecture.svg Adds the maintainable FileAssert architecture diagram source. Nits: Correct the Utilities glob-matching label (3 votes), add the missing --validate branch arrows (2 votes), and clarify that Cli provides execution context rather than dispatching (2 votes).
docs/​filters/​canvasnet.lua Adds CanvasNet-backed Pandoc rendering, dependency discovery, hashing, and caching. Moderate (1 vote): Handle absolute OpenSCAD dependencies without joining them to the including file’s folder. Moderate (1 vote): Pass --strict to prevent incomplete diagrams from being published. Nits: Correct the normalized-path description (1 vote) and add docs/generated/canvasnet to .gitignore (1 vote).
docs/​design/​definition.yaml Enables the CanvasNet filter for design documentation.
docs/​code_review_report/​definition.yaml Enables the CanvasNet filter for code review reports.
docs/​code_review_plan/​definition.yaml Enables the CanvasNet filter for review plans.
docs/​code_quality/​definition.yaml Enables the CanvasNet filter for code-quality documentation.
docs/​build_notes/​definition.yaml Enables the CanvasNet filter for build notes.
AGENTS.md Documents the diagram documentation standard and CanvasNet skill.
.versionmark.yaml Adds CanvasNet version capture configuration.
.github/​workflows/​build.yaml Captures the CanvasNet version during documentation builds.
.github/​standards/​diagram-documentation.md Defines diagram authoring, rendering, accessibility, and maintenance standards.
.github/​skills/​canvasnet/​SKILL.md Documents CanvasNet usage and visual verification guidance.
.cspell.yaml Adds canvasnet to the spelling dictionary.
.config/​dotnet-tools.json Pins the CanvasNet local tool.

Review effort: Lite

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

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 active issue remains because the documentation filter writes unignored generated PNGs, which can leave accidental untracked artifacts in the repository.

1 open issue

Review effort: Lite

Comment thread docs/filters/canvasnet.lua Resolved
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings November 7, 2026 08:03

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

The change introduces a 789-line cross-platform Pandoc filter and cache layer across all document definitions, but the required integrated Windows/Linux Pandoc/CanvasNet build and runtime validation could not be performed because the necessary tools were unavailable.

1 open issue

Review effort: Lite

@Malcolmnixon
Malcolmnixon merged commit 1996203 into main Nov 7, 2026
16 checks passed
@Malcolmnixon
Malcolmnixon deleted the feature/architecture-diagram branch November 7, 2026 08:35
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