Repository navigation
docs: changelog entries welcome, growth of known offenders left to the maintainer - #946
Merged
Merged
Conversation
…e maintainer A changelog entry is no longer required from contributors: when it is missing, the maintainer adds it before the merge. When npm run growth fails on an entry that is already in the baseline, the contributor says so and the maintainer fixes it; a new entry stays the contributor's to fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e contribution rules The growth rule now names all four checks, what to do when an entry shrank, and that a renamed or moved function counts as new. The pull request template asks for the known entry, AGENTS.md points to the rule, and the optional changelog entry covers deprecations and breaks too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Two rules for outside contributions, so a first pull request does not stall on work that belongs to the maintainer:
npm run growthfails on an entry that is already inscripts/growth-baseline.json(also when the change made it bigger) or on the total of all docs pages, the contributor names it and the maintainer fixes it. A new entry, duplicated code or a renamed or moved function stays the contributor's to fix (CONTRIBUTING.md, with a pointer in PRODUCT.md, AGENTS.md and the template).AGENTS.mdkeeps the changelog entry as a rule for agents.Neutral review
Two rounds by an independent reviewer on the docs after the change.
Test plan
scripts/growth.jsand.github/workflows/ci.ymlagainst the new growth text.🤖 Generated with Claude Code