Skip to content

docs: de-duplicate repeated prose across the org-wide policy files #53

Closed

Description

@kyle-sexton

Description

A rule-of-one duplication sweep over this repo's nine tracked Markdown files (literal 5- and 7-word shingle scan plus a semantic read-through) surfaced two prose duplications worth resolving.

1. The org-wide-default override clause is stated three different ways.

CONTRIBUTING.md, GOVERNANCE.md, and SUPPORT.md each tell the reader that a repository may override the inherited default, in three distinct phrasings:

  • CONTRIBUTING.md — "A specific repository may add its own CONTRIBUTING.md with project-specific details, which takes precedence over this org-wide default."
  • GOVERNANCE.md — "It is an org-wide default; a repository may override it with its own GOVERNANCE.md when its governance differs."
  • SUPPORT.md — "A specific repository may document additional support channels in its own SUPPORT.md or README, which takes precedence over this org-wide default."

Because GitHub serves these files standalone inside other repositories, a contributor typically sees exactly one of them and cannot tell whether the differing wording signals a differing rule. The clause must stay inline — a relative link back here would resolve against the consuming repo — so the fix is one shared framing, not extraction to a cited source.

2. README.md describes profile/README.md twice.

The sentence "renders as the organization's public profile page" appears both in the fallback-mechanism intro paragraph and in the "What's here" Profile bullet. The bullet is the better home: it adds the distinguishing fact that profile/ is not inherited. The intro paragraph is specifically about GitHub's community-health fallback, which profile/README.md is not part of.

Affected area / component

Root policy files (CONTRIBUTING.md, GOVERNANCE.md, SUPPORT.md) and README.md.

Out of scope

  • CODE_OF_CONDUCT.md — vendored Contributor Covenant v2.1; its internal repetition is upstream text and must not be edited locally.
  • Workflow YAML comment duplication (concurrency blocks, required-check-context notes) — config class, no native include mechanism.
  • pr_body_required_sections in .claude/source-control.md vs .github/PULL_REQUEST_TEMPLATE.md — a genuine two-instance bifurcation, but the upstream reusable is already named authoritative in .github/workflows/pr-issue-linkage.yml, and neither file can cite the other.

Open question (not addressed here)

SECURITY.md carries no override clause while three of its sibling policy files now do. Whether repositories may override the security policy is a governance decision rather than a docs-hygiene fix, so it is deliberately left alone.

Activity

  1. added
    needs-triage
    on Aug 23, 2026
  2. kyle-sexton commented on Aug 23, 2026

    @kyle-sexton
    MemberAuthor

    Closing out the open question this issue recorded: SECURITY.md should not get an override clause. No change.

    On a closer read, the structural gap flagged here was a false positive — pattern-matching on shape rather than reading for intent. SECURITY.md already handles per-repository variance in both places where it is meaningful, and does it better than a blanket clause would:

    • "If private reporting is not available for a repository, email [email protected] instead." — a scoped, actionable fallback for repo-level configuration differences.
    • "Older versions are not maintained unless a specific repository states otherwise." — a scoped override on the one dimension where per-repo variance actually applies.

    That is a deliberate pattern, not an omission: scoped overrides at the points where they change what the reader should do, rather than one document-level clause.

    Adding the sibling clause would make the file worse on two counts:

    1. Non-actionable for its reader. GitHub serves the applicable policy — anyone reading this file is already reading the one that governs the repository they are on. If that repository shipped its own SECURITY.md, they would be reading that instead.
    2. It injects doubt at the wrong moment. This document exists to give a vulnerability reporter one unambiguous path. "…but this repository may do it differently" undercuts that for no gain.

    CODE_OF_CONDUCT.md's silence on overrides is correct for the same reason, independently of it being vendored Contributor Covenant text.

    Note for any future duplication sweep: the three-of-five split across the policy files is intentional and should not be flagged as an inconsistency to normalize.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triage

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions