os-sdlc: clear tests/ offenses surfaced by the conventional-dir lint scan #289
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#289
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
The #287 fix (ADR-0102, commit
f042d6c) widened bin/lint-worklist to conventional test dirs, immediately surfacing a previously invisible Sdlc/Structural/BinScriptLoad offense in plugins/os-sdlc/tests/trim_status_table_test.rb (loads code from a bin/ executable into a test). Fix it, and sweep bin/lint-worklist across the other cc-os targets (os-backlog, cc-architect, os-aidd-lint) for anything else the wider scan now surfaces.Starting work: fix BinScriptLoad offense in trim_status_table_test.rb, then sweep other targets.
Fixed: StatusTableTrimmer extracted to lib/status_table_trimmer.rb; bin script now a thin wrapper; test requires the lib class (commit
dacbfc6). Verified: 738 os-sdlc runs green, rubocop clean (219 files), standalone trimmer test 8 runs green, hook runs standalone. Sweep: other targets share the same repo-root tests/ dir; findings reported in session. Open for sign-off.Resolution
Done: StatusTableTrimmer extracted to lib/status_table_trimmer.rb; bin script now a thin wrapper; test requires the lib class, clearing Sdlc/Structural/BinScriptLoad
Evidence: commits
dacbfc6+0193ce1; 738 os-sdlc runs green, rubocop clean (219 files), standalone trimmer test green, hook runs standalone; user signed off 2026-08-06Follow-ups: #290 and #291 (captured from the sweep findings)