Skip to content

docs(agents): allow the licence notice of code adapted from upstream - #20002

Merged
oneandonlydean merged 3 commits into
boykopovar:mainfrom
MarcZX10:docs/agents-licence-notice-exception
Nov 14, 2026
Merged

oneandonlydean merged 3 commits into
boykopovar:mainfrom
MarcZX10:docs/agents-licence-notice-exception

Conversation

@MarcZX10

Copy link
Copy Markdown
Contributor

What

AGENTS.md, docs/dev/CONVENTIONS.md and the pull request template all say that comments in code are allowed only for technical debt, #endif and 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.
  • No code, build or test change in this PR.

Overlap

Checklist

@github-actions github-actions Bot added docs ci .github labels Nov 14, 2026
@oneandonlydean
oneandonlydean merged commit 5cc140a into boykopovar:main Nov 14, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci .github docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants