Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

refactor: improve wt switch message clarity (#433)

Maximilian Roosb849f9bbaa22
diff --git a/src/output/handlers.rs b/src/output/handlers.rs
index ca20b7e37..76d71b300 100644
--- a/src/output/handlers.rs
+++ b/src/output/handlers.rs
@@ -25,40 +25,44 @@ use super::shell_integration::{
compute_shell_warning_reason, git_subcommand_warning, shell_integration_hint,
};
-/// Format a switch message with a consistent location phrase
+/// Format a switch message based on what was created
///
-/// Both modes (with and without shell integration) use the human-friendly
-/// `"Created new worktree for {branch} from {base} @ {path}"` wording so
-/// users see the same message regardless of how worktrunk is invoked.
-///
-/// Returns unstyled text - callers wrap in success_message() for Created
-/// or info_message() for Switched (existing worktree).
+/// # Message formats
+/// - Branch + worktree created (`--create`): "Created branch X and worktree from Y @ path"
+/// - Branch from remote + worktree (DWIM): "Created branch X (tracking remote) and worktree @ path"
+/// - Worktree only created: "Created worktree for X @ path"
+/// - Switched to existing: "Switched to worktree for X @ path"
fn format_switch_message(
branch: &str,
path: &Path,
+ worktree_created: bool,
created_branch: bool,
base_branch: Option<&str>,
from_remote: Option<&str>,
) -> String {
- // Determine action and source based on how the worktree was created
- // Priority: explicit --create > DWIM from remote > existing local branch
- let (action, source) = if created_branch {
- ("Created new worktree for", base_branch)
+ let path_display = format_path_for_display(path);
+
+ if created_branch {
+ // --create flag: created branch and worktree
+ match base_branch {
+ Some(base) => cformat!(
+ "Created branch <bold>{branch}</> and worktree from <bold>{base}</> @ <bold>{path_display}</>"
+ ),
+ None => {
+ cformat!("Created branch <bold>{branch}</> and worktree @ <bold>{path_display}</>")
+ }
+ }
} else if let Some(remote) = from_remote {
- ("Created worktree for", Some(remote))
+ // DWIM from remote: created local tracking branch and worktree
+ cformat!(
+ "Created branch <bold>{branch}</> (tracking <bold>{remote}</>) and worktree @ <bold>{path_display}</>"
+ )
+ } else if worktree_created {
+ // Local branch existed, created worktree only
+ cformat!("Created worktree for <bold>{branch}</> @ <bold>{path_display}</>")
} else {
- ("Switched to worktree for", None)
- };
-
- match source {
- Some(src) => cformat!(
- "{action} <bold>{branch}</> from <bold>{src}</> @ <bold>{}</>",
- format_path_for_display(path)
- ),
- None => cformat!(
- "{action} <bold>{branch}</> @ <bold>{}</>",
- format_path_for_display(path)
- ),
+ // Switched to existing worktree
+ cformat!("Switched to worktree for <bold>{branch}</> @ <bold>{path_display}</>")
}
}
@@ -351,7 +355,9 @@ pub fn handle_switch_output(
} else {
// Shell integration active — user actually switched
super::print(info_message(format_switch_message(
- branch, path, false, None, None,
+ branch, path, false, // worktree_created
+ false, // created_branch
+ None, None,
)))?;
if let Some(warning) = branch_worktree_mismatch_warning {
super::print(warning)?;
@@ -370,6 +376,7 @@ pub fn handle_switch_output(
super::print(success_message(format_switch_message(
branch,
path,
+ true, // worktree_created
*created_branch,
base_branch.as_deref(),
from_remote.as_deref(),
@@ -872,21 +879,31 @@ mod tests {
fn test_format_switch_message() {
let path = PathBuf::from("/tmp/test");
- // Switched to existing worktree (no creation, no remote)
- let msg = format_switch_message("feature", &path, false, None, None);
+ // Switched to existing worktree (no creation)
+ let msg = format_switch_message("feature", &path, false, false, None, None);
assert!(msg.contains("Switched to worktree for"));
assert!(msg.contains("feature"));
- // Created new worktree from base branch
- let msg = format_switch_message("feature", &path, true, Some("main"), None);
- assert!(msg.contains("Created new worktree for"));
+ // Created branch and worktree with --create
+ let msg = format_switch_message("feature", &path, true, true, Some("main"), None);
+ assert!(msg.contains("Created branch"));
+ assert!(msg.contains("and worktree"));
assert!(msg.contains("from"));
assert!(msg.contains("main"));
- // Created worktree from remote (DWIM)
- let msg = format_switch_message("feature", &path, false, None, Some("origin/feature"));
- assert!(msg.contains("Created worktree for"));
+ // Created worktree from remote (DWIM) - also creates local tracking branch
+ let msg =
+ format_switch_message("feature", &path, true, false, None, Some("origin/feature"));
+ assert!(msg.contains("Created branch"));
+ assert!(msg.contains("tracking"));
assert!(msg.contains("origin/feature"));
+ assert!(msg.contains("and worktree"));
+
+ // Created worktree only (local branch already existed)
+ let msg = format_switch_message("feature", &path, true, false, None, None);
+ assert!(msg.contains("Created worktree for"));
+ assert!(msg.contains("feature"));
+ assert!(!msg.contains("branch")); // Should NOT mention branch creation
}
#[test]
diff --git a/tests/integration_tests/approval_pty.rs b/tests/integration_tests/approval_pty.rs
index 430bb2743..232dc30f3 100644
--- a/tests/integration_tests/approval_pty.rs
+++ b/tests/integration_tests/approval_pty.rs
@@ -442,7 +442,7 @@ approved-commands = ["echo 'Second command'"]
"Should NOT execute any commands when declined"
);
assert!(
- normalized.contains("Created new worktree"),
+ normalized.contains("Created branch") && normalized.contains("and worktree"),
"Should still create worktree even when commands declined"
);
assert_snapshot!(
diff --git a/tests/integration_tests/shell_integration_prompt.rs b/tests/integration_tests/shell_integration_prompt.rs
index b75a32060..cab628da3 100644
--- a/tests/integration_tests/shell_integration_prompt.rs
+++ b/tests/integration_tests/shell_integration_prompt.rs
@@ -109,7 +109,7 @@ fn test_switch_non_tty_shows_hint(repo: TestRepo) {
// Verify the switch succeeded without prompting
let stderr = String::from_utf8_lossy(&output.stderr);
assert!(
- stderr.contains("Created new worktree for"),
+ stderr.contains("Created branch") && stderr.contains("and worktree"),
"Should create worktree: {stderr}"
);
@@ -334,7 +334,7 @@ mod pty_tests {
// Should have created the worktree
assert!(
- output.contains("Created new worktree for"),
+ output.contains("Created branch") && output.contains("and worktree"),
"Should create worktree: {output}"
);
@@ -381,7 +381,7 @@ mod pty_tests {
// Should have created the worktree
assert!(
- normalized.contains("Created new worktree for"),
+ normalized.contains("Created branch") && normalized.contains("and worktree"),
"Should create worktree: {normalized}"
);
diff --git a/tests/integration_tests/shell_wrapper.rs b/tests/integration_tests/shell_wrapper.rs
index d9d75e522..9543b0468 100644
--- a/tests/integration_tests/shell_wrapper.rs
+++ b/tests/integration_tests/shell_wrapper.rs
@@ -742,7 +742,7 @@ mod tests {
output.assert_no_job_control_messages();
assert!(
- output.combined.contains("Created new worktree"),
+ output.combined.contains("Created branch") && output.combined.contains("and worktree"),
"{}: Should show success message",
shell
);
@@ -928,7 +928,7 @@ mod tests {
// Should still show wt's success message (worktree was created)
assert!(
- output.combined.contains("Created new worktree"),
+ output.combined.contains("Created branch") && output.combined.contains("and worktree"),
"{}: Should show wt's success message even though execute command failed",
shell
);
@@ -1266,7 +1266,7 @@ approved-commands = ["echo 'test command executed'"]
// Should still have the success message
assert!(
- output.combined.contains("Created new worktree"),
+ output.combined.contains("Created branch") && output.combined.contains("and worktree"),
"Success message missing"
);
@@ -1455,7 +1455,7 @@ approved-commands = ["echo 'fish background task'"]
// Should still show success message
assert!(
- output.combined.contains("Created new worktree"),
+ output.combined.contains("Created branch") && output.combined.contains("and worktree"),
"Success message missing from minimal output"
);
@@ -1694,7 +1694,7 @@ approved-commands = ["echo 'bash background'"]
// Verify the command completed successfully
assert!(
- output.contains("Created new worktree"),
+ output.contains("Created branch") && output.contains("and worktree"),
"Should show success message.\nOutput:\n{}",
output
);
@@ -1856,7 +1856,7 @@ approved-commands = ["echo 'bash background'"]
output.assert_no_directive_leaks();
assert!(
- output.combined.contains("Created new worktree"),
+ output.combined.contains("Created branch") && output.combined.contains("and worktree"),
"{}: Should create worktree for branch with slashes",
shell
);
@@ -1874,7 +1874,7 @@ approved-commands = ["echo 'bash background'"]
output.assert_no_directive_leaks();
assert!(
- output.combined.contains("Created new worktree"),
+ output.combined.contains("Created branch") && output.combined.contains("and worktree"),
"{}: Should create worktree for branch with dashes/underscores",
shell
);
@@ -1965,7 +1965,7 @@ approved-commands = ["echo 'bash background'"]
output.assert_no_directive_leaks();
assert!(
- output.combined.contains("Created new worktree"),
+ output.combined.contains("Created branch") && output.combined.contains("and worktree"),
"{}: Should create worktree using WORKTRUNK_BIN fallback.\nOutput:\n{}",
shell,
output.combined
@@ -2026,7 +2026,7 @@ approved-commands = ["echo 'cleanup test'"]
output.assert_no_directive_leaks();
assert!(
- output.combined.contains("Created new worktree"),
+ output.combined.contains("Created branch") && output.combined.contains("and worktree"),
"{}: Should complete successfully",
shell
);
diff --git a/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snap b/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snap
index 7c57016eb..0e1c28f2e 100644
--- a/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snap
+++ b/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snap
@@ -12,5 +12,5 @@ y
◎ Running post-create project hook @ _REPO_/repo.BRANCH:
  echo 'test command'
test command
-✓ Created new worktree for test-approve from main @ _REPO_/repo.BRANCH
+✓ Created branch test-approve and worktree from main @ _REPO_/repo.BRANCH
▲ Cannot change directory — ran [BIN]; shell integration wraps wt
diff --git a/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_decline.snap b/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_decline.snap
index a7d7c95c5..82e378f3b 100644
--- a/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_decline.snap
+++ b/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_decline.snap
@@ -10,5 +10,5 @@ n
  echo 'test command'
❯ Allow and remember? [y/N]
○ Commands declined, continuing worktree creation
-✓ Created new worktree for test-decline from main @ _REPO_/repo.BRANCH
+✓ Created branch test-decline and worktree from main @ _REPO_/repo.BRANCH
▲ Cannot change directory — ran [BIN]; shell integration wraps wt
diff --git a/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snap b/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snap
index 5c360698e..05a725c25 100644
--- a/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snap
+++ b/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snap
@@ -20,5 +20,5 @@ y
◎ Running post-create project:third @ _REPO_/repo.BRANCH:
  echo 'Third command'
Third command
-✓ Created new worktree for test-mixed-accept from main @ _REPO_/repo.BRANCH
+✓ Created branch test-mixed-accept and worktree from main @ _REPO_/repo.BRANCH
▲ Cannot change directory — ran [BIN]; shell integration wraps wt
diff --git a/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_decline.snap b/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_decline.snap
index 9f1f3da77..adc57d4cd 100644
--- a/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_decline.snap
+++ b/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_decline.snap
@@ -12,5 +12,5 @@ n
  echo 'Third command'
❯ Allow and remember? [y/N]
○ Commands declined, continuing worktree creation
-✓ Created new worktree for test-mixed-decline from main @ _REPO_/repo.BRANCH
+✓ Created branch test-mixed-decline and worktree from main @ _REPO_/repo.BRANCH
▲ Cannot change directory — ran [BIN]; shell integration wraps wt
diff --git a/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snap b/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snap
index 6f02000e5..175b95371 100644
--- a/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snap
+++ b/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snap
@@ -22,5 +22,5 @@ y
◎ Running post-create project:third @ _REPO_/repo.BRANCH:
  echo 'Third command'
Third command
-✓ Created new worktree for test-multi from main @ _REPO_/repo.BRANCH
+✓ Created branch test-multi and worktree from main @ _REPO_/repo.BRANCH
▲ Cannot change directory — ran [BIN]; shell integration wraps wt
diff --git a/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snap b/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snap
index 003f9ea93..c29c5ba50 100644
--- a/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snap
+++ b/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snap
@@ -22,5 +22,5 @@ y
◎ Running post-create project:test @ _REPO_/repo.BRANCH:
  echo 'Running tests...'
Running tests...
-✓ Created new worktree for test-named from main @ _REPO_/repo.BRANCH
+✓ Created branch test-named and worktree from main @ _REPO_/repo.BRANCH
▲ Cannot change directory — ran [BIN]; shell integration wraps wt
diff --git a/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snap b/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snap
index db451960e..42a8c6fbc 100644
--- a/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snap
+++ b/tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snap
@@ -14,5 +14,5 @@ y
◎ Running post-create project hook @ _REPO_/repo.BRANCH:
  echo 'test command'
test command
-✓ Created new worktree for test-permission from main @ _REPO_/repo.BRANCH
+✓ Created branch test-permission and worktree from main @ _REPO_/repo.BRANCH
▲ Cannot change directory — ran [BIN]; shell integration wraps wt
diff --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.snap
index ee451bede..e1bd233ef 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
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -34,6 +35,6 @@ exit_code: 0
----- stderr -----
◎ Running post-create project hook @ _REPO_.test-approved:
  echo 'approved' > output.txt
-✓ Created new worktree for test-approved from main @ _REPO_.test-approved
+✓ Created branch test-approved and worktree from main @ _REPO_.test-approved
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__approval_ui__yes_bypasses_tty_check.snap b/tests/snapshots/integration__integration_tests__approval_ui__yes_bypasses_tty_check.snap
index 3340d9293..ac381d8f6 100644
--- a/tests/snapshots/integration__integration_tests__approval_ui__yes_bypasses_tty_check.snap
+++ b/tests/snapshots/integration__integration_tests__approval_ui__yes_bypasses_tty_check.snap
@@ -23,6 +23,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -36,6 +37,6 @@ exit_code: 0
◎ Running post-create project hook @ _REPO_.test-yes-tty:
  echo 'test command'
test command
-✓ Created new worktree for test-yes-tty from main @ _REPO_.test-yes-tty
+✓ Created branch test-yes-tty and worktree from main @ _REPO_.test-yes-tty
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__approval_ui__yes_does_not_save_approvals_first_run.snap b/tests/snapshots/integration__integration_tests__approval_ui__yes_does_not_save_approvals_first_run.snap
index b8762bbb1..478e73217 100644
--- a/tests/snapshots/integration__integration_tests__approval_ui__yes_does_not_save_approvals_first_run.snap
+++ b/tests/snapshots/integration__integration_tests__approval_ui__yes_does_not_save_approvals_first_run.snap
@@ -23,6 +23,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -35,6 +36,6 @@ exit_code: 0
----- stderr -----
◎ Running post-create project hook @ _REPO_.test-yes:
  echo 'test command' > output.txt
-✓ Created new worktree for test-yes from main @ _REPO_.test-yes
+✓ Created branch test-yes and worktree from main @ _REPO_.test-yes
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_post_create.snap b/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_post_create.snap
index c667e8c42..f5894e8c4 100644
--- a/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_post_create.snap
+++ b/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_post_create.snap
@@ -23,6 +23,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -38,7 +39,7 @@ exit_code: 0
Resolved 24 packages in 145ms
Installed 24 packages in 1.2s
-✓ Created new worktree for feature-x from main @ _REPO_.feature-x
+✓ Created branch feature-x and worktree from main @ _REPO_.feature-x
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
◎ Running post-start project:dev @ _REPO_.feature-x:
diff --git a/tests/snapshots/integration__integration_tests__merge__readme_example_simple_switch.snap b/tests/snapshots/integration__integration_tests__merge__readme_example_simple_switch.snap
index ace8ad51e..00687b63a 100644
--- a/tests/snapshots/integration__integration_tests__merge__readme_example_simple_switch.snap
+++ b/tests/snapshots/integration__integration_tests__merge__readme_example_simple_switch.snap
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -32,6 +33,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for fix-auth from main @ _REPO_.fix-auth
+✓ Created branch fix-auth and worktree from main @ _REPO_.fix-auth
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
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.snap
index e9257017d..0d6753a85 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
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -34,7 +35,7 @@ exit_code: 0
----- stderr -----
◎ Running post-create project hook @ _REPO_.feature:
  echo 'Setup done' > setup.txt
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
◎ Running post-start project:server @ _REPO_.feature:
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.snap
index 680f90014..f8c8b05a9 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
@@ -24,6 +24,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -34,7 +35,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Executing echo 'Execute flag' > execute.txt @ _REPO_.feature, but shell directory unchanged — shell integration not installed
↳ To enable automatic cd, run wt config shell install
◎ Running post-start project hook @ _REPO_.feature:
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_default_branch_template.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_default_branch_template.snap
index 8351ee3aa..3bd281503 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_default_branch_template.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_default_branch_template.snap
@@ -23,6 +23,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -35,6 +36,6 @@ exit_code: 0
----- stderr -----
◎ Running post-create project hook @ _REPO_.feature:
  echo 'Default: main' > default.txt
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
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.snap
index 7be438b83..4940b5790 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
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -35,6 +36,6 @@ exit_code: 0
◎ Running post-create project hook @ _REPO_.feature:
  exit 1
▲ Command failed: exit status: 1
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_git_variables_template.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_git_variables_template.snap
index 863cfe78a..ab42f114a 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_git_variables_template.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_git_variables_template.snap
@@ -23,6 +23,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -41,6 +42,6 @@ exit_code: 0
  echo 'Remote: origin' >> git_vars.txt
◎ Running post-create project:worktree_name @ _REPO_.feature:
  echo 'Worktree Name: repo.feature' >> git_vars.txt
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
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.snap
index 1d57f323e..054fa4281 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
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -38,6 +39,6 @@ exit_code: 0
  else
   echo 'File exists' > result.txt
  fi
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
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.snap
index 0f144c8d6..9b70223fd 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
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -38,6 +39,6 @@ exit_code: 0
◎ Running post-create project:setup @ _REPO_.feature:
  echo 'Running setup'
Running setup
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_no_config.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_no_config.snap
index 4265b9038..48b32b9e0 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_no_config.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_no_config.snap
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -32,6 +33,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
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.snap
index 3b76339b5..a488643c6 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
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -35,6 +36,6 @@ exit_code: 0
◎ Running post-create project hook @ _REPO_.feature:
  echo 'Setup complete'
Setup complete
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --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.snap
index 51af0b40d..f6e0d950a 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
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -42,6 +43,6 @@ exit_code: 0
  echo 'Worktree: _REPO_.feature-test' >> info.txt
◎ Running post-create project:root @ _REPO_.feature-test:
  echo 'Root: _REPO_' >> info.txt
-✓ Created new worktree for feature/test from main @ _REPO_.feature-test
+✓ Created branch feature/test and worktree from main @ _REPO_.feature-test
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_upstream_template.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_upstream_template.snap
index a5c0c4f0f..c1ffb18a9 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_upstream_template.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_upstream_template.snap
@@ -23,6 +23,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -35,6 +36,6 @@ exit_code: 0
----- stderr -----
◎ Running post-create project hook @ _REPO_.feature:
  echo 'Upstream: ' > upstream.txt
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
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.snap
index 464bb9e26..6c6eaedf8 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
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -32,7 +33,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
◎ Running post-start project hook @ _REPO_.feature:
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.snap
index 85ee6e7d8..ceb7bb482 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
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -32,7 +33,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
◎ Running post-start project hook @ _REPO_.feature:
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.snap
index 7fafd468a..0609e1943 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
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -32,7 +33,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
◎ Running post-start project hook @ _REPO_.feature:
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.snap
index a9592e693..5fc3e95b5 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
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -32,7 +33,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
◎ Running post-start project hook @ _REPO_.feature:
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.snap
index aa8c31795..eacead26a 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
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -32,7 +33,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
◎ Running post-start project hook @ _REPO_.feature:
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.snap
index 3a360345a..f5f738a2a 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
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -32,7 +33,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
◎ Running post-start project:task1 @ _REPO_.feature:
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.snap
index 554891b14..d5b64b4a7 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
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -32,7 +33,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
◎ Running post-start project:task1 @ _REPO_.feature:
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.snap
index f5ace790b..e738a0b3a 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
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -32,7 +33,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
◎ Running post-start project hook @ _REPO_.feature:
diff --git a/tests/snapshots/integration__integration_tests__shell_integration_prompt__pty_tests__prompt_accept.snap b/tests/snapshots/integration__integration_tests__shell_integration_prompt__pty_tests__prompt_accept.snap
index 1849ccd41..70b418dd0 100644
--- a/tests/snapshots/integration__integration_tests__shell_integration_prompt__pty_tests__prompt_accept.snap
+++ b/tests/snapshots/integration__integration_tests__shell_integration_prompt__pty_tests__prompt_accept.snap
@@ -1,11 +1,10 @@
---
source: tests/integration_tests/shell_integration_prompt.rs
-assertion_line: 465
expression: normalized
---
y
-✓ Created new worktree for feature from main @ [REPO]/repo.feature
+✓ Created branch feature and worktree from main @ [REPO]/repo.feature
▲ Cannot change directory — shell integration not installed
❯ Install shell integration? [y/N/?]
diff --git a/tests/snapshots/integration__integration_tests__shell_integration_prompt__pty_tests__prompt_decline.snap b/tests/snapshots/integration__integration_tests__shell_integration_prompt__pty_tests__prompt_decline.snap
index 9dd0d0ec9..3adef530a 100644
--- a/tests/snapshots/integration__integration_tests__shell_integration_prompt__pty_tests__prompt_decline.snap
+++ b/tests/snapshots/integration__integration_tests__shell_integration_prompt__pty_tests__prompt_decline.snap
@@ -4,7 +4,7 @@ expression: normalized
---
n
-✓ Created new worktree for feature from main @ [REPO]/repo.feature
+✓ Created branch feature and worktree from main @ [REPO]/repo.feature
▲ Cannot change directory — shell integration not installed
❯ Install shell integration? [y/N/?]
diff --git a/tests/snapshots/integration__integration_tests__shell_integration_prompt__pty_tests__prompt_preview_decline.snap b/tests/snapshots/integration__integration_tests__shell_integration_prompt__pty_tests__prompt_preview_decline.snap
index 2bfcd805e..22cf118e2 100644
--- a/tests/snapshots/integration__integration_tests__shell_integration_prompt__pty_tests__prompt_preview_decline.snap
+++ b/tests/snapshots/integration__integration_tests__shell_integration_prompt__pty_tests__prompt_preview_decline.snap
@@ -5,7 +5,7 @@ expression: normalized
?
n
-✓ Created new worktree for feature from main @ [REPO]/repo.feature
+✓ Created branch feature and worktree from main @ [REPO]/repo.feature
▲ Cannot change directory — shell integration not installed
❯ Install shell integration? [y/N/?]
diff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__bash_shell_integration_hint_suppressed.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__bash_shell_integration_hint_suppressed.snap
index 6b93eb8e0..c5775ecc4 100644
--- a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__bash_shell_integration_hint_suppressed.snap
+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__bash_shell_integration_hint_suppressed.snap
@@ -2,4 +2,4 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-✓ Created new worktree for bash-test from main @ [TMPDIR]/repo.bash-test
+✓ Created branch bash-test and worktree from main @ [TMPDIR]/repo.bash-test
diff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snap
index fda474a12..dbe76f2a5 100644
--- a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snap
+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snap
@@ -2,7 +2,7 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-✓ Created new worktree for fish-multiline from main @ [TMPDIR]/repo.fish-multiline
+✓ Created branch fish-multiline and worktree from main @ [TMPDIR]/repo.fish-multiline
◎ Executing (--execute):
  echo 'line 1'; echo 'line 2'; echo 'line 3'
line 1
diff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_handles_empty_chunks.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_handles_empty_chunks.snap
index 26b62347b..8311dd6d2 100644
--- a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_handles_empty_chunks.snap
+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_handles_empty_chunks.snap
@@ -2,4 +2,4 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-✓ Created new worktree for fish-minimal from main @ [TMPDIR]/repo.fish-minimal
+✓ Created branch fish-minimal and worktree from main @ [TMPDIR]/repo.fish-minimal
diff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_preserves_progress_messages.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_preserves_progress_messages.snap
index 56086fdce..4b8ca5914 100644
--- a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_preserves_progress_messages.snap
+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_preserves_progress_messages.snap
@@ -2,6 +2,6 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-✓ Created new worktree for fish-bg from main @ [TMPDIR]/repo.fish-bg
+✓ Created branch fish-bg and worktree from main @ [TMPDIR]/repo.fish-bg
◎ Running post-start project hook:
  echo 'fish background task'
diff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_post_create.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_post_create.snap
index cdd732444..ea4eec5bb 100644
--- a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_post_create.snap
+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_post_create.snap
@@ -7,6 +7,6 @@ expression: output.normalized()
Resolved 24 packages in 145ms
Installed 24 packages in 1.2s
-✓ Created new worktree for feature-x from main @ [TMPDIR]/repo.feature-x
+✓ Created branch feature-x and worktree from main @ [TMPDIR]/repo.feature-x
◎ Running post-start project:dev:
  uv run dev
diff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_simple_switch.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_simple_switch.snap
index ec4ea0acf..3a1fcaf56 100644
--- a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_simple_switch.snap
+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_simple_switch.snap
@@ -2,4 +2,4 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-✓ Created new worktree for fix-auth from main @ [TMPDIR]/repo.fix-auth
+✓ Created branch fix-auth and worktree from main @ [TMPDIR]/repo.fix-auth
diff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_create.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_create.snap
index 99e856ff0..7a59beb65 100644
--- a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_create.snap
+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_create.snap
@@ -2,4 +2,4 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-✓ Created new worktree for feature from main @ [TMPDIR]/repo.feature
+✓ Created branch feature and worktree from main @ [TMPDIR]/repo.feature
diff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snap
index 74816bb9b..c4c946fa0 100644
--- a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snap
+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snap
@@ -2,7 +2,7 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-✓ Created new worktree for test-exec from main @ [TMPDIR]/repo.test-exec
+✓ Created branch test-exec and worktree from main @ [TMPDIR]/repo.test-exec
◎ Executing (--execute):
  echo executed
executed
diff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snap
index 74816bb9b..c4c946fa0 100644
--- a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snap
+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snap
@@ -2,7 +2,7 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-✓ Created new worktree for test-exec from main @ [TMPDIR]/repo.test-exec
+✓ Created branch test-exec and worktree from main @ [TMPDIR]/repo.test-exec
◎ Executing (--execute):
  echo executed
executed
diff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snap
index 31c36db12..22edda3b6 100644
--- a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snap
+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snap
@@ -8,7 +8,7 @@ Installing dependencies...
◎ Running post-create project:build:
  echo 'Building project...'
Building project...
-✓ Created new worktree for feature-hooks from main @ [TMPDIR]/repo.feature-hooks
+✓ Created branch feature-hooks and worktree from main @ [TMPDIR]/repo.feature-hooks
◎ Running post-start project:server:
  echo 'Starting dev server on port 3000'
◎ Running post-start project:watch:
diff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_post_start_command_no_directive_leak.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_post_start_command_no_directive_leak.snap
index 2717d7dde..04235e83f 100644
--- a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_post_start_command_no_directive_leak.snap
+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_post_start_command_no_directive_leak.snap
@@ -2,6 +2,6 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-✓ Created new worktree for feature-with-hooks from main @ [TMPDIR]/repo.feature-with-hooks
+✓ Created branch feature-with-hooks and worktree from main @ [TMPDIR]/repo.feature-with-hooks
◎ Running post-start project hook:
  echo 'test command executed'
diff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__wrapper_preserves_progress_messages.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__wrapper_preserves_progress_messages.snap
index 9047a267e..9b34c813e 100644
--- a/tests/snapshots/integration__integration_tests__shell_wrapper__tests__wrapper_preserves_progress_messages.snap
+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__tests__wrapper_preserves_progress_messages.snap
@@ -2,6 +2,6 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-✓ Created new worktree for feature-bg from main @ [TMPDIR]/repo.feature-bg
+✓ Created branch feature-bg and worktree from main @ [TMPDIR]/repo.feature-bg
◎ Running post-start project hook:
  echo 'background task'
diff --git a/tests/snapshots/integration__integration_tests__switch__create_with_base_main.snap b/tests/snapshots/integration__integration_tests__switch__create_with_base_main.snap
index 01cc632c9..ea857e533 100644
--- a/tests/snapshots/integration__integration_tests__switch__create_with_base_main.snap
+++ b/tests/snapshots/integration__integration_tests__switch__create_with_base_main.snap
@@ -24,6 +24,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -34,6 +35,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for new-feature from main @ _REPO_.new-feature
+✓ Created branch new-feature and worktree from main @ _REPO_.new-feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__switch__ping_pong_1_main_to_feature_a.snap b/tests/snapshots/integration__integration_tests__switch__ping_pong_1_main_to_feature_a.snap
index 545b54188..b93f903e2 100644
--- a/tests/snapshots/integration__integration_tests__switch__ping_pong_1_main_to_feature_a.snap
+++ b/tests/snapshots/integration__integration_tests__switch__ping_pong_1_main_to_feature_a.snap
@@ -21,6 +21,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -31,6 +32,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Switched to worktree for feature-a @ _REPO_.feature-a
+✓ Created worktree for feature-a @ _REPO_.feature-a
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_clobber_path_with_extension.snap b/tests/snapshots/integration__integration_tests__switch__switch_clobber_path_with_extension.snap
index fe2749365..7a4e62823 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_clobber_path_with_extension.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_clobber_path_with_extension.snap
@@ -23,6 +23,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -34,6 +35,6 @@ exit_code: 0
----- stderr -----
▲ Moving _REPO_.clobber-ext.txt to _REPO_.clobber-ext.txt.bak.20250102-000000 (--clobber)
-✓ Created new worktree for clobber-ext.txt from main @ _REPO_.clobber-ext.txt
+✓ Created branch clobber-ext.txt and worktree from main @ _REPO_.clobber-ext.txt
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_clobber_removes_stale_dir.snap b/tests/snapshots/integration__integration_tests__switch__switch_clobber_removes_stale_dir.snap
index 4b433d300..2adc93aa9 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_clobber_removes_stale_dir.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_clobber_removes_stale_dir.snap
@@ -23,6 +23,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -34,6 +35,6 @@ exit_code: 0
----- stderr -----
▲ Moving _REPO_.clobber-dir-test to _REPO_.clobber-dir-test.bak.20250102-000000 (--clobber)
-✓ Created new worktree for clobber-dir-test from main @ _REPO_.clobber-dir-test
+✓ Created branch clobber-dir-test and worktree from main @ _REPO_.clobber-dir-test
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_clobber_removes_stale_file.snap b/tests/snapshots/integration__integration_tests__switch__switch_clobber_removes_stale_file.snap
index 0aad72f34..9f9175af9 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_clobber_removes_stale_file.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_clobber_removes_stale_file.snap
@@ -23,6 +23,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -34,6 +35,6 @@ exit_code: 0
----- stderr -----
▲ Moving _REPO_.clobber-file-test to _REPO_.clobber-file-test.bak.20250102-000000 (--clobber)
-✓ Created new worktree for clobber-file-test from main @ _REPO_.clobber-file-test
+✓ Created branch clobber-file-test and worktree from main @ _REPO_.clobber-file-test
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_create_new.snap b/tests/snapshots/integration__integration_tests__switch__switch_create_new.snap
index d6c2b0ca2..e3793e45f 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_create_new.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_create_new.snap
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -32,6 +33,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for feature-x from main @ _REPO_.feature-x
+✓ Created branch feature-x and worktree from main @ _REPO_.feature-x
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_create_no_remote.snap b/tests/snapshots/integration__integration_tests__switch__switch_create_no_remote.snap
index 3fa54fcde..cbe98ce36 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_create_no_remote.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_create_no_remote.snap
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -32,6 +33,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_create_remote_only.snap b/tests/snapshots/integration__integration_tests__switch__switch_create_remote_only.snap
index 74dd77eab..a7db1dc55 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_create_remote_only.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_create_remote_only.snap
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -34,6 +35,6 @@ exit_code: 0
----- stderr -----
▲ Branch remote-feature exists on remote (origin/remote-feature); creating new branch from base instead
↳ To switch to the remote branch, remove --create; run wt switch remote-feature
-✓ Created new worktree for remote-feature from main @ _REPO_.remote-feature
+✓ Created branch remote-feature and worktree from main @ _REPO_.remote-feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
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.snap
index bb9b5c4e9..ce763979b 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
@@ -24,6 +24,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -34,7 +35,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for file-test from main @ _REPO_.file-test
+✓ Created branch file-test and worktree from main @ _REPO_.file-test
▲ Executing echo 'test content' > test.txt @ _REPO_.file-test, but shell directory unchanged — shell integration not installed
↳ To enable automatic cd, run wt config shell install
◎ Executing (--execute):
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap
index 72423262f..8abd1a753 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap
@@ -24,6 +24,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -34,7 +35,7 @@ exit_code: 1
----- stdout -----
----- stderr -----
-✓ Created new worktree for fail-test from main @ _REPO_.fail-test
+✓ Created branch fail-test and worktree from main @ _REPO_.fail-test
▲ Executing exit 1 @ _REPO_.fail-test, but shell directory unchanged — shell integration not installed
↳ To enable automatic cd, run wt config shell install
◎ Executing (--execute):
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap
index b00dda150..acf01592f 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap
@@ -24,6 +24,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -37,7 +38,7 @@ line2
line3
----- stderr -----
-✓ Created new worktree for multiline-test from main @ _REPO_.multiline-test
+✓ Created branch multiline-test and worktree from main @ _REPO_.multiline-test
▲ Executing echo 'line1'
echo 'line2'
echo 'line3' @ _REPO_.multiline-test, but shell directory unchanged — shell integration not installed
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap
index 836b6afbf..500d4e84c 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap
@@ -24,6 +24,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -35,7 +36,7 @@ exit_code: 0
test output
----- stderr -----
-✓ Created new worktree for exec-test from main @ _REPO_.exec-test
+✓ Created branch exec-test and worktree from main @ _REPO_.exec-test
▲ Executing echo 'test output' @ _REPO_.exec-test, but shell directory unchanged — shell integration not installed
↳ To enable automatic cd, run wt config shell install
◎ Executing (--execute):
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_exit_code.snap b/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_exit_code.snap
index 912127785..9dacdfdef 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_exit_code.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_exit_code.snap
@@ -24,6 +24,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_DIRECTIVE_FILE: "[DIRECTIVE_FILE]"
@@ -35,6 +36,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for exit-code-test from main @ _REPO_.exit-code-test
+✓ Created branch exit-code-test and worktree from main @ _REPO_.exit-code-test
◎ Executing (--execute):
  exit 42
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_output_then_exit.snap b/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_output_then_exit.snap
index ed57cef40..79491aa86 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_output_then_exit.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_output_then_exit.snap
@@ -24,6 +24,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_DIRECTIVE_FILE: "[DIRECTIVE_FILE]"
@@ -35,7 +36,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for output-exit-test from main @ _REPO_.output-exit-test
+✓ Created branch output-exit-test and worktree from main @ _REPO_.output-exit-test
◎ Executing (--execute):
  echo 'doing work'
  exit 7
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_internal_mode.snap b/tests/snapshots/integration__integration_tests__switch__switch_internal_mode.snap
index b01fd798b..e96d46370 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_internal_mode.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_internal_mode.snap
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_DIRECTIVE_FILE: "[DIRECTIVE_FILE]"
@@ -33,4 +34,4 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for internal-test from main @ _REPO_.internal-test
+✓ Created branch internal-test and worktree from main @ _REPO_.internal-test
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.snap
index 19e35136b..1195a7dbd 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snap
@@ -24,6 +24,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_DIRECTIVE_FILE: "[DIRECTIVE_FILE]"
@@ -35,7 +36,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for exec-internal from main @ _REPO_.exec-internal
+✓ Created branch exec-internal and worktree from main @ _REPO_.exec-internal
◎ Executing (--execute):
  echo 'line1'
  echo 'line2'
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_main_branch_to_feature.snap b/tests/snapshots/integration__integration_tests__switch__switch_main_branch_to_feature.snap
index 545b54188..b93f903e2 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_main_branch_to_feature.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_main_branch_to_feature.snap
@@ -21,6 +21,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -31,6 +32,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Switched to worktree for feature-a @ _REPO_.feature-a
+✓ Created worktree for feature-a @ _REPO_.feature-a
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --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.snap
index 7a988bf00..39317cbf9 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
@@ -25,6 +25,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -36,7 +37,7 @@ exit_code: 0
execute command runs
----- stderr -----
-✓ Created new worktree for no-hooks-test from main @ _REPO_.no-hooks-test
+✓ Created branch no-hooks-test and worktree from main @ _REPO_.no-hooks-test
▲ Executing echo 'execute command runs' @ _REPO_.no-hooks-test, but shell directory unchanged — shell integration not installed
↳ To enable automatic cd, run wt config shell install
◎ Executing (--execute):
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_skips_post_start.snap b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_skips_post_start.snap
index c10f56cc1..9e68c4521 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_skips_post_start.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_skips_post_start.snap
@@ -23,6 +23,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -33,6 +34,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for no-post-start from main @ _REPO_.no-post-start
+✓ Created branch no-post-start and worktree from main @ _REPO_.no-post-start
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_with_yes.snap b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_with_yes.snap
index 46782431c..95efb21d8 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_with_yes.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_with_yes.snap
@@ -24,6 +24,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -34,6 +35,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for yes-no-hooks from main @ _REPO_.yes-no-hooks
+✓ Created branch yes-no-hooks and worktree from main @ _REPO_.yes-no-hooks
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_post_hook_no_path_with_shell_integration.snap b/tests/snapshots/integration__integration_tests__switch__switch_post_hook_no_path_with_shell_integration.snap
index 9c2fb69ff..277371ffe 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_post_hook_no_path_with_shell_integration.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_post_hook_no_path_with_shell_integration.snap
@@ -23,6 +23,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_DIRECTIVE_FILE: "[DIRECTIVE_FILE]"
@@ -34,6 +35,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for post-hook-shell-test from main @ _REPO_.post-hook-shell-test
+✓ Created branch post-hook-shell-test and worktree from main @ _REPO_.post-hook-shell-test
◎ Running post-switch project hook:
  echo switched
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_post_hook_path_annotation.snap b/tests/snapshots/integration__integration_tests__switch__switch_post_hook_path_annotation.snap
index 61efffc01..7b34af868 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_post_hook_path_annotation.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_post_hook_path_annotation.snap
@@ -23,6 +23,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -33,7 +34,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for post-hook-test from main @ _REPO_.post-hook-test
+✓ Created branch post-hook-test and worktree from main @ _REPO_.post-hook-test
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
◎ Running post-switch project hook @ _REPO_.post-hook-test:
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_primary_on_different_branch.snap b/tests/snapshots/integration__integration_tests__switch__switch_primary_on_different_branch.snap
index 2f096f405..21522ba8c 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_primary_on_different_branch.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_primary_on_different_branch.snap
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -32,6 +33,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for feature-from-main from main @ _REPO_.feature-from-main
+✓ Created branch feature-from-main and worktree from main @ _REPO_.feature-from-main
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_a.snap b/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_a.snap
index 818bbb255..d92709208 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_a.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_a.snap
@@ -21,6 +21,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -31,6 +32,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Switched to worktree for branch-a @ _REPO_.branch-a
+✓ Created worktree for branch-a @ _REPO_.branch-a
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_b.snap b/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_b.snap
index 300fcadd1..3bf1dad19 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_b.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_b.snap
@@ -21,6 +21,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -31,6 +32,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Switched to worktree for branch-b @ _REPO_.branch-b
+✓ Created worktree for branch-b @ _REPO_.branch-b
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_with_base.snap b/tests/snapshots/integration__integration_tests__switch__switch_with_base.snap
index e6c275f9c..eff21b23f 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_with_base.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_with_base.snap
@@ -24,6 +24,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -34,6 +35,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for feature-with-base from main @ _REPO_.feature-with-base
+✓ Created branch feature-with-base and worktree from main @ _REPO_.feature-with-base
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__user_hooks__no_verify_skips_all_hooks.snap b/tests/snapshots/integration__integration_tests__user_hooks__no_verify_skips_all_hooks.snap
index 3c469edfd..91a9f1aa9 100644
--- a/tests/snapshots/integration__integration_tests__user_hooks__no_verify_skips_all_hooks.snap
+++ b/tests/snapshots/integration__integration_tests__user_hooks__no_verify_skips_all_hooks.snap
@@ -23,6 +23,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -33,6 +34,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_and_project_post_start.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_and_project_post_start.snap
index afbd949ec..85c934dcc 100644
--- a/tests/snapshots/integration__integration_tests__user_hooks__user_and_project_post_start.snap
+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_and_project_post_start.snap
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -32,7 +33,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
◎ Running post-start user:bg @ _REPO_.feature:
diff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_hook_template_vars.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_hook_template_vars.snap
index bb6068596..a16ace7f4 100644
--- a/tests/snapshots/integration__integration_tests__user_hooks__user_hook_template_vars.snap
+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_hook_template_vars.snap
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -34,6 +35,6 @@ exit_code: 0
----- stderr -----
◎ Running post-create user:vars @ _REPO_.feature:
  echo 'repo=repo branch=feature' > template_vars.txt
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_hooks_before_project.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_hooks_before_project.snap
index af109f4cc..63d9feb9e 100644
--- a/tests/snapshots/integration__integration_tests__user_hooks__user_hooks_before_project.snap
+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_hooks_before_project.snap
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -36,6 +37,6 @@ exit_code: 0
  echo 'USER_HOOK' >> hook_order.txt
◎ Running post-create project hook @ _REPO_.feature:
  echo 'PROJECT_HOOK' >> hook_order.txt
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_hooks_no_approval.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_hooks_no_approval.snap
index 16e6ffd7f..2f695242d 100644
--- a/tests/snapshots/integration__integration_tests__user_hooks__user_hooks_no_approval.snap
+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_hooks_no_approval.snap
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -34,6 +35,6 @@ exit_code: 0
----- stderr -----
◎ Running post-create user:setup @ _REPO_.feature:
  echo 'NO_APPROVAL_NEEDED' > no_approval.txt
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_post_create_executes.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_post_create_executes.snap
index f736c41cc..97c677634 100644
--- a/tests/snapshots/integration__integration_tests__user_hooks__user_post_create_executes.snap
+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_post_create_executes.snap
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -34,6 +35,6 @@ exit_code: 0
----- stderr -----
◎ Running post-create user:log @ _REPO_.feature:
  echo 'USER_POST_CREATE_RAN' > user_hook_marker.txt
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_post_create_failure.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_post_create_failure.snap
index 6d8479374..1ba28e55b 100644
--- a/tests/snapshots/integration__integration_tests__user_hooks__user_post_create_failure.snap
+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_post_create_failure.snap
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -35,6 +36,6 @@ exit_code: 0
◎ Running post-create user:failing @ _REPO_.feature:
  exit 1
▲ Command failing failed: exit status: 1
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
diff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_post_start_executes.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_post_start_executes.snap
index 7df259b4f..80381a904 100644
--- a/tests/snapshots/integration__integration_tests__user_hooks__user_post_start_executes.snap
+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_post_start_executes.snap
@@ -22,6 +22,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -32,7 +33,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install
◎ Running post-start user:bg @ _REPO_.feature:
diff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_post_start_skipped_no_verify.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_post_start_skipped_no_verify.snap
index 3c469edfd..91a9f1aa9 100644
--- a/tests/snapshots/integration__integration_tests__user_hooks__user_post_start_skipped_no_verify.snap
+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_post_start_skipped_no_verify.snap
@@ -23,6 +23,7 @@ info:
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
+ TERM: alacritty
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"
@@ -33,6 +34,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-✓ Created new worktree for feature from main @ _REPO_.feature
+✓ Created branch feature and worktree from main @ _REPO_.feature
▲ Cannot change directory — shell integration not installed
↳ To enable automatic cd, run wt config shell install