Burn down offense debt from newly enabled Metrics + Minitest cops #116

Open
opened 2026-07-23 18:53:03 +00:00 by jared · 4 comments
Owner

ADR-0061 enabled Metrics/AbcSize,ClassLength,ParameterLists and endorsed Minitest cops. Initial adoption surfaced 125 offenses (45 AbcSize, 30 AssertPredicate, 25 RefutePredicate, 9 ClassLength, 8 RefutePathExists, 3 AssertPathExists, 2 ParameterLists, 2 NoAssertions, 1 MultipleAssertions). Drive to zero via fix-lints; do not loosen thresholds to dodge.

ADR-0061 enabled Metrics/AbcSize,ClassLength,ParameterLists and endorsed Minitest cops. Initial adoption surfaced 125 offenses (45 AbcSize, 30 AssertPredicate, 25 RefutePredicate, 9 ClassLength, 8 RefutePathExists, 3 AssertPathExists, 2 ParameterLists, 2 NoAssertions, 1 MultipleAssertions). Drive to zero via fix-lints; do not loosen thresholds to dodge.
Author
Owner

Gate widened: bin/lint-worklist (merged 546060f) now classifies all enabled cops into autocorrect/batch/iterative phases. Real debt on main: 66 autocorrect, 3 batch, 332 iterative (234 Metrics/MethodLength, 45 AbcSize, 35 PerceivedComplexity) = 401 total, not 125.

Gate widened: bin/lint-worklist (merged 546060f) now classifies all enabled cops into autocorrect/batch/iterative phases. Real debt on main: 66 autocorrect, 3 batch, 332 iterative (234 Metrics/MethodLength, 45 AbcSize, 35 PerceivedComplexity) = 401 total, not 125.
Author
Owner

Phase split updated (cd8e77a): MethodLength/PerceivedComplexity/AbcSize now batch-phase, 7-file parallel dispatch groups. Current main: 66 autocorrect, 326 batch (43 files, 7 groups), 13 iterative.

Phase split updated (cd8e77a): MethodLength/PerceivedComplexity/AbcSize now batch-phase, 7-file parallel dispatch groups. Current main: 66 autocorrect, 326 batch (43 files, 7 groups), 13 iterative.
Author
Owner

Progress since filing: bin/lint-worklist ships (546060f/cd8e77a) and current 'rubocop plugins/os-sdlc' shows only 25 offenses left (11 MethodLength, 9 LineLength, 3 ClassLength, 2 EmptyLineAfterGuardClause) vs original 125/401. Not zero yet -- leaving open.

Progress since filing: bin/lint-worklist ships (546060f/cd8e77a) and current 'rubocop plugins/os-sdlc' shows only 25 offenses left (11 MethodLength, 9 LineLength, 3 ClassLength, 2 EmptyLineAfterGuardClause) vs original 125/401. Not zero yet -- leaving open.
Author
Owner

Frozen in the 2026-08-16 backlog reset — see #419 for the expiry procedure. Do not work unless a live run rediscovers this issue.

Frozen in the 2026-08-16 backlog reset — see #419 for the expiry procedure. Do not work unless a live run rediscovers this issue.
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#116
No description provided.