Resolve setup-in-workflow advisory on fix-lints Sweeps gem-install clause #124
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#124
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?
Surfaced during the lint-worklist checkpoint simplification (worktree-lint-sdlc-code). os-aidd-lint's setup-in-workflow cop flags the intentional 'gem install flay debride' recovery clause in plugins/os-sdlc/skills/fix-lints/SKILL.md's Sweeps section (advisory, non-blocking). The clause was deliberately moved out of a deleted Prerequisites section because its only non-obvious content is 'no Gemfile by design — never add one'. Decide: teach the cop to accept deliberately-placed recovery clauses outside Setup/Prerequisites (recognize more section names or an inline waiver), or accept the advisory as permanent noise. Cop: plugins/os-aidd-lint/lib/aidd_lint/cops/setup_in_workflow.rb
Verified against
plugins/os-aidd-lint/lib/aidd_lint/cops/setup_in_workflow.rb:ALLOWED_HEADINGstill only matchesprereq|setup|install|troubleshoot; there's no inline-waiver escape hatch. Not resolved.Options: (A) widen
ALLOWED_HEADINGto also recognize a "Sweeps" (or generic "recovery"/"advisory") section name, (B) add an inline waiver comment/marker the cop respects anywhere, (C) accept as permanent noise.Recommendation: (B). Widening the heading regex (A) papers over one instance but the cop's whole point is catching setup residue in arbitrary section names — the next deliberately-placed recovery clause will just need another heading added. An inline waiver keeps the heuristic general while giving authors a documented escape for the rare deliberate case.
Frozen in the 2026-08-16 backlog reset — see #419 for the expiry procedure. Do not work unless a live run rediscovers this issue.