Evict process_invocation, init_command, report_builder from os-sdlc cli/ #780
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#780
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
Three files in
plugins/os-sdlc/lib/os_sdlc/cli/are not boundary classes.process_invocation.rbreads the live process and builds a value;init_command.rbdrives a workflow;evidence_cli/report_builder.rbfetches and assembles a report. Their directory says CLI, so a reader expects argv parsing and finds none. Lens A1 places them in adapter/, command/, and query/.Reproduce
n/a: placement defect, no runtime failure.
Approach
Structure-only commit. No behavior change.
Required work:
Rejected: leave them in cli/ until the controller/ move. The moves are independent and cheaper alone.
Acceptance criteria
bin/os-sdlc lint-init,bin/evidence collect, and every bin/os-sdlc-* script, when run against the recorded fixtures, then stdout is byte-identical.plugins/os-sdlc/lib/os_sdlc/cli/, when listed, then it holds only cli.rb, dispatch_scripts.rb, evidence_cli.rb, lsp_probe_cli.rb.Owner sketch
Non-goals
Renaming cli/ or hook/. That is the controller/ ticket.
Origin
Resolution
Done: cli/ now holds only cli.rb, dispatch_scripts.rb, evidence_cli.rb, lsp_probe_cli.rb. process_invocation.rb -> adapter/, init_command.rb -> command/, evidence_cli/report_builder.rb -> query/evidence/ as Evidence::ReportBuilder (no root file: single member, lens A2 has no defect).
Evidence: commits
991363c9(items 1-2, swept in with the ADR-0235 commit by a staged git mv) and132df5ae(item 3) on crc-pass-os-sdlc; suite 1314 runs 0 failures before and after; lint-inward-dependencies 64 -> 64; bin/evidence --help, bin/os-sdlc --help, bin/os-sdlc-gate --help byte-identicalFollow-ups: none