worktree finish resolves os-sdlc-runner from the plugin path, not cc-os/os-sdlc/bin #733
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#733
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/bin/worktree finish <name> --implementation <id>prints/home/jared/dev/cc-os/os-sdlc/bin/os-sdlc-runner not found, usage not sweptand skips the usage sweep. The pathcc-os/os-sdlc/bindoes not exist; the runner is atplugins/os-sdlc/bin/os-sdlc-runnerand on PATH asos-sdlc-runner. Every worktree finish that passes--implementationsilently skips the sweep.Reproduce
plugins/os/bin/worktree finish ticket-N --implementation 1.Approach
Required work:
plugins/os/lib/worktree/usage_sweep.rbresolves the runner at the sibling plugin dirplugins/os-sdlc/bin/os-sdlc-runner, falling back toos-sdlc-runneron PATH.Acceptance criteria
worktree finish --implementation Nruns the usage sweep and prints its result.Owner sketch
Worktree::UsageSweepowns runner resolution.Origin
plugins/os/bin/worktree finish ticket-2 --implementation 1in /home/jared/dev/ruby-gems/procman, 2026-09-25../os-sdlc/binrelative to the os plugin root ← DESIGN (plugins/os/lib/worktree/usage_sweep.rb)VERDICT: CREATE — real observed failure, root cause confirmed, this ticket is the root itself.
Resolution
Done: finish runs configured worktree-before-remove commands; UsageSweep and the relative os-sdlc path are gone
Evidence: ADR-0240; merge
6bd034df; os suite 31 runs 0 failures; real-process test pins bin/worktree finish calling the configured scriptFollow-ups: #801 setup-project writes the config line