next.js
42bbf618 - Strengthen documentation review criteria (#101622)

Commit
21 days ago
Strengthen documentation review criteria (#101622) ## Summary The docs rubric currently says docs-only PRs should approve almost always, while `no-stale-docs` is classified as style feedback. Extend that existing rule to review the consequences of changed guidance: removed safeguards and conditions, contradictions, examples or fixes that fail in their stated mode, silent migration behavior changes, and conflicting related advice. Require human review for substantial loss of useful guidance without a verified replacement. Skills are covered by the same rule: changes to activation, permissions, consent, or stopping conditions affect what an agent will do and need explicit review. Wording preferences and content-preserving moves remain advisory; size alone doesn't withhold approval. These criteria also apply to area owners. Stale source-code comments retain their existing comment-only severity, and comment-level findings under this rule never accumulate into an escalation. Dismissing a medium finding requires evidence that the advice is correct for its stated conditions; a justification for leaving incorrect advice does not waive it. Update the existing docs rubric, rule index, and reviewer README. This changes repository policy; it does not change the review service's approval mode or feedback publishing. ## Examples from prior reviews Joseph's comments illustrate two of the correctness failures this rule targets: - [Validation described as a prerendering opt-out (#98274)](https://github.com/vercel/next.js/pull/98274#discussion_r4037278997): the guide said setting `instant = false` on a parent layout extended a static-shell opt-out. Joseph pointed out that it only disables validation; content that can be prerendered still is. - [Conflicting revalidation timing on a related page (#100894)](https://github.com/vercel/next.js/pull/100894#issuecomment-6510674627): the revalidation guide was corrected, but the self-hosting guide still said `refreshTags()` ran before each request. Joseph caught the remaining contradictory advice. ## Verification - Reviewed the criteria against removed conditions, broken fixes, migration changes, deleted guidance, content-preserving moves, wording edits, and skill behavior changes. - Validated review-owner configuration and all 55 local Markdown links and anchors in the four changed files. - Not run: live-agent evaluation or framework tests (review instructions only). <!-- NEXT_JS_LLM -->
Author
Parents
Loading