Repository navigation
docs: state that repos do not override org files - #58
Conversation
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]>
Reviewer's GuideDocumentationState the organisation-wide no-overrides policy and link to its rationale, repository-specific guidance, and verification steps from the contributing guide.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
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
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]>
There was a problem hiding this comment.
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. |
| (this guide, the code of conduct, the security policy, the support guide and | ||
| the issue and pull request templates; see the |
There was a problem hiding this comment.
🟡 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.
Summary
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.Closes #59 (part of #38, which closes with its last child issue)
Verification
Override survey (2026-11-07)
Root,
.github/anddocs/listings of all non-archived, non-fork org repos; no issues or PRs opened elsewhere. Repos we maintain:CONTRIBUTING.md; issue #120 is blocked, its owner decides there).PULL_REQUEST_TEMPLATE.md(overrides the org pull request template).Other org repos (older or not maintained by us) with overrides:
PULL_REQUEST_TEMPLATE.mdCODE_OF_CONDUCT.md,CONTRIBUTING.md,PULL_REQUEST_TEMPLATE.md,.github/ISSUE_TEMPLATE/PULL_REQUEST_TEMPLATE.md,.github/ISSUE_TEMPLATE/pull_request_template.md,.github/ISSUE_TEMPLATE/CONTRIBUTING.md,.github/ISSUE_TEMPLATE/PULL_REQUEST_TEMPLATE.md.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:
Enhancements:
Documentation: