Repository navigation
Fix #6447: Claude Code 2.1.183 agent-team teammates open split panes again #6499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
d1953b2
Add failing test: respawn-pane must run command through a login shell
austinywang 4436030
Fix #6447: run tmux respawn-pane shell-commands through a login shell
austinywang 6390836
Merge remote-tracking branch 'origin/main' into issue-6447-claude-tea…
austinywang 46c4068
Address autoreview: char-level operator detection + use $SHELL
austinywang d1369ec
Address autoreview: always shell-wrap respawn commands, skip only she…
austinywang 4a04927
Address autoreview: shell-invocation skip requires the -c arg to be t…
austinywang 8b25e71
Address autoreview: always wrap respawn commands (drop the unreliable…
austinywang bf3685b
Fix OMO test: keep public respawn-pane assertion raw
austinywang 7053531
Address autoreview: wrap with -c (not -lc) for csh/tcsh compatibility
austinywang 1357f13
Address autoreview: shell-wrap the public respawn-pane command too
austinywang f906f53
Trim call-site comments to keep CLI/cmux.swift within length budget
austinywang b4db66e
Address autoreview: wrap with POSIX /bin/sh, not the user's $SHELL
austinywang f8c1c26
Add failing tests: claude-teams must skip trust gate and spawn named …
austinywang 5d3302b
Fix #6447: claude-teams skips the trust gate and spawns named split p…
austinywang e65d789
Address autoreview: gate the trust-prompt bypass behind --dangerously…
austinywang 7328958
Address autoreview: gate teammate trust bypass on a launcher marker, …
austinywang 0781629
Address autoreview: detect the dangerous-skip opt-in with Claude opti…
austinywang 89cbec3
Address autoreview: treat --tmux classic as a launch mode, not a prom…
austinywang 799d311
Address autoreview: clear ambient sandbox markers + treat file-option…
austinywang 7a108b9
Merge remote-tracking branch 'origin/main' into issue-6447-claude-tea…
austinywang 606a060
Document that the claude-teams trust bypass is intentionally per-laun…
austinywang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/bin/zshdiverges fromtmuxStartupScript's${SHELL:-/bin/sh}and from the doc comment's own claim of "matching real tmux's$SHELL -csemantics."tmuxStartupScript(line 256 in this same file) writesexec "${SHELL:-/bin/sh}" -lc …so the two code paths pick different shells for the same purpose. The fallbackcommandTextof"exec ${SHELL:-/bin/sh} -l"also starts withexec— a member oftmuxShellExecBuiltins— so it gets re-wrapped as/bin/zsh -lc 'exec ${SHELL:-/bin/sh} -l', meaning every pane that respawns without an explicit command goes through an extra zsh process before exec-ing the user's configured shell.