Skip to content

docs: changelog entries welcome, growth of known offenders left to the maintainer - #946

Merged
eizedev merged 4 commits into
mainfrom
docs/contribution-rules
Nov 25, 2026
Merged

eizedev merged 4 commits into
mainfrom
docs/contribution-rules

Conversation

@eizedev

@eizedev eizedev commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

Summary

Two rules for outside contributions, so a first pull request does not stall on work that belongs to the maintainer:

  • A changelog entry is welcome, not required, also for deprecations and breaks. When it is missing, the maintainer adds it (PRODUCT.md, CONTRIBUTING.md, docs/versioning.md, pull request template).
  • When npm run growth fails on an entry that is already in scripts/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.md keeps the changelog entry as a rule for agents.

Neutral review

Two rounds by an independent reviewer on the docs after the change.

  • Round 1 found: the growth rule only in CONTRIBUTING.md; the duplication check and the "entry shrank" case missing; "known entry" undefined; deprecation and versioning docs still requiring a changelog entry; three phrasings of the changelog rule; AGENTS.md not pointing to the growth rule. All fixed.
  • Round 2 found: a known entry that grew was not clearly covered (high); CI skips the later steps of the job after a red growth step; the deprecation list still read as mandatory; the docs total had no owner; "named above" in the template had no place. All fixed.
  • Left as is (low/nit): AGENTS.md keeps the changelog rule for agents without an exception for contributor pull requests (decided); growth.js's own messages still say "split the function" (compatible, code change not wanted here); ADR 0018 mentions the deprecation changelog entry (records are history); timing wording "before the merge" appears only in CONTRIBUTING.md.

Test plan

  • Searched the repository for the old wording: no other references.
  • Read scripts/growth.js and .github/workflows/ci.yml against the new growth text.
  • CI

🤖 Generated with Claude Code

eizedev and others added 4 commits November 25, 2026 21:47
…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>
@eizedev
eizedev merged commit d07550a into main Nov 25, 2026
8 checks passed
@eizedev
eizedev deleted the docs/contribution-rules branch November 25, 2026 21:37
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.

1 participant