Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Refactor: Update post-start command snapshot tests
Maximilian Roos00782301e8cd
diff --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 4468b203c..30887d49e 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@@ -12,8 +12,7 @@ info:GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"GIT_CONFIG_GLOBAL: /dev/nullGIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpUuZGl5+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp0byrQULANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1704067200"@@ -27,17 +26,7 @@ exit_code: 0To enable automatic cd, run: wt configure-shell----- stderr -------π‘ [33mPermission required to execute in worktree[0m--[1mtest-repo[0m ([2mtest-repo[0m) wants to execute:+π [36mExecuting (post-create):[0m[40m [0m echo 'Setup done' > setup.txt--π‘ Allow and remember? [1m[y/N][0m [2mSkipping command: echo 'Setup done' > setup.txt[0m--π‘ [33mPermission required to execute in worktree[0m--[1mtest-repo[0m ([2mtest-repo[0m) wants to execute:-[40m [0m sleep 0.5 && echo 'Server running' > server.txt--π‘ Allow and remember? [1m[y/N][0m [2mSkipping command: sleep 0.5 && echo 'Server running' > server.txt[0m+π [36mStarting (background): sleep 0.5 && echo 'Server running' > server.txt[0m+ [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap.new b/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap.newdeleted file mode 100644index bc380fa8a..000000000--- a/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap.new+++ /dev/null@@ -1,34 +0,0 @@-----source: tests/integration_tests/post_start_commands.rs-assertion_line: 30-info:- program: wt- args:- - switch- - "--create"- - feature- env:- CLICOLOR_FORCE: "1"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpRLy6fk- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1704067200"-----success: true-exit_code: 0------ stdout ------β [32mCreated new worktree for [1mfeature[0m- [2mPath: [REPO]/../test-repo.feature[0m[0m--To enable automatic cd, run: wt configure-shell------- stderr ------π [36mExecuting (post-create):[0m-[40m [0m echo 'Setup done' > setup.txt-π [36mStarting (background): sleep 0.5 && echo 'Server running' > server.txt[0m- [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[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 5c1c55545..8cbe33d2d 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@@ -14,8 +14,7 @@ info:GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"GIT_CONFIG_GLOBAL: /dev/nullGIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmptZb4Ps+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpd9ZkbyLANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1704067200"@@ -27,10 +26,5 @@ exit_code: 0[2mPath: [REPO]/../test-repo.feature[0m[0m----- stderr -------π‘ [33mPermission required to execute in worktree[0m--[1mtest-repo[0m ([2mtest-repo[0m) wants to execute:-[40m [0m echo 'Background task' > background.txt--π‘ Allow and remember? [1m[y/N][0m [2mSkipping command: echo 'Background task' > background.txt[0m+π [36mStarting (background): echo 'Background task' > background.txt[0m+ [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snap.new b/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snap.newdeleted file mode 100644index ea0dfe4d0..000000000--- a/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snap.new+++ /dev/null@@ -1,32 +0,0 @@-----source: tests/integration_tests/post_start_commands.rs-assertion_line: 30-info:- program: wt- args:- - switch- - "--create"- - feature- - "--execute"- - "echo 'Execute flag' > execute.txt"- env:- CLICOLOR_FORCE: "1"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp9eIcJS- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1704067200"-----success: true-exit_code: 0------ stdout ------β [32mCreated new worktree for [1mfeature[0m- [2mPath: [REPO]/../test-repo.feature[0m[0m------- stderr ------π [36mStarting (background): echo 'Background task' > background.txt[0m- [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0mdiff --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 2d56c21e9..df2fd6636 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@@ -12,8 +12,7 @@ info:GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"GIT_CONFIG_GLOBAL: /dev/nullGIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpF1umrW+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpd1DcV0LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1704067200"@@ -27,10 +26,6 @@ exit_code: 0To enable automatic cd, run: wt configure-shell----- stderr -------π‘ [33mPermission required to execute in worktree[0m--[1mtest-repo[0m ([2mtest-repo[0m) wants to execute:+π [36mExecuting (post-create):[0m[40m [0m exit 1--π‘ Allow and remember? [1m[y/N][0m [2mSkipping command: exit 1[0m+π‘ [33mCommand [1m[33mcmd[0m failed: Command failed with exit code: exit status: 1[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snap.new b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snap.newdeleted file mode 100644index 692e46cc0..000000000--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snap.new+++ /dev/null@@ -1,33 +0,0 @@-----source: tests/integration_tests/post_start_commands.rs-assertion_line: 30-info:- program: wt- args:- - switch- - "--create"- - feature- env:- CLICOLOR_FORCE: "1"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpR8gOKN- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1704067200"-----success: true-exit_code: 0------ stdout ------β [32mCreated new worktree for [1mfeature[0m- [2mPath: [REPO]/../test-repo.feature[0m[0m--To enable automatic cd, run: wt configure-shell------- stderr ------π [36mExecuting (post-create):[0m-[40m [0m exit 1-π‘ [33mCommand [1m[33mcmd[0m failed: Command failed with exit code: exit status: 1[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 42ca631e8..5942a29b2 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@@ -12,8 +12,7 @@ info:GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"GIT_CONFIG_GLOBAL: /dev/nullGIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpU051MH+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpWlXFZfLANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1704067200"@@ -21,23 +20,15 @@ info:success: trueexit_code: 0----- stdout -----+First+Secondβ [32mCreated new worktree for [1mfeature[0m[2mPath: [REPO]/../test-repo.feature[0m[0mTo enable automatic cd, run: wt configure-shell----- stderr -------π‘ [33mPermission required to execute in worktree[0m--[1mtest-repo[0m ([2mtest-repo[0m) wants to execute:+π [36mExecuting (post-create):[0m[40m [0m echo 'First'--π‘ Allow and remember? [1m[y/N][0m [2mSkipping command: echo 'First'[0m--π‘ [33mPermission required to execute in worktree[0m--[1mtest-repo[0m ([2mtest-repo[0m) wants to execute:+π [36mExecuting (post-create):[0m[40m [0m echo 'Second'--π‘ Allow and remember? [1m[y/N][0m [2mSkipping command: echo 'Second'[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snap.new b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snap.newdeleted file mode 100644index f720e2a50..000000000--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snap.new+++ /dev/null@@ -1,36 +0,0 @@-----source: tests/integration_tests/post_start_commands.rs-assertion_line: 30-info:- program: wt- args:- - switch- - "--create"- - feature- env:- CLICOLOR_FORCE: "1"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpASFetv- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1704067200"-----success: true-exit_code: 0------ stdout ------First-Second-β [32mCreated new worktree for [1mfeature[0m- [2mPath: [REPO]/../test-repo.feature[0m[0m--To enable automatic cd, run: wt configure-shell------- stderr ------π [36mExecuting (post-create):[0m-[40m [0m echo 'First'-π [36mExecuting (post-create):[0m-[40m [0m echo 'Second'diff --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 f8a1983ca..1c32b946e 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@@ -12,8 +12,7 @@ info:GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"GIT_CONFIG_GLOBAL: /dev/nullGIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpYddzNM+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp0nKmXPLANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1704067200"@@ -21,23 +20,15 @@ info:success: trueexit_code: 0----- stdout -----+Installing deps+Running setupβ [32mCreated new worktree for [1mfeature[0m[2mPath: [REPO]/../test-repo.feature[0m[0mTo enable automatic cd, run: wt configure-shell----- stderr -------π‘ [33mPermission required to execute in worktree[0m--[1mtest-repo[0m ([2mtest-repo[0m) wants to execute:+π [36mExecuting (post-create):[0m[40m [0m echo 'Installing deps'--π‘ Allow and remember? [1m[y/N][0m [2mSkipping command: echo 'Installing deps'[0m--π‘ [33mPermission required to execute in worktree[0m--[1mtest-repo[0m ([2mtest-repo[0m) wants to execute:+π [36mExecuting (post-create):[0m[40m [0m echo 'Running setup'--π‘ Allow and remember? [1m[y/N][0m [2mSkipping command: echo 'Running setup'[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap.new b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap.newdeleted file mode 100644index 4faf95123..000000000--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap.new+++ /dev/null@@ -1,36 +0,0 @@-----source: tests/integration_tests/post_start_commands.rs-assertion_line: 30-info:- program: wt- args:- - switch- - "--create"- - feature- env:- CLICOLOR_FORCE: "1"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpvnJ7sq- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1704067200"-----success: true-exit_code: 0------ stdout ------Installing deps-Running setup-β [32mCreated new worktree for [1mfeature[0m- [2mPath: [REPO]/../test-repo.feature[0m[0m--To enable automatic cd, run: wt configure-shell------- stderr ------π [36mExecuting (post-create):[0m-[40m [0m echo 'Installing deps'-π [36mExecuting (post-create):[0m-[40m [0m echo 'Running setup'diff --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 80bbd1517..aa15f1950 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@@ -12,8 +12,7 @@ info:GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"GIT_CONFIG_GLOBAL: /dev/nullGIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpYozSFb+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpGrmjMpLANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1704067200"@@ -21,16 +20,12 @@ info:success: trueexit_code: 0----- stdout -----+Setup completeβ [32mCreated new worktree for [1mfeature[0m[2mPath: [REPO]/../test-repo.feature[0m[0mTo enable automatic cd, run: wt configure-shell----- stderr -------π‘ [33mPermission required to execute in worktree[0m--[1mtest-repo[0m ([2mtest-repo[0m) wants to execute:+π [36mExecuting (post-create):[0m[40m [0m echo 'Setup complete'--π‘ Allow and remember? [1m[y/N][0m [2mSkipping command: echo 'Setup complete'[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snap.new b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snap.newdeleted file mode 100644index f77746acf..000000000--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snap.new+++ /dev/null@@ -1,33 +0,0 @@-----source: tests/integration_tests/post_start_commands.rs-assertion_line: 30-info:- program: wt- args:- - switch- - "--create"- - feature- env:- CLICOLOR_FORCE: "1"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpfM9rik- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1704067200"-----success: true-exit_code: 0------ stdout ------Setup complete-β [32mCreated new worktree for [1mfeature[0m- [2mPath: [REPO]/../test-repo.feature[0m[0m--To enable automatic cd, run: wt configure-shell------- stderr ------π [36mExecuting (post-create):[0m-[40m [0m echo 'Setup complete'diff --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 a98593c99..3b86628cc 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@@ -12,8 +12,7 @@ info:GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"GIT_CONFIG_GLOBAL: /dev/nullGIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpJdNF1s+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpbxqPsCLANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1704067200"@@ -27,14 +26,7 @@ exit_code: 0To enable automatic cd, run: wt configure-shell----- stderr -------π‘ [33mPermission required to execute in worktree[0m--[1mtest-repo[0m ([2mtest-repo[0m) wants to execute:-[40m [0m echo 'line1-[40m [0m line2-[40m [0m line3' | grep line2 > filtered.txt--π‘ Allow and remember? [1m[y/N][0m [2mSkipping command: echo 'line1+π [36mStarting (background): echo 'line1line2line3' | grep line2 > filtered.txt[0m+ [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snap.new b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snap.newdeleted file mode 100644index 2f006b6c0..000000000--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snap.new+++ /dev/null@@ -1,34 +0,0 @@-----source: tests/integration_tests/post_start_commands.rs-assertion_line: 30-info:- program: wt- args:- - switch- - "--create"- - feature- env:- CLICOLOR_FORCE: "1"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpGAjZ5L- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1704067200"-----success: true-exit_code: 0------ stdout ------β [32mCreated new worktree for [1mfeature[0m- [2mPath: [REPO]/../test-repo.feature[0m[0m--To enable automatic cd, run: wt configure-shell------- stderr ------π [36mStarting (background): echo 'line1-line2-line3' | grep line2 > filtered.txt[0m- [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0mdiff --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 de2ec6530..8201fbbf8 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@@ -12,8 +12,7 @@ info:GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"GIT_CONFIG_GLOBAL: /dev/nullGIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpuSHM2t+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpNQ38TVLANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1704067200"@@ -27,10 +26,5 @@ exit_code: 0To enable automatic cd, run: wt configure-shell----- stderr -------π‘ [33mPermission required to execute in worktree[0m--[1mtest-repo[0m ([2mtest-repo[0m) wants to execute:-[40m [0m echo 'unclosed quote--π‘ Allow and remember? [1m[y/N][0m [2mSkipping command: echo 'unclosed quote[0m+π [36mStarting (background): echo 'unclosed quote[0m+ [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snap.new b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snap.newdeleted file mode 100644index 6492944ec..000000000--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snap.new+++ /dev/null@@ -1,32 +0,0 @@-----source: tests/integration_tests/post_start_commands.rs-assertion_line: 30-info:- program: wt- args:- - switch- - "--create"- - feature- env:- CLICOLOR_FORCE: "1"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpd8ePiU- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1704067200"-----success: true-exit_code: 0------ stdout ------β [32mCreated new worktree for [1mfeature[0m- [2mPath: [REPO]/../test-repo.feature[0m[0m--To enable automatic cd, run: wt configure-shell------- stderr ------π [36mStarting (background): echo 'unclosed quote[0m- [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0mdiff --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 829c5738d..e1cdfd489 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@@ -12,8 +12,7 @@ info:GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"GIT_CONFIG_GLOBAL: /dev/nullGIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpU4gfUf+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpxEYJNMLANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1704067200"@@ -27,10 +26,5 @@ exit_code: 0To enable automatic cd, run: wt configure-shell----- stderr -------π‘ [33mPermission required to execute in worktree[0m--[1mtest-repo[0m ([2mtest-repo[0m) wants to execute:-[40m [0m echo 'stdout output' && echo 'stderr output' >&2--π‘ Allow and remember? [1m[y/N][0m [2mSkipping command: echo 'stdout output' && echo 'stderr output' >&2[0m+π [36mStarting (background): echo 'stdout output' && echo 'stderr output' >&2[0m+ [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snap.new b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snap.newdeleted file mode 100644index 5e66f3c18..000000000--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snap.new+++ /dev/null@@ -1,32 +0,0 @@-----source: tests/integration_tests/post_start_commands.rs-assertion_line: 30-info:- program: wt- args:- - switch- - "--create"- - feature- env:- CLICOLOR_FORCE: "1"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpMJJkmk- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1704067200"-----success: true-exit_code: 0------ stdout ------β [32mCreated new worktree for [1mfeature[0m- [2mPath: [REPO]/../test-repo.feature[0m[0m--To enable automatic cd, run: wt configure-shell------- stderr ------π [36mStarting (background): echo 'stdout output' && echo 'stderr output' >&2[0m- [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0mdiff --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 22b3311a1..a04e84cb1 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@@ -12,8 +12,7 @@ info:GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"GIT_CONFIG_GLOBAL: /dev/nullGIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpqq16nl+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmph3nKhKLANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1704067200"@@ -27,17 +26,7 @@ exit_code: 0To enable automatic cd, run: wt configure-shell----- stderr -------π‘ [33mPermission required to execute in worktree[0m--[1mtest-repo[0m ([2mtest-repo[0m) wants to execute:-[40m [0m echo 'Task 1 running' > task1.txt--π‘ Allow and remember? [1m[y/N][0m [2mSkipping command: echo 'Task 1 running' > task1.txt[0m--π‘ [33mPermission required to execute in worktree[0m--[1mtest-repo[0m ([2mtest-repo[0m) wants to execute:-[40m [0m echo 'Task 2 running' > task2.txt--π‘ Allow and remember? [1m[y/N][0m [2mSkipping command: echo 'Task 2 running' > task2.txt[0m+π [36mStarting (background): echo 'Task 1 running' > task1.txt[0m+ [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0m+π [36mStarting (background): echo 'Task 2 running' > task2.txt[0m+ [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap.new b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap.newdeleted file mode 100644index 23dfa6cd0..000000000--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap.new+++ /dev/null@@ -1,34 +0,0 @@-----source: tests/integration_tests/post_start_commands.rs-assertion_line: 30-info:- program: wt- args:- - switch- - "--create"- - feature- env:- CLICOLOR_FORCE: "1"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpIDDG3d- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1704067200"-----success: true-exit_code: 0------ stdout ------β [32mCreated new worktree for [1mfeature[0m- [2mPath: [REPO]/../test-repo.feature[0m[0m--To enable automatic cd, run: wt configure-shell------- stderr ------π [36mStarting (background): echo 'Task 1 running' > task1.txt[0m- [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0m-π [36mStarting (background): echo 'Task 2 running' > task2.txt[0m- [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0mdiff --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 a8b8f46ea..5fcb31bc5 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@@ -12,8 +12,7 @@ info:GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"GIT_CONFIG_GLOBAL: /dev/nullGIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpYgkgiZ+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpLDLOWFLANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1704067200"@@ -27,24 +26,9 @@ exit_code: 0To enable automatic cd, run: wt configure-shell----- stderr -------π‘ [33mPermission required to execute in worktree[0m--[1mtest-repo[0m ([2mtest-repo[0m) wants to execute:-[40m [0m echo 'TASK1_OUTPUT'--π‘ Allow and remember? [1m[y/N][0m [2mSkipping command: echo 'TASK1_OUTPUT'[0m--π‘ [33mPermission required to execute in worktree[0m--[1mtest-repo[0m ([2mtest-repo[0m) wants to execute:-[40m [0m echo 'TASK2_OUTPUT'--π‘ Allow and remember? [1m[y/N][0m [2mSkipping command: echo 'TASK2_OUTPUT'[0m--π‘ [33mPermission required to execute in worktree[0m--[1mtest-repo[0m ([2mtest-repo[0m) wants to execute:-[40m [0m echo 'TASK3_OUTPUT'--π‘ Allow and remember? [1m[y/N][0m [2mSkipping command: echo 'TASK3_OUTPUT'[0m+π [36mStarting (background): echo 'TASK1_OUTPUT'[0m+ [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0m+π [36mStarting (background): echo 'TASK2_OUTPUT'[0m+ [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0m+π [36mStarting (background): echo 'TASK3_OUTPUT'[0m+ [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap.new b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap.newdeleted file mode 100644index fcca2cd92..000000000--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap.new+++ /dev/null@@ -1,36 +0,0 @@-----source: tests/integration_tests/post_start_commands.rs-assertion_line: 30-info:- program: wt- args:- - switch- - "--create"- - feature- env:- CLICOLOR_FORCE: "1"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpLtMBOF- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1704067200"-----success: true-exit_code: 0------ stdout ------β [32mCreated new worktree for [1mfeature[0m- [2mPath: [REPO]/../test-repo.feature[0m[0m--To enable automatic cd, run: wt configure-shell------- stderr ------π [36mStarting (background): echo 'TASK1_OUTPUT'[0m- [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0m-π [36mStarting (background): echo 'TASK2_OUTPUT'[0m- [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0m-π [36mStarting (background): echo 'TASK3_OUTPUT'[0m- [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0mdiff --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 a919ee568..7174d9d96 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@@ -12,8 +12,7 @@ info:GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"GIT_CONFIG_GLOBAL: /dev/nullGIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp04jzX0+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp4vr96MLANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1704067200"@@ -27,10 +26,5 @@ exit_code: 0To enable automatic cd, run: wt configure-shell----- stderr -------π‘ [33mPermission required to execute in worktree[0m--[1mtest-repo[0m ([2mtest-repo[0m) wants to execute:-[40m [0m sleep 1 && echo 'Background task done' > background.txt--π‘ Allow and remember? [1m[y/N][0m [2mSkipping command: sleep 1 && echo 'Background task done' > background.txt[0m+π [36mStarting (background): sleep 1 && echo 'Background task done' > background.txt[0m+ [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snap.new b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snap.newdeleted file mode 100644index 08b25851f..000000000--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snap.new+++ /dev/null@@ -1,32 +0,0 @@-----source: tests/integration_tests/post_start_commands.rs-assertion_line: 30-info:- program: wt- args:- - switch- - "--create"- - feature- env:- CLICOLOR_FORCE: "1"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp9UJIuZ- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1704067200"-----success: true-exit_code: 0------ stdout ------β [32mCreated new worktree for [1mfeature[0m- [2mPath: [REPO]/../test-repo.feature[0m[0m--To enable automatic cd, run: wt configure-shell------- stderr ------π [36mStarting (background): sleep 1 && echo 'Background task done' > background.txt[0m- [2mβ Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log[0m