fix-lints: lint-worklist raises UnmappedCop for Layout department, Sdlc/RequireInMethod, Style/FrozenStringLiteralComment #979

Closed
opened 2026-10-10 12:30:29 +00:00 by jared · 1 comment
Owner

Problem

Running /home/jared/.claude/plugins/os-sdlc/bin/lint-worklist --new (fix-lints skill) from /home/jared/projects/hyperthrive-websites fails before the burn-down is seeded:

worklist.rb:67:in 'OsSdlc::Worklist#raise_if_unmapped': no fix-lints phase mapped for cop(s): ... (OsSdlc::Worklist::UnmappedCop)

Raised from worklist.rb:15 Worklist#initialize, via controller/lint_worklist.rb:37 LintWorklist.rubocop_run and :15 LintWorklist.run.

Unmapped cops:

  • About 75 Layout/* cops (AccessModifierIndentation, ArgumentAlignment, ... LineLength, TrailingWhitespace, etc.), essentially the whole Layout department.
  • Sdlc/RequireInMethod (the plugin's own cop).
  • Style/FrozenStringLiteralComment.

Effect: fix-lints cannot run at all on this project. The target project was likely never rubocop-formatted, so it surfaces cops the worklist phase map has never seen.

Approach

Required work: none beyond the acceptance criteria.

Acceptance criteria

  1. lint-worklist --new on a project with Layout offenses seeds a worklist and does not raise UnmappedCop.
  2. Sdlc/RequireInMethod, Style/FrozenStringLiteralComment and the Layout department each map to a fix-lints phase.

Discoverer: /home/jared/projects/hyperthrive-websites, session 97ec2cb5-891a-4e1e-8946-b60cf3988392, 2026-10-10. fix-lints could not start on this project.

## Problem Running `/home/jared/.claude/plugins/os-sdlc/bin/lint-worklist --new` (fix-lints skill) from `/home/jared/projects/hyperthrive-websites` fails before the burn-down is seeded: ``` worklist.rb:67:in 'OsSdlc::Worklist#raise_if_unmapped': no fix-lints phase mapped for cop(s): ... (OsSdlc::Worklist::UnmappedCop) ``` Raised from `worklist.rb:15 Worklist#initialize`, via `controller/lint_worklist.rb:37 LintWorklist.rubocop_run` and `:15 LintWorklist.run`. Unmapped cops: - About 75 `Layout/*` cops (AccessModifierIndentation, ArgumentAlignment, ... LineLength, TrailingWhitespace, etc.), essentially the whole Layout department. - `Sdlc/RequireInMethod` (the plugin's own cop). - `Style/FrozenStringLiteralComment`. Effect: fix-lints cannot run at all on this project. The target project was likely never rubocop-formatted, so it surfaces cops the worklist phase map has never seen. ## Approach Required work: none beyond the acceptance criteria. ## Acceptance criteria 1. `lint-worklist --new` on a project with Layout offenses seeds a worklist and does not raise `UnmappedCop`. 2. `Sdlc/RequireInMethod`, `Style/FrozenStringLiteralComment` and the Layout department each map to a fix-lints phase. -------- **Discoverer:** /home/jared/projects/hyperthrive-websites, session 97ec2cb5-891a-4e1e-8946-b60cf3988392, 2026-10-10. fix-lints could not start on this project.
Author
Owner

Resolution

Done: Superseded by #1020, which states the defect more clearly

Evidence: #1020 has the same UnmappedCop mechanism with an approach and drift test; #979 evidence and acceptance criteria were copied to #1020

Follow-ups: none

## Resolution **Done:** Superseded by #1020, which states the defect more clearly **Evidence:** #1020 has the same UnmappedCop mechanism with an approach and drift test; #979 evidence and acceptance criteria were copied to #1020 **Follow-ups:** none
jared closed this issue 2026-10-18 19:15:08 +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#979
No description provided.