Skip to content

docs: remove unverified cmux recipes from tips-patterns - #2797

Merged
max-sixty merged 1 commit into
mainfrom
fix/issue-2796
May 18, 2026
Merged

max-sixty merged 1 commit into
mainfrom
fix/issue-2796

Conversation

@worktrunk-bot

@worktrunk-bot worktrunk-bot commented May 18, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

The cmux recipes in docs/content/tips-patterns.md don't work as documented — see #2796. wt switch cd's the invoking shell in addition to the pre-switch hook selecting the per-worktree cmux workspace, so the original cmux workspace ends up pointing at the new worktree alongside the freshly-opened one. The Agent-handoffs cmux entry has a similar pollution issue.

I initially proposed adding [switch] cd = false (prior revision of this PR), but I couldn't end-to-end verify the fix because cmux isn't installable in this CI environment. Per @max-sixty's call (#2796 (comment)) — "let's just remove the cmux recipes unless someone can certify that they work" — the safer move is to drop the recipes until someone with cmux installed can re-add a verified configuration.

What this PR does

Removes both cmux blocks from docs/content/tips-patterns.md (and the auto-synced skill reference):

  • The **cmux** (new workspace): entry under Agent handoffs.
  • The full ## cmux workspace per worktree section.

Diff is the inverse of #1907 (the PR that added them): 33 + 36 = 69 deletions.

The tmux and Zellij Agent-handoffs examples are unaffected.

Testing

  • cargo test --test integration test_docs_are_in_sync ✓ (regenerated skills/worktrunk/reference/tips-patterns.md)
  • git grep -ni cmux returns no matches.

Closes #2796

The cmux workspace-per-worktree and Agent-handoffs cmux recipes were
reported broken in #2796 (the shell-cd compounds with the cmux hook's
workspace select, leaving the original cmux workspace pointing at the
new worktree). The proposed [switch] cd = false fix is unverified — no
cmux session was tested end-to-end — so per the maintainer's call, drop
the recipes until someone with cmux installed can certify a working
configuration.

Closes #2796

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@worktrunk-bot worktrunk-bot changed the title docs: tell cmux workspace-per-worktree recipe to skip shell cd docs: remove unverified cmux recipes from tips-patterns May 18, 2026
@max-sixty
max-sixty merged commit 2ca0113 into main May 18, 2026
31 checks passed
@max-sixty
max-sixty deleted the fix/issue-2796 branch May 18, 2026 18:08
@max-sixty

Copy link
Copy Markdown
Owner

can reapply them if someone can certify they work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[docs] cmux workspace per worktree tip does not work

2 participants