Retire per-worktree tmux machinery + update docs #269
Labels
No labels
backend
bug
chore
duplication
effort:complex
effort:medium
effort:trivial
enhancement
frontend
fullstack
priority:high
ready-for-agent
refactor
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dries/ocman#269
Loading…
Add table
Add a link
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?
Parent
#265 — One OpenCode per project: worktree sessions run in-app.
What to build
Pure contraction once no caller uses the old per-worktree flow: delete
the retired machinery and update docs. The one remaining opencode launch
is the single project instance via
EnsureProjectOpencode.tmux.LaunchWorktreeWindow,LaunchWorktreeWindowWith, theWorktreeSession("ocman-worktree") constant, and the per-worktreewindow naming / AD-3 / AD-4 idempotent-relaunch logic.
WorktreeSessionResultand any wire types that referenced them.SessionLauncherdeps that are no longer used forthe worktree path (
launchTmux/waitForPortfor worktrees) if fullydead after #268.
teardown logic.
AGENTS.md(worktree paragraph — no longer "one opencodeper worktree"),
docs/architecture.md(session/worktree data flow),and worktree user docs. Document the pre-existing-instance limitation
(an already-running project instance was not seeded with the
external_directoryrule; runtime autoapprove covers the gap).Acceptance criteria
LaunchWorktreeWindow*,WorktreeSessionconst, and AD-3/AD-4relaunch logic removed; no references remain.
AGENTS.md+docs/architecture.md+ worktree docs updated,including the pre-existing-instance limitation.
make test && make lint && make buildgreen; coverage delta ≥ 0.Blocked by