Route test-file lint offenses to the test-writer, not the lint-fixer #308

Closed
opened 2026-08-07 12:45:09 +00:00 by jared · 1 comment
Owner

Context

During the #261 implement run the lint gate deadlocked: all offenses (Metrics/MethodLength, ParameterLists, ClassLength, Sdlc cops) were in test files, and the stepper kept dispatching os-sdlc:lint-fixer, whose charter forbids editing tests — an infinite refuse/re-dispatch loop with no routing to a worker allowed to fix them. The stepper (plugins/os-sdlc) needs a rule: lint offenses whose files are under test_path dispatch to os-sdlc:test-writer with an assert-preserving refactor brief. Manually worked around in the #261 session with a human-approved test-writer dispatch.

## Context During the #261 implement run the lint gate deadlocked: all offenses (Metrics/MethodLength, ParameterLists, ClassLength, Sdlc cops) were in test files, and the stepper kept dispatching os-sdlc:lint-fixer, whose charter forbids editing tests — an infinite refuse/re-dispatch loop with no routing to a worker allowed to fix them. The stepper (plugins/os-sdlc) needs a rule: lint offenses whose files are under test_path dispatch to os-sdlc:test-writer with an assert-preserving refactor brief. Manually worked around in the #261 session with a human-approved test-writer dispatch.
Author
Owner

Superseded by wayfinder map #310. The charted design (ADR-0107) rejected this ticket's test-writer re-dispatch proposal in favor of a dedicated os-sdlc:test-lint-fixer agent, an early test-lint gate (#311), and path-based late-gate routing (#313). Implementation: tickets #317 and #318.

Superseded by wayfinder map #310. The charted design (ADR-0107) rejected this ticket's test-writer re-dispatch proposal in favor of a dedicated os-sdlc:test-lint-fixer agent, an early test-lint gate (#311), and path-based late-gate routing (#313). Implementation: tickets #317 and #318.
jared closed this issue 2026-08-07 13:17: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#308
No description provided.