Skip to content

docs: discourage redundant internal comments - #8656

Open
philipphofmann wants to merge 2 commits into
mainfrom
docs/no-redundant-internal-comments
Open

docs: discourage redundant internal comments#8656
philipphofmann wants to merge 2 commits into
mainfrom
docs/no-redundant-internal-comments

Conversation

@philipphofmann

@philipphofmann philipphofmann commented Aug 3, 2026

Copy link
Copy Markdown
Member

Codifies that internal code should not carry comments that merely restate what the code does — only why-comments (rationale, workaround, gotcha) and public headerdocs.

  • Sources/AGENTS.md — authoring rule (new ### Comments subsection)
  • REVIEWS.md — enforcement bullet for review agents, cross-linked

#skip-changelog

Closes #8657

@philipphofmann
philipphofmann marked this pull request as ready for review August 3, 2026 14:37
@philipphofmann philipphofmann added the run-full-ci Allows gated GitHub Action workflows to run for a labelled pull request label Aug 3, 2026

@itaybre itaybre left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved run-full-ci Allows gated GitHub Action workflows to run for a labelled pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: discourage redundant internal comments

3 participants