Route test-file lint offenses to the test-writer, not the lint-fixer #308
Labels
No labels
P0
P1
P2
P3
bug
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#308
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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.