Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Fix: Update command output to use new gutter output
Maximilian Rooscec09e87f19f
diff --git a/src/commands/merge.rs b/src/commands/merge.rsindex 82e885e8a..c416e3daa 100644--- a/src/commands/merge.rs+++ b/src/commands/merge.rs@@ -508,8 +508,8 @@ pub fn run_pre_merge_commands()?;for prepared in commands {let label = crate::commands::format_command_label("pre-merge", prepared.name.as_deref());- crate::output::progress(format!("{CYAN}{label}{CYAN:#}"))?;- crate::output::progress(format_bash_with_gutter(&prepared.expanded, ""))?;+ crate::output::progress(format!("{CYAN}{label}:{CYAN:#}"))?;+ crate::output::gutter(format_bash_with_gutter(&prepared.expanded, ""))?;if let Err(e) = execute_command_in_worktree(worktree_path, &prepared.expanded) {// Extract exit code from ChildProcessExited to preserve signal information@@ -577,8 +577,8 @@ pub fn execute_post_merge_commands(// Execute each command sequentially in the main worktreefor prepared in commands {let label = crate::commands::format_command_label("post-merge", prepared.name.as_deref());- crate::output::progress(format!("{CYAN}{label}{CYAN:#}"))?;- crate::output::progress(format_bash_with_gutter(&prepared.expanded, ""))?;+ crate::output::progress(format!("{CYAN}{label}:{CYAN:#}"))?;+ crate::output::gutter(format_bash_with_gutter(&prepared.expanded, ""))?;if let Err(e) = execute_command_in_worktree(main_worktree_path, &prepared.expanded) {let warning_bold = WARNING.bold();@@ -646,8 +646,8 @@ pub fn run_pre_commit_commands(// Execute each command sequentiallyfor prepared in commands {let label = crate::commands::format_command_label("pre-commit", prepared.name.as_deref());- crate::output::progress(format!("{CYAN}{label}{CYAN:#}"))?;- crate::output::progress(format_bash_with_gutter(&prepared.expanded, ""))?;+ crate::output::progress(format!("{CYAN}{label}:{CYAN:#}"))?;+ crate::output::gutter(format_bash_with_gutter(&prepared.expanded, ""))?;if let Err(e) = execute_command_in_worktree(worktree_path, &prepared.expanded) {// Extract exit code from ChildProcessExited to preserve signal informationdiff --git a/src/commands/worktree.rs b/src/commands/worktree.rsindex 4321b5a1e..1d6707753 100644--- a/src/commands/worktree.rs+++ b/src/commands/worktree.rs@@ -485,8 +485,8 @@ pub fn execute_post_create_commands(// Execute each command sequentiallyfor prepared in commands {let label = crate::commands::format_command_label("post-create", prepared.name.as_deref());- crate::output::progress(format!("{CYAN}{label}{CYAN:#}"))?;- crate::output::progress(format_bash_with_gutter(&prepared.expanded, ""))?;+ crate::output::progress(format!("{CYAN}{label}:{CYAN:#}"))?;+ crate::output::gutter(format_bash_with_gutter(&prepared.expanded, ""))?;if let Err(e) = execute_command_in_worktree(worktree_path, &prepared.expanded) {let warning_bold = WARNING.bold();@@ -535,8 +535,8 @@ pub fn spawn_post_start_commands(// Spawn each command as a detached background processfor prepared in commands {let label = crate::commands::format_command_label("post-start", prepared.name.as_deref());- crate::output::progress(format!("{CYAN}{label}{CYAN:#}"))?;- crate::output::progress(format_bash_with_gutter(&prepared.expanded, ""))?;+ crate::output::progress(format!("{CYAN}{label}:{CYAN:#}"))?;+ crate::output::gutter(format_bash_with_gutter(&prepared.expanded, ""))?;let name = prepared.name.as_deref().unwrap_or("cmd");match spawn_detached(worktree_path, &prepared.expanded, name) {@@ -592,8 +592,8 @@ pub fn execute_post_start_commands_sequential(// Execute sequentially for testingfor prepared in commands {let label = crate::commands::format_command_label("post-start", prepared.name.as_deref());- crate::output::progress(format!("{CYAN}{label}{CYAN:#}"))?;- crate::output::progress(format_bash_with_gutter(&prepared.expanded, ""))?;+ crate::output::progress(format!("{CYAN}{label}:{CYAN:#}"))?;+ crate::output::gutter(format_bash_with_gutter(&prepared.expanded, ""))?;if let Err(e) = execute_command_in_worktree(worktree_path, &prepared.expanded) {let message = match &prepared.name {diff --git a/src/output/handlers.rs b/src/output/handlers.rsindex 6233c67df..96a550b36 100644--- a/src/output/handlers.rs+++ b/src/output/handlers.rs@@ -106,9 +106,9 @@ pub fn handle_switch_output(pub fn execute_user_command(command: &str) -> Result<(), GitError> {use worktrunk::styling::{CYAN, format_bash_with_gutter};- // Show what command is being executed (matches post-create/post-start format)- super::progress(format!("{CYAN}Executing (--execute){CYAN:#}"))?;- super::progress(format_bash_with_gutter(command, ""))?;+ // Show what command is being executed (section header + gutter content)+ super::progress(format!("{CYAN}Executing (--execute):{CYAN:#}"))?;+ super::gutter(format_bash_with_gutter(command, ""))?;super::execute(command)?;diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snapindex 982c77b19..1bd3de242 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snap@@ -3,8 +3,8 @@ source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized()---β [32mCreated new worktree for [1m[32mfish-multiline[0m[32m from [1m[32mmain[0m[32m: [1m[32m[TMPDIR]/test-repo.fish-multiline[0m[0m-π [36mExecuting (--execute)[0m-π [40m [0m [1m[34mecho[0m [32m'line 1'[0m; [1m[34mecho[0m [32m'line 2'[0m; [1m[34mecho[0m [32m'line 3'[0m[0m+π [36mExecuting (--execute):[0m+[40m [0m [1m[34mecho[0m [32m'line 1'[0m; [1m[34mecho[0m [32m'line 2'[0m; [1m[34mecho[0m [32m'line 3'[0m[0mline 1line 2diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_preserves_progress_messages.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_preserves_progress_messages.snapindex feede0c91..407d40927 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_preserves_progress_messages.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_preserves_progress_messages.snap@@ -3,5 +3,5 @@ source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized()---β [32mCreated new worktree for [1m[32mfish-bg[0m[32m from [1m[32mmain[0m[32m: [1m[32m[TMPDIR]/test-repo.fish-bg[0m[0m-π [36mRunning post-start[0m-π [40m [0m [1m[34mecho[0m [32m'fish background task'[0m[0m+π [36mRunning post-start:[0m+[40m [0m [1m[34mecho[0m [32m'fish background task'[0m[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_bash.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_bash.snapindex a03bc41d8..6680cc01a 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_bash.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_bash.snap@@ -2,13 +2,13 @@source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized()----π [36mRunning pre-merge: [1mformat[0m[0m-π [40m [0m [1m[34mecho[0m [32m'β Code formatting check passed'[0m[0m+π [36mRunning pre-merge: [1mformat[0m:[0m+[40m [0m [1m[34mecho[0m [32m'β Code formatting check passed'[0m[0mβ Code formatting check passed-π [36mRunning pre-merge: [1mtest[0m[0m-π [40m [0m [1m[34mecho[0m [32m'β Test suite failed: 3 tests failing'[0m [36m&&[0m [1m[34mexit[0m 1[0m+π [36mRunning pre-merge: [1mtest[0m:[0m+[40m [0m [1m[34mecho[0m [32m'β Test suite failed: 3 tests failing'[0m [36m&&[0m [1m[34mexit[0m 1[0mβ Test suite failed: 3 tests failingβ [31mpre-merge command failed: [1m[31mtest[0m[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_zsh.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_zsh.snapindex 1994198be..5d99f1529 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_zsh.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_zsh.snap@@ -9,9 +9,9 @@ expression: output.normalized()Command failed with exit code: exit status: 1π‘ [2mUse --no-hooks to skip pre-merge commands[0m-π [36mRunning pre-merge: [1mformat[0m[0m-π [40m [0m [1m[34mecho[0m [32m'β Code formatting check passed'[0m[0m+π [36mRunning pre-merge: [1mformat[0m:[0m+[40m [0m [1m[34mecho[0m [32m'β Code formatting check passed'[0m[0m-π [36mRunning pre-merge: [1mtest[0m[0m-π [40m [0m [1m[34mecho[0m [32m'β Test suite failed: 3 tests failing'[0m [36m&&[0m [1m[34mexit[0m 1[0m+π [36mRunning pre-merge: [1mtest[0m:[0m+[40m [0m [1m[34mecho[0m [32m'β Test suite failed: 3 tests failing'[0m [36m&&[0m [1m[34mexit[0m 1[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_bash.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_bash.snapindex 66fbf2b5c..89c813c23 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_bash.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_bash.snap@@ -2,18 +2,18 @@source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized()----π [36mRunning pre-merge: [1mformat[0m[0m-π [40m [0m [1m[34mecho[0m [32m'β Code formatting check passed'[0m[0m+π [36mRunning pre-merge: [1mformat[0m:[0m+[40m [0m [1m[34mecho[0m [32m'β Code formatting check passed'[0m[0mβ Code formatting check passed-π [36mRunning pre-merge: [1mlint[0m[0m-π [40m [0m [1m[34mecho[0m [32m'β Linting passed - no warnings'[0m[0m+π [36mRunning pre-merge: [1mlint[0m:[0m+[40m [0m [1m[34mecho[0m [32m'β Linting passed - no warnings'[0m[0mβ Linting passed - no warnings-π [36mRunning pre-merge: [1mtest[0m[0m-π [40m [0m [1m[34mecho[0m [32m'β All 47 tests passed in 2.3s'[0m[0m+π [36mRunning pre-merge: [1mtest[0m:[0m+[40m [0m [1m[34mecho[0m [32m'β All 47 tests passed in 2.3s'[0m[0mβ All 47 tests passed in 2.3sdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_zsh.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_zsh.snapindex af31e0d1a..0bbf4198c 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_zsh.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_zsh.snap@@ -5,16 +5,16 @@ expression: output.normalized()β Code formatting check passedβ Linting passed - no warningsβ All 47 tests passed in 2.3s-π [36mRunning pre-merge: [1mformat[0m[0m-π [40m [0m [1m[34mecho[0m [32m'β Code formatting check passed'[0m[0m+π [36mRunning pre-merge: [1mformat[0m:[0m+[40m [0m [1m[34mecho[0m [32m'β Code formatting check passed'[0m[0m-π [36mRunning pre-merge: [1mlint[0m[0m-π [40m [0m [1m[34mecho[0m [32m'β Linting passed - no warnings'[0m[0m+π [36mRunning pre-merge: [1mlint[0m:[0m+[40m [0m [1m[34mecho[0m [32m'β Linting passed - no warnings'[0m[0m-π [36mRunning pre-merge: [1mtest[0m[0m-π [40m [0m [1m[34mecho[0m [32m'β All 47 tests passed in 2.3s'[0m[0m+π [36mRunning pre-merge: [1mtest[0m:[0m+[40m [0m [1m[34mecho[0m [32m'β All 47 tests passed in 2.3s'[0m[0mπ [36mMerging 1 commit to [1m[36mmain[0m @ [2m[36md067f01[0m[0m (no commit/squash/rebase needed)diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snapindex 2e8281ab4..2b43a584f 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snap@@ -3,7 +3,7 @@ source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized()---β [32mCreated new worktree for [1m[32mtest-exec[0m[32m from [1m[32mmain[0m[32m: [1m[32m[TMPDIR]/test-repo.test-exec[0m[0m-π [36mExecuting (--execute)[0m-π [40m [0m [1m[34mecho[0m executed[0m+π [36mExecuting (--execute):[0m+[40m [0m [1m[34mecho[0m executed[0mexecuteddiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snapindex 2e8281ab4..2b43a584f 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snap@@ -3,7 +3,7 @@ source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized()---β [32mCreated new worktree for [1m[32mtest-exec[0m[32m from [1m[32mmain[0m[32m: [1m[32m[TMPDIR]/test-repo.test-exec[0m[0m-π [36mExecuting (--execute)[0m-π [40m [0m [1m[34mecho[0m executed[0m+π [36mExecuting (--execute):[0m+[40m [0m [1m[34mecho[0m executed[0mexecuteddiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snapindex a0ba8aa39..9b924f6b0 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snap@@ -4,17 +4,17 @@ expression: output.normalized()---Installing dependencies...Building project...-π [36mRunning post-create[0m-π [40m [0m [1m[34mecho[0m [32m'Installing dependencies...'[0m[0m+π [36mRunning post-create:[0m+[40m [0m [1m[34mecho[0m [32m'Installing dependencies...'[0m[0m-π [36mRunning post-create[0m-π [40m [0m [1m[34mecho[0m [32m'Building project...'[0m[0m+π [36mRunning post-create:[0m+[40m [0m [1m[34mecho[0m [32m'Building project...'[0m[0mβ [32mCreated new worktree for [1m[32mfeature-hooks[0m[32m from [1m[32mmain[0m[32m: [1m[32m[TMPDIR]/test-repo.feature-hooks[0m[0m-π [36mRunning post-start: [1mserver[0m[0m-π [40m [0m [1m[34mecho[0m [32m'Starting dev server on port 3000'[0m[0m+π [36mRunning post-start: [1mserver[0m:[0m+[40m [0m [1m[34mecho[0m [32m'Starting dev server on port 3000'[0m[0m-π [36mRunning post-start: [1mwatch[0m[0m-π [40m [0m [1m[34mecho[0m [32m'Watching for file changes'[0m[0m+π [36mRunning post-start: [1mwatch[0m:[0m+[40m [0m [1m[34mecho[0m [32m'Watching for file changes'[0m[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_post_start_command_no_directive_leak.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_post_start_command_no_directive_leak.snapindex 1f55ffe3f..8f4592d12 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_post_start_command_no_directive_leak.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_post_start_command_no_directive_leak.snap@@ -3,5 +3,5 @@ source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized()---β [32mCreated new worktree for [1m[32mfeature-with-hooks[0m[32m from [1m[32mmain[0m[32m: [1m[32m[TMPDIR]/test-repo.feature-with-hooks[0m[0m-π [36mRunning post-start[0m-π [40m [0m [1m[34mecho[0m [32m'test command executed'[0m[0m+π [36mRunning post-start:[0m+[40m [0m [1m[34mecho[0m [32m'test command executed'[0m[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__wrapper_preserves_progress_messages.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__wrapper_preserves_progress_messages.snapindex 51dfd93a5..7451e64ef 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__wrapper_preserves_progress_messages.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__wrapper_preserves_progress_messages.snap@@ -3,5 +3,5 @@ source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized()---β [32mCreated new worktree for [1m[32mfeature-bg[0m[32m from [1m[32mmain[0m[32m: [1m[32m[TMPDIR]/test-repo.feature-bg[0m[0m-π [36mRunning post-start[0m-π [40m [0m [1m[34mecho[0m [32m'background task'[0m[0m+π [36mRunning post-start:[0m+[40m [0m [1m[34mecho[0m [32m'background task'[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__already_approved_skip_prompt.snap b/tests/snapshots/integration__integration_tests__approval_ui__already_approved_skip_prompt.snapindex 01d75280b..115cdf458 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__already_approved_skip_prompt.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__already_approved_skip_prompt.snap@@ -17,14 +17,13 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpaVc3M5/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpqEpWGO/test-config.toml---success: trueexit_code: 0----- stdout ------π [36mRunning post-create[0m-π [40m [0m [1m[34mecho[0m [32m'approved'[0m [36m>[0m output.txt[0m-+π [36mRunning post-create:[0m+[40m [0m [1m[34mecho[0m [32m'approved'[0m [36m>[0m output.txt[0mβ [32mCreated new worktree for [1m[32mtest-approved[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].test-approved[0m[0mπ‘π‘ [2mTo enable automatic cd, run: wt config shell[0mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snap b/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snapindex 5f4514076..7704b849c 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snap@@ -18,14 +18,13 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpy5XJhx/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpQAP3Yx/test-config.toml---success: trueexit_code: 0----- stdout ------π [36mRunning post-create[0m-π [40m [0m [1m[34mecho[0m [32m'test command'[0m [36m>[0m output.txt[0m-+π [36mRunning post-create:[0m+[40m [0m [1m[34mecho[0m [32m'test command'[0m [36m>[0m output.txt[0mβ [32mCreated new worktree for [1m[32mtest-force[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].test-force[0m[0mπ‘π‘ [2mTo enable automatic cd, run: wt config shell[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_failure.snap b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_failure.snapindex ddf7628fd..291b40cce 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_failure.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_failure.snap@@ -17,7 +17,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpmOSWr4/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpDDXmUl/test-config.toml---success: trueexit_code: 0@@ -32,9 +32,8 @@ exit_code: 0β [32mMerged to [1m[32mmain[0m[0m (1 commit, 1 file, [32m+1[0m)β [32mReturned to primary at [1m[32m[REPO][0m[0mπ [36mRemoving worktree & branch...[0m-π [36mRunning post-merge[0m-π [40m [0m [1m[34mexit[0m 1[0m-+π [36mRunning post-merge:[0m+[40m [0m [1m[34mexit[0m 1[0mπ‘ [33mCommand failed: Command failed with exit code: exit status: 1[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_named.snap b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_named.snapindex 4f002516e..dc710d02a 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_named.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_named.snap@@ -17,7 +17,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmppLhkLE/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpe37K5e/test-config.toml---success: trueexit_code: 0@@ -32,12 +32,10 @@ exit_code: 0β [32mMerged to [1m[32mmain[0m[0m (1 commit, 1 file, [32m+1[0m)β [32mReturned to primary at [1m[32m[REPO][0m[0mπ [36mRemoving worktree & branch...[0m-π [36mRunning post-merge: [1mnotify[0m[0m-π [40m [0m [1m[34mecho[0m [32m'Merge to main complete'[0m [36m>[0m notify.txt[0m--π [36mRunning post-merge: [1mdeploy[0m[0m-π [40m [0m [1m[34mecho[0m [32m'Deploying branch feature'[0m [36m>[0m deploy.txt[0m-+π [36mRunning post-merge: [1mnotify[0m:[0m+[40m [0m [1m[34mecho[0m [32m'Merge to main complete'[0m [36m>[0m notify.txt[0m+π [36mRunning post-merge: [1mdeploy[0m:[0m+[40m [0m [1m[34mecho[0m [32m'Deploying branch feature'[0m [36m>[0m deploy.txt[0m----- stderr -----[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_success.snap b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_success.snapindex f696a3fc1..4c0bf193c 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_success.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_success.snap@@ -17,7 +17,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpS5qm6b/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpGQrDI4/test-config.toml---success: trueexit_code: 0@@ -32,9 +32,8 @@ exit_code: 0β [32mMerged to [1m[32mmain[0m[0m (1 commit, 1 file, [32m+1[0m)β [32mReturned to primary at [1m[32m[REPO][0m[0mπ [36mRemoving worktree & branch...[0m-π [36mRunning post-merge[0m-π [40m [0m [1m[34mecho[0m [32m'merged feature to main'[0m [36m>[0m post-merge-ran.txt[0m-+π [36mRunning post-merge:[0m+[40m [0m [1m[34mecho[0m [32m'merged feature to main'[0m [36m>[0m post-merge-ran.txt[0m----- stderr -----[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_failure.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_failure.snapindex ccaa575c4..05e4a0e34 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_failure.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_failure.snap@@ -17,15 +17,14 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpgoGmah/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp97ZTTt/test-config.toml---success: falseexit_code: 1----- stdout -----π‘ [33mAuto-staging untracked files: feature.txt[0m-π [36mRunning pre-commit[0m-π [40m [0m [1m[34mexit[0m 1[0m-+π [36mRunning pre-commit:[0m+[40m [0m [1m[34mexit[0m 1[0m----- stderr -----[0mβ [31mpre-commit command failed[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_success.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_success.snapindex 7faca2473..8970728ef 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_success.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_success.snap@@ -17,15 +17,14 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpM3vS2m/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpKHKovW/test-config.toml---success: trueexit_code: 0----- stdout -----π‘ [33mAuto-staging untracked files: feature.txt[0m-π [36mRunning pre-commit[0m-π [40m [0m [1m[34mecho[0m [32m'Pre-commit check passed'[0m[0m-+π [36mRunning pre-commit:[0m+[40m [0m [1m[34mecho[0m [32m'Pre-commit check passed'[0m[0mπ [36mCommitting with default message...[0m (1 file, [32m+1[0m, no squashing needed)π‘ [2mUsing fallback commit message. Run 'wt config help' to configure LLM-generated messages[0m[40m [0m [1mChanges to feature.txt[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_combined_output.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_combined_output.snapindex 56b8342bf..e8c6d4026 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_combined_output.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_combined_output.snap@@ -3,14 +3,12 @@ source: tests/integration_tests/merge.rsexpression: output---Exit code: 0-π [36mRunning pre-merge: [1mfirst[0m[0m-π [40m [0m [1m[34mecho[0m [32m'STDOUT-FROM-FIRST'[0m [36m&&[0m [1m[34mecho[0m [32m'STDERR-FROM-FIRST'[0m >&2[0m-+π [36mRunning pre-merge: [1mfirst[0m:[0m+[40m [0m [1m[34mecho[0m [32m'STDOUT-FROM-FIRST'[0m [36m&&[0m [1m[34mecho[0m [32m'STDERR-FROM-FIRST'[0m >&2[0m[0mSTDOUT-FROM-FIRSTSTDERR-FROM-FIRST-π [36mRunning pre-merge: [1msecond[0m[0m-π [40m [0m [1m[34mecho[0m [32m'STDOUT-FROM-SECOND'[0m [36m&&[0m [1m[34mecho[0m [32m'STDERR-FROM-SECOND'[0m >&2[0m-+π [36mRunning pre-merge: [1msecond[0m:[0m+[40m [0m [1m[34mecho[0m [32m'STDOUT-FROM-SECOND'[0m [36m&&[0m [1m[34mecho[0m [32m'STDERR-FROM-SECOND'[0m >&2[0m[0mSTDOUT-FROM-SECONDSTDERR-FROM-SECONDπ [36mMerging 1 commit to [1m[36mmain[0m @ [2m[SHA][0m (no commit/squash/rebase needed)diff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_failure.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_failure.snapindex 75b590e23..562250d06 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_failure.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_failure.snap@@ -17,14 +17,13 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp0lnSoa/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpKQlaCt/test-config.toml---success: falseexit_code: 1----- stdout ------π [36mRunning pre-merge[0m-π [40m [0m [1m[34mexit[0m 1[0m-+π [36mRunning pre-merge:[0m+[40m [0m [1m[34mexit[0m 1[0m----- stderr -----[0mβ [31mpre-merge command failed[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_named.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_named.snapindex 90b4ae82f..f6f46d582 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_named.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_named.snap@@ -17,20 +17,17 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpylBXX6/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpj625Fv/test-config.toml---success: trueexit_code: 0----- stdout ------π [36mRunning pre-merge: [1mformat[0m[0m-π [40m [0m [1m[34mexit[0m 0[0m--π [36mRunning pre-merge: [1mlint[0m[0m-π [40m [0m [1m[34mexit[0m 0[0m--π [36mRunning pre-merge: [1mtest[0m[0m-π [40m [0m [1m[34mexit[0m 0[0m-+π [36mRunning pre-merge: [1mformat[0m:[0m+[40m [0m [1m[34mexit[0m 0[0m+π [36mRunning pre-merge: [1mlint[0m:[0m+[40m [0m [1m[34mexit[0m 0[0m+π [36mRunning pre-merge: [1mtest[0m:[0m+[40m [0m [1m[34mexit[0m 0[0mπ [36mMerging 1 commit to [1m[36mmain[0m @ [2m[SHA][0m (no commit/squash/rebase needed)π * [SHA][33m ([m[1;36mHEAD[m[33m -> [m[1;32mfeature[m[33m)[m Add feature filediff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_stdout_stderr_ordering.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_stdout_stderr_ordering.snapindex 82cdaccda..824a5a6a3 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_stdout_stderr_ordering.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_stdout_stderr_ordering.snap@@ -17,17 +17,15 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpMX1QtW/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpb4feBX/test-config.toml---success: trueexit_code: 0----- stdout ------π [36mRunning pre-merge: [1mcheck1[0m[0m-π [40m [0m [1m[34m[PROJECT_ROOT]/tests/fixtures/mixed-output.sh[0m check1 3[0m--π [36mRunning pre-merge: [1mcheck2[0m[0m-π [40m [0m [1m[34m[PROJECT_ROOT]/tests/fixtures/mixed-output.sh[0m check2 3[0m-+π [36mRunning pre-merge: [1mcheck1[0m:[0m+[40m [0m [1m[34m[PROJECT_ROOT]/tests/fixtures/mixed-output.sh[0m check1 3[0m+π [36mRunning pre-merge: [1mcheck2[0m:[0m+[40m [0m [1m[34m[PROJECT_ROOT]/tests/fixtures/mixed-output.sh[0m check2 3[0mπ [36mMerging 1 commit to [1m[36mmain[0m @ [2m[SHA][0m (no commit/squash/rebase needed)π * [SHA][33m ([m[1;36mHEAD[m[33m -> [m[1;32mfeature[m[33m)[m Add feature filediff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_success.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_success.snapindex b2926d1f0..502dcf042 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_success.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_success.snap@@ -17,14 +17,13 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpfQFs4E/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpTFNUHP/test-config.toml---success: trueexit_code: 0----- stdout ------π [36mRunning pre-merge[0m-π [40m [0m [1m[34mexit[0m 0[0m-+π [36mRunning pre-merge:[0m+[40m [0m [1m[34mexit[0m 0[0mπ [36mMerging 1 commit to [1m[36mmain[0m @ [2m[SHA][0m (no commit/squash/rebase needed)π * [SHA][33m ([m[1;36mHEAD[m[33m -> [m[1;32mfeature[m[33m)[m Add feature filediff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_failure.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_failure.snapindex f7b0d4fac..df6215ec6 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_failure.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_failure.snap@@ -17,14 +17,13 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpNcyKxP/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpEBZp8P/test-config.toml---success: falseexit_code: 1----- stdout ------π [36mRunning pre-commit[0m-π [40m [0m [1m[34mexit[0m 1[0m-+π [36mRunning pre-commit:[0m+[40m [0m [1m[34mexit[0m 1[0m----- stderr -----[0mβ [31mpre-commit command failed[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_success.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_success.snapindex 7c8479337..7c500031c 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_success.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_success.snap@@ -17,14 +17,13 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp2uTNYU/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpaaZTRS/test-config.toml---success: trueexit_code: 0----- stdout ------π [36mRunning pre-commit[0m-π [40m [0m [1m[34mecho[0m [32m'Pre-commit check passed'[0m[0m-+π [36mRunning pre-commit:[0m+[40m [0m [1m[34mecho[0m [32m'Pre-commit check passed'[0m[0mπ [36mMerging 1 commit to [1m[36mmain[0m @ [2m[SHA][0m (no commit/squash/rebase needed)π * [SHA][33m ([m[1;36mHEAD[m[33m -> [m[1;32mfeature[m[33m)[m Add feature filediff --git a/tests/snapshots/integration__integration_tests__merge__readme_example_complex.snap b/tests/snapshots/integration__integration_tests__merge__readme_example_complex.snapindex 5c91578f3..4789c2969 100644--- a/tests/snapshots/integration__integration_tests__merge__readme_example_complex.snap+++ b/tests/snapshots/integration__integration_tests__merge__readme_example_complex.snap@@ -16,9 +16,9 @@ info:GIT_EDITOR: ""LANG: CLC_ALL: C- PATH: "/private/var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpDTrfO7/test-repo/.bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"+ PATH: "/private/var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp6wrGds/test-repo/.bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"SOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpDTrfO7/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp6wrGds/test-config.toml---success: trueexit_code: 0@@ -35,12 +35,10 @@ exit_code: 0[40m [0m - Add JWT encoding/decoding with signature verification[40m [0m - Create test suite covering all authentication flowsβ [32mSquashed @ [2m[SHA][0m-π [36mRunning pre-merge: [1mtest[0m[0m-π [40m [0m [1m[34mcargo[0m test[0m--π [36mRunning pre-merge: [1mlint[0m[0m-π [40m [0m [1m[34mcargo[0m clippy[0m-+π [36mRunning pre-merge: [1mtest[0m:[0m+[40m [0m [1m[34mcargo[0m test[0m+π [36mRunning pre-merge: [1mlint[0m:[0m+[40m [0m [1m[34mcargo[0m clippy[0mπ [36mMerging 1 commit to [1m[36mmain[0m @ [2m[SHA][0m (no rebase needed)π * [SHA][33m ([m[1;36mHEAD[m[33m -> [m[1;32mfeature-auth[m[33m)[m feat(auth): Implement JWT authentication system@@ -53,9 +51,8 @@ exit_code: 0β [32mMerged to [1m[32mmain[0m[0m (1 commit, 3 files, [32m+3[0m)β [32mReturned to primary at [1m[32m[REPO][0m[0mπ [36mRemoving worktree & branch...[0m-π [36mRunning post-merge: [1minstall[0m[0m-π [40m [0m [1m[34mcargo[0m install [36m--path[0m .[0m-+π [36mRunning post-merge: [1minstall[0m:[0m+[40m [0m [1m[34mcargo[0m install [36m--path[0m .[0m----- stderr -----[0m Finished test [unoptimized + debuginfo] target(s) in 0.12sdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap b/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snapindex 9c6905e89..6fd084ad9 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap@@ -17,20 +17,18 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpXxhnEO/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpIiybQ2/test-config.toml---success: trueexit_code: 0----- stdout ------π [36mRunning post-create[0m-π [40m [0m [1m[34mecho[0m [32m'Setup done'[0m [36m>[0m setup.txt[0m-+π [36mRunning post-create:[0m+[40m [0m [1m[34mecho[0m [32m'Setup done'[0m [36m>[0m setup.txt[0mβ [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘π‘ [2mTo enable automatic cd, run: wt config shell[0m-π [36mRunning post-start: [1mserver[0m[0m-π [40m [0m [1m[34msleep[0m 0.5 [36m&&[0m [1m[34mecho[0m [32m'Server running'[0m [36m>[0m server.txt[0m-+π [36mRunning post-start: [1mserver[0m:[0m+[40m [0m [1m[34msleep[0m 0.5 [36m&&[0m [1m[34mecho[0m [32m'Server running'[0m [36m>[0m server.txt[0m----- stderr -----[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snap b/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snapindex 9679aa17c..dc9887d44 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snap@@ -19,17 +19,15 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpIzJ74g/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpyxbdnj/test-config.toml---success: trueexit_code: 0----- stdout -----β [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0m-π [36mRunning post-start[0m-π [40m [0m [1m[34mecho[0m [32m'Background task'[0m [36m>[0m background.txt[0m--π [36mExecuting (--execute)[0m-π [40m [0m [1m[34mecho[0m [32m'Execute flag'[0m [36m>[0m execute.txt[0m-+π [36mRunning post-start:[0m+[40m [0m [1m[34mecho[0m [32m'Background task'[0m [36m>[0m background.txt[0m+π [36mExecuting (--execute):[0m+[40m [0m [1m[34mecho[0m [32m'Execute flag'[0m [36m>[0m execute.txt[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snapindex f984e4fd7..ddeb098dd 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snap@@ -17,14 +17,13 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpWO7UHy/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpNXDxne/test-config.toml---success: trueexit_code: 0----- stdout ------π [36mRunning post-create[0m-π [40m [0m [1m[34mexit[0m 1[0m-+π [36mRunning post-create:[0m+[40m [0m [1m[34mexit[0m 1[0mπ‘ [33mCommand failed: Command failed with exit code: exit status: 1[0mβ [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiline_control_structure.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiline_control_structure.snapindex fa218c24a..10d669146 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiline_control_structure.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiline_control_structure.snap@@ -17,18 +17,17 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp0xdTwu/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp4dIZtp/test-config.toml---success: trueexit_code: 0----- stdout ------π [36mRunning post-create[0m-π [40m [0m [1m[35mif[0m [ ! -f test.txt ]; [1m[35mthen[0m[1m[35m[0m[0m+π [36mRunning post-create:[0m+[40m [0m [1m[35mif[0m [ ! -f test.txt ]; [1m[35mthen[0m[1m[35m[0m[0m[40m [0m [1m[34mecho[0m [32m'File does not exist'[0m [36m>[0m result.txt[0m[40m [0m [1m[34melse[0m[0m[40m [0m [1m[34mecho[0m [32m'File exists'[0m [36m>[0m result.txt[0m[40m [0m [1m[34mfi[0m[0m-β [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘π‘ [2mTo enable automatic cd, run: wt config shell[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snapindex afbbc6390..a8dce35d8 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snap@@ -17,17 +17,15 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpQ5ZMEa/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpOaI6ok/test-config.toml---success: trueexit_code: 0----- stdout ------π [36mRunning post-create[0m-π [40m [0m [1m[34mecho[0m [32m'First'[0m[0m--π [36mRunning post-create[0m-π [40m [0m [1m[34mecho[0m [32m'Second'[0m[0m-+π [36mRunning post-create:[0m+[40m [0m [1m[34mecho[0m [32m'First'[0m[0m+π [36mRunning post-create:[0m+[40m [0m [1m[34mecho[0m [32m'Second'[0m[0mβ [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘π‘ [2mTo enable automatic cd, run: wt config shell[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snapindex ecb919188..40a8363c3 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap@@ -17,17 +17,15 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpFRyryd/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpDrGzjb/test-config.toml---success: trueexit_code: 0----- stdout ------π [36mRunning post-create: [1minstall[0m[0m-π [40m [0m [1m[34mecho[0m [32m'Installing deps'[0m[0m--π [36mRunning post-create: [1msetup[0m[0m-π [40m [0m [1m[34mecho[0m [32m'Running setup'[0m[0m-+π [36mRunning post-create: [1minstall[0m:[0m+[40m [0m [1m[34mecho[0m [32m'Installing deps'[0m[0m+π [36mRunning post-create: [1msetup[0m:[0m+[40m [0m [1m[34mecho[0m [32m'Running setup'[0m[0mβ [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘π‘ [2mTo enable automatic cd, run: wt config shell[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snapindex dd69e623e..13d46f745 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snap@@ -17,14 +17,13 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpuHf6zT/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpnD1eiR/test-config.toml---success: trueexit_code: 0----- stdout ------π [36mRunning post-create[0m-π [40m [0m [1m[34mecho[0m [32m'Setup complete'[0m[0m-+π [36mRunning post-create:[0m+[40m [0m [1m[34mecho[0m [32m'Setup complete'[0m[0mβ [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘π‘ [2mTo enable automatic cd, run: wt config shell[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snapindex 6b30360e9..3972ad7a0 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snap@@ -17,23 +17,19 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpdiiVvx/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpAei6GS/test-config.toml---success: trueexit_code: 0----- stdout ------π [36mRunning post-create[0m-π [40m [0m [1m[34mecho[0m [32m'Repo: test-repo'[0m [36m>[0m info.txt[0m--π [36mRunning post-create[0m-π [40m [0m [1m[34mecho[0m [32m'Branch: feature-test'[0m [36m>>[0m info.txt[0m--π [36mRunning post-create[0m-π [40m [0m [1m[34mecho[0m [32m'Worktree: [REPO].feature-test'[0m [36m>>[0m info.txt[0m--π [36mRunning post-create[0m-π [40m [0m [1m[34mecho[0m [32m'Root: [REPO]'[0m [36m>>[0m info.txt[0m-+π [36mRunning post-create:[0m+[40m [0m [1m[34mecho[0m [32m'Repo: test-repo'[0m [36m>[0m info.txt[0m+π [36mRunning post-create:[0m+[40m [0m [1m[34mecho[0m [32m'Branch: feature-test'[0m [36m>>[0m info.txt[0m+π [36mRunning post-create:[0m+[40m [0m [1m[34mecho[0m [32m'Worktree: [REPO].feature-test'[0m [36m>>[0m info.txt[0m+π [36mRunning post-create:[0m+[40m [0m [1m[34mecho[0m [32m'Root: [REPO]'[0m [36m>>[0m info.txt[0mβ [32mCreated new worktree for [1m[32mfeature/test[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature-test[0m[0mπ‘π‘ [2mTo enable automatic cd, run: wt config shell[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snapindex 57bb3369e..9ba66e7f8 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snap@@ -17,7 +17,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpiF62jX/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpKQqZsk/test-config.toml---success: trueexit_code: 0@@ -25,10 +25,9 @@ exit_code: 0β [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘π‘ [2mTo enable automatic cd, run: wt config shell[0m-π [36mRunning post-start[0m-π [40m [0m [1m[34mecho[0m 'line1[0m+π [36mRunning post-start:[0m+[40m [0m [1m[34mecho[0m 'line1[0m[40m [0m [1m[34mline2[0m[0m[40m [0m [1m[34mline3[0m' | grep line2 > filtered.txt[0m------ stderr -----diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_create_with_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_create_with_command.snapindex f27c77719..c4d4adb10 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_create_with_command.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_create_with_command.snap@@ -17,7 +17,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmph1KCcs/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp411LIl/test-config.toml---success: trueexit_code: 0@@ -25,8 +25,7 @@ exit_code: 0β [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘π‘ [2mTo enable automatic cd, run: wt config shell[0m-π [36mRunning post-start[0m-π [40m [0m [1m[34mecho[0m [32m'POST-START-RAN'[0m [36m>[0m post_start_marker.txt[0m-+π [36mRunning post-start:[0m+[40m [0m [1m[34mecho[0m [32m'POST-START-RAN'[0m [36m>[0m post_start_marker.txt[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snapindex 78f5fdd49..614248587 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snap@@ -17,7 +17,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp5J5kSa/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp0DSOPX/test-config.toml---success: trueexit_code: 0@@ -25,8 +25,7 @@ exit_code: 0β [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘π‘ [2mTo enable automatic cd, run: wt config shell[0m-π [36mRunning post-start[0m-π [40m [0m [1m[34mecho[0m 'unclosed quote[0m-+π [36mRunning post-start:[0m+[40m [0m [1m[34mecho[0m 'unclosed quote[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snapindex 5fa75f1e4..cf8fe75bf 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snap@@ -17,7 +17,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpIpV3RD/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpdS30NW/test-config.toml---success: trueexit_code: 0@@ -25,8 +25,7 @@ exit_code: 0β [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘π‘ [2mTo enable automatic cd, run: wt config shell[0m-π [36mRunning post-start[0m-π [40m [0m [1m[34mecho[0m [32m'stdout output'[0m [36m&&[0m [1m[34mecho[0m [32m'stderr output'[0m >&2[0m-+π [36mRunning post-start:[0m+[40m [0m [1m[34mecho[0m [32m'stdout output'[0m [36m&&[0m [1m[34mecho[0m [32m'stderr output'[0m >&2[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiline_with_newlines.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiline_with_newlines.snapindex c689df6e9..9d9740fe0 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiline_with_newlines.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiline_with_newlines.snap@@ -17,7 +17,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpzbKRSJ/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpT3TiED/test-config.toml---success: trueexit_code: 0@@ -25,10 +25,9 @@ exit_code: 0β [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘π‘ [2mTo enable automatic cd, run: wt config shell[0m-π [36mRunning post-start[0m-π [40m [0m [1m[34mecho[0m [32m'first line'[0m [36m>[0m multiline.txt[0m+π [36mRunning post-start:[0m+[40m [0m [1m[34mecho[0m [32m'first line'[0m [36m>[0m multiline.txt[0m[40m [0m [1m[34mecho[0m [32m'second line'[0m [36m>>[0m multiline.txt[0m[40m [0m [1m[34mecho[0m [32m'third line'[0m [36m>>[0m multiline.txt[0m------ stderr -----diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snapindex b083e6248..029f1a3a1 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap@@ -17,7 +17,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpHzswHG/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp0R1GR5/test-config.toml---success: trueexit_code: 0@@ -25,11 +25,9 @@ exit_code: 0β [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘π‘ [2mTo enable automatic cd, run: wt config shell[0m-π [36mRunning post-start: [1mtask1[0m[0m-π [40m [0m [1m[34mecho[0m [32m'Task 1 running'[0m [36m>[0m task1.txt[0m--π [36mRunning post-start: [1mtask2[0m[0m-π [40m [0m [1m[34mecho[0m [32m'Task 2 running'[0m [36m>[0m task2.txt[0m-+π [36mRunning post-start: [1mtask1[0m:[0m+[40m [0m [1m[34mecho[0m [32m'Task 1 running'[0m [36m>[0m task1.txt[0m+π [36mRunning post-start: [1mtask2[0m:[0m+[40m [0m [1m[34mecho[0m [32m'Task 2 running'[0m [36m>[0m task2.txt[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snapindex e9898b280..cd9547aea 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap@@ -17,7 +17,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp0BJXcN/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpvmg3UA/test-config.toml---success: trueexit_code: 0@@ -25,14 +25,11 @@ exit_code: 0β [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘π‘ [2mTo enable automatic cd, run: wt config shell[0m-π [36mRunning post-start: [1mtask1[0m[0m-π [40m [0m [1m[34mecho[0m [32m'TASK1_OUTPUT'[0m[0m--π [36mRunning post-start: [1mtask2[0m[0m-π [40m [0m [1m[34mecho[0m [32m'TASK2_OUTPUT'[0m[0m--π [36mRunning post-start: [1mtask3[0m[0m-π [40m [0m [1m[34mecho[0m [32m'TASK3_OUTPUT'[0m[0m-+π [36mRunning post-start: [1mtask1[0m:[0m+[40m [0m [1m[34mecho[0m [32m'TASK1_OUTPUT'[0m[0m+π [36mRunning post-start: [1mtask2[0m:[0m+[40m [0m [1m[34mecho[0m [32m'TASK2_OUTPUT'[0m[0m+π [36mRunning post-start: [1mtask3[0m:[0m+[40m [0m [1m[34mecho[0m [32m'TASK3_OUTPUT'[0m[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snapindex 752e6acf2..fba36d83c 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snap@@ -17,7 +17,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpKNzqge/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp5CyFWs/test-config.toml---success: trueexit_code: 0@@ -25,8 +25,7 @@ exit_code: 0β [32mCreated new worktree for [1m[32mfeature[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].feature[0m[0mπ‘π‘ [2mTo enable automatic cd, run: wt config shell[0m-π [36mRunning post-start[0m-π [40m [0m [1m[34msleep[0m 1 [36m&&[0m [1m[34mecho[0m [32m'Background task done'[0m [36m>[0m background.txt[0m-+π [36mRunning post-start:[0m+[40m [0m [1m[34msleep[0m 1 [36m&&[0m [1m[34mecho[0m [32m'Background task done'[0m [36m>[0m background.txt[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_creates_file.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_creates_file.snapindex 8293da9ad..98029675d 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_creates_file.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_creates_file.snap@@ -19,14 +19,13 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpNVvkLl/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpUvmJlg/test-config.toml---success: trueexit_code: 0----- stdout -----β [32mCreated new worktree for [1m[32mfile-test[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].file-test[0m[0m-π [36mExecuting (--execute)[0m-π [40m [0m [1m[34mecho[0m [32m'test content'[0m [36m>[0m test.txt[0m-+π [36mExecuting (--execute):[0m+[40m [0m [1m[34mecho[0m [32m'test content'[0m [36m>[0m test.txt[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snapindex 1d020b7d6..f6d882b2a 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap@@ -18,14 +18,13 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmprDvNjP/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp0y3m8G/test-config.toml---success: trueexit_code: 0----- stdout -----β [32mSwitched to worktree for [1m[32mexisting-exec[0m[32m at [1m[32m[WORKTREE_EXISTING_EXEC][0m[0m-π [36mExecuting (--execute)[0m-π [40m [0m [1m[34mecho[0m [32m'existing worktree'[0m [36m>[0m existing.txt[0m-+π [36mExecuting (--execute):[0m+[40m [0m [1m[34mecho[0m [32m'existing worktree'[0m [36m>[0m existing.txt[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snapindex a541e7565..941edb103 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap@@ -19,15 +19,14 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpBSMnfY/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpnShSEJ/test-config.toml---success: falseexit_code: 1----- stdout -----β [32mCreated new worktree for [1m[32mfail-test[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].fail-test[0m[0m-π [36mExecuting (--execute)[0m-π [40m [0m [1m[34mexit[0m 1[0m-+π [36mExecuting (--execute):[0m+[40m [0m [1m[34mexit[0m 1[0m----- stderr -----Command failed with exit code: exit status: 1diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snapindex c258449f7..a9ac2b1b3 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap@@ -19,17 +19,16 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpEZv8HJ/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpt7iHt9/test-config.toml---success: trueexit_code: 0----- stdout -----β [32mCreated new worktree for [1m[32mmultiline-test[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].multiline-test[0m[0m-π [36mExecuting (--execute)[0m-π [40m [0m [1m[34mecho[0m [32m'line1'[0m[0m+π [36mExecuting (--execute):[0m+[40m [0m [1m[34mecho[0m [32m'line1'[0m[0m[40m [0m [1m[34mecho[0m [32m'line2'[0m[0m[40m [0m [1m[34mecho[0m [32m'line3'[0m[0m-line1line2line3diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snapindex d63090709..f9601fa20 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap@@ -19,15 +19,14 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpy82RDk/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp3C1t5n/test-config.toml---success: trueexit_code: 0----- stdout -----β [32mCreated new worktree for [1m[32mexec-test[0m[32m from [1m[32mmain[0m[32m at [1m[32m[REPO].exec-test[0m[0m-π [36mExecuting (--execute)[0m-π [40m [0m [1m[34mecho[0m [32m'test output'[0m[0m-+π [36mExecuting (--execute):[0m+[40m [0m [1m[34mecho[0m [32m'test output'[0m[0mtest output----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snap b/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snapindex b68a709cb..2f744f329 100644Binary files a/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snap and b/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snap differ