Lens proposal: move Reroute::Draft to command/reroute/draft.rb #891
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#891
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
Reroute::Draftdrives a workflow (write) but lives inreroute/, not a role directory.Observed
LENS: A1 broken at plugins/os-sdlc/lib/os_sdlc/reroute/draft.rb:5 - Reroute::Draft drives a workflow (write) but lives in reroute/, not a role directory; JUSTIFIED: yes (ticket #873 R5 pinned the path); PROPOSAL: NONE
Challenge verdict (opus): code defect found.
Draft#writevalidates then writes in a transaction, so A1 puts it incommand/. Siblingsquery/reroute/check.rb,presenter/reroute/block.rb, andmodel/reroute/*obey A1.lib/os_sdlc.rb:25collapses role directories, so the constantOsSdlc::Reroute::Draftand its callercontroller/implementation/guidance.rb:24do not change. Only #873's R5 check text names the path.Reproduce
n/a: lens finding, no failing command.
Approach
Move the file and remove the empty directory.
Required work:
Reroute::Drafttocommand/reroute/draft.rb— check: presentclass Draftinplugins/os-sdlc/lib/os_sdlc/command/reroute/draft.rbclass Draftinplugins/os-sdlc/lib/os_sdlc/reroute/draft.rbOrigin
Found during #873. Run ticket: #873.
VERDICT: CREATE
Resolution
Done: Obsolete: Reroute::Draft moved to a different placement through the CRC pass; the proposed command/reroute/draft.rb is superseded.
Evidence: plugins/os-sdlc/lib/os_sdlc/implementation/reroute/draft.rb exists; lib/os_sdlc/command/reroute does not exist.
Follow-ups: none