Skip to content

Validate Carried Documentation Links - #830

Merged
ptr727 merged 2 commits into
developfrom
feature/829-carried-workflow-link
Aug 19, 2026
Merged

Validate Carried Documentation Links#830
ptr727 merged 2 commits into
developfrom
feature/829-carried-workflow-link

Conversation

@ptr727

@ptr727 ptr727 commented Aug 19, 2026

Copy link
Copy Markdown
Owner

Fix carried governance links that resolve in the hub but break in downstream repositories.

  • Point hub-only workflow documentation and workflow references at canonical main URLs.
  • Validate relative links inside verbatim carried Markdown sections against universally carried files.
  • Cover hub-only, universal, absolute, and inline-code link cases.

The full local gate passed, including 731 unit tests, live fleet audit, repository configuration check, and containerized EditorConfig, ShellCheck, and PSScriptAnalyzer checks.

Copilot AI lite review requested due to automatic review settings August 19, 2026 02:09

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.

Pull request overview

This PR strengthens the spec validation gate to prevent carried verbatim Markdown sections from containing relative links that resolve in the hub but would break when those sections are carried into downstream repositories.

Changes:

  • Add a Markdown link scanner to spec/validate.py and a new validation pass to flag non-universally-carried relative link targets found in verbatim-carried sections.
  • Add unit tests covering core carried-relative-link acceptance/rejection cases.
  • Update carried governance text to use canonical hub URLs for hub-only workflow documentation references.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
spec/validate.py Adds parsing + validation to detect non-portable relative Markdown links inside verbatim-carried sections.
scripts/tests/test_spec_validate.py Adds focused unit tests for the new carried-relative-link validation behavior.
GOVERNANCE.md Replaces hub-only relative references with canonical main URLs to keep carried links valid downstream.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread spec/validate.py
Copilot AI review requested due to automatic review settings August 19, 2026 02:17

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.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

@ptr727
ptr727 marked this pull request as ready for review August 19, 2026 02:23
@ptr727
ptr727 merged commit 5442aeb into develop Aug 19, 2026
8 checks passed
@ptr727
ptr727 deleted the feature/829-carried-workflow-link branch August 19, 2026 04:26
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