Lint#resolve_config_path has the same missing-.rubocop.yml failure shape fixed in AutocorrectPrepass (#229) #235
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#235
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?
plugins/os-sdlc/lib/os_sdlc/lint.rb resolve_config_path points rubocop at a possibly-missing .rubocop.yml, same shape as the pre-#229 AutocorrectPrepass bug. Consider routing it through the LintWorklistRubocopConfig merged chain (ADR-0082). Also worth an end-to-end CLI fixture for autocorrect against a project with no .rubocop.yml anywhere.
Fourth rediscovery, 2026-08-02, during #236 pipeline run:
os-sdlc lint 236 --target os-sdlcreported 710 offenses / 78 files (near-stock cops) whilerubocop --config plugins/os-sdlc/.rubocop.yml plugins/os-sdlc/libon the same files reports 0. Cause confirmed: lint_command never passes project.lint_config; Lint#call has no param for it; resolve_config_path prefers root .rubocop.yml. grep confirms lint_config is read nowhere outside project.rb. Incident class also covers #196/#215/#229; fix direction: single config authority (extend LintWorklistRubocopConfig, fold lint_config into chain) + ADR.Fixed and merged to main (
26a7a49). Lint routes through LintWorklistRubocopConfig; Project#resolved_lint_config is the single resolver; custom lint_config wins outright, missing explicit config fails loud. Reviewer (opus) APPROVE. Post-merge verification: lint gate now 0 offenses on the same 78 files that showed 710. ADR-0091 records the decision.