Skip to content

Cleanups from new agents and template repository.#8

Merged
Malcolmnixon merged 11 commits into
mainfrom
template-cleanup
May 21, 2026
Merged

Cleanups from new agents and template repository.#8
Malcolmnixon merged 11 commits into
mainfrom
template-cleanup

Conversation

@Malcolmnixon
Copy link
Copy Markdown
Member

This pull request introduces significant improvements to standards and automation agents for software documentation, focusing on better support for "Shared Package" categorization, clearer folder structures, and enhanced repository-template synchronization. The changes update standards, compliance checklists, and agent instructions to reflect these enhancements, and add a new Template Sync agent for automated template conformance.

Standards and Structure Updates:

  • Updated all relevant standards documents (software-items.md, design-documentation.md, reqstream-usage.md) to recognize "Shared Package" as a first-class software item alongside System, Subsystem, Unit, and OTS, and clarified folder/file organization for shared packages and OTS items. [1] [2] [3] [4]
  • Refined folder structure and mandatory section requirements for design documentation, including explicit sections for shared packages and OTS integration, and improved quality checklists to ensure compliance.

Compliance and Quality Checklist Improvements:

  • Reworked the requirements, design, code quality, testing, review, and documentation compliance checklists for clarity and to account for new artifact types and folder structures, including shared packages and improved traceability.

Agent and Automation Enhancements:

  • Added a new template-sync.agent.md agent, which orchestrates repository auditing and synchronization against canonical templates, supporting multiple operational modes (Audit, Sync, Scaffold, Recreate) and delegating to sub-agents by work group.
  • Improved developer agent instructions for file creation by requiring template fetching and placeholder adjustment for new files, ensuring consistency with reference templates.

These changes collectively ensure more robust, template-driven, and standards-compliant documentation and repository structure, with automation support for maintaining conformance.

Copilot AI review requested due to automatic review settings May 20, 2026 20:10
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR aligns DictionaryMark’s documentation/standards and automation artifacts with newer template conventions (including Shared Package/OTS guidance), while also tightening the test harness and adding a template synchronization agent.

Changes:

  • Updated standards + documentation structure/content for verification/design/requirements, including expanded OTS artifacts and references.
  • Improved test infrastructure (temporary directory helper + process runner), updated tests accordingly, and refined test namespaces.
  • Updated compliance/config files (ReqStream includes, ReviewMark review-sets, docs build definitions) and added a template-sync orchestrator agent.

Reviewed changes

Copilot reviewed 109 out of 110 changed files in this pull request and generated 12 comments.

Show a summary per file
File Description
test/DemaConsulting.DictionaryMark.Tests/Utilities/UtilitiesSubsystemTests.cs Move test to subsystem namespace
test/DemaConsulting.DictionaryMark.Tests/Utilities/PathHelpersTests.cs Move test to unit namespace
test/DemaConsulting.DictionaryMark.Tests/SelfTest/ValidationTests.cs Move test to unit namespace
test/DemaConsulting.DictionaryMark.Tests/IntegrationTests.cs Use TemporaryDirectory; add stderr/stdout assertions
test/DemaConsulting.DictionaryMark.Tests/Helpers/TemporaryDirectory.cs Validate filenames passed to temp dir helper
test/DemaConsulting.DictionaryMark.Tests/Helpers/Runner.cs Add stdout/stderr split + timeout
test/DemaConsulting.DictionaryMark.Tests/Dictionary/DictionarySubsystemTests.cs Use TemporaryDirectory; add end-to-end pipeline test
test/DemaConsulting.DictionaryMark.Tests/Cli/ContextTests.cs Move test to unit namespace
src/DemaConsulting.DictionaryMark/SelfTest/Validation.cs Add constant documentation comments
src/DemaConsulting.DictionaryMark/Dictionary/DictionaryEntry.cs Clarify null-handling in ctor docs
src/DemaConsulting.DictionaryMark/Cli/Context.cs Document log open exception behavior
requirements.yaml Include additional OTS requirement files
README.md Document --definition-header; add build/user guide sections
docs/verification/ots/yaml-dot-net.md Add YamlDotNet OTS verification evidence
docs/verification/ots/xunit.md Rename section + add regression/suitability text
docs/verification/ots/weasyprint.md Rename section + add regression/suitability text
docs/verification/ots/versionmark.md Rename section + add regression/suitability text
docs/verification/ots/test-results.md Add TestResults OTS verification evidence
docs/verification/ots/sonarmark.md Rename section + add regression/suitability text
docs/verification/ots/sarifmark.md Rename section + add regression/suitability text
docs/verification/ots/reviewmark.md Rename section + add regression/suitability text
docs/verification/ots/reqstream.md Add requirements link; rename section; add regression/suitability
docs/verification/ots/pandoc.md Rename section + add regression/suitability text
docs/verification/ots/fileassert.md Rename section + add regression/suitability text
docs/verification/ots/file-system-globbing.md Add FileSystemGlobbing OTS verification evidence
docs/verification/ots/buildmark.md Rename section + add regression text
docs/verification/ots.md Expand OTS list + strategy/evidence text
docs/verification/introduction.md Add releases reference section
docs/verification/dictionary-mark/utilities/path-helpers.md Rename to “Verification Strategy”; add env/criteria sections
docs/verification/dictionary-mark/utilities/glob-matcher.md Rename to “Verification Strategy”; add env/criteria; adjust coverage IDs
docs/verification/dictionary-mark/utilities.md Rename to “Verification Strategy”; add env/criteria; refine requirement mapping
docs/verification/dictionary-mark/test-helpers.md Document TemporaryDirectory/Runner helpers
docs/verification/dictionary-mark/self-test/validation.md Rename to “Verification Strategy”; add env/criteria
docs/verification/dictionary-mark/self-test.md Rename to “Verification Strategy”; add env/criteria; reformat scenarios
docs/verification/dictionary-mark/program.md Rename to “Verification Strategy”; add env/criteria
docs/verification/dictionary-mark/dictionary/yaml-loader.md Rename to “Verification Strategy”; add env/criteria
docs/verification/dictionary-mark/dictionary/markdown-formatter.md Rename to “Verification Strategy”; add env/criteria
docs/verification/dictionary-mark/dictionary/dictionary-generator.md Rename to “Verification Strategy”; add env/criteria
docs/verification/dictionary-mark/dictionary/conflict-detector.md Rename to “Verification Strategy”; add env/criteria
docs/verification/dictionary-mark/dictionary.md Add subsystem strategy + scenarios including generation pipeline
docs/verification/dictionary-mark/cli/context.md Rename to “Verification Strategy”; add env/criteria
docs/verification/dictionary-mark/cli.md Rename to “Verification Strategy”; add env/criteria; refine scenarios
docs/verification/dictionary-mark.md Rename system scenarios section; add new error-handling requirements mapping
docs/user_guide/introduction.md Add references; document --definition-header; tweak option docs
docs/requirements_report/introduction.md Add releases reference section
docs/requirements_report/definition.yaml Comment generated trace matrix input
docs/requirements_doc/title.txt Title update
docs/requirements_doc/introduction.md Add references section
docs/requirements_doc/definition.yaml Comment generated requirements/justifications inputs
docs/reqstream/ots/yaml-dot-net.yaml Add YamlDotNet OTS requirement + test links
docs/reqstream/ots/test-results.yaml Add TestResults OTS requirement + test links
docs/reqstream/ots/reqstream.yaml Expand ReqStream requirement title/justification
docs/reqstream/ots/file-system-globbing.yaml Add FileSystemGlobbing OTS requirement + test links
docs/reqstream/dictionary-mark/utilities/path-helpers.yaml Title formatting cleanup
docs/reqstream/dictionary-mark/utilities/glob-matcher.yaml Split validation requirements; refine titles
docs/reqstream/dictionary-mark/utilities.yaml Split subsystem requirements into file-matching vs path-safety
docs/reqstream/dictionary-mark/self-test/validation.yaml Reword validation requirement titles for deployment emphasis
docs/reqstream/dictionary-mark/self-test.yaml Add explicit version/help self-test children
docs/reqstream/dictionary-mark/platform-requirements.yaml Add explicit Windows/Ubuntu platform requirements
docs/reqstream/dictionary-mark/dictionary/markdown-formatter.yaml Title formatting cleanup
docs/reqstream/dictionary-mark/dictionary/conflict-detector.yaml Title formatting cleanup
docs/reqstream/dictionary-mark/dictionary.yaml Add subsystem-level generation requirement + mapping
docs/reqstream/dictionary-mark/cli/context.yaml Split results flag vs missing-value requirement
docs/reqstream/dictionary-mark/cli.yaml Add children to error-output requirement; include missing-results requirement
docs/reqstream/dictionary-mark.yaml Refine requirement children mappings; add new system error-output requirements
docs/design/ots/yaml-dot-net.md Add YamlDotNet integration design
docs/design/ots/test-results.md Add TestResults integration design
docs/design/ots/file-system-globbing.md Add FileSystemGlobbing integration design
docs/design/ots.md Add OTS dependency overview/policy
docs/design/introduction.md Expand software structure; add explicit OTS companion artifact structure
docs/design/dictionary-mark/utilities/path-helpers.md Restructure headings; add error handling/dependencies/callers
docs/design/dictionary-mark/utilities/glob-matcher.md Restructure headings; add error handling/dependencies/callers
docs/design/dictionary-mark/utilities.md Add subsystem overview/interfaces/design detail
docs/design/dictionary-mark/self-test/validation.md Restructure headings; add error handling/dependencies/callers
docs/design/dictionary-mark/self-test.md Add subsystem overview/interfaces/design detail
docs/design/dictionary-mark/program.md Add interfaces + error handling/dependencies/callers
docs/design/dictionary-mark/dictionary/yaml-loader.md Add error handling/dependencies/callers sections
docs/design/dictionary-mark/dictionary/markdown-formatter.md Add error handling/dependencies/callers sections
docs/design/dictionary-mark/dictionary/dictionary-generator.md Add dependencies/callers sections
docs/design/dictionary-mark/dictionary/conflict-detector.md Add error handling/dependencies/callers sections
docs/design/dictionary-mark/dictionary.md Add subsystem overview/interfaces/design detail
docs/design/dictionary-mark/cli/context.md Add error handling/dependencies/callers sections
docs/design/dictionary-mark/cli.md Add subsystem overview/interfaces/design detail
docs/design/dictionary-mark.md Rework architecture sections; document CLI flags + dependencies + constraints
docs/design/definition.yaml Add ots resource path + include ots.md
docs/code_review_report/title.txt Rename report metadata + add keywords
docs/code_review_report/introduction.md Rewrite purpose/scope; add references
docs/code_review_report/definition.yaml Comment generated report input
docs/code_review_plan/title.txt Rename plan metadata + add keywords
docs/code_review_plan/introduction.md Wording update + references
docs/code_review_plan/definition.yaml Comment generated plan input
docs/code_quality/title.txt Add “Static Analysis” keyword
docs/code_quality/introduction.md Add references section
docs/code_quality/definition.yaml Comment generated CodeQL/Sonar inputs
docs/build_notes/title.txt Rename build notes title
docs/build_notes/introduction.md Expand purpose/scope; add references
docs/build_notes/definition.yaml Comment generated build notes/versions inputs
AGENTS.md Fill repo metadata; add template reference; restructure standards matrix
.reviewmark.yaml Include OTS design docs in architecture review set; add new OTS review-sets
.gitignore Ignore OS metadata files
.github/standards/verification-documentation.md Update structure/terminology; add Shared Package guidance
.github/standards/technical-documentation.md Clarify generated folder policy
.github/standards/software-items.md Add Shared Package category + artifact locations
.github/standards/reviewmark-usage.md Update OTS/shared review-set guidance
.github/standards/reqstream-usage.md Add shared/ subtree guidance + clarify OTS design docs
.github/standards/design-documentation.md Add OTS/shared folder structure + mandatory sections
.github/agents/template-sync.agent.md Add template sync orchestrator agent
.github/agents/software-architect.agent.md Update terminology to include Shared Package
.github/agents/quality.agent.md Update checklist language to match new structure
.github/agents/developer.agent.md Require fetching template counterparts for new files

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test/DemaConsulting.DictionaryMark.Tests/Helpers/TemporaryDirectory.cs Outdated
Comment thread test/DemaConsulting.DictionaryMark.Tests/IntegrationTests.cs
Comment thread docs/verification/ots/yaml-dot-net.md Outdated
Comment thread docs/verification/ots/file-system-globbing.md Outdated
Comment thread docs/verification/ots/test-results.md Outdated
Comment thread docs/design/ots/file-system-globbing.md
Comment thread docs/design/ots/file-system-globbing.md Outdated
Comment thread docs/design/definition.yaml
Comment thread .reviewmark.yaml
Comment thread docs/verification/ots.md
Copilot AI review requested due to automatic review settings May 20, 2026 20:49
Agent-Logs-Url: https://github.com/demaconsulting/DictionaryMark/sessions/5733e059-ed95-4eaa-94f8-5d82c033b1a6

Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 113 out of 114 changed files in this pull request and generated 10 comments.

Comment thread test/DemaConsulting.DictionaryMark.Tests/Helpers/TemporaryDirectory.cs Outdated
Comment thread src/DemaConsulting.DictionaryMark/Dictionary/DictionaryEntry.cs Outdated
Comment thread docs/design/ots/yaml-dot-net.md
Comment thread docs/design/ots/file-system-globbing.md
Comment thread docs/design/definition.yaml
Comment thread docs/design/ots/test-results.md
Comment thread docs/verification/ots/yaml-dot-net.md
Comment thread docs/verification/ots/file-system-globbing.md
Comment thread docs/verification/ots/test-results.md
Comment thread .reviewmark.yaml
Copilot AI review requested due to automatic review settings May 20, 2026 21:37
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 123 out of 124 changed files in this pull request and generated 7 comments.

Comments suppressed due to low confidence (1)

docs/design/introduction.md:35

  • TemporaryDirectory is now part of the Utilities subsystem, but it is missing from the design introduction's Utilities scope list. Please add it (and its file path) so the Scope section accurately enumerates all Utilities units described/implemented in this repo.

Comment thread test/DemaConsulting.DictionaryMark.Tests/Helpers/Runner.cs
Comment thread src/DemaConsulting.DictionaryMark/Utilities/TemporaryDirectory.cs
Comment thread docs/design/dictionary-mark/utilities.md Outdated
Comment thread docs/design/dictionary-mark/self-test.md
Comment thread docs/design/dictionary-mark/self-test.md Outdated
Comment thread docs/design/dictionary-mark/self-test/validation.md Outdated
Comment thread README.md
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 123 out of 124 changed files in this pull request and generated 6 comments.

Comments suppressed due to low confidence (1)

docs/design/introduction.md:35

  • The Utilities subsystem unit list omits TemporaryDirectory, which was added in this PR and is now used by self-test and test code. Add it here so the design introduction accurately reflects the current software-item inventory.

Comment thread docs/design/dictionary-mark/self-test.md
Comment thread docs/design/dictionary-mark/self-test.md
Comment thread docs/design/dictionary-mark/self-test/validation.md Outdated
Comment thread docs/design/dictionary-mark/self-test/validation.md
Comment thread docs/design/dictionary-mark/utilities.md Outdated
Comment thread src/DemaConsulting.DictionaryMark/Utilities/TemporaryDirectory.cs Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 123 out of 124 changed files in this pull request and generated 3 comments.

Comment thread docs/design/dictionary-mark/utilities/temporary-directory.md Outdated
Comment thread docs/verification/dictionary-mark/utilities/temporary-directory.md
Comment thread docs/reqstream/dictionary-mark/utilities/temporary-directory.yaml Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 123 out of 124 changed files in this pull request and generated 3 comments.

Comment thread src/DemaConsulting.DictionaryMark/Utilities/TemporaryDirectory.cs
Comment thread docs/design/dictionary-mark/dictionary/dictionary-generator.md Outdated
Agent-Logs-Url: https://github.com/demaconsulting/DictionaryMark/sessions/04296e93-382e-4a4d-a034-e378fc39c1f9

Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
@Malcolmnixon Malcolmnixon merged commit 07acdbc into main May 21, 2026
15 checks passed
@Malcolmnixon Malcolmnixon deleted the template-cleanup branch May 21, 2026 00:50
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.

3 participants