Clean up test files flagged by the three new POODR cops #283
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#283
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
Mine-lints run 2026-08-06 shipped three cops from tickets #280-#282 (RawFileContentAssertion, StaticFactAssertion, BinScriptLoad). Report-only sweep of plugins/os-sdlc/tests/: 26 RawFileContentAssertion hits (cli_test.rb, lint_init_test.rb, rubocop_delta_header_test.rb, lint_worklist_report_test.rb, lint_worklist_residual_dispatch_test.rb, lint_worklist_rubocop_config_test.rb, workspace_test.rb, artifact_test.rb +), 2 StaticFactAssertion hits (iteration_tracker_test.rb:5, project_test.rb:341), 2 BinScriptLoad hits (both bin/lint-worklist loaders — fix requires moving LintWorklistReport/residual-dispatch classes into lib/). Until cleaned, the three cops go red on the existing suite.
AI says, "During #283, genuinely format-contract tests will need Exclude: entries under RawFileContentAssertion." User needs more clarity on what this is about this before it earns an Exclusion.
Re-pitch that: give me a little bit of context, talk in ASD-STE100 Simplified Technical English, and use the ubiquitous language from CONTEXT.md.
Resolution
Done: Cleaned all test files flagged by the three POODR cops and the wider tests/ rubocop sweep: 75 offenses -> 1 (commits
cdf1596,524df42). All RawFileContentAssertion, StaticFactAssertion, and BinScriptLoad hits resolved; LintWorklistReport/AssignmentFile extracted from bin/lint-worklist into lib/; user-approved scoped Excludes added for the two dispatch-artifact test files whose raw bytes are the contract.Evidence: Suite green 731 runs / 1978 assertions / 0 failures; rubocop on tests/ lib/ bin: 1 remaining offense (RequireRelativeDensity, tracked separately). Commits
cdf1596and524df42on main.Follow-ups: #286 (Zeitwerk autoloading for tests/, clears the last offense, needs ADR); #287 (lint-worklist conventional scan dirs so tests/ drift is caught by the normal loop)