Move the nested Crc filing and sweep errors to their own files #1259
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
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
rule-proposal
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#1259
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?
Problem
Crc::Filing::Failureis nested incrc/filing.rb:10andCrc::Sweep::Files::ListingFailedis nested incrc/sweep/files.rb:9. Structure ruling S46-S47 moves the error to its own file so that the path spells the constant (lens A15) and the concept file holds one class.Reproduce
n/a: structure-only move; no defect to reproduce.
Approach
Move the class body unchanged. Update each holder to the new constant. The existing suite, green, is the proof; add no test.
Required work:
Crc::Filing::Failurein its own file — check: presentclass Failure < StandardErrorinplugins/os-sdlc/lib/os_sdlc/crc/filing/failure.rbCrc::Sweep::ListingFailedin its own file and updatefiles.rb:48andsweep/run.rb:24— check: presentclass ListingFailed < StandardErrorinplugins/os-sdlc/lib/os_sdlc/crc/sweep/listing_failed.rbRejected: keep the nested class — the ruling is recorded and the error lineage design (S31) puts each error in its own file.
Acceptance criteria
Origin
bin/detector error-lineage --target os-sdlcVERDICT: CREATE
Resolution
Done: Moved Crc::Filing::Failure and Crc::Sweep::ListingFailed to their own files (S46, S47, fast-batch-13).
Evidence:
29a0f9af,846bc626; suite 2458 runs, 0 failures, 0 errors (82 s); eager load silent; fast-gate PASS, rubocop 0 new offenses; merged to main6cb38456Follow-ups: none; the error-suffix naming question goes to CRC run 4 wave 3