Skip to content

Add root-tags orphan detection for requirements traceability - #126

Merged
Malcolmnixon merged 1 commit into
mainfrom
feature/root-tags-orphan-detection
Sep 2, 2026
Merged

Add root-tags orphan detection for requirements traceability#126
Malcolmnixon merged 1 commit into
mainfrom
feature/root-tags-orphan-detection

Conversation

@Malcolmnixon

Copy link
Copy Markdown
Member

Summary

Applies the root-tags orphan-detection pattern (established across sibling DemaConsulting repos) to TemplateDotNetLibrary's requirements traceability.

  • Bumped demaconsulting.reqstream tool to 1.11.0.
  • Tagged all 9 Template-Lib-* system requirements and all 7 Template-Platform-* platform requirements with [system].
  • Added docs/reqstream/quality.yaml grouping the repository's OTS process tooling (xUnit, ReqStream, BuildMark, VersionMark, SarifMark, SonarMark, ReviewMark, Pandoc, WeasyPrint, FileAssert, SysML2Tools) under [quality] tags, so third-party-derived requirements are not reported as orphans.
  • Added
    oot-tags: [system, quality] to
    equirements.yaml.

No genuine traceability gaps were found in this repository — every non-OTS requirement was already correctly linked up to the system root.

Validation

  • dotnet reqstream --requirements requirements.yaml --enforce -> 0 of 45 requirements orphaned.
  • pwsh ./build.ps1 -> all 64 tests passed (net8.0/net9.0/net10.0/net481).
  • pwsh ./fix.ps1 / pwsh ./lint.ps1 -> clean, exit 0.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

- Bump demaconsulting.reqstream tool to 1.11.0
- Tag all 9 Template-Lib-* system requirements and all 7
  Template-Platform-* platform requirements with [system]
- Add docs/reqstream/quality.yaml grouping the repository's OTS process
  tooling (xUnit, ReqStream, BuildMark, VersionMark, SarifMark,
  SonarMark, ReviewMark, Pandoc, WeasyPrint, FileAssert, SysML2Tools)
  under [quality] tags so they are not reported as orphans
- Add root-tags: [system, quality] to requirements.yaml so
  'dotnet reqstream --requirements requirements.yaml --enforce' detects
  requirements not traceable to product-level functionality
- Verified 0 orphans of 45 requirements after changes (no genuine
  traceability gaps found; all orphans were OTS process tooling)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 2, 2026 02:59

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.

🟢 Approval recommended

The changes are consistent, the new references resolve to existing OTS requirement IDs, and the update is low-risk configuration/tagging that supports traceability enforcement.

Pull request overview

This PR updates the repository’s ReqStream requirements-traceability configuration to use root-tag–based orphan detection, ensuring that both user-facing system requirements and OTS/tooling-derived quality requirements participate in orphan detection without producing false positives.

Changes:

  • Added root-tags: [system, quality] and included a new quality-grouping requirements file in requirements.yaml.
  • Tagged existing system and platform requirements with [system] so they act as traceability roots.
  • Added docs/reqstream/quality.yaml to group OTS process-tooling requirements under a [quality] root and bumped demaconsulting.reqstream to 1.11.0.
File summaries
File Description
requirements.yaml Adds root-tags and includes the new quality requirements file for orphan detection.
docs/reqstream/template-dot-net-library.yaml Tags system-level library requirements with [system] to serve as traceability roots.
docs/reqstream/template-dot-net-library/platform-requirements.yaml Tags platform requirements with [system] so platform traceability is rooted.
docs/reqstream/quality.yaml Introduces [quality]-tagged grouping requirements linking OTS/tooling requirements to a non-system root.
.config/dotnet-tools.json Bumps demaconsulting.reqstream tool version to 1.11.0.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Malcolmnixon
Malcolmnixon merged commit ace20db into main Sep 2, 2026
7 checks passed
@Malcolmnixon
Malcolmnixon deleted the feature/root-tags-orphan-detection branch September 2, 2026 03:08
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