Problem: doc/developer-notes.md does not explain how test coverage should be placed across a commit stack, especially when a change modifies previously uncovered behavior or when a refactor depends on an uncovered invariant.
This has led to review questions about current-behavior tests, regression tests, and behavior-preserving refactors, for example in #35251 and #31212.
Fix: Add a General Testing section to doc/developer-notes.md with rule-of-thumb guidance for automated tests, manual testing recipes, and behavior-preserving changes.
Add a Commit Structure for Tests subsection explaining when tests should be updated with behavior changes, when refactors should first cover preserved invariants (documenting the problem before jumping to the solution), and when characterization tests can make non-trivial uncovered changes easier to review.
Replace the short CONTRIBUTING.md rule with a link to the detailed guidance.