RunnerCLI lives in pipeline/ but is a CLI #746
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#746
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
plugins/os-sdlc/lib/os_sdlc/pipeline/runner_cli.rb parses arguments, prints output, and exits the process. ADR-0222 says pipeline/ holds orchestration only, not a CLI entry point. RunnerCLI accounts for 2 of the baseline entries the ADR-0222 rootless/misplaced-root tracking carries (pipeline -> PostToolUse, pipeline -> SubagentStart).
Approach
Move RunnerCLI to plugins/os-sdlc/lib/os_sdlc/cli/runner_cli.rb, keeping the constant name unchanged, so pipeline/ no longer holds a CLI file. Drop the 2 baseline entries this move removes. Before moving, check plugins/os-sdlc/bin/os-sdlc-runner for a require path that names the current pipeline/ location.
Required work:
Rejected: leaving RunnerCLI under pipeline/ — a CLI entry point that parses arguments and exits the process is not orchestration, the thing ADR-0222 reserves pipeline/ for.
Acceptance criteria
Owner sketch
Origin
Started on branch crc-pass-os-sdlc.
Resolution
Done: Moved OsSdlc::RunnerCLI from pipeline/ to cli/ (constant unchanged) and updated all live path references; no baseline change in inward-dependency, concept-root, or Zeitwerk tests.
Evidence: commit
e79b196b(rename) +a8831de7(reference updates); suite: 1430 runs, 3252 assertions, 0 failures, 0 errors, 10 skips; bin/os-sdlc-runner --help exit 0Follow-ups: none