Apply TemplateDotNetTool PR #76 - Replace role-based agents with standards-based model#108
Merged
Merged
Conversation
…dards-based model - Remove 5 old role-based agents: code-quality, requirements, software-developer, technical-writer, test-developer - Add 3 new standards-based agents: developer, implementation, quality - Update code-review and repo-consistency agents with structured workflow and .agent-logs/ reporting - Add .github/standards/ directory with 6 reusable standards files - Rewrite AGENTS.md around standards-delegation model - Update lint.sh/lint.bat with --silent/--quiet/--disable-pip-version-check flags - Update .markdownlint-cli2.yaml with noBanner and noProgress settings - Update .cspell.yaml, .gitignore, .yamllint.yaml to exclude .agent-logs/ - Remove --definition .reviewmark.yaml from build.yaml (auto-discovered) Agent-Logs-Url: https://github.com/demaconsulting/SonarMark/sessions/537f8181-455f-40bd-b864-fe825c39354f Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Merge pull request #76 and update repo-consistency agent
Apply TemplateDotNetTool PR #76 - Replace role-based agents with standards-based model
Mar 30, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Aligns SonarMark with TemplateDotNetTool’s updated “standards-based agents” model by introducing shared standards docs, refreshing agent definitions, and tightening lint/config noise and exclusions to support agent-generated reports.
Changes:
- Replace old role-based agents with standards-based agents and update agent guidance in
AGENTS.md. - Add
.github/standards/documents to centralize development, testing, requirements, review, and documentation standards. - Quiet lint tool output and exclude
.agent-logs/from linters and git ignore; simplify ReviewMark invocation in CI.
Reviewed changes
Copilot reviewed 23 out of 24 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| lint.sh | Use quieter npm/pip/cspell flags to reduce lint output noise. |
| lint.bat | Windows equivalent quiet flags for npm/pip/cspell. |
| AGENTS.md | Update agent delegation model and quality gate checklist; add .agent-logs/ reporting guidance. |
| .yamllint.yaml | Ignore .agent-logs/ during YAML linting. |
| .markdownlint-cli2.yaml | Suppress banner/progress; ignore .agent-logs/; clarify MD024 comment. |
| .gitignore | Ignore .agent-logs/ directory. |
| .cspell.yaml | Ignore .agent-logs/ during spell checking. |
| .github/workflows/build.yaml | Remove explicit ReviewMark --definition .reviewmark.yaml argument. |
| .github/standards/csharp-language.md | Add C# coding standards (literate style, XML docs, DI, error handling). |
| .github/standards/csharp-testing.md | Add MSTest testing standards (AAA, naming, antipatterns). |
| .github/standards/reqstream-usage.md | Add ReqStream requirements management standards and command guidance. |
| .github/standards/reviewmark-usage.md | Add ReviewMark file review standards, examples, and command guidance. |
| .github/standards/software-items.md | Add software item categorization standards (system/subsystem/unit/OTS). |
| .github/standards/technical-documentation.md | Add technical documentation standards and Pandoc structure guidance. |
| .github/agents/code-review.agent.md | Update code-review agent workflow/reporting instructions. |
| .github/agents/repo-consistency.agent.md | Expand repo-consistency workflow steps and reporting template. |
| .github/agents/developer.agent.md | Add general-purpose developer agent aligned to standards. |
| .github/agents/implementation.agent.md | Add orchestrator agent with state-machine workflow. |
| .github/agents/quality.agent.md | Add quality assessment agent and report template. |
| .github/agents/requirements.agent.md | Remove old requirements agent definition. |
| .github/agents/software-developer.agent.md | Remove old software-developer agent definition. |
| .github/agents/test-developer.agent.md | Remove old test-developer agent definition. |
| .github/agents/technical-writer.agent.md | Remove old technical-writer agent definition. |
| .github/agents/code-quality.agent.md | Remove old code-quality agent definition. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Member
|
@copilot apply changes based on the comments in this thread |
…per DEMA standards - Rename docs/guide/ to docs/user_guide/ to match technical-documentation.md standard - Rename guide.md to introduction.md (file already started with # Introduction heading) - Update definition.yaml resource-path and input-files accordingly - Update build.yaml pandoc and weasyprint steps to reference new paths - Update README.md documentation links to point to new location Agent-Logs-Url: https://github.com/demaconsulting/SonarMark/sessions/3ac1f9dc-7471-4817-96ec-19d962219aef Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Malcolmnixon
approved these changes
Mar 30, 2026
This was referenced Apr 6, 2026
This was referenced Apr 6, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Ports TemplateDotNetTool#76 into SonarMark, replacing the 5 monolithic role-based agents with a leaner standards-delegation model and adding structured standards references.
Agent restructure (
.github/agents/)code-quality,requirements,software-developer,technical-writer,test-developerdeveloper(general-purpose, standards-based),implementation(RESEARCH→DEVELOPMENT→QUALITY→REPORT state machine),quality(compliance checklist grader)code-reviewandrepo-consistencywith structured workflow and.agent-logs/-based reportingNew
.github/standards/directory6 reusable standards files agents load on demand:
csharp-language.md,csharp-testing.md,reqstream-usage.md,reviewmark-usage.md,software-items.md,technical-documentation.mdAGENTS.mdRewritten around the standards-delegation model; agent report convention moved from
AGENT_REPORT_*.mdto.agent-logs/[agent]-[subject]-[id].mdTooling/config
lint.sh/lint.batnpm install --silent,pip install --quiet --disable-pip-version-check,cspell --quiet.markdownlint-cli2.yamlnoBanner: true,noProgress: true.cspell.yaml,.gitignore,.yamllint.yaml.agent-logs/build.yaml--definition .reviewmark.yaml(auto-discovered by ReviewMark)User guide folder renamed to match DEMA Consulting standards
docs/guide/→docs/user_guide/to conform to thetechnical-documentation.mdstandardguide.md→introduction.md(file already opened with# Introductionas its first heading)definition.yaml,build.yaml(Pandoc and Weasyprint steps), andREADME.mdto reference the new pathsNo functional code changes — agent/configuration/documentation files only.
Type of Change
Related Issues
Pre-Submission Checklist
Before submitting this pull request, ensure you have completed the following:
Build and Test
dotnet build --configuration Releasedotnet test --configuration Releasedotnet run --project src/DemaConsulting.SonarMark --configuration Release --framework net10.0--no-build -- --validateCode Quality
dotnet format --verify-no-changesLinting
./lint.sh(Unix/macOS) orcmd /c lint.bat/./lint.bat(Windows)Testing
Documentation
Additional Notes
Agent/config/documentation-only changes. No production code touched.
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.