Review unsafe-only (-A) rubocop offenses in os-aidd-lint and os-adr #383
Labels
No labels
P0
P1
P2
P3
bug
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
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#383
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?
Parent
#368
What to build
After safe autocorrect (#373/#374), 66 offenses in os-aidd-lint and 50 in os-adr are only -A (unsafe) correctable — mostly Style/FrozenStringLiteralComment and Style/MutableConstant. Review per cop, apply the safe-in-practice ones as reviewable per-plugin commits, tests green.
Acceptance criteria
Blocked by
Starting: review 116 unsafe-only offenses
Done: 66 (os-aidd-lint) + 53 (os-adr) unsafe offenses applied (FrozenStringLiteralComment/MutableConstant/StringConcatenation/SpecialGlobalVars/HashEachMethods), 1 HashEachMethods autocorrect reverted (wrong on Array, broke 11 tests) with rubocop:disable. Tests green: 495/47. Commits
860865b,eb6d361. Not closing per instructions.Resolution
Done: Reviewed all unsafe-only offenses in os-aidd-lint (66) and os-adr (53): applied FrozenStringLiteralComment, MutableConstant, StringConcatenation, SpecialGlobalVars; reverted one wrong HashEachMethods rewrite (Array of tuples, not Hash) with justified inline disable
Evidence: Commits
860865b,eb6d361; os-aidd-lint 495 runs green, os-adr 47 runs green; refresh-plugins runFollow-ups: Remaining Metrics/Minitest/Dry offenses in both plugins are tracked by the census on #368; metadata_value data-shape restructure suggestion dropped as not worth a ticket