Skip to content

Require contextual reference names; clean up AUDIT.md semicolons - #376

Merged
ptr727 merged 2 commits into
developfrom
markdown-link-name-rule
Jul 21, 2026
Merged

Require contextual reference names; clean up AUDIT.md semicolons#376
ptr727 merged 2 commits into
developfrom
markdown-link-name-rule

Conversation

@ptr727

@ptr727 ptr727 commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Markdown-doc hygiene on two carried docs.

  • AGENTS.md "Documentation Style Conventions" — the reference-link rule required definitions at the bottom, grouped by type, and alphabetized, but never required the reference names to be contextual, so an agent could satisfy the letter with numeric/opaque names (which is why it's been inconsistently upheld). State the convention README.md already uses: a name encodes the target and its group — foo-shield for a shield, foo-link for an external URL, a bare foo for a local path/anchor — never numeric ([1]) or opaque.
  • AUDIT.md — fix clause-joining semicolons in prose (house rule bans them), leaving the legitimate list-separators (a series whose items contain commas), the code-fence example, and the quoted phrase untouched.

Verified: markdownlint + editorconfig-checker clean, validate.py green (AGENTS.md sections intact). Held on develop.

Two markdown-doc-hygiene fixes on carried docs.

- AGENTS.md Documentation Style Conventions: the reference-link rule required
  definitions at the bottom, grouped by type, and alphabetized, but never
  required the reference names themselves to be contextual - so an agent could
  satisfy the letter with numeric or opaque names. State the convention already
  used in README.md: a name encodes the target and its group - foo-shield for a
  shield, foo-link for an external URL, a bare foo for a local path or anchor -
  never numeric or opaque.
- AUDIT.md: fix clause-joining semicolons in prose (the house rule bans them),
  leaving the legitimate list-separators (a series whose items contain commas),
  the code-fence example, and the quoted phrase untouched. Left festering, a bad
  example spreads to the next agent editing the file.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 21, 2026 05:05

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 updates two carried governance docs to tighten Markdown link-reference conventions and to align AUDIT.md prose with the repo's semicolon-avoidance rule.

Changes:

  • Update AGENTS.md to require contextual reference-link names (not numeric/opaque) for human-facing Markdown docs.
  • Replace clause-joining semicolons in AUDIT.md prose with clearer punctuation while preserving intended list and code-fence uses.

Reviewed changes

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

File Description
AGENTS.md Tightens the Markdown reference-link rule by requiring contextual reference names (e.g., foo-link, foo-shield).
AUDIT.md Rephrases several prose sentences to avoid clause-joining semicolons and improve readability/consistency.

Comment thread AUDIT.md Outdated
Copilot round-1: the list's only comma is inside parentheses (no em-dash, no
smart quotes), which already groups it, so commas as separators are unambiguous
and the house rule's comma-in-item allowance does not apply. Switch the
separators to commas.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 21, 2026 05: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

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

@ptr727
ptr727 merged commit d627513 into develop Jul 21, 2026
7 checks passed
@ptr727
ptr727 deleted the markdown-link-name-rule branch July 21, 2026 05:11
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