os worktree start/finish stop managing the lsp-probe daemon; delete Worktree::LspWarmer #607
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#607
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?
Context
Child of #606. Since #606 (ADR-0201) the os-sdlc implementation lifecycle opens the lsp-probe daemon at
OpenImplementationthroughPipeline::LspDaemonLifecycleand stops it at implementation finish. The os worktree plugin still warms and stops the same daemon fromWorktree::LspWarmer. Two owners now manage one daemon.LspWarmeris also the only place theosplugin reaches into anos-sdlcbinary, by a hard-coded path (plugins/os/lib/worktree/lsp_warmer.rb:38). If os-sdlc moves the binary, worktree start warns on every run. If the owners disagree, finish can stop a daemon a running implementation still uses.startspawnslsp-probe warm --root <path>LspDaemonLifecycle.openconnects, spawns on missfinishrunslsp-probe stop --root <path>LspDaemonLifecyclestopChange
Remove the
lsp_warmer:keyword argument and the@lsp_warmercollaborator fromWorktree::StartCommandandWorktree::FinishCommand. Remove the@lsp_warmer.warm(worktree_path)call fromStartCommand#runand the@lsp_warmer.stop(worktree_path)call fromFinishCommand#run. DeleteWorktree::LspWarmerand its tests.Before (
plugins/os/lib/worktree/start_command.rb):After:
FinishCommandgets the same shape: droplsp_warmer:frominitialize, delete the stop line betweenstop_rubocop_serverandremove_worktree.Out of scope: the
os-sdlc-runner implementation-report --sweep-onlycall inFinishCommand#sweep_usageis the usage sweep from #590 and stays.Tasks
lsp_warmer:and@lsp_warmerfromplugins/os/lib/worktree/start_command.rbandplugins/os/lib/worktree/finish_command.rb, with their warm/stop calls.plugins/os/lib/worktree/lsp_warmer.rb.plugins/os/tests/worktree/lsp_warmer_test.rb,plugins/os/tests/worktree/start_command_warms_lsp_test.rb,plugins/os/tests/worktree/finish_command_stops_lsp_test.rb.ruby plugins/os/tests/all.rb; green.Retired tests
plugins/os/tests/worktree/lsp_warmer_test.rb
plugins/os/tests/worktree/start_command_warms_lsp_test.rb
plugins/os/tests/worktree/finish_command_stops_lsp_test.rb
Acceptance criteria
grep -r lsp plugins/os/lib plugins/os/testsprints nothing.ruby plugins/os/tests/all.rbpasses.Owner sketch
Cases
StartCommand.newaccepts nolsp_warmer:argument.FinishCommand.newaccepts nolsp_warmer:argument.Blocking edges
Blocked by #606 (shipped 2026-09-17, main
418804d9).Origin
Work started via os-sdlc pipeline on branch ticket-607 (session 4974deff).
Resolution
Done: Removed lsp_warmer: keyword and warm/stop calls from Worktree::StartCommand and Worktree::FinishCommand; deleted Worktree::LspWarmer and its three tests; dropped the require_relative from lib/worktree.rb. os-sdlc owns the daemon since ADR-0201.
Evidence: Branch ticket-607 commits
fbba545f+645f13e3. ruby plugins/os/tests/all.rb: 22 runs, 70 assertions, 0 failures. grep -r lsp plugins/os/lib plugins/os/tests prints nothing. rubocop clean on the 3 changed files. Pipeline impl 3 dispatches 18-25 all pass; hand-finished after refactorer round 2 could not obtain a dispatch.Follow-ups: #613 test-writer rewrote retired tests instead of deleting them; #614 subagent-start brief composition raises on an unmapped code file.