Skip to content

AGENTS.md: fix relref build-failure claim, add .md-extension rule - #3903

Merged
kaitlynmichael merged 1 commit into
mainfrom
agents-md-relref-fix
Sep 1, 2026
Merged

AGENTS.md: fix relref build-failure claim, add .md-extension rule#3903
kaitlynmichael merged 1 commit into
mainfrom
agents-md-relref-fix

Conversation

@kaitlynmichael

@kaitlynmichael kaitlynmichael commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Corrects AGENTS.md's claim that a broken relref fails the build — it only warns, per David's earlier finding in Infra: Agents.md for contributors using AI #3826 (never pushed before that PR merged).
  • Adds a new rule: relref paths never carry a .md extension.

Test plan


Note

Low Risk
Documentation-only change to contributor conventions; no runtime, security, or product behavior impact.

Overview
Updates Site mechanics guidance for Hugo relref cross-references in AGENTS.md.

Broken relrefs are described accurately: they warn at build time rather than failing the build, while still requiring a fix because they can land on the wrong page or a 404.

A new rule states that relref paths must not end in .md, with the example path unchanged. The bullet is also reformatted from a nested continuation line into a single block under the cross-reference item.

Reviewed by Cursor Bugbot for commit f72414e. Bugbot is set up for automated code reviews on this repo. Configure here.

A broken relref warns at build time rather than failing it, and the
convention file said the opposite -- this was known before #3826
merged but never pushed. Also documents that relref paths never
carry a .md extension.
@github-actions

github-actions Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

🧠 Redis Memory

Found 5 related items from repository history (5 new this commit):

Memory updated at f72414e

@kaitlynmichael
kaitlynmichael merged commit 489c98f into main Sep 1, 2026
93 checks passed
@kaitlynmichael
kaitlynmichael deleted the agents-md-relref-fix branch September 1, 2026 18:54
EliShteinman added a commit to EliShteinman/docs that referenced this pull request Sep 5, 2026
Corrects the AGENTS.md relref rule: a broken relref warns at build time rather than failing it, and relref paths never carry a .md extension.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WycKvjyQaCQQBwVEkvSAKT
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