Skip to content

Apply formal review fixes and documentation updates across all groups - #189

Merged
Malcolmnixon merged 30 commits into
mainfrom
template-update
Jun 1, 2026
Merged

Malcolmnixon merged 30 commits into
mainfrom
template-update

Conversation

@Malcolmnixon

Copy link
Copy Markdown
Member

This pull request introduces several improvements to project tooling, documentation validation, and agent definitions. The most significant changes include the addition of a comprehensive .fileassert.yaml for document validation, updates to agent markdown files for clarity and workflow improvements, enhancements to the spelling dictionary, and adjustments to .config/dotnet-tools.json to improve tool configuration and add new tools.

Document validation and tooling:

  • Added a new .fileassert.yaml file to define validation tests for generated documents, ensuring that key outputs (HTML, PDF) from Pandoc and WeasyPrint are present and meet expected metadata and content requirements.
  • Updated .config/dotnet-tools.json to add new tools (fileassert, dictionarymark), set "rollForward": false for all tools to ensure version consistency, and reorganized the tool list for clarity.

Agent definitions and workflows:

  • Replaced the old code-review.agent.md with a new, more detailed formal-review.agent.md, clarifying the review process, required standards, and reporting format for formal reviews. [1] [2]
  • Improved the developer.agent.md to clarify the standards-based workflow, add explicit pre-flight verification, companion artifact update planning, and enhanced reporting requirements. [1] [2] [3]

Spelling and terminology:

  • Expanded .cspell.yaml with additional project-specific technical terms, tool names, and spelling variants to reduce false positives in spellchecking. [1] [2] [3] [4] [5] [6]

Malcolm Nixon and others added 14 commits May 28, 2026 06:57
- Fix heading depths, XmlDoc, AAA comments, and N/A contradictions
- Rename CommandRegistry.cs -> CommandsRegistry.cs (class name match)
- Rename mstest.yaml -> xunit.yaml (content was xUnit, not MSTest)
- Move utility/utility.md -> utility.md (correct subsystem file location)
- Add spdx.md subsystem design file; reclassify Spdx as subsystem
- Fix 17 missing requirement file includes in requirements.yaml
- Fix .reviewmark.yaml: PathHelpers and Wildcard review-sets had wrong files
- Fix ValidateQuery, ValidateRenameId, ValidateNtia, ValidateRunNuGetWorkflow
  XmlDoc (stale copy-paste summaries, missing remarks/exception tags)
- Fix Wildcard test naming convention and wrap assertions in Assert.Multiple
- Fix PathHelpers ambiguous cref (Path.GetFullPath -> Path.GetFullPath(string))
- Various verification doc scenarios added, design doc accuracy fixes

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…pers, Wildcard)

- ValidateUpdatePackage: added exception-propagation disclosure to Run() remarks,
  added <exception> tags to DoValidate(), guarded Directory.Delete with
  Directory.Exists check, fixed bare AAA labels, added class and method <remarks>,
  added IoError propagation test, updated design/verification/reqstream docs
- PathHelpers: split compound SpdxTool-Utility-SafePath requirement into
  RejectTraversal + RejectAbsolutePath, added RejectNullArguments requirement,
  added NullBasePath and NullRelativePath tests, added class <remarks>,
  fixed bare AAA labels, added Algorithm sub-section to design doc,
  added NullArgumentRejection verification scenario, fixed inline comment
- Wildcard: reordered <remarks> to follow <summary> on IsMatch, added class
  and method <remarks> to WildcardTests, fixed AAA comment form, added null
  argument tests and empty-string boundary tests, updated reqstream and
  verification docs
- Also fixed pre-existing RunWorkflow.cs merge conflict corruption and
  RelationshipDirection.cs unresolvable GetValueOrDefault cref

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Fix XmlDoc tag ordering (exception before param in several files)
- Fix 'unconditionally' anti-pattern in all SelfTest DoValidate remarks
- Add sequential execution precondition to all SelfTest Run design docs
- Add IOException/UnauthorizedAccessException exception docs throughout
- Fix 'to console' code comments to 'Report validation result'
- Add IoError test entries to reqstream YAML files
- Change Wildcard class from public to internal
- Fix duplicate/incorrect code comments
- Fix design doc post-conditions for validate-update-package
- Improve VersionRegex and WildcardToRegex summaries
- Remove inconsistent thread-safety paragraphs from method docs
- Various minor doc improvements across commands and self-test areas

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Fix Diagram.cs XML doc: FileNotFoundException -> CommandUsageException
- Fix diagram.md error handling: FileNotFoundException -> CommandUsageException
- Remove FindPackage from relationship-direction.md Callers (not a caller)
- Add negative-depth case to context.md Error Handling section
- Document Context.Depth effect in self-test.md and validate.md
- Remove incorrect SelfTest reference from utility.md Overview
- Fix escaped angle brackets in print.md method headings
- Document RunBytes parameter validation in run-workflow.md
- Add --silent/--log output routing to spdx-tool.md Data Flow
- Fix SpdxTool-CommandExecution-SupportedCommands title (observable behavior)
- Add CommandsRegistry_Commands_AllExpectedNames_ArePresent test link
- Add tests: [SpdxTool_Basic] to SpdxTool-SelfTest-Basic requirement
- Fix test name in ots/spdx-model.yaml (add _Run_ segment)
- Fix test name in command-error-exception.yaml (add _Run_ segment)
- Fix test name in commands-registry.yaml and program.yaml
- Add SpdxWorkflowFile and SpdxToolCommand MSBuild property requirements
- Add children link from SpdxTool-Commands-VariableExpansion to unit req
- Fix test name in command-usage-exception.md (add _Run_ segment)
- Fix utility wildcard pattern in verification/introduction.md
- Add DefaultDepth scenario to verification/spdx-tool/context.md
- Add UnsupportedResultExtension and SilentLogCombination scenarios
- Extend YamlInputExtraction scenario to reference null-entry test
- Document --depth flag in user_guide/validation.md
- Add Query and Print command subsections in user_guide/usage.md
- Move Context tests from ProgramTests/LogTests to new ContextTests.cs

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Fix test name in verification/ots/spdx-model.md (add _Run_ segment)
- Add SpdxTool-OTS-SpdxModel-Validation requirement and scenario
- Split compound SpdxTool-SelfTest-Validate into Validate + Report
- Extend SelfTestValidationCollection summary (Console.Out redirection)
- Add remarks to SelfTestTests.cs linking tests to requirement scenarios
- Confirm CommandTests.cs needs CommandSequential collection (env vars)
- Move unit-level tests from commands.yaml to command.yaml/commands-registry.yaml
- Add 5 missing verification scenarios to verification/spdx-tool/commands.md
- Fix Arrange/Act comment labels in CommandTests.cs
- Add Command_GetMapString_NullMap_ReturnsNull test
- Remove cross-level tests from utility.yaml SpdxTool-Utility-SharedHelpers
- Remove cross-level tests from spdx.yaml SpdxTool-Spdx-SharedUtilities
- Fix caller docs in spdx.md (Query/FindPackage -> Diagram/CopyPackage)
- Add ArgumentNullException XML doc tags to SpdxHelpers.cs
- Add Context_Create_NoDepthFlag_DefaultsDepthToOne unit test
- Add SpdxTool-Context-InvalidDepthRejection/LogFileRejection requirements
- Add Context unit tests for ExecutionState and ErrorCount
- Update verification/spdx-tool/context.md (ContextTests.cs references)
- Add test/**/ContextTests.cs to SpdxTool-Context review-set in .reviewmark.yaml
- Expand InvalidOperationException XML doc on Context.Create
- Remove superfluous --validate from NegativeDepth test args

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 31, 2026 19:06

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.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

Comment thread src/DemaConsulting.SpdxTool/Commands/SetVariable.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Targets.Tests/FixturePaths.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Targets.Tests/FixturePaths.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Targets.Tests/FixturePaths.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Targets.Tests/FixturePaths.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Targets.Tests/FixturePaths.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Targets.Tests/FixturePaths.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Targets.Tests/FixturePaths.cs Fixed
@Malcolmnixon
Malcolmnixon requested a review from Copilot May 31, 2026 19:32

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.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

Copilot AI review requested due to automatic review settings May 31, 2026 19:52

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.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

Comment thread src/DemaConsulting.SpdxTool/Utility/PathHelpers.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Tests/Commands/HashTests.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Tests/Commands/GetVersionTests.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Tests/Commands/HashTests.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Tests/Commands/GetVersionTests.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Tests/Commands/GetVersionTests.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Tests/Commands/HashTests.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Tests/Commands/GetVersionTests.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Tests/Commands/HashTests.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Tests/Commands/GetVersionTests.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Tests/Commands/GetVersionTests.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Tests/Commands/HelpTests.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Tests/Commands/HelpTests.cs Fixed
Copilot AI review requested due to automatic review settings May 31, 2026 22:26

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.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

Comment thread test/DemaConsulting.SpdxTool.Tests/Commands/HashTests.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Tests/Commands/HashTests.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Tests/SelfTest/ValidateBasicTests.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Tests/SelfTest/ValidateBasicTests.cs Fixed
Comment thread test/DemaConsulting.SpdxTool.Tests/SelfTest/ValidateDiagramTests.cs Fixed
Copilot AI review requested due to automatic review settings June 1, 2026 03: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.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

Copilot AI review requested due to automatic review settings June 1, 2026 04:21

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.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

Comment thread test/DemaConsulting.SpdxTool.Tests/SelfTest/ValidateDiagramTests.cs Fixed
Copilot AI review requested due to automatic review settings June 1, 2026 11:52

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.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

Comment thread test/DemaConsulting.SpdxTool.Tests/Utility/PathHelpersTests.cs Dismissed
Comment thread test/DemaConsulting.SpdxTool.Tests/Utility/PathHelpersTests.cs Dismissed
Comment thread test/DemaConsulting.SpdxTool.Tests/Utility/PathHelpersTests.cs Dismissed
Comment thread test/DemaConsulting.SpdxTool.Tests/Utility/PathHelpersTests.cs Dismissed
Copilot AI review requested due to automatic review settings June 1, 2026 17:34

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.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

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