feat(worktree): collect worktree windows in shared tmux session #186

Merged
dries merged 1 commit from feat/worktree-shared-tmux-session into main 2026-06-30 20:55:04 +02:00
Owner

Worktree windows now launch in a single dedicated ocman-worktree tmux session (created detached) instead of the project's own session.

  • /wt launches no longer steal focus from the session you're attached to.
  • New windows are created with -d, and window names are qualified by project (wt-<repo>-<slug>) so worktrees from different projects don't collide in the shared session.

Verified with go vet + go test ./internal/server/... ./internal/hostsvc/....

Worktree windows now launch in a single dedicated `ocman-worktree` tmux session (created detached) instead of the project's own session. - `/wt` launches no longer steal focus from the session you're attached to. - New windows are created with `-d`, and window names are qualified by project (`wt-<repo>-<slug>`) so worktrees from different projects don't collide in the shared session. Verified with `go vet` + `go test ./internal/server/... ./internal/hostsvc/...`.
feat(worktree): collect worktree windows in shared tmux session
All checks were successful
CI / Frontend (pull_request) Successful in 3m58s
CI / Backend (pull_request) Successful in 5m33s
CI / Build Desktop (macOS arm64) (pull_request) Successful in 50s
CI / Playwright E2E (pull_request) Successful in 6m54s
CI / Build (pull_request) Successful in 3m47s
CI / Coverage Ratchet (pull_request) Successful in 7m55s
CI / Semantic Tag (pull_request) Has been skipped
565fc8542d
Launch all worktree windows in a dedicated detached "ocman-worktree"
tmux session instead of the project's own session, so a /wt launch
never steals focus from the session you're attached to. Window names
are qualified by project (wt-<repo>-<slug>) to avoid cross-project
collisions in the shared session.

Coverage ratchet: pass

Suite Baseline This PR Δ
go 69.50% 69.50% +0.00
frontend 58.30% 58.30% +0.00

Tolerance: -0.1%. Baseline stored on gh-pages.

<!-- coverage-ratchet --> ### Coverage ratchet: ✅ pass | Suite | Baseline | This PR | Δ | | |---|---|---|---|---| | go | 69.50% | 69.50% | +0.00 | ✅ | | frontend | 58.30% | 58.30% | +0.00 | ✅ | _Tolerance: -0.1%. Baseline stored on `gh-pages`._
dries merged commit 62a746c164 into main 2026-06-30 20:55:04 +02:00
Sign in to join this conversation.
No description provided.