Review unsafe-only (-A) rubocop offenses in os-aidd-lint and os-adr #383

Closed
opened 2026-08-14 20:13:14 +00:00 by jared · 3 comments
Owner

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

  • Each unsafe cop category decided: apply or document why not
  • Per-plugin commits, tests green

Blocked by

  • None — can start immediately.
## 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 - [ ] Each unsafe cop category decided: apply or document why not - [ ] Per-plugin commits, tests green ## Blocked by - None — can start immediately.
Author
Owner

Starting: review 116 unsafe-only offenses

Starting: review 116 unsafe-only offenses
Author
Owner

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.

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.
Author
Owner

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 run

Follow-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

## 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 run **Follow-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
jared closed this issue 2026-08-14 20:35:03 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#383
No description provided.