Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
fix(output): Prevent bash color bleed
Maximilian Roos9761c4dc7316
diff --git a/CLAUDE.md b/CLAUDE.mdindex 00c16d172..966e5bf25 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -204,6 +204,18 @@ let warning_bold = WARNING.bold();"{WARNING}Text with {warning_bold}composed{warning_bold:#} styles{WARNING:#}"```+**CRITICAL: Resetting all styles** - To reset ALL ANSI attributes at once, use `anstyle::Reset`, NOT `{:#}` on an empty `Style`:++```rust+// ❌ BAD - produces empty string, NO reset!+output.push_str(&format!("{:#}", Style::new()));++// ✅ GOOD - produces \x1b[0m reset code+output.push_str(&format!("{}", anstyle::Reset));+```++**Why this matters:** `{:#}` only resets when used on a style with attributes. Using it on `Style::new()` (empty style) produces an empty string, causing color bleeding into subsequent output. This was the root cause of color leaking from gutter-formatted commands into child process output.+### Information Hierarchy & Styling**Principle: Bold what answers the user's question, dim what provides context.**diff --git a/src/styling.rs b/src/styling.rsindex 097241532..1eaec6e87 100644--- a/src/styling.rs+++ b/src/styling.rs@@ -419,13 +419,13 @@ pub fn format_bash_with_gutter(content: &str, left_margin: &str) -> String {}HighlightEvent::HighlightEnd => {// End of highlighted region - reset style- output.push_str(&format!("{:#}", Style::new()));+ output.push_str(&format!("{}", anstyle::Reset));}}}// Ensure all styles are reset at end of line to prevent leaking into child process output- output.push_str(&format!("{:#}", Style::new()));+ output.push_str(&format!("{}", anstyle::Reset));output.push('\n');}@@ -827,4 +827,67 @@ command = "npm install"[40m [0m includes proper token rotation and expiration handling.");}++ #[test]+ fn test_bash_gutter_formatting_ends_with_reset() {+ // Test that bash gutter formatting properly resets colors at the end of each line+ // to prevent color bleeding into subsequent output (like child process output)+ let command = "pre-commit run --all-files";+ let result = format_bash_with_gutter(command, "");++ // The output should end with ANSI reset code followed by newline+ // ANSI reset is \x1b[0m (ESC[0m)+ assert!(+ result.ends_with("\x1b[0m\n"),+ "Bash gutter formatting should end with ANSI reset code followed by newline, got: {:?}",+ result.chars().rev().take(20).collect::<String>()+ );++ // Verify the reset appears at the end of EVERY line (for multi-line commands)+ let multi_line_command = "npm install && \\\n npm run build";+ let multi_result = format_bash_with_gutter(multi_line_command, "");++ // Each line should end with reset code+ for line in multi_result.lines() {+ if !line.is_empty() {+ // Check that line contains a reset code somewhere+ // (The actual position depends on the highlighting, but it should be present)+ assert!(+ line.contains("\x1b[0m"),+ "Each line should contain ANSI reset code, line: {:?}",+ line+ );+ }+ }++ // Most importantly: the final output should end with reset + newline+ assert!(+ multi_result.ends_with("\x1b[0m\n"),+ "Multi-line bash gutter formatting should end with ANSI reset + newline"+ );+ }++ #[test]+ fn test_reset_code_behavior() {+ // IMPORTANT: {:#} on Style::new() produces an EMPTY STRING, not a reset!+ // This is the root cause of color bleeding bugs.+ let style_reset = format!("{:#}", Style::new());+ assert_eq!(+ style_reset, "",+ "Style::new() with {{:#}} produces empty string (this is why we had color leaking!)"+ );++ // The correct way to get a reset code is anstyle::Reset+ let anstyle_reset = format!("{}", anstyle::Reset);+ assert_eq!(+ anstyle_reset, "\x1b[0m",+ "anstyle::Reset produces proper ESC[0m reset code"+ );++ // Document the fix: always use anstyle::Reset, never {:#} on Style::new()+ assert_ne!(+ style_reset, anstyle_reset,+ "Style::new() and anstyle::Reset are NOT equivalent - always use anstyle::Reset"+ );+ }}diff --git a/tests/integration_tests/configure_shell.rs b/tests/integration_tests/configure_shell.rsindex b47d7aed2..295627e72 100644--- a/tests/integration_tests/configure_shell.rs+++ b/tests/integration_tests/configure_shell.rs@@ -33,7 +33,7 @@ fn test_configure_shell_with_yes() {exit_code: 0----- stdout -----Added [1mzsh[0m [TEMP_HOME]/.zshrc- [40m [0m [1m[35mif [1m[34mcommand [36m-v wt [36m>/dev/null [33m2>&1; [1m[35mthen [1m[34meval [32m"$([1m[34mwt init zsh)"; [1m[35mfi+ [40m [0m [1m[35mif[0m [1m[34mcommand[0m [36m-v[0m wt [36m>[0m/dev/null [33m2[0m>&1; [1m[35mthen[0m [1m[34meval[0m [32m"$([1m[34mwt[0m init zsh)"[0m; [1m[35mfi[0m[0m✅ [32mConfigured 1 shell[0m@@ -78,7 +78,7 @@ fn test_configure_shell_specific_shell() {exit_code: 0----- stdout -----Added [1mzsh[0m [TEMP_HOME]/.zshrc- [40m [0m [1m[35mif [1m[34mcommand [36m-v wt [36m>/dev/null [33m2>&1; [1m[35mthen [1m[34meval [32m"$([1m[34mwt init zsh)"; [1m[35mfi+ [40m [0m [1m[35mif[0m [1m[34mcommand[0m [36m-v[0m wt [36m>[0m/dev/null [33m2[0m>&1; [1m[35mthen[0m [1m[34meval[0m [32m"$([1m[34mwt[0m init zsh)"[0m; [1m[35mfi[0m[0m✅ [32mConfigured 1 shell[0m@@ -164,7 +164,7 @@ fn test_configure_shell_fish() {exit_code: 0----- stdout -----Created [1mfish[0m [TEMP_HOME]/.config/fish/conf.d/wt.fish- [40m [0m [1m[35mif [1m[34mtype [36m-q wt; [1m[34mwt init fish [36m| [1m[34msource; end+ [40m [0m [1m[35mif[0m [1m[34mtype[0m [36m-q[0m wt; [1m[34mwt[0m init fish [36m|[0m [1m[34msource[0m; end[0m✅ [32mConfigured 1 shell[0m@@ -258,9 +258,9 @@ fn test_configure_shell_multiple_configs() {exit_code: 0----- stdout -----Added [1mbash[0m [TEMP_HOME]/.bash_profile- [40m [0m [1m[35mif [1m[34mcommand [36m-v wt [36m>/dev/null [33m2>&1; [1m[35mthen [1m[34meval [32m"$([1m[34mwt init bash)"; [1m[35mfi+ [40m [0m [1m[35mif[0m [1m[34mcommand[0m [36m-v[0m wt [36m>[0m/dev/null [33m2[0m>&1; [1m[35mthen[0m [1m[34meval[0m [32m"$([1m[34mwt[0m init bash)"[0m; [1m[35mfi[0m[0mAdded [1mzsh[0m [TEMP_HOME]/.zshrc- [40m [0m [1m[35mif [1m[34mcommand [36m-v wt [36m>/dev/null [33m2>&1; [1m[35mthen [1m[34meval [32m"$([1m[34mwt init zsh)"; [1m[35mfi+ [40m [0m [1m[35mif[0m [1m[34mcommand[0m [36m-v[0m wt [36m>[0m/dev/null [33m2[0m>&1; [1m[35mthen[0m [1m[34meval[0m [32m"$([1m[34mwt[0m init zsh)"[0m; [1m[35mfi[0m[0m✅ [32mConfigured 2 shells[0m@@ -326,9 +326,9 @@ fn test_configure_shell_mixed_states() {exit_code: 0----- stdout -----Already configured [1mbash[0m [TEMP_HOME]/.bash_profile- [40m [0m [1m[35mif [1m[34mcommand [36m-v wt [36m>/dev/null [33m2>&1; [1m[35mthen [1m[34meval [32m"$([1m[34mwt init bash)"; [1m[35mfi+ [40m [0m [1m[35mif[0m [1m[34mcommand[0m [36m-v[0m wt [36m>[0m/dev/null [33m2[0m>&1; [1m[35mthen[0m [1m[34meval[0m [32m"$([1m[34mwt[0m init bash)"[0m; [1m[35mfi[0m[0mAdded [1mzsh[0m [TEMP_HOME]/.zshrc- [40m [0m [1m[35mif [1m[34mcommand [36m-v wt [36m>/dev/null [33m2>&1; [1m[35mthen [1m[34meval [32m"$([1m[34mwt init zsh)"; [1m[35mfi+ [40m [0m [1m[35mif[0m [1m[34mcommand[0m [36m-v[0m wt [36m>[0m/dev/null [33m2[0m>&1; [1m[35mthen[0m [1m[34meval[0m [32m"$([1m[34mwt[0m init zsh)"[0m; [1m[35mfi[0m[0m✅ [32mConfigured 1 shell[0mdiff --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 5d0d538d0..acd488a21 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@@ -4,7 +4,7 @@ expression: output.normalized().as_ref()---✅ [32mCreated new worktree for [1m[32mfish-multiline[0m[32m, changed directory to [1m[32m[TMPDIR]/test-repo.fish-multiline[0m🔄 [36mExecuting (--execute):[0m-[40m [0m [1m[34mecho [32m'line 1'; [1m[34mecho [32m'line 2'; [1m[34mecho [32m'line 3'+[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 a7793ecd5..3c8ad5057 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@@ -4,4 +4,4 @@ expression: output.normalized().as_ref()---✅ [32mCreated new worktree for [1m[32mfish-bg[0m[32m, changed directory to [1m[32m[TMPDIR]/test-repo.fish-bg[0m🔄 [36mRunning post-start:[0m-[40m [0m [1m[34mecho [32m'fish background task'+[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 77e5dc5a4..7c83646d0 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@@ -5,12 +5,12 @@ expression: output.normalized().as_ref()🔄 [36mRebasing onto [0m[1m[36mmain[0m[36m...[0m✅ [32mRebased onto [1m[32mmain[0m[0m🔄 [36mRunning pre-merge: [1mformat[0m[0m-[0m[40m [0m [1m[34mecho [32m'✓ Code formatting check passed'+[0m[40m [0m [1m[34mecho[0m [32m'✓ Code formatting check passed'[0m[0m✓ Code formatting check passed🔄 [36mRunning pre-merge: [1mtest[0m[0m-[0m[40m [0m [1m[34mecho [32m'✗ Test suite failed: 3 tests failing' [36m&& [1m[34mexit 1+[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: [0m[1m[31mtest[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_fish.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_fish.snapindex 503cc5aba..fb3a7bd64 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_fish.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_fish.snap@@ -5,11 +5,11 @@ expression: output.normalized().as_ref()🔄 [36mRebasing onto [0m[1m[36mmain[0m[36m...[0m✅ [32mRebased onto [1m[32mmain[0m[0m🔄 [36mRunning pre-merge: [1mformat[0m[0m-[0m[40m [0m [1m[34mecho [32m'✓ Code formatting check passed'+[0m[40m [0m [1m[34mecho[0m [32m'✓ Code formatting check passed'[0m[0m✓ Code formatting check passed🔄 [36mRunning pre-merge: [1mtest[0m[0m-[0m[40m [0m [1m[34mecho [32m'✗ Test suite failed: 3 tests failing' [36m&& [1m[34mexit 1+[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: [0m[1m[31mtest[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 f24a45645..5176685aa 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@@ -12,8 +12,8 @@ Command failed with exit code: exit status: 1🔄 [36mRebasing onto [0m[1m[36mmain[0m[36m...[0m✅ [32mRebased onto [1m[32mmain[0m[0m🔄 [36mRunning pre-merge: [1mformat[0m[0m-[40m [0m [1m[34mecho [32m'✓ Code formatting check passed'+[40m [0m [1m[34mecho[0m [32m'✓ Code formatting check passed'[0m[0m🔄 [36mRunning pre-merge: [1mtest[0m[0m-[40m [0m [1m[34mecho [32m'✗ Test suite failed: 3 tests failing' [36m&& [1m[34mexit 1+[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 b1f73f49a..4b9b85053 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@@ -5,17 +5,17 @@ expression: output.normalized().as_ref()🔄 [36mRebasing onto [0m[1m[36mmain[0m[36m...[0m✅ [32mRebased onto [1m[32mmain[0m[0m🔄 [36mRunning pre-merge: [1mformat[0m[0m-[0m[40m [0m [1m[34mecho [32m'✓ Code formatting check passed'+[0m[40m [0m [1m[34mecho[0m [32m'✓ Code formatting check passed'[0m[0m✓ Code formatting check passed🔄 [36mRunning pre-merge: [1mlint[0m[0m-[0m[40m [0m [1m[34mecho [32m'✓ Linting passed - no warnings'+[0m[40m [0m [1m[34mecho[0m [32m'✓ Linting passed - no warnings'[0m[0m✓ Linting passed - no warnings🔄 [36mRunning pre-merge: [1mtest[0m[0m-[0m[40m [0m [1m[34mecho [32m'✓ All 47 tests passed in 2.3s'+[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_fish.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_fish.snapindex e6fd232e6..656ba1c6f 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_fish.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_fish.snap@@ -1,19 +1,20 @@---source: tests/integration_tests/shell_wrapper.rs+assertion_line: 637expression: output.normalized().as_ref()---🔄 [36mRebasing onto [0m[1m[36mmain[0m[36m...[0m✅ [32mRebased onto [1m[32mmain[0m[0m🔄 [36mRunning pre-merge: [1mformat[0m[0m-[0m[40m [0m [1m[34mecho [32m'✓ Code formatting check passed'+[0m[40m [0m [1m[34mecho[0m [32m'✓ Code formatting check passed'[0m[0m✓ Code formatting check passed🔄 [36mRunning pre-merge: [1mlint[0m[0m-[0m[40m [0m [1m[34mecho [32m'✓ Linting passed - no warnings'+[0m[40m [0m [1m[34mecho[0m [32m'✓ Linting passed - no warnings'[0m[0m✓ Linting passed - no warnings🔄 [36mRunning pre-merge: [1mtest[0m[0m-[0m[40m [0m [1m[34mecho [32m'✓ All 47 tests passed in 2.3s'+[0m[40m [0m [1m[34mecho[0m [32m'✓ All 47 tests passed in 2.3s'[0m[0m✓ All 47 tests passed in 2.3s🔄 [36mMerging 1 commit to [1m[36mmain[0m[0m @ [2md067f01[0mdiff --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 e99011fa0..945d9b978 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@@ -8,15 +8,15 @@ expression: output.normalized().as_ref()🔄 [36mRebasing onto [0m[1m[36mmain[0m[36m...[0m✅ [32mRebased onto [1m[32mmain[0m[0m🔄 [36mRunning pre-merge: [1mformat[0m[0m-[40m [0m [1m[34mecho [32m'✓ Code formatting check passed'+[40m [0m [1m[34mecho[0m [32m'✓ Code formatting check passed'[0m[0m🔄 [36mRunning pre-merge: [1mlint[0m[0m-[40m [0m [1m[34mecho [32m'✓ Linting passed - no warnings'+[40m [0m [1m[34mecho[0m [32m'✓ Linting passed - no warnings'[0m[0m🔄 [36mRunning pre-merge: [1mtest[0m[0m-[40m [0m [1m[34mecho [32m'✓ All 47 tests passed in 2.3s'+[40m [0m [1m[34mecho[0m [32m'✓ All 47 tests passed in 2.3s'[0m[0m🔄 [36mMerging 1 commit to [1m[36mmain[0m[0m @ [2md067f01[0mdiff --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 0f2f4a876..736914f16 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@@ -4,6 +4,6 @@ expression: output.normalized().as_ref()---✅ [32mCreated new worktree for [1m[32mtest-exec[0m[32m, changed directory to [1m[32m[TMPDIR]/test-repo.test-exec[0m🔄 [36mExecuting (--execute):[0m-[40m [0m [1m[34mecho executed+[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 0f2f4a876..736914f16 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@@ -4,6 +4,6 @@ expression: output.normalized().as_ref()---✅ [32mCreated new worktree for [1m[32mtest-exec[0m[32m, changed directory to [1m[32m[TMPDIR]/test-repo.test-exec[0m🔄 [36mExecuting (--execute):[0m-[40m [0m [1m[34mecho executed+[40m [0m [1m[34mecho[0m executed[0mexecuteddiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_bash.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_bash.snapindex 8b62d3de3..e5eaccf20 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_bash.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_bash.snap@@ -3,18 +3,18 @@ source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized().as_ref()---🔄 [36mRunning post-create: [1m1[0m[0m-[0m[40m [0m [1m[34mecho [32m'Installing dependencies...'+[0m[40m [0m [1m[34mecho[0m [32m'Installing dependencies...'[0m[0mInstalling dependencies...🔄 [36mRunning post-create: [1m2[0m[0m-[0m[40m [0m [1m[34mecho [32m'Building project...'+[0m[40m [0m [1m[34mecho[0m [32m'Building project...'[0m[0mBuilding project...✅ [32mCreated new worktree for [1m[32mfeature-hooks[0m[32m, changed directory to [1m[32m[TMPDIR]/test-repo.feature-hooks[0m🔄 [36mRunning post-start: [1mserver[0m[0m-[40m [0m [1m[34mecho [32m'Starting dev server on port 3000'+[40m [0m [1m[34mecho[0m [32m'Starting dev server on port 3000'[0m[0m🔄 [36mRunning post-start: [1mwatch[0m[0m-[40m [0m [1m[34mecho [32m'Watching for file changes'+[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_hooks_zsh.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snapindex abd963ade..b4332450f 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@@ -5,16 +5,16 @@ expression: output.normalized().as_ref()[0mInstalling dependencies...[0mBuilding project...🔄 [36mRunning post-create: [1m1[0m[0m-[40m [0m [1m[34mecho [32m'Installing dependencies...'+[40m [0m [1m[34mecho[0m [32m'Installing dependencies...'[0m[0m🔄 [36mRunning post-create: [1m2[0m[0m-[40m [0m [1m[34mecho [32m'Building project...'+[40m [0m [1m[34mecho[0m [32m'Building project...'[0m[0m✅ [32mCreated new worktree for [1m[32mfeature-hooks[0m[32m, changed directory to [1m[32m[TMPDIR]/test-repo.feature-hooks[0m🔄 [36mRunning post-start: [1mserver[0m[0m-[40m [0m [1m[34mecho [32m'Starting dev server on port 3000'+[40m [0m [1m[34mecho[0m [32m'Starting dev server on port 3000'[0m[0m🔄 [36mRunning post-start: [1mwatch[0m[0m-[40m [0m [1m[34mecho [32m'Watching for file changes'+[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 720dea4e7..203740655 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@@ -4,4 +4,4 @@ expression: output.normalized().as_ref()---✅ [32mCreated new worktree for [1m[32mfeature-with-hooks[0m[32m, changed directory to [1m[32m[TMPDIR]/test-repo.feature-with-hooks[0m🔄 [36mRunning post-start:[0m-[40m [0m [1m[34mecho [32m'test command executed'+[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 f11ca6c5f..bfeb49f74 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@@ -4,4 +4,4 @@ expression: output.normalized().as_ref()---✅ [32mCreated new worktree for [1m[32mfeature-bg[0m[32m, changed directory to [1m[32m[TMPDIR]/test-repo.feature-bg[0m🔄 [36mRunning post-start:[0m-[40m [0m [1m[34mecho [32m'background task'+[40m [0m [1m[34mecho[0m [32m'background task'[0m[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 80fd8e40a..0e41e9ba8 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/.tmprPSs36/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpptr827/test-config.toml---success: trueexit_code: 0@@ -37,7 +37,7 @@ exit_code: 0✅ [32mReturned to primary at [1m[32m[REPO][0m[0m🔄 [36mRunning post-merge:[0m-[40m [0m [1m[34mexit 1+[40m [0m [1m[34mexit[0m 1[0m🟡 [33mCommand failed: Command failed with exit code: exit status: 1[0mdiff --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 760ae1454..e8add9023 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/.tmpxc7RHg/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpGWnwYn/test-config.toml---success: trueexit_code: 0@@ -37,10 +37,10 @@ exit_code: 0✅ [32mReturned to primary at [1m[32m[REPO][0m[0m🔄 [36mRunning post-merge: [1mdeploy[0m[0m-[40m [0m [1m[34mecho [32m'Deploying branch feature' [36m> deploy.txt+[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 [32m'Merge to main complete' [36m> notify.txt+[40m [0m [1m[34mecho[0m [32m'Merge to main complete'[0m [36m>[0m notify.txt[0m----- stderr -----diff --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 ba9779b93..72829052e 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/.tmpGGTD8y/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpKEEEAG/test-config.toml---success: trueexit_code: 0@@ -37,7 +37,7 @@ exit_code: 0✅ [32mReturned to primary at [1m[32m[REPO][0m[0m🔄 [36mRunning post-merge:[0m-[40m [0m [1m[34mecho [32m'merged feature to main' [36m> post-merge-ran.txt+[40m [0m [1m[34mecho[0m [32m'merged feature to main'[0m [36m>[0m post-merge-ran.txt[0m----- stderr -----diff --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 9211d181a..eb81a6524 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@@ -7,12 +7,12 @@ Exit code: 0🔄 [36mRebasing onto [0m[1m[36mmain[0m[36m...[0m✅ [32mRebased onto [1m[32mmain[0m[0m🔄 [36mRunning pre-merge: [1mfirst[0m[0m-[40m [0m [1m[34mecho [32m'STDOUT-FROM-FIRST' [36m&& [1m[34mecho [32m'STDERR-FROM-FIRST' >&2+[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 [32m'STDOUT-FROM-SECOND' [36m&& [1m[34mecho [32m'STDERR-FROM-SECOND' >&2+[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-SECONDdiff --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 33c5f644e..04fff9ee8 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,7 +17,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp1GXQ92/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp9HHF8C/test-config.toml---success: falseexit_code: 1@@ -26,7 +26,7 @@ exit_code: 1🔄 [36mRebasing onto [0m[1m[36mmain[0m[36m...[0m✅ [32mRebased onto [1m[32mmain[0m[0m🔄 [36mRunning pre-merge:[0m-[40m [0m [1m[34mexit 1+[40m [0m [1m[34mexit[0m 1[0m----- stderr -----diff --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 60326e08f..59d473dc3 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,7 +17,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpwVFrLQ/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpibRGV7/test-config.toml---success: trueexit_code: 0@@ -26,13 +26,13 @@ exit_code: 0🔄 [36mRebasing onto [0m[1m[36mmain[0m[36m...[0m✅ [32mRebased onto [1m[32mmain[0m[0m🔄 [36mRunning pre-merge: [1mformat[0m[0m-[40m [0m [1m[34mexit 0+[40m [0m [1m[34mexit[0m 0[0m🔄 [36mRunning pre-merge: [1mlint[0m[0m-[40m [0m [1m[34mexit 0+[40m [0m [1m[34mexit[0m 0[0m🔄 [36mRunning pre-merge: [1mtest[0m[0m-[40m [0m [1m[34mexit 0+[40m [0m [1m[34mexit[0m 0[0m🔄 [36mMerging 1 commit to [1m[36mmain[0m[0m @ [SHA]diff --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 8bec17921..b25a7da92 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,7 +17,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpusbLYb/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpVzGbNN/test-config.toml---success: trueexit_code: 0@@ -26,10 +26,10 @@ exit_code: 0🔄 [36mRebasing onto [0m[1m[36mmain[0m[36m...[0m✅ [32mRebased onto [1m[32mmain[0m[0m🔄 [36mRunning pre-merge: [1mcheck1[0m[0m-[40m [0m [1m[34m[PROJECT_ROOT]/tests/fixtures/mixed-output.sh check1 3+[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 check2 3+[40m [0m [1m[34m[PROJECT_ROOT]/tests/fixtures/mixed-output.sh[0m check2 3[0m🔄 [36mMerging 1 commit to [1m[36mmain[0m[0m @ [SHA]diff --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 a1d3a5eb2..e7127994e 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,7 +17,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpih5fiP/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp6PQ8BW/test-config.toml---success: trueexit_code: 0@@ -26,7 +26,7 @@ exit_code: 0🔄 [36mRebasing onto [0m[1m[36mmain[0m[36m...[0m✅ [32mRebased onto [1m[32mmain[0m[0m🔄 [36mRunning pre-merge:[0m-[40m [0m [1m[34mexit 0+[40m [0m [1m[34mexit[0m 0[0m🔄 [36mMerging 1 commit to [1m[36mmain[0m[0m @ [SHA]diff --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 f73aa91f9..09a485efd 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,13 +17,13 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpX7kAU7/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpYJX0p5/test-config.toml---success: falseexit_code: 1----- stdout -----🔄 [36mRunning pre-squash:[0m-[40m [0m [1m[34mexit 1+[40m [0m [1m[34mexit[0m 1[0m----- stderr -----diff --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 dc8533d06..4a483219c 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,13 +17,13 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpX4nX8J/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpSOWdk0/test-config.toml---success: trueexit_code: 0----- stdout -----🔄 [36mRunning pre-squash:[0m-[40m [0m [1m[34mecho [32m'Pre-squash check passed'+[40m [0m [1m[34mecho[0m [32m'Pre-squash check passed'[0m[0m💡 [2mOnly 1 commit since [0m[1m[36mmain[0m[2m - no squashing needed[0m🔄 [36mRebasing onto [0m[1m[36mmain[0m[36m...[0mdiff --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 ddf1c275f..bf4e32946 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,19 +17,19 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpLfE81d/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpoL47a8/test-config.toml---success: trueexit_code: 0----- stdout -----🔄 [36mRunning post-create:[0m-[40m [0m [1m[34mecho [32m'Setup done' [36m> setup.txt+[40m [0m [1m[34mecho[0m [32m'Setup done'[0m [36m>[0m setup.txt[0m✅ [32mCreated new worktree for [1m[32mfeature[0m[32m at [1m[32m[REPO].feature[0mTo enable automatic cd, run: wt config shell🔄 [36mRunning post-start: [1mserver[0m[0m-[40m [0m [1m[34msleep 0.5 [36m&& [1m[34mecho [32m'Server running' [36m> server.txt+[40m [0m [1m[34msleep[0m 0.5 [36m&&[0m [1m[34mecho[0m [32m'Server running'[0m [36m>[0m server.txt[0m----- stderr -----diff --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 471d49e19..dc0797ef6 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,17 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpdgWPLD/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpcYBzHx/test-config.toml---success: trueexit_code: 0----- stdout -----✅ [32mCreated new worktree for [1m[32mfeature[0m[32m at [1m[32m[REPO].feature[0m🔄 [36mExecuting (--execute):[0m-[40m [0m [1m[34mecho [32m'Execute flag' [36m> execute.txt+[40m [0m [1m[34mecho[0m [32m'Execute flag'[0m [36m>[0m execute.txt[0m🔄 [36mRunning post-start:[0m-[40m [0m [1m[34mecho [32m'Background task' [36m> background.txt+[40m [0m [1m[34mecho[0m [32m'Background task'[0m [36m>[0m background.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 83a3baeab..10e52eaa0 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,13 +17,13 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpEzKGqv/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpaCeFSo/test-config.toml---success: trueexit_code: 0----- stdout -----🔄 [36mRunning post-create:[0m-[40m [0m [1m[34mexit 1+[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 at [1m[32m[REPO].feature[0mdiff --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 c06498ebf..bf1d92622 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,17 +17,17 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpSK4rIE/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpk5Ku9g/test-config.toml---success: trueexit_code: 0----- stdout -----🔄 [36mRunning post-create:[0m-[40m [0m [1m[35mif [ ! -f test.txt ]; [1m[35mthen[1m[35m-[40m [0m [1m[34mecho [32m'File does not exist' [36m> result.txt-[40m [0m [1m[34melse-[40m [0m [1m[34mecho [32m'File exists' [36m> result.txt-[40m [0m [1m[34mfi+[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 at [1m[32m[REPO].feature[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 83c6e97aa..cfeaeccca 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,16 +17,16 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp6BSBvR/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpXvo2gv/test-config.toml---success: trueexit_code: 0----- stdout -----🔄 [36mRunning post-create: [1m1[0m[0m-[40m [0m [1m[34mecho [32m'First'+[40m [0m [1m[34mecho[0m [32m'First'[0m[0m🔄 [36mRunning post-create: [1m2[0m[0m-[40m [0m [1m[34mecho [32m'Second'+[40m [0m [1m[34mecho[0m [32m'Second'[0m[0m✅ [32mCreated new worktree for [1m[32mfeature[0m[32m at [1m[32m[REPO].feature[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 d7dcd466d..7c5296ae2 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,16 +17,16 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp5593R7/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpzimn1l/test-config.toml---success: trueexit_code: 0----- stdout -----🔄 [36mRunning post-create: [1minstall[0m[0m-[40m [0m [1m[34mecho [32m'Installing deps'+[40m [0m [1m[34mecho[0m [32m'Installing deps'[0m[0m🔄 [36mRunning post-create: [1msetup[0m[0m-[40m [0m [1m[34mecho [32m'Running setup'+[40m [0m [1m[34mecho[0m [32m'Running setup'[0m[0m✅ [32mCreated new worktree for [1m[32mfeature[0m[32m at [1m[32m[REPO].feature[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 bf0538d28..5bae0a15f 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,13 +17,13 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpxfYzYL/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpE64Nvf/test-config.toml---success: trueexit_code: 0----- stdout -----🔄 [36mRunning post-create:[0m-[40m [0m [1m[34mecho [32m'Setup complete'+[40m [0m [1m[34mecho[0m [32m'Setup complete'[0m[0m✅ [32mCreated new worktree for [1m[32mfeature[0m[32m at [1m[32m[REPO].feature[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 0ee8c5064..7c15f1d37 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,22 +17,22 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpv6ksxe/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp7ZuRfi/test-config.toml---success: trueexit_code: 0----- stdout -----🔄 [36mRunning post-create: [1m1[0m[0m-[40m [0m [1m[34mecho [32m'Repo: test-repo' [36m> info.txt+[40m [0m [1m[34mecho[0m [32m'Repo: test-repo'[0m [36m>[0m info.txt[0m🔄 [36mRunning post-create: [1m2[0m[0m-[40m [0m [1m[34mecho [32m'Branch: feature-test' [36m>> info.txt+[40m [0m [1m[34mecho[0m [32m'Branch: feature-test'[0m [36m>>[0m info.txt[0m🔄 [36mRunning post-create: [1m3[0m[0m-[40m [0m [1m[34mecho [32m'Worktree: [REPO].feature-test' [36m>> info.txt+[40m [0m [1m[34mecho[0m [32m'Worktree: [REPO].feature-test'[0m [36m>>[0m info.txt[0m🔄 [36mRunning post-create: [1m4[0m[0m-[40m [0m [1m[34mecho [32m'Root: [REPO]' [36m>> info.txt+[40m [0m [1m[34mecho[0m [32m'Root: [REPO]'[0m [36m>>[0m info.txt[0m✅ [32mCreated new worktree for [1m[32mfeature/test[0m[32m at [1m[32m[REPO].feature-test[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 a437306c4..041b8dae7 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/.tmppEKpc3/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpVOqFcG/test-config.toml---success: trueexit_code: 0@@ -26,9 +26,9 @@ exit_code: 0To enable automatic cd, run: wt config shell🔄 [36mRunning post-start:[0m-[40m [0m [1m[34mecho 'line1-[40m [0m [1m[34mline2-[40m [0m [1m[34mline3' | grep line2 > filtered.txt+[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_invalid_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snapindex 5ced16d31..83eba7f28 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/.tmpuuffeH/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp22tMXH/test-config.toml---success: trueexit_code: 0@@ -26,7 +26,7 @@ exit_code: 0To enable automatic cd, run: wt config shell🔄 [36mRunning post-start:[0m-[40m [0m [1m[34mecho 'unclosed quote+[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 2d78a0ef2..2ea8f296e 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/.tmpcKjthE/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpN7reqi/test-config.toml---success: trueexit_code: 0@@ -26,7 +26,7 @@ exit_code: 0To enable automatic cd, run: wt config shell🔄 [36mRunning post-start:[0m-[40m [0m [1m[34mecho [32m'stdout output' [36m&& [1m[34mecho [32m'stderr output' >&2+[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 f3ff79ccc..1d66410d3 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/.tmp1qmdzg/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpbwF5AM/test-config.toml---success: trueexit_code: 0@@ -26,9 +26,9 @@ exit_code: 0To enable automatic cd, run: wt config shell🔄 [36mRunning post-start:[0m-[40m [0m [1m[34mecho [32m'first line' [36m> multiline.txt-[40m [0m [1m[34mecho [32m'second line' [36m>> multiline.txt-[40m [0m [1m[34mecho [32m'third line' [36m>> multiline.txt+[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 b9c90e90c..a28eb4203 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/.tmpL1QZ4b/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpKRAW1U/test-config.toml---success: trueexit_code: 0@@ -26,10 +26,10 @@ exit_code: 0To enable automatic cd, run: wt config shell🔄 [36mRunning post-start: [1mtask1[0m[0m-[40m [0m [1m[34mecho [32m'Task 1 running' [36m> task1.txt+[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 [32m'Task 2 running' [36m> task2.txt+[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 1c544b483..01e3f8e89 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/.tmpyBOrPy/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpHGYMBC/test-config.toml---success: trueexit_code: 0@@ -26,13 +26,13 @@ exit_code: 0To enable automatic cd, run: wt config shell🔄 [36mRunning post-start: [1mtask1[0m[0m-[40m [0m [1m[34mecho [32m'TASK1_OUTPUT'+[40m [0m [1m[34mecho[0m [32m'TASK1_OUTPUT'[0m[0m🔄 [36mRunning post-start: [1mtask2[0m[0m-[40m [0m [1m[34mecho [32m'TASK2_OUTPUT'+[40m [0m [1m[34mecho[0m [32m'TASK2_OUTPUT'[0m[0m🔄 [36mRunning post-start: [1mtask3[0m[0m-[40m [0m [1m[34mecho [32m'TASK3_OUTPUT'+[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 281825ab6..e146b7180 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/.tmpJ1CnZX/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpF06YU8/test-config.toml---success: trueexit_code: 0@@ -26,7 +26,7 @@ exit_code: 0To enable automatic cd, run: wt config shell🔄 [36mRunning post-start:[0m-[40m [0m [1m[34msleep 1 [36m&& [1m[34mecho [32m'Background task done' [36m> background.txt+[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 913be45a0..33a0652fc 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,14 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpOriKcx/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpu5XDIG/test-config.toml---success: trueexit_code: 0----- stdout -----✅ [32mCreated new worktree for [1m[32mfile-test[0m[32m at [1m[32m[REPO].file-test[0m🔄 [36mExecuting (--execute):[0m-[40m [0m [1m[34mecho [32m'test content' [36m> test.txt+[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 2bc95d1c2..911c076e2 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,14 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpLbvJBO/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpk1ctcu/test-config.toml---success: trueexit_code: 0----- stdout -----✅ [32mSwitched to worktree for [1m[32mexisting-exec[0m[32m at [1m[32m[WORKTREE_EXISTING_EXEC][0m🔄 [36mExecuting (--execute):[0m-[40m [0m [1m[34mecho [32m'existing worktree' [36m> existing.txt+[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 f98b0f6cf..141927a03 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap@@ -19,14 +19,14 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmppWjmaP/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpkVljqz/test-config.toml---success: falseexit_code: 1----- stdout -----✅ [32mCreated new worktree for [1m[32mfail-test[0m[32m at [1m[32m[REPO].fail-test[0m🔄 [36mExecuting (--execute):[0m-[40m [0m [1m[34mexit 1+[40m [0m [1m[34mexit[0m 1[0m----- stderr -----diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snapindex 0f2a2a4be..24666b440 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap@@ -19,16 +19,16 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpyX9jOe/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpT98uHB/test-config.toml---success: trueexit_code: 0----- stdout -----✅ [32mCreated new worktree for [1m[32mmultiline-test[0m[32m at [1m[32m[REPO].multiline-test[0m🔄 [36mExecuting (--execute):[0m-[40m [0m [1m[34mecho [32m'line1'-[40m [0m [1m[34mecho [32m'line2'-[40m [0m [1m[34mecho [32m'line3'+[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[0mline1line2diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snapindex f9c568529..5f85bd270 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap@@ -19,14 +19,14 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpmZfgam/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpsRtxi3/test-config.toml---success: trueexit_code: 0----- stdout -----✅ [32mCreated new worktree for [1m[32mexec-test[0m[32m at [1m[32m[REPO].exec-test[0m🔄 [36mExecuting (--execute):[0m-[40m [0m [1m[34mecho [32m'test output'+[40m [0m [1m[34mecho[0m [32m'test output'[0m[0mtest outputdiff --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 9f934312d..c3119e056 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 differdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_execute_still_runs.snap b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_execute_still_runs.snapindex 622365557..785ec919b 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_execute_still_runs.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_execute_still_runs.snap@@ -20,14 +20,14 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp5jJ6Hd/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp1P1ouy/test-config.toml---success: trueexit_code: 0----- stdout -----✅ [32mCreated new worktree for [1m[32mno-hooks-test[0m[32m at [1m[32m[REPO].no-hooks-test[0m🔄 [36mExecuting (--execute):[0m-[40m [0m [1m[34mecho [32m'execute command runs'+[40m [0m [1m[34mecho[0m [32m'execute command runs'[0m[0mexecute command runsdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_existing.snap b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_existing.snapindex 9a75e5f1b..e67f25d62 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_existing.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_existing.snap@@ -19,14 +19,14 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpkG95YB/test-config.toml+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpS8ulIg/test-config.toml---success: trueexit_code: 0----- stdout -----✅ [32mSwitched to worktree for [1m[32mexisting-no-hooks[0m[32m at [1m[32m[WORKTREE_EXISTING_NO_HOOKS][0m🔄 [36mExecuting (--execute):[0m-[40m [0m [1m[34mecho [32m'execute still runs'+[40m [0m [1m[34mecho[0m [32m'execute still runs'[0m[0mexecute still runs