Skip to content

docs: fix broken intra-repo links in docs/ (ag-28dp #docs-link-rot)#781

Merged
boshu2 merged 2 commits into
mainfrom
chore/ag-28dp-docs-link-rot
Jun 6, 2026
Merged

docs: fix broken intra-repo links in docs/ (ag-28dp #docs-link-rot)#781
boshu2 merged 2 commits into
mainfrom
chore/ag-28dp-docs-link-rot

Conversation

@boshu2
Copy link
Copy Markdown
Owner

@boshu2 boshu2 commented Jun 6, 2026

What

Fix 44 broken intra-repo links across 7 files under docs/, surfaced by a docs/ markdown link audit. mkdocs.yml has strict: false, so the broken links slipped past CI — but they break GitHub-raw viewing and agent file-reading (the repo treats pointer rot in base docs as a defect).

Two pointer-rot classes

  1. 41× ](skills/<name>.md)](../skills/<name>/SKILL.md) — skills live at skills/<name>/SKILL.md, never skills/<name>.md, and docs/ is one level deep so the target needs ../. Several links already had the correct link text (e.g. [skills/pre-mortem/SKILL.md](skills/pre-mortem.md)) — only the href was wrong, confirming intent. Special case: skills/catalog.mdSKILLS.md (docs/SKILLS.md = the complete 82-skill reference).
  2. ](cli/commands.md)](../cli/docs/COMMANDS.md) — the generated CLI command doc.

Files: GLOSSARY.md, index.md, context-lifecycle.md, behavioral-discipline.md, create-your-first-skill.md, context-packet.md, software-factory.md.

Not touched: the intentional placeholder links in docs/standards/markdown-style-guide.md (syntax demos: url, image.png, ./other-doc.md, etc.).

Verification

  • docs/ broken-link scan: 44 → 0 outside the style-guide placeholders.
  • markdownlint-cli2 on all 7 files: 0 errors.
  • Pure link-href changes (44 insertions / 44 deletions); no prose or behavior change.

Closes-scenario: ag-28dp#docs-link-rot
Bounded-context: BC1-Corpus
Evidence: ag-28dp

44 broken intra-repo links across 7 docs surfaced by a docs/ link audit
(mkdocs strict:false, so no gate caught them — but they break GitHub-raw
viewing and agent file-reading).

Two pointer-rot classes:
- 41x ](skills/<name>.md) -> ](../skills/<name>/SKILL.md): skills live at
  skills/<name>/SKILL.md, never skills/<name>.md. Several links already had
  the correct LINK TEXT (e.g. [skills/pre-mortem/SKILL.md](skills/pre-mortem.md)),
  confirming intent. Special case skills/catalog.md -> SKILLS.md (the 82-skill
  reference).
- 3x ](cli/commands.md) -> ](../cli/docs/COMMANDS.md).

Excludes the intentional placeholder links in
docs/standards/markdown-style-guide.md (syntax demos: url, image.png, etc.).

Re-running the docs/ broken-link scan: 44 -> 0 outside placeholders.
markdownlint-cli2: 0 errors.

Closes-scenario: ag-28dp#docs-link-rot
Bounded-context: BC1-Corpus
Evidence: ag-28dp
@github-actions github-actions Bot added the docs label Jun 6, 2026
@boshu2 boshu2 merged commit f4f991b into main Jun 6, 2026
16 checks passed
@boshu2 boshu2 deleted the chore/ag-28dp-docs-link-rot branch June 6, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant