Skip to content

docs: state that repos do not override org files - #58

Merged
uniqueg merged 2 commits into
mainfrom
docs/no-community-file-overrides
Nov 7, 2026
Merged

uniqueg merged 2 commits into
mainfrom
docs/no-community-file-overrides

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Summary

  • README: new "No overrides" section: no repository overrides the org's community health files, no exceptions; why (GitHub prefers a repo's own file in the root, docs/ or .github/, any case); general rules live here; repository specifics go to docs paths GitHub doesn't match (e.g. docs/contributing/index.md); how to check with the community profile API.
  • CONTRIBUTING: "Repository specifics" now names all the community health files and links the README section.

Closes #59 (part of #38, which closes with its last child issue)

Verification

  • Light lane (docs only): reviewed the diff myself, no reviewer subagents. Lines at most 80 characters.
  • markdownlint could not run locally (npx cannot create symlinks in the sandbox); CI's pre-commit job checks it.

Override survey (2026-11-07)

Root, .github/ and docs/ listings of all non-archived, non-fork org repos; no issues or PRs opened elsewhere. Repos we maintain:

  • Still overriding: cloud-registry-ui (root CONTRIBUTING.md; issue #120 is blocked, its owner decides there).
  • Pubgrade: root PULL_REQUEST_TEMPLATE.md (overrides the org pull request template).
  • Clean: TESK, tesk-api, tesk-core, trs-filer, foca, protes, Pubgrade-Sidecar, nvflare-wes-testbed, cloud-registry, cloud-components, foca-plugins, landing-page, docs, and the testbeds and demos.

Other org repos (older or not maintained by us) with overrides:

  • cookiecutter-python: PULL_REQUEST_TEMPLATE.md
  • prowes: CODE_OF_CONDUCT.md, CONTRIBUTING.md, PULL_REQUEST_TEMPLATE.md, .github/ISSUE_TEMPLATE/
  • cloud-telemetry, cloud-storage-handler, cwl-WES: PULL_REQUEST_TEMPLATE.md, .github/ISSUE_TEMPLATE/
  • krini: pull_request_template.md, .github/ISSUE_TEMPLATE/
  • generic-issues: CONTRIBUTING.md, .github/ISSUE_TEMPLATE/
  • drs-filer: PULL_REQUEST_TEMPLATE.md
  • actions: .github/ISSUE_TEMPLATE/

Caveat: the listing only checks file names, not whether a repo's issue template folder contains only a config.yml.

🤖 Generated with Claude Code

Summary by Sourcery

Establish and document a repository-wide policy that centralises community health files while directing repository-specific guidance to separate documentation.

New Features:

  • Document a clear no-overrides policy requiring all repositories to use the organisation’s community health files without exceptions.
  • Provide guidance for placing repository-specific documentation and verifying community health file inheritance through GitHub’s API.

Enhancements:

  • Align CONTRIBUTING.md with the organisation-wide community health file policy and link to the README guidance.

Documentation:

  • Expand the README with the rationale, scope, repository-specific documentation rules, and verification steps for preventing community health file overrides.

Explain the no-override policy for the organisation's community
health files in the README and link it from the contributing guide:
why, where general rules and repository specifics live, and how to
check.

Closes #38

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Documentation

State the organisation-wide no-overrides policy and link to its rationale, repository-specific guidance, and verification steps from the contributing guide.

  • CONTRIBUTING.md L126-133
  • README.md L34-62

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@uniqueg
uniqueg marked this pull request as ready for review November 7, 2026 08:28

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 4 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="README.md" line_range="36" />
<code_context>
-describe repository specifics in each repository's documentation.
+### No overrides
+
+No repository of the organisation overrides these files, and there are no
+exceptions: the organisation's policies bind every repository, whoever
+maintains it. This applies to the files above and to any other community
</code_context>
<issue_to_address>
**Readers get false policy guidance**

When the surveyed repositories still contain the listed overrides, `README.md` and the contributing guide claim that no repositories override these files and that there are no exceptions, while GitHub serves the local files instead of the organisation defaults; readers are told the wrong rules apply.

Remove the surveyed overrides, move repository-specific material into documentation, and open follow-up issues for any overrides that cannot be removed now.

Also at `CONTRIBUTING.md:126-130`.
</issue_to_address>

### Comment 2
<location path="README.md" line_range="55-57" />
<code_context>
+  example `docs/contributing/index.md` (not `docs/contributing.md`), and are
+  linked from the "Contributing" section of its README. They don't repeat
+  the general rules; they link to them.
+- **Check** a repository with the community profile API:
+  `gh api repos/elixir-cloud-aai/<repo>/community/profile`; the file URLs it
+  lists must point to this repository.

 [`profile/README.md`](profile/README.md) is the organisation's home page on
</code_context>
<issue_to_address>
**Local policy files escape the check**

When a repository has its own discussion form or `GOVERNANCE.md`, the community profile API omits these files, so the README's check does not reveal the local override and maintainers can conclude the repository complies when it does not.

Add a check that explicitly covers local discussion forms and `GOVERNANCE.md` rather than relying only on the community profile API.
</issue_to_address>

### Comment 3
<location path="README.md" line_range="39-40" />
<code_context>
+No repository of the organisation overrides these files, and there are no
+exceptions: the organisation's policies bind every repository, whoever
+maintains it. This applies to the files above and to any other community
+health file GitHub supports (for example, discussion forms or the issue
+template configuration).
+
+- **Why:** GitHub uses a repository's own file instead of the default, in
</code_context>
<issue_to_address>
**Discussion forms lack org defaults**

When a repository expects to receive its discussion category forms from this organisation repository, gitHub does not inherit discussion category forms from an organisation’s `.github` repository, so repositories relying on these purported shared forms do not show them and the promised uniform discussion prompts are absent.

Limit the shared-default policy to file types GitHub actually inherits, and document discussion forms as repository-specific unless each repository configures them.
</issue_to_address>

### Comment 4
<location path="README.md" line_range="56-57" />
<code_context>
+  linked from the "Contributing" section of its README. They don't repeat
+  the general rules; they link to them.
+- **Check** a repository with the community profile API:
+  `gh api repos/elixir-cloud-aai/<repo>/community/profile`; the file URLs it
+  lists must point to this repository.

 [`profile/README.md`](profile/README.md) is the organisation's home page on
</code_context>
<issue_to_address>
**API check rejects repository files**

When a checked repository has a repository-specific README or license, when a target repository has its own README or license, the community profile API includes those URLs along with community health file URLs, so requiring every listed URL to point to this repository flags normal repository-owned files as policy violations.

Specify that maintainers should check only the community health file entries that are expected to inherit from this repository, excluding repository-specific files such as README and license.
</issue_to_address>

Linked issues

#38 docs: no overrides of org community files · 1 of 3 met

# Requirement Status Notes
1 No repository overrides the organisation's community health files. 🟡 Partly met The README states this as policy, but the PR's override survey says repositories still have overrides, including cloud-registry-ui and Pubgrade.
2 General rules live in this repository; repository-specific guidance lives in documentation at paths GitHub does not match. ✅ Met The README describes where each belongs and gives a non-matching documentation path example.
3 Remove each override, move repository-specific content into that repository's documentation, and link the organisation guide. ❌ Not addressed The PR documents the policy but does not remove or move any of the known overrides; its survey also says no issues or PRs were opened elsewhere.

Sourcery assessment

Approval pending. 4 findings to address first.

Blocking findings: README.md:36, README.md:57, README.md:40, README.md:57


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread README.md Resolved
Comment thread README.md Resolved
Comment thread README.md Resolved
Comment thread README.md Resolved
Phrase the policy as a rule, not as a fact about all repositories,
exclude discussion forms (not inherited by GitHub) and make the check
cover the community profile entries and GOVERNANCE.md and SUPPORT.md.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@uniqueg
uniqueg merged commit d5dcd7c into main Nov 7, 2026
6 checks passed
@uniqueg
uniqueg deleted the docs/no-community-file-overrides branch November 7, 2026 08:36

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linked issues

#59 docs: explain the no-override rule · 1 of 2 met

# Requirement Status Notes
1 Add a README “No overrides” section with the rule, its rationale, where general rules and repository specifics live, and how to check a repository with the community profile API. ✅ Met The section covers each of these points and explains the additional checks for GOVERNANCE.md and SUPPORT.md.
2 In the contributing guide’s “Repository specifics” section, name the files and link to the README section. 🟡 Partly met The section names the guide, code of conduct, security policy, support guide, and templates, and links to the README, but omits the governance document listed among the community health files.

Comment thread CONTRIBUTING.md
Comment on lines +127 to +128
(this guide, the code of conduct, the security policy, the support guide and
the issue and pull request templates; see the

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · Name governance document

The contributing guide names several community health files and links to the README section, but omits the governance document. Add it to the list so this section names all the files covered by the policy.

Prompt for AI agents
In `CONTRIBUTING.md` at lines 127-128:

**Name governance document**

The contributing guide names several community health files and links to the README section, but omits the governance document. Add it to the list so this section names all the files covered by the policy.

From #59:

In the contributing guide’s “Repository specifics” section, name the files and link to the README section.

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.

docs: explain the no-override rule

1 participant