Repository navigation
docs(agents): allow the licence notice of code adapted from upstream - #20002
Merged
oneandonlydean merged 3 commits intoNov 14, 2026
Merged
oneandonlydean merged 3 commits into
oneandonlydean merged 3 commits into
Conversation
This was referenced Nov 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
AGENTS.md,
docs/dev/CONVENTIONS.mdand the pull request template all say that comments in code are allowed only for technical debt,#endifand namespace ends. Several libSceIcu pull requests adapt code from ICU, whose licence (the Unicode licence) asks that its copyright and licence notice stay with copies of the code. Those PRs are blocked on this rule.This PR adds one exception to the three places that state the rule: the licence and copyright notice of code adapted from an upstream source, kept verbatim at the top of the file with a link to the pinned upstream commit. Attribution facts and known gaps still go in
docs/dev/debt/<library>.md. No other comment is allowed.One commit per file:
AGENTS.md,docs/dev/CONVENTIONS.md, and.github/pull_request_template.md. The template line is changed so that the checklist matches the rule.This is a rule change. The author of this PR asks for it; the maintainers decide whether to merge it.
Tested
python3 tools/check_conventions.py --base upstream/main: passed.git diff --check upstream/main...HEAD: empty.Overlap
AGENTS.md, on a different line (the debt-fragment rule). No text overlap with this change.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)