os-sdlc: clear remaining offenses on tests/trim_status_table_test.rb under os-sdlc cop set #290

Closed
opened 2026-08-06 17:37:26 +00:00 by jared · 3 comments
Owner

Context

Surfaced by the #289 sweep: repo-root tests/trim_status_table_test.rb carries 9 pre-existing offenses under os-sdlc's own rubocop config (3x Sdlc/Dry/DuplicatedStatementSequence, several Metrics/MethodLength/AbcSize, one auto-correctable Minitest/RefutePathExists). Out of #289's named scope (only BinScriptLoad). Depends on the per-target scoping ticket deciding which config governs this file.

## Context Surfaced by the #289 sweep: repo-root tests/trim_status_table_test.rb carries 9 pre-existing offenses under os-sdlc's own rubocop config (3x Sdlc/Dry/DuplicatedStatementSequence, several Metrics/MethodLength/AbcSize, one auto-correctable Minitest/RefutePathExists). Out of #289's named scope (only BinScriptLoad). Depends on the per-target scoping ticket deciding which config governs this file.
Author
Owner

Work started this session, after #291 — os-sdlc's cop set governs the file per ADR-0103.

Work started this session, after #291 — os-sdlc's cop set governs the file per ADR-0103.
Author
Owner

Done in commit fbd0d31. Zero offenses under os-sdlc config on repo-root tests/ and lib/ (rubocop ok, 2 files); standalone trimmer test 8 runs green; hook verified byte-identical no-op on the live status leaf. Open for sign-off.

Done in commit fbd0d31. Zero offenses under os-sdlc config on repo-root tests/ and lib/ (rubocop ok, 2 files); standalone trimmer test 8 runs green; hook verified byte-identical no-op on the live status leaf. Open for sign-off.
Author
Owner

Resolution

Done: Repo-root trimmer test and StatusTableTrimmer refactored to zero offenses under the os-sdlc cop set, no disables

Evidence: commit fbd0d31; rubocop clean under plugins/os-sdlc/.rubocop.yml on repo-root tests/ and lib/; standalone test 8 runs green; hook byte-identical no-op on live status leaf; user signed off 2026-08-06

Follow-ups: none

## Resolution **Done:** Repo-root trimmer test and StatusTableTrimmer refactored to zero offenses under the os-sdlc cop set, no disables **Evidence:** commit fbd0d31; rubocop clean under plugins/os-sdlc/.rubocop.yml on repo-root tests/ and lib/; standalone test 8 runs green; hook byte-identical no-op on live status leaf; user signed off 2026-08-06 **Follow-ups:** none
jared closed this issue 2026-08-06 18:09:55 +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#290
No description provided.