Skip to content

Describe WriteDiagnostics as used by every command that reports notes - #104

Merged
Malcolmnixon merged 2 commits into
mainfrom
docs/context-diagnostics-scope
Nov 4, 2026
Merged

Malcolmnixon merged 2 commits into
mainfrom
docs/context-diagnostics-scope

Conversation

@Malcolmnixon

Copy link
Copy Markdown
Member

Pull Request

Description

This PR fixes a design-document line that #102's final review flagged after the PR had merged. docs/design/canvas-net-tool/context.md described WriteDiagnostics as writing the notes of a successful render only. It now names every command that calls it:

  • render/convert and the verbs
  • inspect
  • montage
  • compare, including before a failed threshold is reported

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

Follow-up to #102.

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 (not run: documentation-only change)
  • Code produces zero warnings

Code Quality

  • New code has appropriate XML documentation comments (not applicable)
  • Static analyzer warnings have been addressed (not applicable)

Quality Checks

Please run the following checks before submitting:

  • All linters pass: markdownlint passes on the changed file; CI runs lint.ps1

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

None.

Copilot AI lite review requested due to automatic review settings November 4, 2026 03:45

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

An active documentation issue remains because the added line exceeds the 120-character limit and should be wrapped.

1 open issue
What changed in this PR

This documentation-only pull request updates the CanvasNet Tool design documentation to describe WriteDiagnostics for every command that reports diagnostic notes, including compare before failed threshold reporting.

Changes:

  • Documents usage for render/convert, verbs, inspect, montage, and compare.
  • Clarifies that JSON, silent-mode, logging, and model echo behavior remain unchanged.
  • Notes that the line added at line 65 exceeds the 120-character documentation standard and should be wrapped before so.
File Description
docs/​design/​canvas-net-tool/​context.md Expands the WriteDiagnostics design description to cover all applicable command paths and threshold failures.

This pull request is ready to be approved.

Review effort: Lite

Comment thread docs/design/canvas-net-tool/context.md Resolved
Copilot AI lite review requested due to automatic review settings November 4, 2026 03:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The documentation-only update has no active review issues and clearly expands coverage of diagnostics behavior across the affected commands.

No open issues 🎉

1 resolved since last review

Review effort: Lite

Malcolm Nixon and others added 2 commits November 4, 2026 00:21
Follow-up from the final review of #102.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Malcolmnixon
Malcolmnixon force-pushed the docs/context-diagnostics-scope branch from c9eaeed to d1bdf94 Compare November 4, 2026 05:21
Copilot AI lite review requested due to automatic review settings November 4, 2026 05:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The documentation-only update comprehensively covers the relevant diagnostic-reporting commands and comparison-failure behavior, with no active review issues identified.

No open issues 🎉

Review effort: Lite

@Malcolmnixon
Malcolmnixon merged commit 8f91d70 into main Nov 4, 2026
16 checks passed
@Malcolmnixon
Malcolmnixon deleted the docs/context-diagnostics-scope branch November 4, 2026 06:07
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