Sweep the class comments that Style/Documentation forced #799
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
rule-proposal
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#799
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sweep the class comments that Style/Documentation forced [capture]
Problem
The rubocop cop Style/Documentation demanded a comment above each class and module. The repo comment rule in CLAUDE.md forbids a comment unless removing it would make a maintainer clean up necessary behavior. Ticket #620 disabled the cop because it was the defect, not the agents who wrote the comments it forced. 49 files under plugins//lib and plugins//tests still carry a comment line immediately above a class or module line, placed there only to satisfy the now-disabled cop.
Observed
Reproduce
n/a: sweep task, not a bug reproduction
Approach
Required work:
rubocop --only Style/Documentation plugins/still reports 0 offenses after the sweep (cop stays disabled)Rejected: bulk-delete every flagged comment without reading it — some may state a real constraint and meet the repo comment rule already.
Acceptance criteria
Owner sketch
n/a: prose sweep across existing files, no new object.
Origin
Work started on branch ticket-799, 2026-09-28.
Resolution
Done: Deleted 47 class/module comments that only restated the class purpose across os, os-adr, os-aidd-lint, plus one stale rubocop:disable Style/Documentation directive. Kept 6 comments stating external tool quirks or constraints (hard_wrap.rb ADR-0058, issue_show.rb tea 0.13.0, project_shell.rb Bundler ENV, os-sdlc test_helper.rb x3).
Evidence: main
e9632d87(fast-forward from ticket-799). rubocop on the 47 changed files: no offenses. bin/test: 9 suites passed; one known LSP-daemon flake in os-sdlc reproduced on main and passed on rerun.Follow-ups: none