Skip to content

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

Fix snapshot filters to strip quotes from shell-escaped paths (#257)

Maximilian Roos12dbe6df58aa
diff --git a/tests/common/mod.rs b/tests/common/mod.rs
index 4f3359b2f..80b82c7c0 100644
--- a/tests/common/mod.rs
+++ b/tests/common/mod.rs
@@ -1775,15 +1775,21 @@ pub fn setup_snapshot_settings(repo: &TestRepo) -> insta::Settings {
let root_str = root_canonical.to_str().unwrap();
// Add both backslash and forward-slash versions for Windows compatibility
// (output may have either format depending on when filters are applied)
- settings.add_filter(&regex::escape(root_str), "[REPO]");
- settings.add_filter(&regex::escape(&root_str.replace('\\', "/")), "[REPO]");
+ settings.add_filter(&regex::escape(root_str), "_REPO_");
+ settings.add_filter(&regex::escape(&root_str.replace('\\', "/")), "_REPO_");
// Also add POSIX-style path for Git Bash (C:\foo\bar -> /c/foo/bar)
- settings.add_filter(&regex::escape(&to_posix_path(root_str)), "[REPO]");
+ settings.add_filter(&regex::escape(&to_posix_path(root_str)), "_REPO_");
// Match single-quoted versions for shell_escape output (Windows paths need quoting)
- settings.add_filter(&format!("'{}'", regex::escape(root_str)), "'[REPO]'");
+ // Strip quotes in replacement to normalize across platforms
+ settings.add_filter(&format!("'{}'", regex::escape(root_str)), "_REPO_");
settings.add_filter(
&format!("'{}'", regex::escape(&root_str.replace('\\', "/"))),
- "'[REPO]'",
+ "_REPO_",
+ );
+ // Also add POSIX-style quoted path for Git Bash
+ settings.add_filter(
+ &format!("'{}'", regex::escape(&to_posix_path(root_str))),
+ "_REPO_",
);
// In tests, HOME is set to the temp directory containing the repo. Commands being tested
@@ -1791,11 +1797,12 @@ pub fn setup_snapshot_settings(repo: &TestRepo) -> insta::Settings {
// The repo is always at {temp_dir}/repo, so we hardcode ~/repo for the filter.
// IMPORTANT: Add worktree pattern FIRST so it matches before the plain ~/repo pattern.
// Filters are applied in order, so ~/repo.feature is replaced before ~/repo would match it.
- settings.add_filter(r"~/repo(\.[a-zA-Z0-9_-]+)", "[REPO]$1");
- settings.add_filter(r"~/repo", "[REPO]");
+ settings.add_filter(r"~/repo(\.[a-zA-Z0-9_-]+)", "_REPO_$1");
+ settings.add_filter(r"~/repo", "_REPO_");
// Match single-quoted versions for shell_escape output (paths with ~ need quoting)
- settings.add_filter(r"'~/repo(\.[a-zA-Z0-9_-]+)'", "'[REPO]$1'");
- settings.add_filter(r"'~/repo'", "'[REPO]'");
+ // Strip quotes in replacement to normalize across platforms
+ settings.add_filter(r"'~/repo(\.[a-zA-Z0-9_-]+)'", "_REPO_$1");
+ settings.add_filter(r"'~/repo'", "_REPO_");
// Also handle the case where the real home contains the temp directory (Windows/macOS)
// Note: canonicalize home_dir too, since on Windows home::home_dir() may return a short path
@@ -1805,39 +1812,36 @@ pub fn setup_snapshot_settings(repo: &TestRepo) -> insta::Settings {
{
let tilde_path = format!("~/{}", relative.display()).replace('\\', "/");
// Match exact repo path
- settings.add_filter(&regex::escape(&tilde_path), "[REPO]");
- // Match single-quoted versions
- settings.add_filter(&format!("'{}'", regex::escape(&tilde_path)), "'[REPO]'");
+ settings.add_filter(&regex::escape(&tilde_path), "_REPO_");
+ // Match single-quoted versions (strip quotes to normalize across platforms)
+ settings.add_filter(&format!("'{}'", regex::escape(&tilde_path)), "_REPO_");
// Match worktree paths
let tilde_worktree_pattern = format!(r"{}(\.[a-zA-Z0-9_-]+)", regex::escape(&tilde_path));
- settings.add_filter(&tilde_worktree_pattern, "[REPO]$1");
- // Match single-quoted worktree paths
+ settings.add_filter(&tilde_worktree_pattern, "_REPO_$1");
+ // Match single-quoted worktree paths (strip quotes to normalize across platforms)
let quoted_tilde_worktree_pattern =
format!(r"'{}(\.[a-zA-Z0-9_-]+)'", regex::escape(&tilde_path));
- settings.add_filter(&quoted_tilde_worktree_pattern, "'[REPO]$1'");
+ settings.add_filter(&quoted_tilde_worktree_pattern, "_REPO_$1");
}
for (name, path) in &repo.worktrees {
let canonical = canonicalize(path).unwrap_or_else(|_| path.clone());
let path_str = canonical.to_str().unwrap();
- let replacement = format!("[WORKTREE_{}]", name.to_uppercase().replace('-', "_"));
- let quoted_replacement = format!("'[WORKTREE_{}]'", name.to_uppercase().replace('-', "_"));
+ let replacement = format!("_WORKTREE_{}_", name.to_uppercase().replace('-', "_"));
settings.add_filter(&regex::escape(path_str), &replacement);
settings.add_filter(&regex::escape(&path_str.replace('\\', "/")), &replacement);
// Also add POSIX-style path for Git Bash (C:\foo\bar -> /c/foo/bar)
settings.add_filter(&regex::escape(&to_posix_path(path_str)), &replacement);
// Match single-quoted versions for shell_escape output
- settings.add_filter(
- &format!("'{}'", regex::escape(path_str)),
- &quoted_replacement,
- );
+ // Strip quotes in replacement to normalize across platforms
+ settings.add_filter(&format!("'{}'", regex::escape(path_str)), &replacement);
settings.add_filter(
&format!("'{}'", regex::escape(&path_str.replace('\\', "/"))),
- &quoted_replacement,
+ &replacement,
);
settings.add_filter(
&format!("'{}'", regex::escape(&to_posix_path(path_str))),
- &quoted_replacement,
+ &replacement,
);
// Also add tilde-prefixed worktree path filter for Windows
@@ -1846,11 +1850,8 @@ pub fn setup_snapshot_settings(repo: &TestRepo) -> insta::Settings {
{
let tilde_path = format!("~/{}", relative.display()).replace('\\', "/");
settings.add_filter(&regex::escape(&tilde_path), &replacement);
- // Match single-quoted versions
- settings.add_filter(
- &format!("'{}'", regex::escape(&tilde_path)),
- &quoted_replacement,
- );
+ // Match single-quoted versions (strip quotes to normalize across platforms)
+ settings.add_filter(&format!("'{}'", regex::escape(&tilde_path)), &replacement);
}
}
@@ -1861,19 +1862,51 @@ pub fn setup_snapshot_settings(repo: &TestRepo) -> insta::Settings {
// This handles cases where path formats differ between home::home_dir() and the actual
// paths used in commands. MUST come after backslash normalization so paths have forward slashes.
// Pattern: ~/AppData/Local/Temp/.tmpXXXXXX/repo (where XXXXXX varies)
- settings.add_filter(r"~/AppData/Local/Temp/\.tmp[^/]+/repo", "[REPO]");
+ settings.add_filter(r"~/AppData/Local/Temp/\.tmp[^/]+/repo", "_REPO_");
// Match single-quoted versions (shell_escape quotes paths with ~)
- settings.add_filter(r"'~/AppData/Local/Temp/\.tmp[^/]+/repo'", "'[REPO]'");
+ // Strip quotes in replacement to normalize across platforms
+ settings.add_filter(r"'~/AppData/Local/Temp/\.tmp[^/]+/repo'", "_REPO_");
// Windows fallback for POSIX-style paths from Git Bash (used in hook template expansion).
// Pattern: /c/Users/.../Temp/.tmpXXXXXX/repo and worktrees like /c/.../repo.feature-test
settings.add_filter(
r"/[a-z]/Users/[^/]+/AppData/Local/Temp/\.tmp[^/]+/repo(\.[a-zA-Z0-9_/-]+)?",
- "[REPO]$1",
+ "_REPO_$1",
);
- // Match single-quoted versions
+ // Match single-quoted versions (strip quotes to normalize across platforms)
settings.add_filter(
r"'/[a-z]/Users/[^/]+/AppData/Local/Temp/\.tmp[^/]+/repo(\.[a-zA-Z0-9_/-]+)?'",
- "'[REPO]$1'",
+ "_REPO_$1",
+ );
+
+ // Final cleanup: strip any remaining quotes around placeholders.
+ // This handles cases where ANSI codes are inserted between the quote and path content,
+ // causing the quoted path filter to not match. The path filter replaces the path with
+ // the placeholder, but the surrounding quotes from shell_escape remain.
+ // The pattern matches quotes with optional ANSI escape sequences inside.
+ settings.add_filter(r"'(?:\x1b\[[0-9;]*m)*_REPO_(?:\x1b\[[0-9;]*m)*'", "_REPO_");
+ settings.add_filter(
+ r"'(?:\x1b\[[0-9;]*m)*_REPO_(\.[a-zA-Z0-9_-]+)(?:\x1b\[[0-9;]*m)*'",
+ "_REPO_$1",
+ );
+ // Match quoted worktree placeholders (with optional ANSI codes) and strip the quotes
+ settings.add_filter(
+ r"'(?:\x1b\[[0-9;]*m)*(_WORKTREE_[A-Z0-9_]+_)(?:\x1b\[[0-9;]*m)*'",
+ "$1",
+ );
+
+ // Normalize syntax highlighting around _REPO_ placeholders.
+ // Bash syntax highlighters may split tokens differently on different platforms.
+ // Linux CI produces: [2m [0m[2m[32m_REPO_[0m[2m [0m (space, green path, space as separate spans)
+ // macOS local produces: [2m _REPO_ [0m (all in one span)
+ // The [32m is green color applied to _REPO_ which the local highlighter doesn't add.
+ // Normalize CI format to local format by matching the split pattern and merging.
+ settings.add_filter(
+ r"\x1b\[2m \x1b\[0m\x1b\[2m(?:\x1b\[32m)?(_REPO_(?:\.[a-zA-Z0-9_-]+)?)(?:\x1b\[0m)?\x1b\[2m \x1b\[0m",
+ "\x1b[2m $1 \x1b[0m",
+ );
+ settings.add_filter(
+ r"\x1b\[2m \x1b\[0m\x1b\[2m(?:\x1b\[32m)?(_WORKTREE_[A-Z0-9_]+_)(?:\x1b\[0m)?\x1b\[2m \x1b\[0m",
+ "\x1b[2m $1 \x1b[0m",
);
// Normalize WORKTRUNK_CONFIG_PATH temp paths in stdout/stderr output
diff --git a/tests/integration_tests/approval_pty.rs b/tests/integration_tests/approval_pty.rs
index 39bf21e29..685fc02bb 100644
--- a/tests/integration_tests/approval_pty.rs
+++ b/tests/integration_tests/approval_pty.rs
@@ -82,7 +82,7 @@ fn normalize_output(output: &str) -> String {
// Remove repository paths
let output = regex::Regex::new(r"/[^\s]+\.tmp[^\s/]+")
.unwrap()
- .replace_all(&output, "[REPO]");
+ .replace_all(&output, "_REPO_");
// Remove config paths
let output = regex::Regex::new(r"/var/folders/[^\s]+/test-config\.toml")
diff --git a/tests/integration_tests/config_init.rs b/tests/integration_tests/config_init.rs
index d589b65e1..0c49c2a72 100644
--- a/tests/integration_tests/config_init.rs
+++ b/tests/integration_tests/config_init.rs
@@ -81,7 +81,7 @@ fn test_config_create_project_creates_file(repo: TestRepo) {
----- stdout -----
----- stderr -----
- βœ… Created project config: [REPO]/.config/wt.toml
+ βœ… Created project config: _REPO_/.config/wt.toml
πŸ’‘ Edit this file to configure hooks for this repository
πŸ’‘ See https://worktrunk.dev/hooks/ for hook documentation
@@ -119,7 +119,7 @@ run = "echo hello"
----- stdout -----
----- stderr -----
- βšͺ Project config already exists: [REPO]/.config/wt.toml
+ βšͺ Project config already exists: _REPO_/.config/wt.toml
πŸ’‘ For format reference, run wt config create --help; to view, run wt config show
");
diff --git a/tests/integration_tests/readme_sync.rs b/tests/integration_tests/readme_sync.rs
index 316b3157f..f586575f4 100644
--- a/tests/integration_tests/readme_sync.rs
+++ b/tests/integration_tests/readme_sync.rs
@@ -221,7 +221,7 @@ fn extract_section(content: &str, start_marker: &str, end_marker: &str) -> Strin
/// - `[HASH]` β†’ `a1b2c3d`
/// - `[TMPDIR]/repo.branch` β†’ `../repo.branch`
/// - `[TMPDIR]/repo` β†’ `../repo`
-/// - `[REPO]` β†’ `../repo`
+/// - `_REPO_` β†’ `../repo`
fn replace_placeholders(content: &str) -> String {
let content = HASH_REGEX.replace_all(content, "a1b2c3d");
let content = TMPDIR_BRANCH_REGEX.replace_all(&content, "../repo.$1");
diff --git a/tests/integration_tests/select.rs b/tests/integration_tests/select.rs
index 832756131..c59bb42cb 100644
--- a/tests/integration_tests/select.rs
+++ b/tests/integration_tests/select.rs
@@ -308,9 +308,9 @@ fn normalize_output(output: &str) -> String {
let output = lines.join("\n");
- // Replace temp paths like /var/folders/.../repo.XXX with [REPO]
+ // Replace temp paths like /var/folders/.../repo.XXX with _REPO_
let re = regex::Regex::new(r"/[^\s]+\.tmp[^\s/]*").unwrap();
- let output = re.replace_all(&output, "[REPO]");
+ let output = re.replace_all(&output, "_REPO_");
// Replace count indicators like "1/4", "3/4" etc at end of lines
let count_re = regex::Regex::new(r"\d+/\d+$").unwrap();
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snap
index 444321465..96ba8166f 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snap
@@ -12,5 +12,5 @@ y
πŸ”„ Running project post-create:
  echo 'test command'
test command
-βœ… Created new worktree for test-approve from main @ [REPO]/repo.test-approve
+βœ… Created new worktree for test-approve from main @ _REPO_/repo.test-approve
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_decline.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_decline.snap
index 629f2f05d..ce7453d67 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_decline.snap
+++ b/tests/integration_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.test-decline
+βœ… Created new worktree for test-decline from main @ _REPO_/repo.test-decline
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snap
index d5e85f37b..b0d341e68 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snap
@@ -20,5 +20,5 @@ y
πŸ”„ Running project post-create third:
  echo 'Third command'
Third command
-βœ… Created new worktree for test-mixed-accept from main @ [REPO]/repo.test-mixed-accept
+βœ… Created new worktree for test-mixed-accept from main @ _REPO_/repo.test-mixed-accept
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_decline.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_decline.snap
index 3c8902f54..05cd985fd 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_decline.snap
+++ b/tests/integration_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.test-mixed-decline
+βœ… Created new worktree for test-mixed-decline from main @ _REPO_/repo.test-mixed-decline
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snap
index a75b85d22..a8b5d9e00 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snap
@@ -22,5 +22,5 @@ y
πŸ”„ Running project post-create third:
  echo 'Third command'
Third command
-βœ… Created new worktree for test-multi from main @ [REPO]/repo.test-multi
+βœ… Created new worktree for test-multi from main @ _REPO_/repo.test-multi
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snap
index 8d7941e91..08f1e3003 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snap
@@ -22,5 +22,5 @@ y
πŸ”„ Running project post-create test:
  echo 'Running tests...'
Running tests...
-βœ… Created new worktree for test-named from main @ [REPO]/repo.test-named
+βœ… Created new worktree for test-named from main @ _REPO_/repo.test-named
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snap
index 0e2dc2402..39dd845db 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snap
@@ -14,5 +14,5 @@ y
πŸ”„ Running project post-create:
  echo 'test command'
test command
-βœ… Created new worktree for test-permission from main @ [REPO]/repo.test-permission
+βœ… Created new worktree for test-permission from main @ _REPO_/repo.test-permission
πŸ’‘ Run wt config shell install to enable automatic cd
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 4a2d4123e..9c8b7c623 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
@@ -32,5 +32,5 @@ exit_code: 0
----- stderr -----
πŸ”„ Running project post-create:
  echo 'approved' > output.txt
-βœ… Created new worktree for test-approved from main @ [REPO].test-approved
+βœ… Created new worktree for test-approved from main @ _REPO_.test-approved
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__approval_ui__force_bypasses_tty_check.snap b/tests/snapshots/integration__integration_tests__approval_ui__force_bypasses_tty_check.snap
index 9c89fe9ba..73d9a0434 100644
--- a/tests/snapshots/integration__integration_tests__approval_ui__force_bypasses_tty_check.snap
+++ b/tests/snapshots/integration__integration_tests__approval_ui__force_bypasses_tty_check.snap
@@ -34,5 +34,5 @@ exit_code: 0
πŸ”„ Running project post-create:
  echo 'test command'
test command
-βœ… Created new worktree for test-force-tty from main @ [REPO].test-force-tty
+βœ… Created new worktree for test-force-tty from main @ _REPO_.test-force-tty
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snap b/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snap
index 754d21cf1..d3eaefa53 100644
--- a/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snap
+++ b/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snap
@@ -33,5 +33,5 @@ exit_code: 0
----- stderr -----
πŸ”„ Running project post-create:
  echo 'test command' > output.txt
-βœ… Created new worktree for test-force from main @ [REPO].test-force
+βœ… Created new worktree for test-force from main @ _REPO_.test-force
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__approvals__add_approvals_no_config.snap b/tests/snapshots/integration__integration_tests__approvals__add_approvals_no_config.snap
index fed3cfa25..b03339879 100644
--- a/tests/snapshots/integration__integration_tests__approvals__add_approvals_no_config.snap
+++ b/tests/snapshots/integration__integration_tests__approvals__add_approvals_no_config.snap
@@ -26,4 +26,4 @@ exit_code: 1
----- stderr -----
❌ No project configuration found
-πŸ’‘ Create a config file at: [REPO]/.config/wt.toml
+πŸ’‘ Create a config file at: _REPO_/.config/wt.toml
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_full_command_not_found.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_full_command_not_found.snap
index 455a8b0c1..aa0a0854f 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_full_command_not_found.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_full_command_not_found.snap
@@ -36,7 +36,7 @@ exit_code: 0
  command = "nonexistent-llm-command-12345"
  args = ["-m", "test-model"]
-PROJECT CONFIG [REPO]/.config/wt.toml
+PROJECT CONFIG _REPO_/.config/wt.toml
πŸ’‘ Not found
SHELL INTEGRATION
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_full_not_configured.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_full_not_configured.snap
index 641fa8651..ebfb92072 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_full_not_configured.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_full_not_configured.snap
@@ -32,7 +32,7 @@ exit_code: 0
USER CONFIG ~/.config/worktrunk/config.toml
  worktree-path = "../{{ main_worktree }}.{{ branch }}"
-PROJECT CONFIG [REPO]/.config/wt.toml
+PROJECT CONFIG _REPO_/.config/wt.toml
πŸ’‘ Not found
SHELL INTEGRATION
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_github_remote.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_github_remote.snap
index a2d01cc0f..bc2843d69 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_github_remote.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_github_remote.snap
@@ -31,7 +31,7 @@ exit_code: 0
USER CONFIG ~/.config/worktrunk/config.toml
  worktree-path = "../{{ main_worktree }}.{{ branch }}"
-PROJECT CONFIG [REPO]/.config/wt.toml
+PROJECT CONFIG _REPO_/.config/wt.toml
πŸ’‘ Not found
SHELL INTEGRATION
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_gitlab_remote.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_gitlab_remote.snap
index a2d01cc0f..bc2843d69 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_gitlab_remote.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_gitlab_remote.snap
@@ -31,7 +31,7 @@ exit_code: 0
USER CONFIG ~/.config/worktrunk/config.toml
  worktree-path = "../{{ main_worktree }}.{{ branch }}"
-PROJECT CONFIG [REPO]/.config/wt.toml
+PROJECT CONFIG _REPO_/.config/wt.toml
πŸ’‘ Not found
SHELL INTEGRATION
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_no_project_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_no_project_config.snap
index a2d01cc0f..bc2843d69 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_no_project_config.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_no_project_config.snap
@@ -31,7 +31,7 @@ exit_code: 0
USER CONFIG ~/.config/worktrunk/config.toml
  worktree-path = "../{{ main_worktree }}.{{ branch }}"
-PROJECT CONFIG [REPO]/.config/wt.toml
+PROJECT CONFIG _REPO_/.config/wt.toml
πŸ’‘ Not found
SHELL INTEGRATION
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snap
index 5381dd997..7090c20a9 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snap
@@ -33,7 +33,7 @@ exit_code: 0
USER CONFIG ~/.config/worktrunk/config.toml
πŸ’‘ Empty file (using defaults)
-PROJECT CONFIG [REPO]/.config/wt.toml
+PROJECT CONFIG _REPO_/.config/wt.toml
πŸ’‘ Not found
SHELL INTEGRATION
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_project_keys.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_project_keys.snap
index ab7bfd7c1..dfdf7bc6d 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_project_keys.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_project_keys.snap
@@ -31,7 +31,7 @@ exit_code: 0
USER CONFIG ~/.config/worktrunk/config.toml
  worktree-path = "../{{ main_worktree }}.{{ branch }}"
-PROJECT CONFIG [REPO]/.config/wt.toml
+PROJECT CONFIG _REPO_/.config/wt.toml
🟑 Unknown key post-merge-command will be ignored
  [post-merge-command]
  deploy = "task deploy"
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_user_keys.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_user_keys.snap
index d05de29eb..486e76619 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_user_keys.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_user_keys.snap
@@ -35,7 +35,7 @@ exit_code: 0
  [commit-gen]
  command = "llm"
-PROJECT CONFIG [REPO]/.config/wt.toml
+PROJECT CONFIG _REPO_/.config/wt.toml
πŸ’‘ Not found
SHELL INTEGRATION
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_with_project_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_with_project_config.snap
index b616e787d..6d3acd2ea 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_with_project_config.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_with_project_config.snap
@@ -34,7 +34,7 @@ exit_code: 0
  [projects."test-project"]
  approved-commands = ["npm install"]
-PROJECT CONFIG [REPO]/.config/wt.toml
+PROJECT CONFIG _REPO_/.config/wt.toml
  post-create = "npm install"
 
  [post-start]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_correct_order.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_correct_order.snap
index 94bdbe03a..9f872b75b 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_correct_order.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_correct_order.snap
@@ -32,7 +32,7 @@ exit_code: 0
USER CONFIG ~/.config/worktrunk/config.toml
πŸ’‘ Empty file (using defaults)
-PROJECT CONFIG [REPO]/.config/wt.toml
+PROJECT CONFIG _REPO_/.config/wt.toml
πŸ’‘ Not found
SHELL INTEGRATION
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_warning.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_warning.snap
index 953578e81..d6ce454cd 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_warning.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_warning.snap
@@ -32,7 +32,7 @@ exit_code: 0
USER CONFIG ~/.config/worktrunk/config.toml
πŸ’‘ Empty file (using defaults)
-PROJECT CONFIG [REPO]/.config/wt.toml
+PROJECT CONFIG _REPO_/.config/wt.toml
πŸ’‘ Not found
SHELL INTEGRATION
diff --git a/tests/snapshots/integration__integration_tests__directives__merge_internal_powershell_directive.snap b/tests/snapshots/integration__integration_tests__directives__merge_internal_powershell_directive.snap
index eb61ed08d..d90071017 100644
--- a/tests/snapshots/integration__integration_tests__directives__merge_internal_powershell_directive.snap
+++ b/tests/snapshots/integration__integration_tests__directives__merge_internal_powershell_directive.snap
@@ -20,6 +20,7 @@ info:
LANG: C
LC_ALL: C
PATH: "[PATH]"
+ RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
@@ -28,7 +29,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-Set-Location '[PATH]'
+Set-Location _REPO_
----- stderr -----
πŸ”„ Merging 1 commit to main @ fc12499 (no commit/squash/rebase needed)
diff --git a/tests/snapshots/integration__integration_tests__directives__merge_internal_remove.snap b/tests/snapshots/integration__integration_tests__directives__merge_internal_remove.snap
index 248418a7d..c37bf7be1 100644
--- a/tests/snapshots/integration__integration_tests__directives__merge_internal_remove.snap
+++ b/tests/snapshots/integration__integration_tests__directives__merge_internal_remove.snap
@@ -20,6 +20,7 @@ info:
LANG: C
LC_ALL: C
PATH: "[PATH]"
+ RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
@@ -28,7 +29,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-cd '[PATH]'
+cd _REPO_
----- stderr -----
πŸ”„ Merging 1 commit to main @ fc12499 (no commit/squash/rebase needed)
diff --git a/tests/snapshots/integration__integration_tests__directives__remove_internal_powershell_directive.snap b/tests/snapshots/integration__integration_tests__directives__remove_internal_powershell_directive.snap
index 223f74759..56293d420 100644
--- a/tests/snapshots/integration__integration_tests__directives__remove_internal_powershell_directive.snap
+++ b/tests/snapshots/integration__integration_tests__directives__remove_internal_powershell_directive.snap
@@ -19,6 +19,7 @@ info:
LANG: C
LC_ALL: C
PATH: "[PATH]"
+ RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
@@ -27,7 +28,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-Set-Location '[PATH]'
+Set-Location _REPO_
----- stderr -----
πŸ”„ Removing feature worktree & branch in background (same commit as main, _)
diff --git a/tests/snapshots/integration__integration_tests__directives__switch_internal_powershell_directive.snap b/tests/snapshots/integration__integration_tests__directives__switch_internal_powershell_directive.snap
index b00e520fe..2a4060610 100644
--- a/tests/snapshots/integration__integration_tests__directives__switch_internal_powershell_directive.snap
+++ b/tests/snapshots/integration__integration_tests__directives__switch_internal_powershell_directive.snap
@@ -20,6 +20,7 @@ info:
LANG: C
LC_ALL: C
PATH: "[PATH]"
+ RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
@@ -28,7 +29,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-Set-Location '[PATH]'
+Set-Location _REPO_.feature
----- stderr -----
-βšͺ Switched to worktree for feature @ [REPO].feature
+βšͺ Switched to worktree for feature @ _REPO_.feature
diff --git a/tests/snapshots/integration__integration_tests__hook_show__hook_show_approval_status.snap b/tests/snapshots/integration__integration_tests__hook_show__hook_show_approval_status.snap
index 523719deb..0784e5ae0 100644
--- a/tests/snapshots/integration__integration_tests__hook_show__hook_show_approval_status.snap
+++ b/tests/snapshots/integration__integration_tests__hook_show__hook_show_approval_status.snap
@@ -29,7 +29,7 @@ exit_code: 0
USER HOOKS ~/.config/worktrunk/config.toml
πŸ’‘ (none configured)
-PROJECT HOOKS [REPO]/.config/wt.toml
+PROJECT HOOKS _REPO_/.config/wt.toml
βšͺ pre-merge build:
  cargo build
❓ pre-merge test: (requires approval)
diff --git a/tests/snapshots/integration__integration_tests__hook_show__hook_show_filter_by_type.snap b/tests/snapshots/integration__integration_tests__hook_show__hook_show_filter_by_type.snap
index f472364cf..afe4b61e4 100644
--- a/tests/snapshots/integration__integration_tests__hook_show__hook_show_filter_by_type.snap
+++ b/tests/snapshots/integration__integration_tests__hook_show__hook_show_filter_by_type.snap
@@ -30,7 +30,7 @@ exit_code: 0
[TEST_CONFIG]
πŸ’‘ (none configured)
-PROJECT HOOKS [REPO]/.config/wt.toml
+PROJECT HOOKS _REPO_/.config/wt.toml
❓ pre-merge build: (requires approval)
  cargo build
❓ pre-merge test: (requires approval)
diff --git a/tests/snapshots/integration__integration_tests__hook_show__hook_show_no_hooks.snap b/tests/snapshots/integration__integration_tests__hook_show__hook_show_no_hooks.snap
index c814ab409..ef0fae4dc 100644
--- a/tests/snapshots/integration__integration_tests__hook_show__hook_show_no_hooks.snap
+++ b/tests/snapshots/integration__integration_tests__hook_show__hook_show_no_hooks.snap
@@ -28,5 +28,5 @@ exit_code: 0
[TEST_CONFIG]
πŸ’‘ (none configured)
-PROJECT HOOKS [REPO]/.config/wt.toml
+PROJECT HOOKS _REPO_/.config/wt.toml
πŸ’‘ (not found)
diff --git a/tests/snapshots/integration__integration_tests__hook_show__hook_show_with_both_configs.snap b/tests/snapshots/integration__integration_tests__hook_show__hook_show_with_both_configs.snap
index 39755933c..d94cdb928 100644
--- a/tests/snapshots/integration__integration_tests__hook_show__hook_show_with_both_configs.snap
+++ b/tests/snapshots/integration__integration_tests__hook_show__hook_show_with_both_configs.snap
@@ -29,7 +29,7 @@ exit_code: 0
[TEST_CONFIG]
πŸ’‘ (none configured)
-PROJECT HOOKS [REPO]/.config/wt.toml
+PROJECT HOOKS _REPO_/.config/wt.toml
❓ post-start deps: (requires approval)
  npm install
❓ pre-merge build: (requires approval)
diff --git a/tests/snapshots/integration__integration_tests__internal_flag__config_show_with_internal_flag.snap b/tests/snapshots/integration__integration_tests__internal_flag__config_show_with_internal_flag.snap
index 85b2b6e28..7dc434d98 100644
--- a/tests/snapshots/integration__integration_tests__internal_flag__config_show_with_internal_flag.snap
+++ b/tests/snapshots/integration__integration_tests__internal_flag__config_show_with_internal_flag.snap
@@ -32,7 +32,7 @@ exit_code: 0
USER CONFIG ~/.config/worktrunk/config.toml
  worktree-path = "../{{ main_worktree }}.{{ branch }}"
-PROJECT CONFIG [REPO]/.config/wt.toml
+PROJECT CONFIG _REPO_/.config/wt.toml
πŸ’‘ Not found
SHELL INTEGRATION
diff --git a/tests/snapshots/integration__integration_tests__list__json_tree_matches_main_after_merge.snap b/tests/snapshots/integration__integration_tests__list__json_tree_matches_main_after_merge.snap
index 386e26b34..502bb691a 100644
--- a/tests/snapshots/integration__integration_tests__list__json_tree_matches_main_after_merge.snap
+++ b/tests/snapshots/integration__integration_tests__list__json_tree_matches_main_after_merge.snap
@@ -30,7 +30,7 @@ exit_code: 0
[
{
"branch": "main",
- "path": "[REPO]",
+ "path": "_REPO_",
"kind": "worktree",
"commit": {
"sha": "33c3e5aa9f928d3eab87da8cbcd187e2ab921064",
@@ -65,7 +65,7 @@ exit_code: 0
},
{
"branch": "feature-merged",
- "path": "[REPO].feature-merged",
+ "path": "_REPO_.feature-merged",
"kind": "worktree",
"commit": {
"sha": "ee45656141f6f30e6e036767adf380b3ccc639d7",
diff --git a/tests/snapshots/integration__integration_tests__list__json_with_display_fields.snap b/tests/snapshots/integration__integration_tests__list__json_with_display_fields.snap
index cf6993f7a..d1c709898 100644
--- a/tests/snapshots/integration__integration_tests__list__json_with_display_fields.snap
+++ b/tests/snapshots/integration__integration_tests__list__json_with_display_fields.snap
@@ -30,7 +30,7 @@ exit_code: 0
[
{
"branch": "main",
- "path": "[REPO]",
+ "path": "_REPO_",
"kind": "worktree",
"commit": {
"sha": "4803e9416c19681b83017135ac3a8c1b04898868",
@@ -65,7 +65,7 @@ exit_code: 0
},
{
"branch": "feature-ahead",
- "path": "[REPO].feature-ahead",
+ "path": "_REPO_.feature-ahead",
"kind": "worktree",
"commit": {
"sha": "1080181c245695ed0d64aba6b0b0b7c0bfff9530",
@@ -100,7 +100,7 @@ exit_code: 0
},
{
"branch": "feature-behind",
- "path": "[REPO].feature-behind",
+ "path": "_REPO_.feature-behind",
"kind": "worktree",
"commit": {
"sha": "b8b9f4453f95a585105de3ae3439d8017dee67f3",
diff --git a/tests/snapshots/integration__integration_tests__list__json_with_git_operation.snap b/tests/snapshots/integration__integration_tests__list__json_with_git_operation.snap
index defee7706..cb1745919 100644
--- a/tests/snapshots/integration__integration_tests__list__json_with_git_operation.snap
+++ b/tests/snapshots/integration__integration_tests__list__json_with_git_operation.snap
@@ -30,7 +30,7 @@ exit_code: 0
[
{
"branch": "main",
- "path": "[REPO]",
+ "path": "_REPO_",
"kind": "worktree",
"commit": {
"sha": "33244e69fc0c568ce7cffd49b04c9c89ffb22510",
@@ -65,7 +65,7 @@ exit_code: 0
},
{
"branch": "feature",
- "path": "[REPO].feature",
+ "path": "_REPO_.feature",
"kind": "worktree",
"commit": {
"sha": "33244e69fc0c568ce7cffd49b04c9c89ffb22510",
diff --git a/tests/snapshots/integration__integration_tests__list__json_with_metadata.snap b/tests/snapshots/integration__integration_tests__list__json_with_metadata.snap
index 1a4375d73..f41958334 100644
--- a/tests/snapshots/integration__integration_tests__list__json_with_metadata.snap
+++ b/tests/snapshots/integration__integration_tests__list__json_with_metadata.snap
@@ -30,7 +30,7 @@ exit_code: 0
[
{
"branch": "main",
- "path": "[REPO]",
+ "path": "_REPO_",
"kind": "worktree",
"commit": {
"sha": "a1e809f511b21ee516412a4520497f0cea4af366",
@@ -65,7 +65,7 @@ exit_code: 0
},
{
"branch": "feature-detached",
- "path": "[REPO].feature-detached",
+ "path": "_REPO_.feature-detached",
"kind": "worktree",
"commit": {
"sha": "a1e809f511b21ee516412a4520497f0cea4af366",
@@ -104,7 +104,7 @@ exit_code: 0
},
{
"branch": "locked-feature",
- "path": "[REPO].locked-feature",
+ "path": "_REPO_.locked-feature",
"kind": "worktree",
"commit": {
"sha": "a1e809f511b21ee516412a4520497f0cea4af366",
diff --git a/tests/snapshots/integration__integration_tests__list__json_with_user_marker.snap b/tests/snapshots/integration__integration_tests__list__json_with_user_marker.snap
index 2b69ec417..f4a05bff8 100644
--- a/tests/snapshots/integration__integration_tests__list__json_with_user_marker.snap
+++ b/tests/snapshots/integration__integration_tests__list__json_with_user_marker.snap
@@ -30,7 +30,7 @@ exit_code: 0
[
{
"branch": "main",
- "path": "[REPO]",
+ "path": "_REPO_",
"kind": "worktree",
"commit": {
"sha": "a058e792cfd4836c913fdbc0d4559af34b352b07",
@@ -65,7 +65,7 @@ exit_code: 0
},
{
"branch": "with-status",
- "path": "[REPO].with-status",
+ "path": "_REPO_.with-status",
"kind": "worktree",
"commit": {
"sha": "a058e792cfd4836c913fdbc0d4559af34b352b07",
@@ -104,7 +104,7 @@ exit_code: 0
},
{
"branch": "without-status",
- "path": "[REPO].without-status",
+ "path": "_REPO_.without-status",
"kind": "worktree",
"commit": {
"sha": "a058e792cfd4836c913fdbc0d4559af34b352b07",
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_error_conflicting_changes.snap b/tests/snapshots/integration__integration_tests__merge__merge_error_conflicting_changes.snap
index 1c55acfe4..43f44da46 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_error_conflicting_changes.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_error_conflicting_changes.snap
@@ -33,4 +33,4 @@ exit_code: 1
❌ Cannot push: conflicting uncommitted changes in:
  shared.txt
-πŸ’‘ Commit or stash these changes in [REPO].main-wt first
+πŸ’‘ Commit or stash these changes in _REPO_.main-wt first
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 7774c461f..a7a5007b8 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
@@ -36,7 +36,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 new worktree for feature-x from main @ _REPO_.feature-x
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start dev:
  uv run dev
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 1e74b9646..8d8dae71a 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
@@ -30,5 +30,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for fix-auth from main @ [REPO].fix-auth
+βœ… Created new worktree for fix-auth from main @ _REPO_.fix-auth
πŸ’‘ Run wt config shell install to enable automatic cd
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 3d4deeece..759f1c02c 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
@@ -32,7 +32,7 @@ exit_code: 0
----- stderr -----
πŸ”„ Running project post-create:
  echo 'Setup done' > setup.txt
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start server:
  sleep 0.05 && echo 'Server running' > server.txt
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 c60125c7d..700aa3fe8 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
@@ -32,7 +32,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ”„ Running project post-start:
  echo 'Background task' > background.txt
πŸ”„ Executing (--execute):
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 845f966f6..80bfe8a4a 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
@@ -33,5 +33,5 @@ exit_code: 0
----- stderr -----
πŸ”„ Running project post-create:
  echo 'Default: main' > default.txt
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
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 a0b89c11e..89f0c2851 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
@@ -33,5 +33,5 @@ exit_code: 0
πŸ”„ Running project post-create:
  exit 1
🟑 Command failed: exit status: 1
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
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 a301ba946..f918cdaf0 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
@@ -39,5 +39,5 @@ exit_code: 0
  echo 'Remote: origin' >> git_vars.txt
πŸ”„ Running project post-create worktree_name:
  echo 'Worktree Name: repo.feature' >> git_vars.txt
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
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 9914835f9..3f233057b 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
@@ -36,5 +36,5 @@ exit_code: 0
  else
   echo 'File exists' > result.txt
  fi
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
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 fe914264f..26645245d 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
@@ -36,5 +36,5 @@ exit_code: 0
πŸ”„ Running project post-create setup:
  echo 'Running setup'
Running setup
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
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 f6de5a5bd..fa5465068 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
@@ -30,5 +30,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
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 feb8373d5..f2f92fac3 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
@@ -33,5 +33,5 @@ exit_code: 0
πŸ”„ Running project post-create:
  echo 'Setup complete'
Setup complete
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
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 b585fff03..969966af4 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
@@ -35,8 +35,8 @@ exit_code: 0
πŸ”„ Running project post-create branch:
  echo 'Branch: feature-test' >> info.txt
πŸ”„ Running project post-create worktree:
-  echo 'Worktree: [REPO].feature-test' >> info.txt
+  echo 'Worktree: _REPO_.feature-test' >> info.txt
πŸ”„ Running project post-create root:
-  echo 'Root: [REPO]' >> info.txt
-βœ… Created new worktree for feature/test from main @ [REPO].feature-test
+  echo 'Root: _REPO_' >> info.txt
+βœ… Created new worktree for feature/test from main @ _REPO_.feature-test
πŸ’‘ Run wt config shell install to enable automatic cd
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 99781d503..8fa2c9588 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
@@ -33,5 +33,5 @@ exit_code: 0
----- stderr -----
πŸ”„ Running project post-create:
  echo 'Upstream: ' > upstream.txt
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
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 2c150444e..53a394bd5 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
@@ -30,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start:
  echo 'line1
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 36418475d..892fdf393 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
@@ -30,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start:
  echo 'POST-START-RAN' > post_start_marker.txt
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 44692086c..c61bdb140 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
@@ -30,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start:
  echo 'unclosed quote
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 147baabdb..58304754c 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
@@ -30,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start:
  echo 'stdout output' && echo 'stderr output' >&2
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 eb767cbde..14af782c0 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
@@ -30,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start:
  echo 'first line' > multiline.txt
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 b92a1c532..a64f47b37 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
@@ -30,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start task1:
  echo 'Task 1 running' > task1.txt
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 8de4e412d..d7ded16a1 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
@@ -30,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start task1:
  echo 'TASK1_OUTPUT'
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 6fb877c9f..babac8732 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
@@ -30,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start:
  sleep 0.1 && echo 'Background task done' > background.txt
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_skip_existing.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_skip_existing.snap
index b37321512..a20627018 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_skip_existing.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_skip_existing.snap
@@ -29,5 +29,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-🟑 Worktree for feature @ [REPO].feature, but cannot change directory β€” shell integration not installed
+🟑 Worktree for feature @ _REPO_.feature, but cannot change directory β€” shell integration not installed
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__push__push_dirty_target_autostash.snap b/tests/snapshots/integration__integration_tests__push__push_dirty_target_autostash.snap
index 12e044799..de5eb4b0d 100644
--- a/tests/snapshots/integration__integration_tests__push__push_dirty_target_autostash.snap
+++ b/tests/snapshots/integration__integration_tests__push__push_dirty_target_autostash.snap
@@ -29,10 +29,10 @@ exit_code: 0
----- stdout -----
----- stderr -----
-πŸ”„ Stashing changes in [REPO]...
+πŸ”„ Stashing changes in _REPO_...
πŸ”„ Pushing 1 commit to main @ fc12499
  * fc12499 Add feature file
  feature.txt | 1 +
  1 file changed, 1 insertion(+)
-πŸ”„ Restoring stashed changes in [REPO]...
+πŸ”„ Restoring stashed changes in _REPO_...
βœ… Pushed to main (1 commit, 1 file, +1)
diff --git a/tests/snapshots/integration__integration_tests__push__push_dirty_target_overlap.snap b/tests/snapshots/integration__integration_tests__push__push_dirty_target_overlap.snap
index 06818ff5f..8843475cf 100644
--- a/tests/snapshots/integration__integration_tests__push__push_dirty_target_overlap.snap
+++ b/tests/snapshots/integration__integration_tests__push__push_dirty_target_overlap.snap
@@ -34,4 +34,4 @@ exit_code: 1
❌ Cannot push: conflicting uncommitted changes in:
  conflict.txt
-πŸ’‘ Commit or stash these changes in [REPO] first
+πŸ’‘ Commit or stash these changes in _REPO_ first
diff --git a/tests/snapshots/integration__integration_tests__push__push_dirty_target_overlap_renamed_file.snap b/tests/snapshots/integration__integration_tests__push__push_dirty_target_overlap_renamed_file.snap
index f384eb0c7..fffb3c8ee 100644
--- a/tests/snapshots/integration__integration_tests__push__push_dirty_target_overlap_renamed_file.snap
+++ b/tests/snapshots/integration__integration_tests__push__push_dirty_target_overlap_renamed_file.snap
@@ -34,4 +34,4 @@ exit_code: 1
❌ Cannot push: conflicting uncommitted changes in:
  file.txt
-πŸ’‘ Commit or stash these changes in [REPO] first
+πŸ’‘ Commit or stash these changes in _REPO_ first
diff --git a/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_runs_for_detached_head.snap b/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_runs_for_detached_head.snap
index 5b3bebd10..9c1f393d7 100644
--- a/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_runs_for_detached_head.snap
+++ b/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_runs_for_detached_head.snap
@@ -25,5 +25,5 @@ exit_code: 0
----- stderr -----
πŸ”„ Removing current worktree...
πŸ”„ Running project pre-remove:
-  touch [REPO]/m.txt
+  touch _REPO_/m.txt
βœ… Removed worktree (detached HEAD, no branch to delete)
diff --git a/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_runs_for_detached_head_background.snap b/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_runs_for_detached_head_background.snap
index 11962518c..8d1b3378b 100644
--- a/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_runs_for_detached_head_background.snap
+++ b/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_runs_for_detached_head_background.snap
@@ -23,5 +23,5 @@ exit_code: 0
----- stderr -----
πŸ”„ Running project pre-remove:
-  touch [REPO]/detached-bg-hook-marker.txt
+  touch _REPO_/detached-bg-hook-marker.txt
πŸ”„ Removing worktree in background (detached HEAD, no branch to delete)
diff --git a/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_template_variables.snap b/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_template_variables.snap
index 04cf3a593..fca84857a 100644
--- a/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_template_variables.snap
+++ b/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_template_variables.snap
@@ -35,8 +35,8 @@ exit_code: 0
  echo 'Branch: feature-templates'
Branch: feature-templates
πŸ”„ Running project pre-remove worktree:
-  echo 'Worktree: [REPO].feature-templates'
-Worktree: [REPO].feature-templates
+  echo 'Worktree: _REPO_.feature-templates'
+Worktree: _REPO_.feature-templates
πŸ”„ Running project pre-remove worktree_name:
  echo 'Name: repo.feature-templates'
Name: repo.feature-templates
diff --git a/tests/snapshots/integration__integration_tests__remove__remove_internal_mode.snap b/tests/snapshots/integration__integration_tests__remove__remove_internal_mode.snap
index 065c55eac..80d100322 100644
--- a/tests/snapshots/integration__integration_tests__remove__remove_internal_mode.snap
+++ b/tests/snapshots/integration__integration_tests__remove__remove_internal_mode.snap
@@ -19,6 +19,7 @@ info:
LANG: C
LC_ALL: C
PATH: "[PATH]"
+ RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
@@ -27,7 +28,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-cd '[REPO]'
+cd _REPO_
----- stderr -----
πŸ”„ Removing feature-internal worktree & branch in background (same commit as main, _)
diff --git a/tests/snapshots/integration__integration_tests__remove__remove_main_vs_linked__from_linked_succeeds.snap b/tests/snapshots/integration__integration_tests__remove__remove_main_vs_linked__from_linked_succeeds.snap
index 523790774..307665811 100644
--- a/tests/snapshots/integration__integration_tests__remove__remove_main_vs_linked__from_linked_succeeds.snap
+++ b/tests/snapshots/integration__integration_tests__remove__remove_main_vs_linked__from_linked_succeeds.snap
@@ -30,4 +30,4 @@ exit_code: 0
----- stderr -----
πŸ”„ Removing current worktree...
-βœ… Removed feature worktree & branch; changed directory to [REPO] (same commit as main, _)
+βœ… Removed feature worktree & branch; changed directory to _REPO_ (same commit as main, _)
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 46d49a988..298f070c4 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
@@ -32,5 +32,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for new-feature from main @ [REPO].new-feature
+βœ… Created new worktree for new-feature from main @ _REPO_.new-feature
πŸ’‘ Run wt config shell install to enable automatic cd
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 fa7cd23f8..7b860e918 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
@@ -29,5 +29,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Switched to worktree for feature-a @ [REPO].feature-a
+βœ… Switched to worktree for feature-a @ _REPO_.feature-a
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__ping_pong_2_feature_a_to_main.snap b/tests/snapshots/integration__integration_tests__switch__ping_pong_2_feature_a_to_main.snap
index 243852daf..10d11731c 100644
--- a/tests/snapshots/integration__integration_tests__switch__ping_pong_2_feature_a_to_main.snap
+++ b/tests/snapshots/integration__integration_tests__switch__ping_pong_2_feature_a_to_main.snap
@@ -29,5 +29,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-🟑 Worktree for main @ [REPO], but cannot change directory β€” shell integration not installed
+🟑 Worktree for main @ _REPO_, but cannot change directory β€” shell integration not installed
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__ping_pong_3_dash_to_feature_a.snap b/tests/snapshots/integration__integration_tests__switch__ping_pong_3_dash_to_feature_a.snap
index 48f06a14c..f59557a5e 100644
--- a/tests/snapshots/integration__integration_tests__switch__ping_pong_3_dash_to_feature_a.snap
+++ b/tests/snapshots/integration__integration_tests__switch__ping_pong_3_dash_to_feature_a.snap
@@ -29,5 +29,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-🟑 Worktree for feature-a @ [REPO].feature-a, but cannot change directory β€” shell integration not installed
+🟑 Worktree for feature-a @ _REPO_.feature-a, but cannot change directory β€” shell integration not installed
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__ping_pong_4_dash_to_main.snap b/tests/snapshots/integration__integration_tests__switch__ping_pong_4_dash_to_main.snap
index 0c29ba248..0d3758a08 100644
--- a/tests/snapshots/integration__integration_tests__switch__ping_pong_4_dash_to_main.snap
+++ b/tests/snapshots/integration__integration_tests__switch__ping_pong_4_dash_to_main.snap
@@ -29,5 +29,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-🟑 Worktree for main @ [REPO], but cannot change directory β€” shell integration not installed
+🟑 Worktree for main @ _REPO_, but cannot change directory β€” shell integration not installed
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__ping_pong_5_dash_to_feature_a_again.snap b/tests/snapshots/integration__integration_tests__switch__ping_pong_5_dash_to_feature_a_again.snap
index 48f06a14c..f59557a5e 100644
--- a/tests/snapshots/integration__integration_tests__switch__ping_pong_5_dash_to_feature_a_again.snap
+++ b/tests/snapshots/integration__integration_tests__switch__ping_pong_5_dash_to_feature_a_again.snap
@@ -29,5 +29,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-🟑 Worktree for feature-a @ [REPO].feature-a, but cannot change directory β€” shell integration not installed
+🟑 Worktree for feature-a @ _REPO_.feature-a, but cannot change directory β€” shell integration not installed
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_base_without_create.snap b/tests/snapshots/integration__integration_tests__switch__switch_base_without_create.snap
index e7c7d2dcb..749378a03 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_base_without_create.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_base_without_create.snap
@@ -31,4 +31,4 @@ exit_code: 0
----- stderr -----
🟑 --base flag is only used with --create, ignoring
-βšͺ Already on worktree for main @ [REPO]
+βšͺ Already on worktree for main @ _REPO_
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_clobber_error_backup_exists.snap b/tests/snapshots/integration__integration_tests__switch__switch_clobber_error_backup_exists.snap
index 076c8cdd4..1183f5ffc 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_clobber_error_backup_exists.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_clobber_error_backup_exists.snap
@@ -31,4 +31,4 @@ exit_code: 1
----- stdout -----
----- stderr -----
-❌ Backup path already exists: [REPO].clobber-backup-exists.bak.20250102-000000
+❌ Backup path already exists: _REPO_.clobber-backup-exists.bak.20250102-000000
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 252ffebbf..f26c6e1b4 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
@@ -31,6 +31,6 @@ exit_code: 0
----- stdout -----
----- 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
+🟑 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
πŸ’‘ Run wt config shell install to enable automatic cd
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 36f0f86fc..207c9d835 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
@@ -31,6 +31,6 @@ exit_code: 0
----- stdout -----
----- 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
+🟑 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
πŸ’‘ Run wt config shell install to enable automatic cd
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 6d1e5349a..53db300bd 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
@@ -31,6 +31,6 @@ exit_code: 0
----- stdout -----
----- 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
+🟑 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
πŸ’‘ Run wt config shell install to enable automatic cd
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 7245eccc7..f66222413 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_create_new.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_create_new.snap
@@ -30,5 +30,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature-x from main @ [REPO].feature-x
+βœ… Created new worktree for feature-x from main @ _REPO_.feature-x
πŸ’‘ Run wt config shell install to enable automatic cd
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 558a18ee5..5ed479565 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
@@ -30,5 +30,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
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 7e7afc3f1..24fe99c3d 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
@@ -32,5 +32,5 @@ 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 new worktree for remote-feature from main @ _REPO_.remote-feature
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_error_main_worktree_on_different_branch.snap b/tests/snapshots/integration__integration_tests__switch__switch_error_main_worktree_on_different_branch.snap
index 3cf71ce9c..6fac9b143 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_error_main_worktree_on_different_branch.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_error_main_worktree_on_different_branch.snap
@@ -31,7 +31,7 @@ exit_code: 1
----- stdout -----
----- stderr -----
-❌ Cannot create worktree for main: existing worktree at [REPO] on feature
+❌ Cannot create worktree for main: existing worktree at _REPO_ on feature
πŸ’‘ To switch the worktree to this branch:
-  cd [REPO] && git switch main
+  cd _REPO_ && git switch main
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_error_path_occupied.snap b/tests/snapshots/integration__integration_tests__switch__switch_error_path_occupied.snap
index 4f0135481..671bef5b1 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_error_path_occupied.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_error_path_occupied.snap
@@ -31,6 +31,6 @@ exit_code: 1
----- stdout -----
----- stderr -----
-❌ Directory already exists: [REPO].occupied-branch
+❌ Directory already exists: _REPO_.occupied-branch
-πŸ’‘ To remove manually, run rm -rf [REPO].occupied-branch; to retry with backup, run wt switch occupied-branch --clobber
+πŸ’‘ To remove manually, run rm -rf _REPO_.occupied-branch; to retry with backup, run wt switch occupied-branch --clobber
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_error_path_occupied_detached.snap b/tests/snapshots/integration__integration_tests__switch__switch_error_path_occupied_detached.snap
index 0916a28d5..0b197d2d9 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_error_path_occupied_detached.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_error_path_occupied_detached.snap
@@ -31,7 +31,7 @@ exit_code: 1
----- stdout -----
----- stderr -----
-❌ Cannot create worktree for feature: existing worktree at [REPO].feature, detached
+❌ Cannot create worktree for feature: existing worktree at _REPO_.feature, detached
πŸ’‘ To switch the worktree to this branch:
-  cd [REPO].feature && git switch feature
+  cd _REPO_.feature && git switch feature
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_error_path_occupied_different_branch.snap b/tests/snapshots/integration__integration_tests__switch__switch_error_path_occupied_different_branch.snap
index 75132c545..90b921fa7 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_error_path_occupied_different_branch.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_error_path_occupied_different_branch.snap
@@ -31,7 +31,7 @@ exit_code: 1
----- stdout -----
----- stderr -----
-❌ Cannot create worktree for feature: existing worktree at [REPO].feature on bugfix
+❌ Cannot create worktree for feature: existing worktree at _REPO_.feature on bugfix
πŸ’‘ To switch the worktree to this branch:
-  cd [REPO].feature && git switch feature
+  cd _REPO_.feature && git switch feature
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 b56d5f4ca..55f2eff63 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
@@ -32,6 +32,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for file-test from main @ [REPO].file-test
+βœ… Created new worktree for file-test from main @ _REPO_.file-test
πŸ”„ Executing (--execute):
  echo 'test content' > test.txt
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap
index 1c0420ebd..a813e31c8 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap
@@ -31,6 +31,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βšͺ Switched to worktree for existing-exec @ [REPO].existing-exec
+βšͺ Switched to worktree for existing-exec @ _REPO_.existing-exec
πŸ”„ Executing (--execute):
  echo 'existing worktree' > existing.txt
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 62803abb9..79a06c8e4 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap
@@ -32,6 +32,6 @@ exit_code: 1
----- stdout -----
----- stderr -----
-βœ… Created new worktree for fail-test from main @ [REPO].fail-test
+βœ… Created new worktree for fail-test from main @ _REPO_.fail-test
πŸ”„ Executing (--execute):
  exit 1
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 a0395e94e..564a395c6 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap
@@ -35,7 +35,7 @@ line2
line3
----- stderr -----
-βœ… Created new worktree for multiline-test from main @ [REPO].multiline-test
+βœ… Created new worktree for multiline-test from main @ _REPO_.multiline-test
πŸ”„ Executing (--execute):
  echo 'line1'
  echo 'line2'
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 f9147c5c9..52f296e72 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap
@@ -33,6 +33,6 @@ exit_code: 0
test output
----- stderr -----
-βœ… Created new worktree for exec-test from main @ [REPO].exec-test
+βœ… Created new worktree for exec-test from main @ _REPO_.exec-test
πŸ”„ Executing (--execute):
  echo 'test output'
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_existing_branch.snap b/tests/snapshots/integration__integration_tests__switch__switch_existing_branch.snap
index d6f2177c7..377b6f78c 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_existing_branch.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_existing_branch.snap
@@ -29,5 +29,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-🟑 Worktree for feature-z @ [REPO].feature-z, but cannot change directory β€” shell integration not installed
+🟑 Worktree for feature-z @ _REPO_.feature-z, but cannot change directory β€” shell integration not installed
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_existing_internal.snap b/tests/snapshots/integration__integration_tests__switch__switch_existing_internal.snap
index 316a27037..31eeffe05 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_existing_internal.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_existing_internal.snap
@@ -20,6 +20,7 @@ info:
LANG: C
LC_ALL: C
PATH: "[PATH]"
+ RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
@@ -28,7 +29,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-cd '[REPO].existing-wt'
+cd _REPO_.existing-wt
----- stderr -----
-βšͺ Switched to worktree for existing-wt @ [REPO].existing-wt
+βšͺ Switched to worktree for existing-wt @ _REPO_.existing-wt
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_existing_with_shell_configured.snap b/tests/snapshots/integration__integration_tests__switch__switch_existing_with_shell_configured.snap
index 0abf4e8c5..3f28ce05b 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_existing_with_shell_configured.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_existing_with_shell_configured.snap
@@ -29,4 +29,4 @@ exit_code: 0
----- stdout -----
----- stderr -----
-🟑 Worktree for shell-configured @ [REPO].shell-configured, but cannot change directory β€” shell integration not active
+🟑 Worktree for shell-configured @ _REPO_.shell-configured, but cannot change directory β€” shell integration not active
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 faef2093c..5d78ebaee 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
@@ -23,6 +23,7 @@ info:
LANG: C
LC_ALL: C
PATH: "[PATH]"
+ RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
@@ -31,10 +32,10 @@ info:
success: true
exit_code: 0
----- stdout -----
-cd '[REPO].exit-code-test'
+cd _REPO_.exit-code-test
exit 42
----- stderr -----
-βœ… Created new worktree for exit-code-test from main @ [REPO].exit-code-test
+βœ… Created new worktree for exit-code-test 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 58d038d65..387ade1b9 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
@@ -23,6 +23,7 @@ info:
LANG: C
LC_ALL: C
PATH: "[PATH]"
+ RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
@@ -31,12 +32,12 @@ info:
success: true
exit_code: 0
----- stdout -----
-cd '[REPO].output-exit-test'
+cd _REPO_.output-exit-test
echo 'doing work'
exit 7
----- stderr -----
-βœ… Created new worktree for output-exit-test from main @ [REPO].output-exit-test
+βœ… Created new worktree for output-exit-test 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 4b1dae8d5..62370c6e2 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_internal_mode.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_internal_mode.snap
@@ -21,6 +21,7 @@ info:
LANG: C
LC_ALL: C
PATH: "[PATH]"
+ RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
@@ -29,7 +30,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-cd '[REPO].internal-test'
+cd _REPO_.internal-test
----- stderr -----
-βœ… Created new worktree for internal-test from main @ [REPO].internal-test
+βœ… Created new worktree for internal-test 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 e1e18dbdd..5362ecffd 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
@@ -23,6 +23,7 @@ info:
LANG: C
LC_ALL: C
PATH: "[PATH]"
+ RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
@@ -31,12 +32,12 @@ info:
success: true
exit_code: 0
----- stdout -----
-cd '[REPO].exec-internal'
+cd _REPO_.exec-internal
echo 'line1'
echo 'line2'
----- stderr -----
-βœ… Created new worktree for exec-internal from main @ [REPO].exec-internal
+βœ… Created new worktree for exec-internal from main @ _REPO_.exec-internal
πŸ”„ Executing (--execute):
  echo 'line1'
  echo 'line2'
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_main_branch.snap b/tests/snapshots/integration__integration_tests__switch__switch_main_branch.snap
index ebd06f504..65cffe062 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_main_branch.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_main_branch.snap
@@ -28,4 +28,4 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βšͺ Already on worktree for main @ [REPO]
+βšͺ Already on worktree for main @ _REPO_
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 fa7cd23f8..7b860e918 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
@@ -29,5 +29,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Switched to worktree for feature-a @ [REPO].feature-a
+βœ… Switched to worktree for feature-a @ _REPO_.feature-a
πŸ’‘ Run wt config shell install to enable automatic cd
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 62836ed53..3a1c6c3f9 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
@@ -34,6 +34,6 @@ exit_code: 0
execute command runs
----- stderr -----
-βœ… Created new worktree for no-hooks-test from main @ [REPO].no-hooks-test
+βœ… Created new worktree for no-hooks-test from main @ _REPO_.no-hooks-test
πŸ”„ Executing (--execute):
  echo 'execute command runs'
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_existing.snap b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_existing.snap
index 319faea2c..6361fd5ac 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_existing.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_existing.snap
@@ -33,6 +33,6 @@ exit_code: 0
execute still runs
----- stderr -----
-βšͺ Switched to worktree for existing-no-hooks @ [REPO].existing-no-hooks
+βšͺ Switched to worktree for existing-no-hooks @ _REPO_.existing-no-hooks
πŸ”„ Executing (--execute):
  echo 'execute still runs'
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 84af1aab7..57ed85a83 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
@@ -31,5 +31,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for no-post-start from main @ [REPO].no-post-start
+βœ… Created new worktree for no-post-start from main @ _REPO_.no-post-start
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_with_force.snap b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_with_force.snap
index f521d5bb5..742448af9 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_with_force.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_with_force.snap
@@ -32,5 +32,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for force-no-hooks from main @ [REPO].force-no-hooks
+βœ… Created new worktree for force-no-hooks from main @ _REPO_.force-no-hooks
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_no_warning_when_branch_matches.snap b/tests/snapshots/integration__integration_tests__switch__switch_no_warning_when_branch_matches.snap
index 3bb94a70a..681e2bf44 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_no_warning_when_branch_matches.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_no_warning_when_branch_matches.snap
@@ -20,6 +20,7 @@ info:
LANG: C
LC_ALL: C
PATH: "[PATH]"
+ RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
USERPROFILE: "[TEST_HOME]"
WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"
@@ -28,7 +29,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-cd '[REPO].feature'
+cd _REPO_.feature
----- stderr -----
-βšͺ Switched to worktree for feature @ [REPO].feature
+βšͺ Switched to worktree for feature @ _REPO_.feature
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_path_mismatch_shows_hint.snap b/tests/snapshots/integration__integration_tests__switch__switch_path_mismatch_shows_hint.snap
index bef721cd8..207433543 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_path_mismatch_shows_hint.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_path_mismatch_shows_hint.snap
@@ -32,4 +32,4 @@ cd '[PROJECT_ID]'
----- stderr -----
βšͺ Switched to worktree for feature @ [PROJECT_ID]
-🟑 Worktree path doesn't match branch name; expected [REPO].feature βš‘
+🟑 Worktree path doesn't match branch name; expected _REPO_.feature βš‘
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 0ffeb9f3f..cf4e2a3e6 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
@@ -30,5 +30,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature-from-main from main @ [REPO].feature-from-main
+βœ… Created new worktree for feature-from-main from main @ _REPO_.feature-from-main
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_stale_history_first_dash.snap b/tests/snapshots/integration__integration_tests__switch__switch_stale_history_first_dash.snap
index 8f02818cb..8c25b9807 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_stale_history_first_dash.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_stale_history_first_dash.snap
@@ -29,5 +29,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-🟑 Worktree for branch-a @ [REPO].branch-a, but cannot change directory β€” shell integration not installed
+🟑 Worktree for branch-a @ _REPO_.branch-a, but cannot change directory β€” shell integration not installed
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_stale_history_second_dash.snap b/tests/snapshots/integration__integration_tests__switch__switch_stale_history_second_dash.snap
index ebaead873..75e468235 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_stale_history_second_dash.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_stale_history_second_dash.snap
@@ -28,4 +28,4 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βšͺ Already on worktree for main @ [REPO]
+βšͺ Already on worktree for main @ _REPO_
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 c056ddf5c..2e7a7aaf5 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
@@ -29,5 +29,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Switched to worktree for branch-a @ [REPO].branch-a
+βœ… Switched to worktree for branch-a @ _REPO_.branch-a
πŸ’‘ Run wt config shell install to enable automatic cd
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 f36cae102..61a4dcdb5 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
@@ -29,5 +29,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Switched to worktree for branch-b @ [REPO].branch-b
+βœ… Switched to worktree for branch-b @ _REPO_.branch-b
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_to_existing_primary_on_different_branch.snap b/tests/snapshots/integration__integration_tests__switch__switch_to_existing_primary_on_different_branch.snap
index 435899b13..1e8a22d11 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_to_existing_primary_on_different_branch.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_to_existing_primary_on_different_branch.snap
@@ -29,5 +29,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-🟑 Worktree for existing-branch @ [REPO].existing-branch, but cannot change directory β€” shell integration not installed
+🟑 Worktree for existing-branch @ _REPO_.existing-branch, but cannot change directory β€” shell integration not installed
πŸ’‘ Run wt config shell install to enable automatic cd
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 c75a00657..942e45a19 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_with_base.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_with_base.snap
@@ -32,5 +32,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature-with-base from main @ [REPO].feature-with-base
+βœ… Created new worktree for feature-with-base from main @ _REPO_.feature-with-base
πŸ’‘ Run wt config shell install to enable automatic cd
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 dfb7f0e37..0c91b299c 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
@@ -31,5 +31,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
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 997d4a12f..2b4fd5db6 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
@@ -30,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running user post-start bg:
  echo 'USER_POST_START' > user_bg.txt
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 19826cdb3..b9de72a25 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
@@ -32,5 +32,5 @@ exit_code: 0
----- stderr -----
πŸ”„ Running user post-create vars:
  echo 'repo=repo branch=feature' > template_vars.txt
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
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 a3eb97d7b..8537a661f 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
@@ -34,5 +34,5 @@ exit_code: 0
  echo 'USER_HOOK' >> hook_order.txt
πŸ”„ Running project post-create:
  echo 'PROJECT_HOOK' >> hook_order.txt
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
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 4843366e8..9b2200a2e 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
@@ -32,5 +32,5 @@ exit_code: 0
----- stderr -----
πŸ”„ Running user post-create setup:
  echo 'NO_APPROVAL_NEEDED' > no_approval.txt
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
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 cf4ea9800..daa33b2bf 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
@@ -32,5 +32,5 @@ exit_code: 0
----- stderr -----
πŸ”„ Running user post-create log:
  echo 'USER_POST_CREATE_RAN' > user_hook_marker.txt
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
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 d5ee7ab0c..029613bcc 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
@@ -33,5 +33,5 @@ exit_code: 0
πŸ”„ Running user post-create failing:
  exit 1
🟑 Command failing failed: exit status: 1
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
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 6b3f1f47c..fa3897aee 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
@@ -30,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running user post-start bg:
  echo 'USER_POST_START_RAN' > user_bg_marker.txt
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 dfb7f0e37..0c91b299c 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
@@ -31,5 +31,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ _REPO_.feature
πŸ’‘ Run wt config shell install to enable automatic cd