Skip to content

feat(agent): flag excessive comments in code review, bump v1.46.0 - #8

Merged
bug-ops merged 3 commits into
mainfrom
feat/code-review-comment-hygiene
Sep 16, 2026
Merged

bug-ops merged 3 commits into
mainfrom
feat/code-review-comment-hygiene

Conversation

@bug-ops

@bug-ops bug-ops commented Sep 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • rust-code-reviewer now flags excessive/redundant in-code comments as a SUGGESTION finding: comments are only warranted for blocks with genuine cyclomatic/cognitive complexity (non-obvious branch, workaround, subtle invariant), never for restating straightforward code.
  • Public API doc comments (///) remain mandatory regardless of complexity - the Documentation checklist and new Comment Hygiene example section spell this out explicitly.
  • Bumped plugin and marketplace version to 1.46.0.

Test plan

  • Reviewed diff in rust-code/agents/06-rust-code-reviewer.md for consistency with existing checklist style
  • Verified plugin.json / marketplace.json versions match (1.46.0)
  • Verified CHANGELOG.md entry added under 1.46.0

rust-code-reviewer now checks that in-code comments are reserved for
genuinely complex blocks and never restate the code, while keeping
public API doc comments mandatory regardless of complexity.
@bug-ops
bug-ops merged commit 560de89 into main Sep 16, 2026
1 check passed
@bug-ops
bug-ops deleted the feat/code-review-comment-hygiene branch September 16, 2026 08:03
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