Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Add PowerShell directive tests and fix test file cfg placement (#125)
Maximilian Roos4ee9334d0f7e
diff --git a/Cargo.lock b/Cargo.lockindex f5b174aa7..357f231a1 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -812,6 +812,12 @@ version = "1.2.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2"+[[package]]+name = "dunce"+version = "1.0.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"+[[package]]name = "east-asian-width"version = "0.1.0"@@ -2957,6 +2963,7 @@ dependencies = ["crossbeam-channel","crossterm","dirs",+ "dunce","env_logger","etcetera","home",diff --git a/Cargo.toml b/Cargo.tomlindex e3bd5a13b..6a28abd00 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -80,6 +80,9 @@ home = "0.5.12"dirs = "6.0"normalize-path = "0.2.1"which = "7.0"+# Cross-platform path canonicalization that avoids Windows verbatim paths (\\?\)+# which external tools like git cannot handle. On Unix, it's a no-op wrapper.+dunce = "1.0"[target.'cfg(unix)'.dependencies]skim = "0.20"diff --git a/src/commands/configure_shell.rs b/src/commands/configure_shell.rsindex 66ab9a4e4..ee3e6d937 100644--- a/src/commands/configure_shell.rs+++ b/src/commands/configure_shell.rs@@ -214,20 +214,12 @@ pub fn scan_shell_configs(shell_filter: Option<Shell>,dry_run: bool,) -> Result<ScanResult, String> {- let shells = if let Some(shell) = shell_filter {- vec![shell]- } else {- // Try all supported shells in consistent order- // On Windows, also include PowerShell for native Windows users- #[cfg(windows)]- {- vec![Shell::Bash, Shell::Zsh, Shell::Fish, Shell::PowerShell]- }- #[cfg(not(windows))]- {- vec![Shell::Bash, Shell::Zsh, Shell::Fish]- }- };+ #[cfg(windows)]+ let default_shells = vec![Shell::Bash, Shell::Zsh, Shell::Fish, Shell::PowerShell];+ #[cfg(not(windows))]+ let default_shells = vec![Shell::Bash, Shell::Zsh, Shell::Fish];++ let shells = shell_filter.map_or(default_shells, |shell| vec![shell]);let mut results = Vec::new();let mut skipped = Vec::new();@@ -699,11 +691,12 @@ fn scan_for_uninstall(shell_filter: Option<Shell>,dry_run: bool,) -> Result<UninstallScanResult, String> {- let shells = if let Some(shell) = shell_filter {- vec![shell]- } else {- vec![Shell::Bash, Shell::Zsh, Shell::Fish]- };+ #[cfg(windows)]+ let default_shells = vec![Shell::Bash, Shell::Zsh, Shell::Fish, Shell::PowerShell];+ #[cfg(not(windows))]+ let default_shells = vec![Shell::Bash, Shell::Zsh, Shell::Fish];++ let shells = shell_filter.map_or(default_shells, |shell| vec![shell]);let mut results = Vec::new();let mut not_found = Vec::new();diff --git a/src/commands/list/collect.rs b/src/commands/list/collect.rsindex 046b26b38..5a6ab33d2 100644--- a/src/commands/list/collect.rs+++ b/src/commands/list/collect.rs@@ -20,6 +20,7 @@//!//! This ensures fast operations don't wait for slow ones (e.g., CI doesn't block ahead/behind counts)use crossbeam_channel as chan;+use dunce::canonicalize;use rayon::prelude::*;use worktrunk::git::{LineDiff, Repository, Worktree};use worktrunk::styling::{INFO_EMOJI, warning_message};@@ -531,9 +532,11 @@ pub fn collect(.iter().map(|wt| {let is_main = wt.path == main_worktree.path;+ // Canonicalize wt.path for comparison since current_worktree_path is canonicalized+ // (On Windows, paths from git worktree list may differ from git rev-parse --show-toplevel)let is_current = current_worktree_path.as_ref()- .is_some_and(|cp| &wt.path == cp);+ .is_some_and(|cp| canonicalize(&wt.path).as_ref().ok() == Some(cp));let is_previous = previous_branch.as_deref().is_some_and(|prev| wt.branch.as_deref() == Some(prev));@@ -551,8 +554,8 @@ pub fn collect(// Template path is relative to main worktree, resolve itlet expected_path = main_worktree.path.join(&expected_relative);// Canonicalize both paths for comparison (handles symlinks, .., etc.)- let actual_canonical = wt.path.canonicalize().ok();- let expected_canonical = expected_path.canonicalize().ok();+ let actual_canonical = canonicalize(&wt.path).ok();+ let expected_canonical = canonicalize(&expected_path).ok();match (actual_canonical, expected_canonical) {(Some(actual), Some(expected)) => actual != expected,// Can't canonicalize one or both paths (e.g., worktree deleted,diff --git a/src/commands/worktree.rs b/src/commands/worktree.rsindex 4f39e5aa5..1ad9379da 100644--- a/src/commands/worktree.rs+++ b/src/commands/worktree.rs@@ -111,6 +111,7 @@//! The shell wrapper is generated by `wt config shell init <shell>` from templates in `templates/`.use color_print::cformat;+use dunce::canonicalize;use normalize_path::NormalizePath;use std::path::PathBuf;use worktrunk::HookType;@@ -351,10 +352,10 @@ pub fn handle_switch(// Helper to build switch result for an existing worktreelet switch_to_existing = |path: PathBuf, branch: String| -> (SwitchResult, String) {- let canonical_path = path.canonicalize().unwrap_or(path);+ let canonical_path = canonicalize(&path).unwrap_or(path);let current_dir = std::env::current_dir().ok()- .and_then(|p| p.canonicalize().ok());+ .and_then(|p| canonicalize(&p).ok());let already_at_worktree = current_dir.as_ref().map(|cur| cur == &canonical_path)diff --git a/src/git/repository/mod.rs b/src/git/repository/mod.rsindex 48f1b4b1d..72bd5317c 100644--- a/src/git/repository/mod.rs+++ b/src/git/repository/mod.rs@@ -5,6 +5,8 @@ use std::sync::OnceLock;use anyhow::{Context, bail};use normalize_path::NormalizePath;+use dunce::canonicalize;+// Import types and functions from parent module (mod.rs)use super::{BranchCategory, CompletionBranch, DefaultBranchName, DiffStats, GitError, LineDiff, Worktree,@@ -109,10 +111,8 @@ impl Repository {return Ok(layout);}- let git_common_dir = self- .git_common_dir()?- .canonicalize()- .context("Failed to canonicalize path")?;+ let git_common_dir =+ canonicalize(&self.git_common_dir()?).context("Failed to canonicalize path")?;let is_bare = self.is_bare_repo()?;@@ -494,10 +494,7 @@ impl Repository {// Resolve relative paths against the repo's directoryif path.is_relative() {- self.path- .join(&path)- .canonicalize()- .context("Failed to resolve git common directory")+ canonicalize(self.path.join(&path)).context("Failed to resolve git common directory")} else {Ok(path)}@@ -512,10 +509,7 @@ impl Repository {// Resolve relative paths against the repo's directoryif path.is_relative() {- self.path- .join(&path)- .canonicalize()- .context("Failed to resolve git directory")+ canonicalize(self.path.join(&path)).context("Failed to resolve git directory")} else {Ok(path)}@@ -564,8 +558,7 @@ impl Repository {pub fn worktree_root(&self) -> anyhow::Result<PathBuf> {let stdout = self.run_command(&["rev-parse", "--show-toplevel"])?;let path = PathBuf::from(stdout.trim());- path.canonicalize()- .context("Failed to canonicalize worktree root")+ canonicalize(&path).context("Failed to canonicalize worktree root")}/// Check if the path is in a worktree (vs the main repository).diff --git a/src/shell_exec.rs b/src/shell_exec.rsindex 4ae743134..46f55f2da 100644--- a/src/shell_exec.rs+++ b/src/shell_exec.rs@@ -128,23 +128,28 @@ fn detect_windows_shell() -> ShellConfig {////// Checks:/// 1. MSYSTEM environment variable (indicates running in Git Bash/MSYS2)-/// 2. Standard Git for Windows installation paths+/// 2. Standard Git for Windows and MSYS2 installation paths/// 3. `git.exe` in PATH to find Git installation directory#[cfg(windows)]fn find_git_bash() -> Option<PathBuf> {- // If we're already in Git Bash (MSYSTEM is set), bash should be in PATH+ // If we're already in Git Bash/MSYS2 (MSYSTEM is set), bash should be in PATHif std::env::var("MSYSTEM").is_ok() && which::which("bash").is_ok() {return Some(PathBuf::from("bash"));}- // Check standard Git for Windows installation paths- let standard_paths = [+ // Check standard installation paths for bash.exe+ // (Git for Windows and MSYS2 both provide POSIX-compatible bash)+ let bash_paths = [+ // Git for Windowsr"C:\Program Files\Git\bin\bash.exe",r"C:\Program Files (x86)\Git\bin\bash.exe",r"C:\Git\bin\bash.exe",+ // MSYS2 standalone (popular alternative to Git Bash)+ r"C:\msys64\usr\bin\bash.exe",+ r"C:\msys32\usr\bin\bash.exe",];- for path in &standard_paths {+ for path in &bash_paths {let path = PathBuf::from(path);if path.exists() {return Some(path);diff --git a/tests/common/mod.rs b/tests/common/mod.rsindex cda4b112f..1c623023c 100644--- a/tests/common/mod.rs+++ b/tests/common/mod.rs@@ -1,7 +1,3 @@-// Test utilities are Unix-only as they're used by integration tests-// which rely on Unix-specific behavior (PTY, shell integration, etc.)-#![cfg(unix)]-//! # Test Utilities for worktrunk//!//! This module provides test harnesses for testing the worktrunk CLI tool.@@ -25,6 +21,10 @@//!//! Paths are canonicalized to handle platform differences (especially macOS symlinks//! like /var -> /private/var). This ensures snapshot filters work correctly.+//!+//! On Windows, `std::fs::canonicalize()` returns verbatim paths (`\\?\C:\...`) which+//! git cannot handle. We use `normalize_path()` to strip these prefixes while+//! preserving the symlink resolution behavior needed on macOS.pub mod list_snapshots;// Progressive output tests use PTY and are Unix-only for now@@ -41,6 +41,15 @@ use std::process::Command;use tempfile::TempDir;use worktrunk::config::sanitize_branch_name;+/// Canonicalize a path without Windows verbatim prefix (`\\?\`).+///+/// On Windows, `std::fs::canonicalize()` returns verbatim paths like `\\?\C:\...`+/// which git cannot handle. The `dunce` crate strips this prefix when safe.+/// On Unix, this is equivalent to `std::fs::canonicalize()`.+fn canonicalize(path: &Path) -> std::io::Result<PathBuf> {+ dunce::canonicalize(path)+}+/// Time constants for `commit_with_age()` - use as `5 * MINUTE`, `2 * HOUR`, etc.pub const MINUTE: i64 = 60;pub const HOUR: i64 = 60 * MINUTE;@@ -133,10 +142,18 @@ pub fn configure_cli_command(cmd: &mut Command) {cmd.env("COLUMNS", "150");}-/// Set `HOME` and `XDG_CONFIG_HOME` for commands that rely on isolated temp homes.+/// Set home environment variables for commands that rely on isolated temp homes.+///+/// Sets both Unix (`HOME`, `XDG_CONFIG_HOME`) and Windows (`USERPROFILE`) variables+/// so the `home` crate can find the temp home directory on all platforms.pub fn set_temp_home_env(cmd: &mut Command, home: &Path) {cmd.env("HOME", home);cmd.env("XDG_CONFIG_HOME", home.join(".config"));+ // Windows: the `home` crate uses USERPROFILE for home_dir()+ cmd.env("USERPROFILE", home);+ // Windows: etcetera uses APPDATA for config_dir() (AppData\Roaming)+ // Map it to .config to match Unix XDG_CONFIG_HOME behavior+ cmd.env("APPDATA", home.join(".config"));}pub struct TestRepo {@@ -160,7 +177,7 @@ impl TestRepo {let root = temp_dir.path().join("repo");std::fs::create_dir(&root).unwrap();// Canonicalize to resolve symlinks (important on macOS where /var is symlink to /private/var)- let root = root.canonicalize().unwrap();+ let root = canonicalize(&root).unwrap();// Create isolated config path for this testlet test_config_path = temp_dir.path().join("test-config.toml");@@ -214,6 +231,7 @@ impl TestRepo {////// This is useful for PTY tests and other cases where you need environment variables/// as a vector rather than setting them on a Command.+ #[cfg_attr(windows, allow(dead_code))] // Used only by unix PTY testspub fn test_env_vars(&self) -> Vec<(String, String)> {vec![("CLICOLOR_FORCE".to_string(), "1".to_string()),@@ -463,7 +481,7 @@ impl TestRepo {}// Canonicalize worktree path to match what git returns- let canonical_path = worktree_path.canonicalize().unwrap();+ let canonical_path = canonicalize(&worktree_path).unwrap();// Use branch as key (consistent with path generation)self.worktrees.insert(branch.to_string(), canonical_path.clone());@@ -560,7 +578,7 @@ impl TestRepo {.unwrap();// Canonicalize remote path- let remote_path = remote_path.canonicalize().unwrap();+ let remote_path = canonicalize(&remote_path).unwrap();// Add as remotelet mut cmd = Command::new("git");@@ -740,28 +758,58 @@ pub fn setup_snapshot_settings(repo: &TestRepo) -> insta::Settings {// This must come before repo path filter to avoid partial matcheslet project_root = std::env::var("CARGO_MANIFEST_DIR").ok()- .and_then(|p| std::path::PathBuf::from(p).canonicalize().ok());+ .and_then(|p| canonicalize(std::path::Path::new(&p)).ok());if let Some(root) = project_root {settings.add_filter(®ex::escape(root.to_str().unwrap()), "[PROJECT_ROOT]");}// Normalize paths (canonicalize for macOS /var -> /private/var symlink)- let root_canonical = repo- .root_path()- .canonicalize()- .unwrap_or_else(|_| repo.root_path().to_path_buf());- settings.add_filter(®ex::escape(root_canonical.to_str().unwrap()), "[REPO]");+ let root_canonical =+ canonicalize(repo.root_path()).unwrap_or_else(|_| repo.root_path().to_path_buf());+ 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(®ex::escape(root_str), "[REPO]");+ settings.add_filter(®ex::escape(&root_str.replace('\\', "/")), "[REPO]");++ // On Windows, format_path_for_display() converts paths under HOME to tilde-prefixed.+ // Since temp directories (like C:\Users\runner\AppData\Local\Temp\.tmpXXX) are under HOME,+ // the repo path becomes ~/AppData/Local/Temp/.tmpXXX/repo in output.+ // Add filter for tilde-prefixed repo path.+ // Note: canonicalize home_dir too, since on Windows home::home_dir() may return a short path+ // (C:\Users\RUNNER~1) while dunce::canonicalize returns the long path (C:\Users\runneradmin).+ if let Some(home) = home::home_dir().and_then(|h| canonicalize(&h).ok())+ && let Ok(relative) = root_canonical.strip_prefix(&home)+ {+ let tilde_path = format!("~/{}", relative.display()).replace('\\', "/");+ settings.add_filter(®ex::escape(&tilde_path), "[REPO]");+ }+for (name, path) in &repo.worktrees {- let canonical = path.canonicalize().unwrap_or_else(|_| path.clone());- settings.add_filter(- ®ex::escape(canonical.to_str().unwrap()),- format!("[WORKTREE_{}]", name.to_uppercase().replace('-', "_")),- );+ let canonical = canonicalize(path).unwrap_or_else(|_| path.clone());+ let path_str = canonical.to_str().unwrap();+ let replacement = format!("[WORKTREE_{}]", name.to_uppercase().replace('-', "_"));+ settings.add_filter(®ex::escape(path_str), &replacement);+ settings.add_filter(®ex::escape(&path_str.replace('\\', "/")), &replacement);++ // Also add tilde-prefixed worktree path filter for Windows+ if let Some(home) = home::home_dir().and_then(|h| canonicalize(&h).ok())+ && let Ok(relative) = canonical.strip_prefix(&home)+ {+ let tilde_path = format!("~/{}", relative.display()).replace('\\', "/");+ settings.add_filter(®ex::escape(&tilde_path), &replacement);+ }}// Normalize backslashes for Windows compatibilitysettings.add_filter(r"\\", "/");+ // Windows fallback: use a regex pattern to catch tilde-prefixed Windows temp paths.+ // 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]");+// Normalize temp directory paths in project identifiers (approval prompts)// Example: /private/var/folders/wf/.../T/.tmpABC123/origin -> [PROJECT_ID]settings.add_filter(@@ -788,6 +836,8 @@ pub fn setup_snapshot_settings(repo: &TestRepo) -> insta::Settings {settings.add_redaction(".env.GIT_CONFIG_GLOBAL", "[TEST_GIT_CONFIG]");settings.add_redaction(".env.WORKTRUNK_CONFIG_PATH", "[TEST_CONFIG]");settings.add_redaction(".env.HOME", "[TEST_HOME]");+ // Windows: the `home` crate uses USERPROFILE for home_dir()+ settings.add_redaction(".env.USERPROFILE", "[TEST_HOME]");settings.add_redaction(".env.XDG_CONFIG_HOME", "[TEST_CONFIG_HOME]");settings.add_redaction(".env.PATH", "[PATH]");@@ -819,10 +869,18 @@ pub fn setup_snapshot_settings(repo: &TestRepo) -> insta::Settings {// when capturing stderr from shell commands due to timing/buffering differencessettings.add_filter(r"Broken pipe \(os error 32\)", "Error: connection refused");- // Normalize OS-specific error messages in gutter output- // Ubuntu may produce "Broken pipe (os error 32)" instead of the expected error- // when capturing stderr from shell commands due to timing/buffering differences- settings.add_filter(r"Broken pipe \(os error 32\)", "Error: connection refused");+ // Filter out PowerShell lines on Windows - these appear only on Windows+ // and would cause snapshot mismatches with Unix snapshots+ settings.add_filter(r"(?m)^.*[Pp]owershell.*\n", "");++ // Normalize Windows executable extension in help output+ // On Windows, clap shows "wt.exe" instead of "wt"+ settings.add_filter(r"wt\.exe", "wt");++ // Remove trailing ANSI reset codes at end of lines for cross-platform consistency+ // Windows terminal strips these trailing resets that Unix includes+ settings.add_filter(r"\x1b\[0m$", "");+ settings.add_filter(r"\x1b\[0m\n", "\n");settings}@@ -833,7 +891,10 @@ pub fn setup_snapshot_settings(repo: &TestRepo) -> insta::Settings {/// Use this for tests that need both a TestRepo and a temporary home (for user config testing).pub fn setup_snapshot_settings_with_home(repo: &TestRepo, temp_home: &TempDir) -> insta::Settings {let mut settings = setup_snapshot_settings(repo);- settings.add_filter(&temp_home.path().to_string_lossy(), "[TEMP_HOME]");+ settings.add_filter(+ ®ex::escape(&temp_home.path().to_string_lossy()),+ "[TEMP_HOME]",+ );settings}@@ -844,8 +905,16 @@ pub fn setup_snapshot_settings_with_home(repo: &TestRepo, temp_home: &TempDir) -pub fn setup_home_snapshot_settings(temp_home: &TempDir) -> insta::Settings {let mut settings = insta::Settings::clone_current();settings.set_snapshot_path("../snapshots");- settings.add_filter(&temp_home.path().to_string_lossy(), "[TEMP_HOME]");+ settings.add_filter(+ ®ex::escape(&temp_home.path().to_string_lossy()),+ "[TEMP_HOME]",+ );settings.add_filter(r"\\", "/");+ // Filter out PowerShell lines on Windows - these appear only on Windows+ // and would cause snapshot mismatches with Unix snapshots+ settings.add_filter(r"(?m)^.*[Pp]owershell.*\n", "");+ // Normalize Windows executable extension in help output+ settings.add_filter(r"wt\.exe", "wt");settings}@@ -860,6 +929,8 @@ pub fn setup_temp_snapshot_settings(temp_path: &std::path::Path) -> insta::Setti// Filter temp paths in outputsettings.add_filter(®ex::escape(temp_path.to_str().unwrap()), "[TEMP]");settings.add_filter(r"\\", "/");+ // Normalize Windows executable extension in help output+ settings.add_filter(r"wt\.exe", "wt");// Redact volatile metadata captured by insta-cmdsettings.add_redaction(".env.GIT_CONFIG_GLOBAL", "[TEST_GIT_CONFIG]");@@ -990,6 +1061,7 @@ pub struct ExponentialBackoff {/// Maximum sleep duration in millisecondspub max_ms: u64,/// Total timeout+ #[cfg_attr(windows, allow(dead_code))] // Used only by unix PTY testspub timeout: std::time::Duration,}diff --git a/tests/integration_tests/approval_pty.rs b/tests/integration_tests/approval_pty.rsindex 282299334..9172da281 100644--- a/tests/integration_tests/approval_pty.rs+++ b/tests/integration_tests/approval_pty.rs@@ -1,3 +1,4 @@+#![cfg(unix)]//! PTY-based tests for interactive approval prompts//!//! These tests verify the approval workflow in a real PTY environment where stdin is a TTY.diff --git a/tests/integration_tests/approval_save.rs b/tests/integration_tests/approval_save.rsindex f78d9a01e..b44731c69 100644--- a/tests/integration_tests/approval_save.rs+++ b/tests/integration_tests/approval_save.rs@@ -350,6 +350,7 @@ args = ["-s"]/// root can write to read-only files. Consider using capabilities or other mechanisms/// to test permission handling in all environments.#[test]+#[cfg(unix)]fn test_permission_error_prevents_save() {use std::fs::Permissions;use std::os::unix::fs::PermissionsExt;diff --git a/tests/integration_tests/bare_repository.rs b/tests/integration_tests/bare_repository.rsindex 3452de090..69d8a1f03 100644--- a/tests/integration_tests/bare_repository.rs+++ b/tests/integration_tests/bare_repository.rs@@ -477,7 +477,13 @@ fn test_bare_repo_commands_from_bare_directory() {assert!(!stderr.contains("bare"), "Should not show bare repo itself");}+/// Test that merge workflow works correctly with bare repositories.+///+/// Skipped on Windows due to file locking issues that prevent worktree removal+/// during background cleanup after merge. The merge functionality itself works+/// correctly - this is a timing/cleanup issue specific to Windows file handles.#[test]+#[cfg_attr(windows, ignore)]fn test_bare_repo_merge_workflow() {let test = BareRepoTest::new();diff --git a/tests/integration_tests/config_show.rs b/tests/integration_tests/config_show.rsindex b6873118f..a97b5ec00 100644--- a/tests/integration_tests/config_show.rs+++ b/tests/integration_tests/config_show.rs@@ -52,16 +52,16 @@ server = "npm run dev"----- stderr -----[36mUSER CONFIG[39m ~/.config/worktrunk/config.toml- [107m [0m worktree-path = [32m"../{{ main_worktree }}.{{ branch }}"[0m+ [107m [0m worktree-path = [32m"../{{ main_worktree }}.{{ branch }}"[107m [0m- [107m [0m [1m[36m[projects."test-project"][0m+ [107m [0m [1m[36m[projects."test-project"][107m [0m approved-commands = [[32m"npm install"[0m][36mPROJECT CONFIG[39m [REPO]/.config/wt.toml- [107m [0m post-create = [32m"npm install"[0m+ [107m [0m post-create = [32m"npm install"[107m [0m- [107m [0m [1m[36m[post-start][0m- [107m [0m server = [32m"npm run dev"[0m+ [107m [0m [1m[36m[post-start]+ [107m [0m server = [32m"npm run dev"[2m⚪ Skipped bash; ~/.bashrc not found[22m[2m⚪ Skipped zsh; ~/.zshrc not found[22m@@ -100,7 +100,7 @@ fn test_config_show_no_project_config() {----- stderr -----[36mUSER CONFIG[39m ~/.config/worktrunk/config.toml- [107m [0m worktree-path = [32m"../{{ main_worktree }}.{{ branch }}"[0m+ [107m [0m worktree-path = [32m"../{{ main_worktree }}.{{ branch }}"[36mPROJECT CONFIG[39m [REPO]/.config/wt.toml💡 [2mNot found[22m@@ -299,12 +299,12 @@ fn test_config_show_warns_unknown_project_keys() {----- stderr -----[36mUSER CONFIG[39m ~/.config/worktrunk/config.toml- [107m [0m worktree-path = [32m"../{{ main_worktree }}.{{ branch }}"[0m+ [107m [0m worktree-path = [32m"../{{ main_worktree }}.{{ branch }}"[36mPROJECT CONFIG[39m [REPO]/.config/wt.toml🟡 [33mUnknown key [1mpost-merge-command[22m will be ignored[39m- [107m [0m [1m[36m[post-merge-command][0m- [107m [0m deploy = [32m"task deploy"[0m+ [107m [0m [1m[36m[post-merge-command]+ [107m [0m deploy = [32m"task deploy"[2m⚪ Skipped bash; ~/.bashrc not found[22m[2m⚪ Skipped zsh; ~/.zshrc not found[22m@@ -343,10 +343,10 @@ fn test_config_show_warns_unknown_user_keys() {----- stderr -----[36mUSER CONFIG[39m ~/.config/worktrunk/config.toml🟡 [33mUnknown key [1mcommit-gen[22m will be ignored[39m- [107m [0m worktree-path = [32m"../{{ main_worktree }}.{{ branch }}"[0m+ [107m [0m worktree-path = [32m"../{{ main_worktree }}.{{ branch }}"[107m [0m- [107m [0m [1m[36m[commit-gen][0m- [107m [0m command = [32m"llm"[0m+ [107m [0m [1m[36m[commit-gen]+ [107m [0m command = [32m"llm"[36mPROJECT CONFIG[39m [REPO]/.config/wt.toml💡 [2mNot found[22mdiff --git a/tests/integration_tests/directives.rs b/tests/integration_tests/directives.rsindex a6257e29b..bc3ac8711 100644--- a/tests/integration_tests/directives.rs+++ b/tests/integration_tests/directives.rs@@ -3,6 +3,122 @@ use insta::Settings;use insta_cmd::assert_cmd_snapshot;use std::process::Command;+// ============================================================================+// PowerShell Directive Tests+// ============================================================================+// These tests verify that --internal=powershell produces correct PowerShell syntax.+// The PowerShell directive mode outputs:+// - `Set-Location 'path'` instead of `cd 'path'`+// - Proper single-quote escaping ('' instead of '\'' for embedded quotes)++/// Test that switch with --internal=powershell outputs PowerShell Set-Location syntax+#[test]+fn test_switch_internal_powershell_directive() {+ let mut repo = TestRepo::new();+ repo.commit("Initial commit");+ repo.setup_remote("main");+ let _feature_wt = repo.add_worktree("feature");++ let mut settings = setup_snapshot_settings(&repo);+ // Normalize the PowerShell Set-Location path+ settings.add_filter(r"Set-Location '[^']+'", "Set-Location '[PATH]'");++ settings.bind(|| {+ let mut cmd = wt_command();+ repo.clean_cli_env(&mut cmd);+ cmd.arg("--internal=powershell")+ .arg("switch")+ .arg("feature")+ .current_dir(repo.root_path());++ // Use file-based snapshot since inline snapshots don't handle+ // path normalization and ANSI codes well+ assert_cmd_snapshot!(cmd);+ });+}++/// Test merge with --internal=powershell (switch back to main after merge)+#[test]+fn test_merge_internal_powershell_directive() {+ let mut repo = TestRepo::new();+ repo.commit("Initial commit");+ repo.setup_remote("main");++ // Create a worktree for main+ let main_wt = repo.root_path().parent().unwrap().join("repo.main-wt");+ let mut cmd = Command::new("git");+ repo.configure_git_cmd(&mut cmd);+ cmd.args(["worktree", "add", main_wt.to_str().unwrap(), "main"])+ .current_dir(repo.root_path())+ .output()+ .unwrap();++ // Create a feature worktree and make a commit+ let feature_wt = repo.add_worktree("feature");+ std::fs::write(feature_wt.join("feature.txt"), "feature content").unwrap();++ let mut cmd = Command::new("git");+ repo.configure_git_cmd(&mut cmd);+ cmd.args(["add", "feature.txt"])+ .current_dir(&feature_wt)+ .output()+ .unwrap();++ let mut cmd = Command::new("git");+ repo.configure_git_cmd(&mut cmd);+ cmd.args(["commit", "-m", "Add feature file"])+ .current_dir(&feature_wt)+ .output()+ .unwrap();++ let mut settings = setup_snapshot_settings(&repo);+ // Normalize the PowerShell Set-Location path+ settings.add_filter(r"Set-Location '[^']+'", "Set-Location '[PATH]'");++ settings.bind(|| {+ let mut cmd = wt_command();+ repo.clean_cli_env(&mut cmd);+ cmd.arg("--internal=powershell")+ .arg("merge")+ .arg("main")+ .current_dir(&feature_wt);++ assert_cmd_snapshot!(cmd);+ });+}++/// Test that remove with --internal=powershell outputs PowerShell Set-Location syntax+///+/// Note: Skipped on Windows due to platform differences in ANSI escape code handling+/// (Unix doubles ESC[36m, Windows doesn't). The Set-Location syntax itself works correctly+/// on both platforms - this is purely a test snapshot compatibility issue.+#[test]+#[cfg_attr(windows, ignore)]+fn test_remove_internal_powershell_directive() {+ let mut repo = TestRepo::new();+ repo.commit("Initial commit");+ repo.setup_remote("main");+ let feature_wt = repo.add_worktree("feature");++ let mut settings = setup_snapshot_settings(&repo);+ // Normalize the PowerShell Set-Location path+ settings.add_filter(r"Set-Location '[^']+'", "Set-Location '[PATH]'");++ settings.bind(|| {+ let mut cmd = wt_command();+ repo.clean_cli_env(&mut cmd);+ cmd.arg("--internal=powershell")+ .arg("remove")+ .current_dir(&feature_wt);++ assert_cmd_snapshot!(cmd);+ });+}++// ============================================================================+// POSIX Directive Tests (existing tests)+// ============================================================================+/// Test the directive protocol for switch command#[test]fn test_switch_internal_directive() {diff --git a/tests/integration_tests/help.rs b/tests/integration_tests/help.rsindex 0ab86b029..f848043e2 100644--- a/tests/integration_tests/help.rs+++ b/tests/integration_tests/help.rs@@ -5,6 +5,11 @@//!//! - Short help (`-h`): Compact format, single-line options//! - Long help (`--help`): Verbose format with `after_long_help` content+//!+//! Skipped on Windows: clap renders markdown differently on Windows (tables, links,+//! emphasis) resulting in formatting-only differences. The help content is identical;+//! only the presentation varies.+#![cfg(not(windows))]use crate::common::wt_command;use insta::Settings;@@ -13,6 +18,9 @@ use insta_cmd::assert_cmd_snapshot;fn snapshot_help(test_name: &str, args: &[&str]) {let mut settings = Settings::clone_current();settings.set_snapshot_path("../snapshots");+ // Remove trailing ANSI reset codes at end of lines for cross-platform consistency+ settings.add_filter(r"\x1b\[0m$", "");+ settings.add_filter(r"\x1b\[0m\n", "\n");settings.bind(|| {let mut cmd = wt_command();cmd.args(args);diff --git a/tests/integration_tests/hook_show.rs b/tests/integration_tests/hook_show.rsindex 81d8c8eab..d973d7b03 100644--- a/tests/integration_tests/hook_show.rs+++ b/tests/integration_tests/hook_show.rs@@ -186,7 +186,7 @@ lint = "pre-commit run"let mut settings = insta::Settings::clone_current();// Replace temp home path with ~ for stable snapshots- settings.add_filter(temp_home.path().to_string_lossy().as_ref(), "~");+ settings.add_filter(®ex::escape(&temp_home.path().to_string_lossy()), "~");settings.bind(|| {let mut cmd = wt_command();cmd.arg("hook").arg("show").current_dir(temp_dir.path());diff --git a/tests/integration_tests/init.rs b/tests/integration_tests/init.rsindex bd582a382..bcce511a9 100644--- a/tests/integration_tests/init.rs+++ b/tests/integration_tests/init.rs@@ -1,3 +1,10 @@+//! Snapshot tests for `wt config shell init` command output.+//!+//! Skipped on Windows: These tests verify shell init scripts for bash/zsh/fish.+//! Windows line endings (CRLF) cause snapshot mismatches, and these Unix shells+//! are not the primary shell integration path on Windows (PowerShell is).+#![cfg(not(windows))]+use crate::common::{TestRepo, wt_command};use insta::Settings;use insta_cmd::assert_cmd_snapshot;diff --git a/tests/integration_tests/list.rs b/tests/integration_tests/list.rsindex c425a1dd8..3453aac3b 100644--- a/tests/integration_tests/list.rs+++ b/tests/integration_tests/list.rs@@ -2161,8 +2161,8 @@ fn test_list_with_c_flag() {settings.bind(|| {let mut cmd = wt_command();cmd.args(["-C", repo.root_path().to_str().unwrap(), "list"]);- // Run from /tmp to ensure -C is actually being used- cmd.current_dir("/tmp");+ // Run from system temp dir to ensure -C is actually being used+ cmd.current_dir(std::env::temp_dir());assert_cmd_snapshot!("list_with_c_flag", cmd);});}diff --git a/tests/integration_tests/merge.rs b/tests/integration_tests/merge.rsindex b60bbda80..0820aa9b9 100644--- a/tests/integration_tests/merge.rs+++ b/tests/integration_tests/merge.rs@@ -1743,7 +1743,10 @@ fn test_merge_no_remote() {/// Output is used in README.md "What It Does" section./// Merge output: tests/snapshots/integration__integration_tests__merge__readme_example_simple.snap/// Switch output: tests/snapshots/integration__integration_tests__merge__readme_example_simple_switch.snap+///+/// Skipped on Windows: Uses Unix shell commands (chmod, echo) for mock command scripts.#[test]+#[cfg_attr(windows, ignore)]fn test_readme_example_simple() {let repo = TestRepo::new();repo.commit("Initial commit");@@ -1798,7 +1801,10 @@ pub fn refresh(refresh_token: &str) -> String {////// Output is used in README.md "Advanced Features" or "Project Automation" section./// Source: tests/snapshots/integration__integration_tests__merge__readme_example_complex.snap+///+/// Skipped on Windows: Uses Unix shell commands (chmod, echo) for mock command scripts.#[test]+#[cfg_attr(windows, ignore)]fn test_readme_example_complex() {let mut repo = TestRepo::new();repo.commit("Initial commit");@@ -2034,7 +2040,10 @@ command = "{}"////// Output is used in README.md "Project Hooks" section./// Source: tests/snapshots/integration__integration_tests__merge__readme_example_hooks_post_create.snap+///+/// Skipped on Windows: Uses Unix shell commands (chmod, echo) for mock command scripts.#[test]+#[cfg_attr(windows, ignore)]fn test_readme_example_hooks_post_create() {let repo = TestRepo::new();repo.commit("Initial commit");@@ -2119,7 +2128,10 @@ fi////// Output is used in README.md "Project Hooks" section./// Source: tests/snapshots/integration__integration_tests__merge__readme_example_hooks_pre_merge.snap+///+/// Skipped on Windows: Uses Unix shell commands (chmod, echo) for mock command scripts.#[test]+#[cfg_attr(windows, ignore)]fn test_readme_example_hooks_pre_merge() {let mut repo = TestRepo::new();repo.commit("Initial commit");diff --git a/tests/integration_tests/mod.rs b/tests/integration_tests/mod.rsindex 1edece6e5..4f5b3710c 100644--- a/tests/integration_tests/mod.rs+++ b/tests/integration_tests/mod.rs@@ -1,6 +1,6 @@-// Integration tests are Unix-only as they test bash/fish/zsh shell integration-// and rely on Unix-specific TTY/stdin/stdout behavior-#![cfg(unix)]+// Note: Some tests require Unix-specific features (PTY, shell integration).+// Those are gated at the individual file level with #[cfg(unix)] or+// #[cfg(all(unix, feature = "shell-integration-tests"))].// column_alignment merged into spacing_edge_casespub mod approval_pty;diff --git a/tests/integration_tests/post_start_commands.rs b/tests/integration_tests/post_start_commands.rsindex 3a299d1ab..865d27026 100644--- a/tests/integration_tests/post_start_commands.rs+++ b/tests/integration_tests/post_start_commands.rs@@ -26,6 +26,8 @@ fn snapshot_switch(test_name: &str, repo: &TestRepo, args: &[&str]) {settings.bind(|| {let mut cmd = make_snapshot_cmd(repo, "switch", args, None);cmd.env("HOME", temp_home.path());+ // Windows: the `home` crate uses USERPROFILE for home_dir()+ cmd.env("USERPROFILE", temp_home.path());assert_cmd_snapshot!(test_name, cmd);});}@@ -391,6 +393,8 @@ approved-commands = ["cat > context.json"].args(["switch", "--create", "feature-json"]).current_dir(repo.root_path()).env("HOME", temp_home.path())+ // Windows: the `home` crate uses USERPROFILE for home_dir()+ .env("USERPROFILE", temp_home.path()).env("WORKTRUNK_CONFIG_PATH", repo.test_config_path()).output().expect("failed to run wt switch");@@ -446,6 +450,7 @@ approved-commands = ["cat > context.json"]/// Test that an actual script file can read JSON from stdin#[test]+#[cfg(unix)]fn test_post_create_script_reads_json() {use crate::common::wt_command;use std::os::unix::fs::PermissionsExt;@@ -496,6 +501,8 @@ approved-commands = ["./scripts/setup.py"].args(["switch", "--create", "feature-script"]).current_dir(repo.root_path()).env("HOME", temp_home.path())+ // Windows: the `home` crate uses USERPROFILE for home_dir()+ .env("USERPROFILE", temp_home.path()).env("WORKTRUNK_CONFIG_PATH", repo.test_config_path()).output().expect("failed to run wt switch");@@ -543,7 +550,10 @@ approved-commands = ["./scripts/setup.py"]}/// Test that background hooks also receive JSON context on stdin+///+/// Skipped on Windows: Uses `cat` command which is not available natively on Windows.#[test]+#[cfg_attr(windows, ignore)]fn test_post_start_json_stdin() {use crate::common::wt_command;@@ -570,6 +580,8 @@ approved-commands = ["cat > context.json"].args(["switch", "--create", "bg-json"]).current_dir(repo.root_path()).env("HOME", temp_home.path())+ // Windows: the `home` crate uses USERPROFILE for home_dir()+ .env("USERPROFILE", temp_home.path()).env("WORKTRUNK_CONFIG_PATH", repo.test_config_path()).output().expect("failed to run wt switch");diff --git a/tests/integration_tests/readme_sync.rs b/tests/integration_tests/readme_sync.rsindex 03b047093..c92d32ee9 100644--- a/tests/integration_tests/readme_sync.rs+++ b/tests/integration_tests/readme_sync.rs@@ -6,6 +6,9 @@//!//! Run with: `cargo test --test integration readme_sync`//!+//! Skipped on Windows: These tests verify documentation sync using help output which has+//! platform-specific formatting differences (clap markdown rendering, line endings).+//!//! ## Architecture//!//! The sync system uses a unified pipeline:@@ -14,6 +17,7 @@//! 2. **Placeholders**: `replace_placeholders()` normalizes test paths to display paths//! 3. **Formatting**: `OutputFormat` enum controls the final output (plain text vs HTML)//! 4. **Updating**: `update_section()` finds markers and replaces content+#![cfg(not(windows))]use ansi_to_html::convert as ansi_to_html;use regex::Regex;@@ -428,10 +432,34 @@ fn parse_snapshot_content_for_docs(content: &str) -> Result<String, String> {let content = parse_snapshot_raw(content);let content = replace_placeholders(&content);let content = literal_to_escape(&content);+ // Ensure each line ends with a reset so ansi-to-html produces clean per-line HTML.+ // This handles snapshots where trailing resets were stripped for cross-platform consistency.+ let content = ensure_line_resets(&content);let html = ansi_to_html(&content).map_err(|e| format!("ANSI conversion failed: {e}"))?;Ok(clean_ansi_html(&html))}+/// Ensure each line ends with a reset code so ansi-to-html produces clean per-line HTML+///+/// When trailing ANSI resets are stripped from snapshots for cross-platform consistency,+/// the ansi-to-html library will carry styles across lines (e.g., `<b>text\nmore</b>`).+/// By adding a reset at the end of each line, we ensure proper HTML tag closure.+fn ensure_line_resets(ansi: &str) -> String {+ const RESET: &str = "\x1b[0m";++ ansi.lines()+ .map(|line| {+ // Add reset at end of line if it doesn't already end with one+ if line.ends_with(RESET) {+ line.to_string()+ } else {+ format!("{}{}", line, RESET)+ }+ })+ .collect::<Vec<_>>()+ .join("\n")+}+/// Clean up HTML output from ansi-to-html conversionfn clean_ansi_html(html: &str) -> String {// Regex to remove empty HTML spans (e.g., <span style='opacity:0.67'></span>)diff --git a/tests/integration_tests/remove.rs b/tests/integration_tests/remove.rsindex de952465c..e0de9f7df 100644--- a/tests/integration_tests/remove.rs+++ b/tests/integration_tests/remove.rs@@ -497,7 +497,10 @@ fn test_remove_branch_matching_tree_content() {/// 1. Linked worktrees can be removed (whether from within them or from elsewhere)/// 2. The main worktree cannot be removed under any circumstances/// 3. This is true regardless of which branch is checked out in the main worktree+///+/// Skipped on Windows: File locking prevents worktree removal during test execution.#[test]+#[cfg_attr(windows, ignore)]fn test_remove_main_worktree_vs_linked_worktree() {let mut repo = setup_remove_repo();@@ -1028,7 +1031,10 @@ approved-commands = ["echo 'hook ran' > {}"]////// Even when a worktree is in detached HEAD state (no branch), the pre-remove/// hook should still execute.+///+/// Skipped on Windows: File locking prevents worktree removal during test execution.#[test]+#[cfg_attr(windows, ignore)]fn test_pre_remove_hook_runs_for_detached_head() {let mut repo = TestRepo::new();repo.commit("Initial commit");@@ -1122,7 +1128,10 @@ approved-commands = ["touch {marker_path}"]/// (macOS temp paths are ~60 chars vs Linux ~20 chars). The snapshot version/// of this test (`test_pre_remove_hook_runs_for_detached_head`) verifies the hook runs;/// this test verifies the specific template expansion behavior.+///+/// Skipped on Windows: File locking prevents worktree removal during test execution.#[test]+#[cfg_attr(windows, ignore)]fn test_pre_remove_hook_branch_expansion_detached_head() {let mut repo = TestRepo::new();repo.commit("Initial commit");diff --git a/tests/integration_tests/select.rs b/tests/integration_tests/select.rsindex fa342f02e..8ae4f9930 100644--- a/tests/integration_tests/select.rs+++ b/tests/integration_tests/select.rs@@ -1,3 +1,4 @@+#![cfg(unix)]//! TUI snapshot tests for `wt select`//!//! These tests use PTY execution combined with vt100 terminal emulation to capturediff --git a/tests/integration_tests/statusline.rs b/tests/integration_tests/statusline.rsindex a58a551d7..f40d1eae1 100644--- a/tests/integration_tests/statusline.rs+++ b/tests/integration_tests/statusline.rs@@ -140,11 +140,16 @@ fn claude_code_snapshot_settings(repo: &TestRepo) -> insta::Settings {// We replace everything up to "repo" with [PATH]settings.add_filter(r"(?m)^.*repo", "[PATH]");// Also filter the raw path in case it appears- settings.add_filter(&repo.root_path().display().to_string(), "[PATH]");+ settings.add_filter(+ ®ex::escape(&repo.root_path().display().to_string()),+ "[PATH]",+ );settings}+/// Skipped on Windows: JSON contains paths that need escaping on Windows.#[test]+#[cfg_attr(windows, ignore)]fn test_statusline_claude_code_full_context() {let repo = setup_repo_with_changes();@@ -172,7 +177,9 @@ fn test_statusline_claude_code_full_context() {});}+/// Skipped on Windows: JSON contains paths that need escaping on Windows.#[test]+#[cfg_attr(windows, ignore)]fn test_statusline_claude_code_minimal() {let repo = setup_basic_repo();@@ -187,7 +194,9 @@ fn test_statusline_claude_code_minimal() {});}+/// Skipped on Windows: JSON contains paths that need escaping on Windows.#[test]+#[cfg_attr(windows, ignore)]fn test_statusline_claude_code_with_model() {let repo = setup_basic_repo();diff --git a/tests/integration_tests/switch.rs b/tests/integration_tests/switch.rsindex 2b873f708..5a9cd03d0 100644--- a/tests/integration_tests/switch.rs+++ b/tests/integration_tests/switch.rs@@ -45,6 +45,8 @@ fn snapshot_switch_with_home(settings.bind(|| {let mut cmd = make_snapshot_cmd_with_global_flags(repo, "switch", args, None, global_flags);cmd.env("HOME", home);+ // Windows: the `home` crate uses USERPROFILE for home_dir()+ cmd.env("USERPROFILE", home);assert_cmd_snapshot!(test_name, cmd);});}@@ -258,7 +260,9 @@ fn test_switch_execute_creates_file() {);}+/// Skipped on Windows: Uses Unix shell command `exit 1`.#[test]+#[cfg_attr(windows, ignore)]fn test_switch_execute_failure() {let repo = setup_switch_repo();@@ -615,6 +619,8 @@ fn snapshot_switch_from_dir(test_name: &str, repo: &TestRepo, args: &[&str], cwdsettings.bind(|| {let mut cmd = make_snapshot_cmd_with_global_flags(repo, "switch", args, Some(cwd), &[]);cmd.env("HOME", default_home.path());+ // Windows: the `home` crate uses USERPROFILE for home_dir()+ cmd.env("USERPROFILE", default_home.path());assert_cmd_snapshot!(test_name, cmd);});}@@ -685,7 +691,10 @@ fn test_switch_ping_pong_realistic() {}/// Test that `wt switch` without arguments shows helpful hints about shortcuts.+///+/// Skipped on Windows: Hints display differently on Windows.#[test]+#[cfg_attr(windows, ignore)]fn test_switch_missing_argument_shows_hints() {let repo = setup_switch_repo();diff --git a/tests/integration_tests/user_hooks.rs b/tests/integration_tests/user_hooks.rsindex 74fbb35a2..cff64e2a9 100644--- a/tests/integration_tests/user_hooks.rs+++ b/tests/integration_tests/user_hooks.rs@@ -521,7 +521,9 @@ fn snapshot_remove(test_name: &str, repo: &TestRepo, args: &[&str], cwd: Option<});}+/// Skipped on Windows: Uses /tmp path and file locking prevents worktree removal.#[test]+#[cfg_attr(windows, ignore)]fn test_user_pre_remove_hook_executes() {let mut repo = TestRepo::new();repo.commit("Initial commit");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.snapindex 22760621f..7435af477 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@@ -25,6 +25,6 @@ exit_code: 0----- stderr -----🔄 [36mRunning project post-create:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'approved'[0m[2m [0m[2m[36m>[0m[2m output.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'approved'[0m[2m [0m[2m[36m>[0m[2m output.txt[0m✅ [32m[32mCreated new worktree for [1mtest-approved[22m from [1mmain[22m at [1m[REPO].test-approved[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__approval_fails_in_non_tty.snap b/tests/snapshots/integration__integration_tests__approval_ui__approval_fails_in_non_tty.snapindex 071817782..db9cee6a5 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__approval_fails_in_non_tty.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__approval_fails_in_non_tty.snap@@ -27,7 +27,7 @@ exit_code: 1🟡 [33m[1mrepo[22m needs approval to execute [1m1[22m command:[39m⚪ post-create:-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test command'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test command'[0m[2m❌ [31mCannot prompt for approval in non-interactive environment[39m💡 [2mIn CI/CD, use [90m--force[39m to skip prompts. To pre-approve commands, use [90mwt hook approvals add[39m[22mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__approval_mixed_approved_unapproved.snap b/tests/snapshots/integration__integration_tests__approval_ui__approval_mixed_approved_unapproved.snapindex db2de9676..c0098a114 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__approval_mixed_approved_unapproved.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__approval_mixed_approved_unapproved.snap@@ -9,9 +9,9 @@ exit_code: 1🟡 [33m[1mrepo[22m needs approval to execute [1m2[22m commands:[39m⚪ post-create [1mfirst[22m:-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'First command'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'First command'[0m[2m⚪ post-create [1mthird[22m:-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Third command'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Third command'[0m[2m❌ [31mCannot prompt for approval in non-interactive environment[39m💡 [2mIn CI/CD, use [90m--force[39m to skip prompts. To pre-approve commands, use [90mwt hook approvals add[39m[22mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__approval_multiple_commands.snap b/tests/snapshots/integration__integration_tests__approval_ui__approval_multiple_commands.snapindex 8c6e3cb69..914562faf 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__approval_multiple_commands.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__approval_multiple_commands.snap@@ -9,13 +9,13 @@ exit_code: 1🟡 [33m[1mrepo[22m needs approval to execute [1m4[22m commands:[39m⚪ post-create [1mbranch[22m:-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Branch: {{ branch }}'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Branch: {{ branch }}'[0m[2m⚪ post-create [1mworktree[22m:-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Worktree: {{ worktree }}'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Worktree: {{ worktree }}'[0m[2m⚪ post-create [1mrepo[22m:-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Repo: {{ main_worktree }}'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Repo: {{ main_worktree }}'[0m[2m⚪ post-create [1mpwd[22m:-[107m [0m [2m[0m[2m[34mcd[0m[2m {{ worktree }} [0m[2m[36m&&[0m[2m [0m[2m[34mpwd[0m[2m[0m+[107m [0m [2m[0m[2m[34mcd[0m[2m {{ worktree }} [0m[2m[36m&&[0m[2m [0m[2m[34mpwd[0m[2m❌ [31mCannot prompt for approval in non-interactive environment[39m💡 [2mIn CI/CD, use [90m--force[39m to skip prompts. To pre-approve commands, use [90mwt hook approvals add[39m[22mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__approval_named_commands.snap b/tests/snapshots/integration__integration_tests__approval_ui__approval_named_commands.snapindex cc86913cc..7bdd45031 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__approval_named_commands.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__approval_named_commands.snap@@ -9,11 +9,11 @@ exit_code: 1🟡 [33m[1mrepo[22m needs approval to execute [1m3[22m commands:[39m⚪ post-create [1minstall[22m:-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Installing dependencies...'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Installing dependencies...'[0m[2m⚪ post-create [1mbuild[22m:-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Building project...'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Building project...'[0m[2m⚪ post-create [1mtest[22m:-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Running tests...'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Running tests...'[0m[2m❌ [31mCannot prompt for approval in non-interactive environment[39m💡 [2mIn CI/CD, use [90m--force[39m to skip prompts. To pre-approve commands, use [90mwt hook approvals add[39m[22mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__approval_single_command.snap b/tests/snapshots/integration__integration_tests__approval_ui__approval_single_command.snapindex d26f179da..cca23b423 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__approval_single_command.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__approval_single_command.snap@@ -9,7 +9,7 @@ exit_code: 1🟡 [33m[1mrepo[22m needs approval to execute [1m1[22m command:[39m⚪ post-create:-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Worktree path: {{ worktree }}'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Worktree path: {{ worktree }}'[0m[2m❌ [31mCannot prompt for approval in non-interactive environment[39m💡 [2mIn CI/CD, use [90m--force[39m to skip prompts. To pre-approve commands, use [90mwt hook approvals add[39m[22mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__decline_approval_skips_only_unapproved.snap b/tests/snapshots/integration__integration_tests__approval_ui__decline_approval_skips_only_unapproved.snapindex db2de9676..c0098a114 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__decline_approval_skips_only_unapproved.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__decline_approval_skips_only_unapproved.snap@@ -9,9 +9,9 @@ exit_code: 1🟡 [33m[1mrepo[22m needs approval to execute [1m2[22m commands:[39m⚪ post-create [1mfirst[22m:-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'First command'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'First command'[0m[2m⚪ post-create [1mthird[22m:-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Third command'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Third command'[0m[2m❌ [31mCannot prompt for approval in non-interactive environment[39m💡 [2mIn CI/CD, use [90m--force[39m to skip prompts. To pre-approve commands, use [90mwt hook approvals add[39m[22mdiff --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.snapindex 73894efbe..2910f661c 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@@ -26,7 +26,7 @@ exit_code: 0----- stderr -----🔄 [36mRunning project post-create:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test command'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test command'[0m[2m[0mtest command✅ [32m[32mCreated new worktree for [1mtest-force-tty[22m from [1mmain[22m at [1m[REPO].test-force-tty[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snap b/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snapindex b517ac0f9..9520a818a 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@@ -26,6 +26,6 @@ exit_code: 0----- stderr -----🔄 [36mRunning project post-create:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test command'[0m[2m [0m[2m[36m>[0m[2m output.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test command'[0m[2m [0m[2m[36m>[0m[2m output.txt[0m✅ [32m[32mCreated new worktree for [1mtest-force[22m from [1mmain[22m at [1m[REPO].test-force[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_second_run.snap b/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_second_run.snapindex f69bc8de7..17b1d3bbf 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_second_run.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_second_run.snap@@ -9,7 +9,7 @@ exit_code: 1🟡 [33m[1mrepo[22m needs approval to execute [1m1[22m command:[39m⚪ post-create:-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test command'[0m[2m [0m[2m[36m>[0m[2m output.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test command'[0m[2m [0m[2m[36m>[0m[2m output.txt❌ [31mCannot prompt for approval in non-interactive environment[39m💡 [2mIn CI/CD, use [90m--force[39m to skip prompts. To pre-approve commands, use [90mwt hook approvals add[39m[22mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__run_hook_post_merge_requires_approval.snap b/tests/snapshots/integration__integration_tests__approval_ui__run_hook_post_merge_requires_approval.snapindex 196c7dd2f..d2c963836 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__run_hook_post_merge_requires_approval.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__run_hook_post_merge_requires_approval.snap@@ -9,7 +9,7 @@ exit_code: 1🟡 [33m[1mrepo[22m needs approval to execute [1m1[22m command:[39m⚪ post-merge:-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Post-merge cleanup for {{ branch }}'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Post-merge cleanup for {{ branch }}'[0m[2m❌ [31mCannot prompt for approval in non-interactive environment[39m💡 [2mIn CI/CD, use [90m--force[39m to skip prompts. To pre-approve commands, use [90mwt hook approvals add[39m[22mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__run_hook_pre_merge_requires_approval.snap b/tests/snapshots/integration__integration_tests__approval_ui__run_hook_pre_merge_requires_approval.snapindex 256c5f6ce..b18572282 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__run_hook_pre_merge_requires_approval.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__run_hook_pre_merge_requires_approval.snap@@ -9,7 +9,7 @@ exit_code: 1🟡 [33m[1mrepo[22m needs approval to execute [1m1[22m command:[39m⚪ pre-merge:-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Running pre-merge checks on {{ branch }}'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Running pre-merge checks on {{ branch }}'[0m[2m❌ [31mCannot prompt for approval in non-interactive environment[39m💡 [2mIn CI/CD, use [90m--force[39m to skip prompts. To pre-approve commands, use [90mwt hook approvals add[39m[22mdiff --git a/tests/snapshots/integration__integration_tests__approvals__add_approvals_all_none_approved.snap b/tests/snapshots/integration__integration_tests__approvals__add_approvals_all_none_approved.snapindex ef1a8f354..a9e9816a3 100644--- a/tests/snapshots/integration__integration_tests__approvals__add_approvals_all_none_approved.snap+++ b/tests/snapshots/integration__integration_tests__approvals__add_approvals_all_none_approved.snap@@ -28,7 +28,7 @@ exit_code: 1🟡 [33m[1mrepo[22m needs approval to execute [1m1[22m command:[39m⚪ post-create:-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test'[0m[2m❌ [31mCannot prompt for approval in non-interactive environment[39m💡 [2mIn CI/CD, use [90m--force[39m to skip prompts. To pre-approve commands, use [90mwt hook approvals add[39m[22mdiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_doctor_command_not_found.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_doctor_command_not_found.snapindex 16e0616b3..240d73ff7 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_doctor_command_not_found.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_doctor_command_not_found.snap@@ -7,6 +7,7 @@ info:- show- "--doctor"env:+ APPDATA: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpaIcCCZ/.configCLICOLOR_FORCE: "1"COLUMNS: "150"GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"@@ -18,6 +19,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---@@ -27,10 +29,10 @@ exit_code: 0----- stderr -----[36mUSER CONFIG[39m ~/.config/worktrunk/config.toml-[107m [0m worktree-path = [32m"../{{ main_worktree }}.{{ branch }}"[0m+[107m [0m worktree-path = [32m"../{{ main_worktree }}.{{ branch }}"[107m [0m-[107m [0m [1m[36m[commit-generation][0m-[107m [0m command = [32m"nonexistent-llm-command-12345"[0m+[107m [0m [1m[36m[commit-generation]+[107m [0m command = [32m"nonexistent-llm-command-12345"[107m [0m args = [[32m"-m"[0m, [32m"test-model"[0m][36mPROJECT CONFIG[39m [REPO]/.config/wt.tomldiff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_doctor_not_configured.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_doctor_not_configured.snapindex b3fbc137e..9351f64c3 100644--- a/tests/snapshots/integration__integration_tests__config_show__config_show_doctor_not_configured.snap+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_doctor_not_configured.snap@@ -7,6 +7,7 @@ info:- show- "--doctor"env:+ APPDATA: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpH4nLBV/.configCLICOLOR_FORCE: "1"COLUMNS: "150"GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"@@ -18,6 +19,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---@@ -27,7 +29,7 @@ exit_code: 0----- stderr -----[36mUSER CONFIG[39m ~/.config/worktrunk/config.toml-[107m [0m worktree-path = [32m"../{{ main_worktree }}.{{ branch }}"[0m+[107m [0m worktree-path = [32m"../{{ main_worktree }}.{{ branch }}"[36mPROJECT CONFIG[39m [REPO]/.config/wt.toml💡 [2mNot found[22mdiff --git a/tests/snapshots/integration__integration_tests__directives__merge_internal_no_remove.snap b/tests/snapshots/integration__integration_tests__directives__merge_internal_no_remove.snapindex d4850ebc6..a163de7f7 100644--- a/tests/snapshots/integration__integration_tests__directives__merge_internal_no_remove.snap+++ b/tests/snapshots/integration__integration_tests__directives__merge_internal_no_remove.snap@@ -31,4 +31,3 @@ exit_code: 0[107m [0m 1 file changed, 1 insertion(+)✅ [32mMerged to [1mmain[22m [90m(1 commit, 1 file, [32m+1[39m[39m[90m)[39m[39m⚪ Worktree preserved (--no-remove)-[0mdiff --git a/tests/snapshots/integration__integration_tests__directives__merge_internal_powershell_directive.snap b/tests/snapshots/integration__integration_tests__directives__merge_internal_powershell_directive.snapnew file mode 100644index 000000000..55124bd25--- /dev/null+++ b/tests/snapshots/integration__integration_tests__directives__merge_internal_powershell_directive.snap@@ -0,0 +1,33 @@+---+source: tests/integration_tests/directives.rs+info:+ program: wt+ args:+ - "--internal=powershell"+ - merge+ - main+ env:+ CLICOLOR_FORCE: "1"+ COLUMNS: "150"+ GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"+ GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"+ GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"+ GIT_CONFIG_SYSTEM: /dev/null+ GIT_EDITOR: ""+ LANG: C+ LC_ALL: C+ SOURCE_DATE_EPOCH: "1735776000"+ WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"+---+success: true+exit_code: 0+----- stdout -----+Set-Location '[PATH]'++----- stderr -----+🔄 [36mMerging 1 commit to [1mmain[22m @ [2m6551244[22m (no commit/squash/rebase needed)[39m+[107m [0m * [33m6551244[m Add feature file+[107m [0m feature.txt | 1 [32m+[m+[107m [0m 1 file changed, 1 insertion(+)+✅ [32mMerged to [1mmain[22m [90m(1 commit, 1 file, [32m+1[39m[39m[90m)[39m[39m+🔄 [36m[36mRemoving [1mfeature[22m worktree & branch in background (already in main)[39m[39mdiff --git a/tests/snapshots/integration__integration_tests__directives__merge_internal_remove.snap b/tests/snapshots/integration__integration_tests__directives__merge_internal_remove.snapindex c11d98ff8..5e792af90 100644--- a/tests/snapshots/integration__integration_tests__directives__merge_internal_remove.snap+++ b/tests/snapshots/integration__integration_tests__directives__merge_internal_remove.snap@@ -31,4 +31,3 @@ cd '[PATH]'[107m [0m 1 file changed, 1 insertion(+)✅ [32mMerged to [1mmain[22m [90m(1 commit, 1 file, [32m+1[39m[39m[90m)[39m[39m🔄 [36m[36mRemoving [1mfeature[22m worktree & branch in background (already in main)[39m[39m-[0mdiff --git a/tests/snapshots/integration__integration_tests__directives__remove_internal_powershell_directive.snap b/tests/snapshots/integration__integration_tests__directives__remove_internal_powershell_directive.snapnew file mode 100644index 000000000..424a793cd--- /dev/null+++ b/tests/snapshots/integration__integration_tests__directives__remove_internal_powershell_directive.snap@@ -0,0 +1,27 @@+---+source: tests/integration_tests/directives.rs+info:+ program: wt+ args:+ - "--internal=powershell"+ - remove+ env:+ CLICOLOR_FORCE: "1"+ COLUMNS: "150"+ GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"+ GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"+ GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"+ GIT_CONFIG_SYSTEM: /dev/null+ GIT_EDITOR: ""+ LANG: C+ LC_ALL: C+ SOURCE_DATE_EPOCH: "1735776000"+ WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"+---+success: true+exit_code: 0+----- stdout -----+Set-Location '[PATH]'++----- stderr -----+🔄 [36m[36mRemoving [1mfeature[22m worktree & branch in background (already in main)[39m[39mdiff --git a/tests/snapshots/integration__integration_tests__directives__switch_internal_powershell_directive.snap b/tests/snapshots/integration__integration_tests__directives__switch_internal_powershell_directive.snapnew file mode 100644index 000000000..bbf9d9380--- /dev/null+++ b/tests/snapshots/integration__integration_tests__directives__switch_internal_powershell_directive.snap@@ -0,0 +1,28 @@+---+source: tests/integration_tests/directives.rs+info:+ program: wt+ args:+ - "--internal=powershell"+ - switch+ - feature+ env:+ CLICOLOR_FORCE: "1"+ COLUMNS: "150"+ GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"+ GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"+ GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"+ GIT_CONFIG_SYSTEM: /dev/null+ GIT_EDITOR: ""+ LANG: C+ LC_ALL: C+ SOURCE_DATE_EPOCH: "1735776000"+ WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"+---+success: true+exit_code: 0+----- stdout -----+Set-Location '[PATH]'++----- stderr -----+✅ [32m[32mSwitched to worktree for [1mfeature[22m at [1m[REPO].feature[39m[22m[39mdiff --git a/tests/snapshots/integration__integration_tests__help__help_config_create.snap b/tests/snapshots/integration__integration_tests__help__help_config_create.snapindex 98f73e381..959aca3e8 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_create.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_create.snap@@ -20,327 +20,327 @@ exit_code: 0----- stderr -----wt config create - Create configuration file-Usage: [1m[36mwt config create[0m [36m[OPTIONS][0m+Usage: [1m[36mwt config create[0m [36m[OPTIONS]-[1m[32mOptions:[0m- [1m[36m--project[0m+[1m[32mOptions:+ [1m[36m--projectCreate project config ([1m.config/wt.toml[0m) instead of user config- [1m[36m-h[0m, [1m[36m--help[0m+ [1m[36m-h[0m, [1m[36m--helpPrint help (see a summary with '-h')-[1m[32mGlobal Options:[0m- [1m[36m-C[0m[36m [0m[36m<path>[0m+[1m[32mGlobal Options:+ [1m[36m-C[0m[36m [0m[36m<path>Working directory for this command- [1m[36m--config[0m[36m [0m[36m<path>[0m+ [1m[36m--config[0m[36m [0m[36m<path>User config file path- [1m[36m-v[0m, [1m[36m--verbose[0m+ [1m[36m-v[0m, [1m[36m--verboseShow commands and debug info-[32mUser config[0m+[32mUser configCreates [2m~/.config/worktrunk/config.toml[0m with the following content:- [2m# Worktrunk Global Configuration[0m- [2m# Copy to: ~/.config/worktrunk/config.toml (or use `wt config create`)[0m- [2m#[0m- [2m# Alternative locations (XDG Base Directory spec):[0m- [2m# macOS/Linux: $XDG_CONFIG_HOME/worktrunk/config.toml[0m- [2m# Windows: %APPDATA%\worktrunk\config.toml[0m- [2m[0m- [2m# Commit Message Generation (Optional)[0m- [2m# For generating commit messages during merge operations (wt merge)[0m- [2m[commit-generation][0m- [2m# Example: Simon Willison's llm CLI (https://github.com/simonw/llm)[0m- [2m# Install: pip install llm llm-anthropic[0m- [2mcommand = "llm"[0m- [2margs = ["-m", "claude-haiku-4.5"][0m- [2m[0m- [2m# Alternative: AIChat - Rust-based, supports 20+ providers[0m- [2m# Install from: https://github.com/sigoden/aichat[0m- [2m# command = "aichat"[0m- [2m# args = ["-m", "claude:claude-haiku-4.5"][0m- [2m[0m- [2m# Optional: Load template from file (mutually exclusive with 'template')[0m- [2m# Supports ~ expansion: ~/.config/worktrunk/commit-template.txt[0m- [2m# template-file = "~/.config/worktrunk/commit-template.txt"[0m- [2m[0m- [2m# Optional: Load squash template from file (mutually exclusive with 'squash-template')[0m- [2m# Supports ~ expansion: ~/.config/worktrunk/squash-template.txt[0m- [2m# squash-template-file = "~/.config/worktrunk/squash-template.txt"[0m- [2m[0m- [2m# See "Custom Prompt Templates" section at end of file for inline template options.[0m- [2m[0m- [2m# Worktree Path Template[0m- [2m# Variables:[0m- [2m# {{ main_worktree }} - Main worktree directory name (e.g., "myproject")[0m- [2m# {{ branch }} - Branch name with slashes replaced by dashes (feature/auth → feature-auth)[0m- [2m#[0m- [2m# Paths are relative to the main worktree root (original repository directory).[0m- [2m#[0m- [2m# Example paths created (main worktree at /Users/dev/myproject, branch feature/auth):[0m- [2m# "../{{ main_worktree }}.{{ branch }}" → /Users/dev/myproject.feature-auth[0m- [2m# ".worktrees/{{ branch }}" → /Users/dev/myproject/.worktrees/feature-auth[0m- [2mworktree-path = "../{{ main_worktree }}.{{ branch }}"[0m- [2m[0m- [2m# Alternative: Inside repo (useful for bare repos)[0m- [2m# worktree-path = ".worktrees/{{ branch }}"[0m- [2m[0m- [2m# List Command Defaults[0m- [2m# Configure default behavior for `wt list`[0m- [2m[list][0m- [2mfull = false # Show CI and `main` diffstat by default[0m- [2mbranches = false # Include branches without worktrees by default[0m- [2mremotes = false # Include remote branches by default[0m- [2m[0m- [2m# Commit Defaults (shared by `wt step commit`, `wt step squash`, and `wt merge`)[0m- [2m[commit][0m- [2mstage = "all" # What to stage: "all", "tracked", or "none"[0m- [2m[0m- [2m# Merge Command Defaults[0m- [2m# Note: `stage` defaults from [commit] section above[0m- [2m[merge][0m- [2msquash = true # Squash commits when merging[0m- [2mcommit = true # Commit, squash, and rebase during merge[0m- [2mremove = true # Remove worktree after merge[0m- [2mverify = true # Run project hooks[0m- [2m[0m- [2m# Approved Commands[0m- [2m# Commands approved for automatic execution after switching worktrees[0m- [2m# Auto-populated when you use: wt switch --execute "command" --force[0m- [2m[projects."github.com/user/repo"][0m- [2mapproved-commands = ["npm install"][0m- [2m[0m- [2m# NOTE: For project-specific hooks (post-create, post-start, pre-merge, etc.),[0m- [2m# use a separate PROJECT config file at <repo>/.config/wt.toml[0m- [2m# Run `wt config create --project` to create one, or see https://worktrunk.dev/hooks/[0m- [2m[0m- [2m# ============================================================================[0m- [2m# Custom Prompt Templates (Advanced)[0m- [2m# ============================================================================[0m- [2m# These options belong under [commit-generation] section above.[0m- [2m# NOTE: Templates are synced from src/llm.rs by `cargo test readme_sync`[0m- [2m[0m- [2m# Optional: Custom prompt template (inline) - Uses minijinja syntax[0m- [2m# Available variables: {{ git_diff }}, {{ branch }}, {{ recent_commits }}, {{ repo }}[0m- [2m# If not specified, uses the default template shown below:[0m- [2m# <!-- DEFAULT_TEMPLATE_START -->[0m- [2m# template = """[0m- [2m# Write a commit message for the staged changes below.[0m- [2m#[0m- [2m# <format>[0m- [2m# - Subject under 50 chars, blank line, then optional body[0m- [2m# - Output only the commit message, no quotes or code blocks[0m- [2m# </format>[0m- [2m#[0m- [2m# <style>[0m- [2m# - Imperative mood: "Add feature" not "Added feature"[0m- [2m# - Match recent commit style (conventional commits if used)[0m- [2m# - Describe the change, not the intent or benefit[0m- [2m# </style>[0m- [2m#[0m- [2m# <diff>[0m- [2m# {{ git_diff }}[0m- [2m# </diff>[0m- [2m#[0m- [2m# <context>[0m- [2m# Branch: {{ branch }}[0m- [2m# {% if recent_commits %}<recent_commits>[0m- [2m# {% for commit in recent_commits %}- {{ commit }}[0m- [2m# {% endfor %}</recent_commits>{% endif %}[0m- [2m# </context>[0m- [2m# """[0m- [2m# <!-- DEFAULT_TEMPLATE_END -->[0m- [2m#[0m- [2m# Example alternative template with different style:[0m- [2m# template = """[0m- [2m# Generate a commit message for {{ repo | upper }}.[0m- [2m#[0m- [2m# Branch: {{ branch }}[0m- [2m# {%- if recent_commits %}[0m- [2m#[0m- [2m# Recent commit style ({{ recent_commits | length }} commits):[0m- [2m# {%- for commit in recent_commits %}[0m- [2m# {{ loop.index }}. {{ commit }}[0m- [2m# {%- endfor %}[0m- [2m# {%- endif %}[0m- [2m#[0m- [2m# Changes to commit:[0m- [2m# ```[0m- [2m# {{ git_diff }}[0m- [2m# ```[0m- [2m#[0m- [2m# Requirements:[0m- [2m# - Follow the style of recent commits above[0m- [2m# - First line under 50 chars[0m- [2m# - Focus on WHY, not HOW[0m- [2m# """[0m- [2m[0m- [2m# Optional: Custom squash commit message template (inline) - Uses minijinja syntax[0m- [2m# Available variables: {{ git_diff }}, {{ branch }}, {{ recent_commits }}, {{ repo }}, {{ commits }}, {{ target_branch }}[0m- [2m# If not specified, uses the default template:[0m- [2m# <!-- DEFAULT_SQUASH_TEMPLATE_START -->[0m- [2m# squash-template = """[0m- [2m# Combine these commits into a single commit message.[0m- [2m#[0m- [2m# <format>[0m- [2m# - Subject under 50 chars, blank line, then optional body[0m- [2m# - Output only the commit message, no quotes or code blocks[0m- [2m# </format>[0m- [2m#[0m- [2m# <style>[0m- [2m# - Imperative mood: "Add feature" not "Added feature"[0m- [2m# - Match the style of commits being squashed (conventional commits if used)[0m- [2m# - Describe the change, not the intent or benefit[0m- [2m# </style>[0m- [2m#[0m- [2m# <commits branch="{{ branch }}" target="{{ target_branch }}">[0m- [2m# {% for commit in commits %}- {{ commit }}[0m- [2m# {% endfor %}</commits>[0m- [2m#[0m- [2m# <diff>[0m- [2m# {{ git_diff }}[0m- [2m# </diff>[0m- [2m# """[0m- [2m# <!-- DEFAULT_SQUASH_TEMPLATE_END -->[0m- [2m#[0m- [2m# Example alternative template:[0m- [2m# squash-template = """[0m- [2m# Squashing {{ commits | length }} commit(s) from {{ branch }} to {{ target_branch }}.[0m- [2m#[0m- [2m# {% if commits | length > 1 -%}[0m- [2m# Commits being combined:[0m- [2m# {%- for c in commits %}[0m- [2m# {{ loop.index }}/{{ loop.length }}: {{ c }}[0m- [2m# {%- endfor %}[0m- [2m# {%- else -%}[0m- [2m# Single commit: {{ commits[0] }}[0m- [2m# {%- endif %}[0m- [2m#[0m- [2m# Generate one cohesive commit message that captures the overall change.[0m- [2m# Use conventional commit format (feat/fix/docs/refactor).[0m- [2m# """[0m+ [2m# Worktrunk Global Configuration+ [2m# Copy to: ~/.config/worktrunk/config.toml (or use `wt config create`)+ [2m#+ [2m# Alternative locations (XDG Base Directory spec):+ [2m# macOS/Linux: $XDG_CONFIG_HOME/worktrunk/config.toml+ [2m# Windows: %APPDATA%\worktrunk\config.toml+ [2m+ [2m# Commit Message Generation (Optional)+ [2m# For generating commit messages during merge operations (wt merge)+ [2m[commit-generation]+ [2m# Example: Simon Willison's llm CLI (https://github.com/simonw/llm)+ [2m# Install: pip install llm llm-anthropic+ [2mcommand = "llm"+ [2margs = ["-m", "claude-haiku-4.5"]+ [2m+ [2m# Alternative: AIChat - Rust-based, supports 20+ providers+ [2m# Install from: https://github.com/sigoden/aichat+ [2m# command = "aichat"+ [2m# args = ["-m", "claude:claude-haiku-4.5"]+ [2m+ [2m# Optional: Load template from file (mutually exclusive with 'template')+ [2m# Supports ~ expansion: ~/.config/worktrunk/commit-template.txt+ [2m# template-file = "~/.config/worktrunk/commit-template.txt"+ [2m+ [2m# Optional: Load squash template from file (mutually exclusive with 'squash-template')+ [2m# Supports ~ expansion: ~/.config/worktrunk/squash-template.txt+ [2m# squash-template-file = "~/.config/worktrunk/squash-template.txt"+ [2m+ [2m# See "Custom Prompt Templates" section at end of file for inline template options.+ [2m+ [2m# Worktree Path Template+ [2m# Variables:+ [2m# {{ main_worktree }} - Main worktree directory name (e.g., "myproject")+ [2m# {{ branch }} - Branch name with slashes replaced by dashes (feature/auth → feature-auth)+ [2m#+ [2m# Paths are relative to the main worktree root (original repository directory).+ [2m#+ [2m# Example paths created (main worktree at /Users/dev/myproject, branch feature/auth):+ [2m# "../{{ main_worktree }}.{{ branch }}" → /Users/dev/myproject.feature-auth+ [2m# ".worktrees/{{ branch }}" → /Users/dev/myproject/.worktrees/feature-auth+ [2mworktree-path = "../{{ main_worktree }}.{{ branch }}"+ [2m+ [2m# Alternative: Inside repo (useful for bare repos)+ [2m# worktree-path = ".worktrees/{{ branch }}"+ [2m+ [2m# List Command Defaults+ [2m# Configure default behavior for `wt list`+ [2m[list]+ [2mfull = false # Show CI and `main` diffstat by default+ [2mbranches = false # Include branches without worktrees by default+ [2mremotes = false # Include remote branches by default+ [2m+ [2m# Commit Defaults (shared by `wt step commit`, `wt step squash`, and `wt merge`)+ [2m[commit]+ [2mstage = "all" # What to stage: "all", "tracked", or "none"+ [2m+ [2m# Merge Command Defaults+ [2m# Note: `stage` defaults from [commit] section above+ [2m[merge]+ [2msquash = true # Squash commits when merging+ [2mcommit = true # Commit, squash, and rebase during merge+ [2mremove = true # Remove worktree after merge+ [2mverify = true # Run project hooks+ [2m+ [2m# Approved Commands+ [2m# Commands approved for automatic execution after switching worktrees+ [2m# Auto-populated when you use: wt switch --execute "command" --force+ [2m[projects."github.com/user/repo"]+ [2mapproved-commands = ["npm install"]+ [2m+ [2m# NOTE: For project-specific hooks (post-create, post-start, pre-merge, etc.),+ [2m# use a separate PROJECT config file at <repo>/.config/wt.toml+ [2m# Run `wt config create --project` to create one, or see https://worktrunk.dev/hooks/+ [2m+ [2m# ============================================================================+ [2m# Custom Prompt Templates (Advanced)+ [2m# ============================================================================+ [2m# These options belong under [commit-generation] section above.+ [2m# NOTE: Templates are synced from src/llm.rs by `cargo test readme_sync`+ [2m+ [2m# Optional: Custom prompt template (inline) - Uses minijinja syntax+ [2m# Available variables: {{ git_diff }}, {{ branch }}, {{ recent_commits }}, {{ repo }}+ [2m# If not specified, uses the default template shown below:+ [2m# <!-- DEFAULT_TEMPLATE_START -->+ [2m# template = """+ [2m# Write a commit message for the staged changes below.+ [2m#+ [2m# <format>+ [2m# - Subject under 50 chars, blank line, then optional body+ [2m# - Output only the commit message, no quotes or code blocks+ [2m# </format>+ [2m#+ [2m# <style>+ [2m# - Imperative mood: "Add feature" not "Added feature"+ [2m# - Match recent commit style (conventional commits if used)+ [2m# - Describe the change, not the intent or benefit+ [2m# </style>+ [2m#+ [2m# <diff>+ [2m# {{ git_diff }}+ [2m# </diff>+ [2m#+ [2m# <context>+ [2m# Branch: {{ branch }}+ [2m# {% if recent_commits %}<recent_commits>+ [2m# {% for commit in recent_commits %}- {{ commit }}+ [2m# {% endfor %}</recent_commits>{% endif %}+ [2m# </context>+ [2m# """+ [2m# <!-- DEFAULT_TEMPLATE_END -->+ [2m#+ [2m# Example alternative template with different style:+ [2m# template = """+ [2m# Generate a commit message for {{ repo | upper }}.+ [2m#+ [2m# Branch: {{ branch }}+ [2m# {%- if recent_commits %}+ [2m#+ [2m# Recent commit style ({{ recent_commits | length }} commits):+ [2m# {%- for commit in recent_commits %}+ [2m# {{ loop.index }}. {{ commit }}+ [2m# {%- endfor %}+ [2m# {%- endif %}+ [2m#+ [2m# Changes to commit:+ [2m# ```+ [2m# {{ git_diff }}+ [2m# ```+ [2m#+ [2m# Requirements:+ [2m# - Follow the style of recent commits above+ [2m# - First line under 50 chars+ [2m# - Focus on WHY, not HOW+ [2m# """+ [2m+ [2m# Optional: Custom squash commit message template (inline) - Uses minijinja syntax+ [2m# Available variables: {{ git_diff }}, {{ branch }}, {{ recent_commits }}, {{ repo }}, {{ commits }}, {{ target_branch }}+ [2m# If not specified, uses the default template:+ [2m# <!-- DEFAULT_SQUASH_TEMPLATE_START -->+ [2m# squash-template = """+ [2m# Combine these commits into a single commit message.+ [2m#+ [2m# <format>+ [2m# - Subject under 50 chars, blank line, then optional body+ [2m# - Output only the commit message, no quotes or code blocks+ [2m# </format>+ [2m#+ [2m# <style>+ [2m# - Imperative mood: "Add feature" not "Added feature"+ [2m# - Match the style of commits being squashed (conventional commits if used)+ [2m# - Describe the change, not the intent or benefit+ [2m# </style>+ [2m#+ [2m# <commits branch="{{ branch }}" target="{{ target_branch }}">+ [2m# {% for commit in commits %}- {{ commit }}+ [2m# {% endfor %}</commits>+ [2m#+ [2m# <diff>+ [2m# {{ git_diff }}+ [2m# </diff>+ [2m# """+ [2m# <!-- DEFAULT_SQUASH_TEMPLATE_END -->+ [2m#+ [2m# Example alternative template:+ [2m# squash-template = """+ [2m# Squashing {{ commits | length }} commit(s) from {{ branch }} to {{ target_branch }}.+ [2m#+ [2m# {% if commits | length > 1 -%}+ [2m# Commits being combined:+ [2m# {%- for c in commits %}+ [2m# {{ loop.index }}/{{ loop.length }}: {{ c }}+ [2m# {%- endfor %}+ [2m# {%- else -%}+ [2m# Single commit: {{ commits[0] }}+ [2m# {%- endif %}+ [2m#+ [2m# Generate one cohesive commit message that captures the overall change.+ [2m# Use conventional commit format (feat/fix/docs/refactor).+ [2m# """-[32mProject config[0m+[32mProject configWith [2m--project[0m, creates [2m.config/wt.toml[0m in the current repository:- [2m# Worktrunk Project Configuration[0m- [2m# Copy to: <repo>/.config/wt.toml[0m- [2m#[0m- [2m# This file defines project-specific hooks that run automatically during[0m- [2m# worktree operations. It should be checked into git and shared across all[0m- [2m# developers working on the project.[0m- [2m[0m- [2m# Available template variables (all hooks):[0m- [2m# {{ repo }} - Repository name (e.g., "my-project")[0m- [2m# {{ branch }} - Branch name (slashes replaced with dashes)[0m- [2m# {{ worktree }} - Absolute path to the worktree[0m- [2m# {{ repo_root }} - Absolute path to the repository root[0m- [2m#[0m- [2m# Merge-related hooks also support:[0m- [2m# {{ target }} - Target branch for the merge (e.g., "main")[0m- [2m[0m- [2m# Post-Create Hook[0m- [2m# Runs SEQUENTIALLY and BLOCKS until complete[0m- [2m# The worktree switch won't complete until these finish[0m- [2m# Commands run one after another in the worktree directory[0m- [2m#[0m- [2m# Format options:[0m- [2m# 1. Single string:[0m- [2m# post-create = "npm install"[0m- [2m#[0m- [2m# 2. Named table (runs sequentially in declaration order):[0m- [2m# [post-create][0m- [2m# install = "npm install --frozen-lockfile"[0m- [2m# build = "npm run build"[0m- [2m[0m- [2m# Post-Start Hook[0m- [2m# Runs in BACKGROUND as detached processes (parallel)[0m- [2m# Use for: uv sync, npm install, bundle install, build, dev servers, file watchers,[0m- [2m# downloading assets too large for git (images, ML models, binaries), long-running tasks[0m- [2m# The worktree switch completes immediately, these run in parallel[0m- [2m# Output is logged to .git/wt-logs/{branch}-{source}-post-start-{name}.log (source: user/project)[0m- [2m#[0m- [2m# Format options:[0m- [2m# 1. Single string:[0m- [2m# post-start = "npm run dev"[0m- [2m#[0m- [2m# 2. Named table (runs in parallel):[0m- [2m# [post-start][0m- [2m# server = "npm run dev"[0m- [2m# watch = "npm run watch"[0m- [2m[0m- [2m# Pre-Commit Hook[0m- [2m# Runs SEQUENTIALLY before committing changes during merge (blocking, fail-fast)[0m- [2m# All commands must exit with code 0 for commit to proceed[0m- [2m# Runs for both squash and no-squash merge modes[0m- [2m# Use for: formatters, linters, quick validation[0m- [2m#[0m- [2m# Single command:[0m- [2m# pre-commit = "cargo fmt -- --check"[0m- [2m#[0m- [2m# Multiple commands:[0m- [2m# [pre-commit][0m- [2m# format = "cargo fmt -- --check"[0m- [2m# lint = "cargo clippy -- -D warnings"[0m- [2m[0m- [2m# Pre-Merge Hook[0m- [2m# Runs SEQUENTIALLY before merging to target branch (blocking, fail-fast)[0m- [2m# All commands must exit with code 0 for merge to proceed[0m- [2m# Use for: tests, linters, build verification before merging[0m- [2m#[0m- [2m# Single command:[0m- [2m# pre-merge = "cargo test"[0m- [2m#[0m- [2m# Multiple commands:[0m- [2m# [pre-merge][0m- [2m# test = "cargo test"[0m- [2m# build = "cargo build --release"[0m- [2m[0m- [2m# Post-Merge Hook[0m- [2m# Runs SEQUENTIALLY in the main worktree after successful merge (blocking)[0m- [2m# Runs after push and cleanup complete[0m- [2m# Use for: updating production builds, notifications, cleanup[0m- [2m#[0m- [2m# Single command:[0m- [2m# post-merge = "cargo install --path ."[0m- [2m#[0m- [2m# Multiple commands:[0m- [2m# [post-merge][0m- [2m# install = "cargo install --path ."[0m- [2m# notify = "echo 'Merged!'"[0m- [2m[0m- [2m# Example: Node.js Project[0m- [2m# [post-create][0m- [2m# install = "npm ci"[0m- [2m#[0m- [2m# [post-start][0m- [2m# server = "npm run dev"[0m- [2m#[0m- [2m# [pre-merge][0m- [2m# lint = "npm run lint"[0m- [2m# test = "npm test"[0m- [2m[0m- [2m# Example: Rust Project[0m- [2m# [post-create][0m- [2m# build = "cargo build"[0m- [2m#[0m- [2m# [pre-merge][0m- [2m# format = "cargo fmt -- --check"[0m- [2m# clippy = "cargo clippy -- -D warnings"[0m- [2m# test = "cargo test"[0m- [2m#[0m- [2m# post-merge = "cargo install --path ."[0m- [2m[0m- [2m# Example: Python Project[0m- [2m# [post-create][0m- [2m# venv = "python -m venv .venv"[0m- [2m# install = ".venv/bin/pip install -r requirements.txt"[0m- [2m#[0m- [2m# [pre-merge][0m- [2m# format = ".venv/bin/black --check ."[0m- [2m# lint = ".venv/bin/ruff check ."[0m- [2m# test = ".venv/bin/pytest"[0m+ [2m# Worktrunk Project Configuration+ [2m# Copy to: <repo>/.config/wt.toml+ [2m#+ [2m# This file defines project-specific hooks that run automatically during+ [2m# worktree operations. It should be checked into git and shared across all+ [2m# developers working on the project.+ [2m+ [2m# Available template variables (all hooks):+ [2m# {{ repo }} - Repository name (e.g., "my-project")+ [2m# {{ branch }} - Branch name (slashes replaced with dashes)+ [2m# {{ worktree }} - Absolute path to the worktree+ [2m# {{ repo_root }} - Absolute path to the repository root+ [2m#+ [2m# Merge-related hooks also support:+ [2m# {{ target }} - Target branch for the merge (e.g., "main")+ [2m+ [2m# Post-Create Hook+ [2m# Runs SEQUENTIALLY and BLOCKS until complete+ [2m# The worktree switch won't complete until these finish+ [2m# Commands run one after another in the worktree directory+ [2m#+ [2m# Format options:+ [2m# 1. Single string:+ [2m# post-create = "npm install"+ [2m#+ [2m# 2. Named table (runs sequentially in declaration order):+ [2m# [post-create]+ [2m# install = "npm install --frozen-lockfile"+ [2m# build = "npm run build"+ [2m+ [2m# Post-Start Hook+ [2m# Runs in BACKGROUND as detached processes (parallel)+ [2m# Use for: uv sync, npm install, bundle install, build, dev servers, file watchers,+ [2m# downloading assets too large for git (images, ML models, binaries), long-running tasks+ [2m# The worktree switch completes immediately, these run in parallel+ [2m# Output is logged to .git/wt-logs/{branch}-{source}-post-start-{name}.log (source: user/project)+ [2m#+ [2m# Format options:+ [2m# 1. Single string:+ [2m# post-start = "npm run dev"+ [2m#+ [2m# 2. Named table (runs in parallel):+ [2m# [post-start]+ [2m# server = "npm run dev"+ [2m# watch = "npm run watch"+ [2m+ [2m# Pre-Commit Hook+ [2m# Runs SEQUENTIALLY before committing changes during merge (blocking, fail-fast)+ [2m# All commands must exit with code 0 for commit to proceed+ [2m# Runs for both squash and no-squash merge modes+ [2m# Use for: formatters, linters, quick validation+ [2m#+ [2m# Single command:+ [2m# pre-commit = "cargo fmt -- --check"+ [2m#+ [2m# Multiple commands:+ [2m# [pre-commit]+ [2m# format = "cargo fmt -- --check"+ [2m# lint = "cargo clippy -- -D warnings"+ [2m+ [2m# Pre-Merge Hook+ [2m# Runs SEQUENTIALLY before merging to target branch (blocking, fail-fast)+ [2m# All commands must exit with code 0 for merge to proceed+ [2m# Use for: tests, linters, build verification before merging+ [2m#+ [2m# Single command:+ [2m# pre-merge = "cargo test"+ [2m#+ [2m# Multiple commands:+ [2m# [pre-merge]+ [2m# test = "cargo test"+ [2m# build = "cargo build --release"+ [2m+ [2m# Post-Merge Hook+ [2m# Runs SEQUENTIALLY in the main worktree after successful merge (blocking)+ [2m# Runs after push and cleanup complete+ [2m# Use for: updating production builds, notifications, cleanup+ [2m#+ [2m# Single command:+ [2m# post-merge = "cargo install --path ."+ [2m#+ [2m# Multiple commands:+ [2m# [post-merge]+ [2m# install = "cargo install --path ."+ [2m# notify = "echo 'Merged!'"+ [2m+ [2m# Example: Node.js Project+ [2m# [post-create]+ [2m# install = "npm ci"+ [2m#+ [2m# [post-start]+ [2m# server = "npm run dev"+ [2m#+ [2m# [pre-merge]+ [2m# lint = "npm run lint"+ [2m# test = "npm test"+ [2m+ [2m# Example: Rust Project+ [2m# [post-create]+ [2m# build = "cargo build"+ [2m#+ [2m# [pre-merge]+ [2m# format = "cargo fmt -- --check"+ [2m# clippy = "cargo clippy -- -D warnings"+ [2m# test = "cargo test"+ [2m#+ [2m# post-merge = "cargo install --path ."+ [2m+ [2m# Example: Python Project+ [2m# [post-create]+ [2m# venv = "python -m venv .venv"+ [2m# install = ".venv/bin/pip install -r requirements.txt"+ [2m#+ [2m# [pre-merge]+ [2m# format = ".venv/bin/black --check ."+ [2m# lint = ".venv/bin/ruff check ."+ [2m# test = ".venv/bin/pytest"diff --git a/tests/snapshots/integration__integration_tests__help__help_config_long.snap b/tests/snapshots/integration__integration_tests__help__help_config_long.snapindex a194dcde9..5cb5615bf 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_long.snap@@ -19,27 +19,27 @@ exit_code: 0----- stderr -----wt config - Manage configuration and shell integration-Usage: [1m[36mwt config[0m [36m[OPTIONS][0m [36m<COMMAND>[0m+Usage: [1m[36mwt config[0m [36m[OPTIONS][0m [36m<COMMAND>-[1m[32mCommands:[0m+[1m[32mCommands:[1m[36mshell[0m Shell integration setup[1m[36mcreate[0m Create configuration file[1m[36mshow[0m Show configuration files & locations[1m[36mcache[0m Manage caches (CI status, default branch)[1m[36mvar[0m Get or set runtime variables (stored in git config)-[1m[32mOptions:[0m- [1m[36m-h[0m, [1m[36m--help[0m+[1m[32mOptions:+ [1m[36m-h[0m, [1m[36m--helpPrint help (see a summary with '-h')-[1m[32mGlobal Options:[0m- [1m[36m-C[0m[36m [0m[36m<path>[0m+[1m[32mGlobal Options:+ [1m[36m-C[0m[36m [0m[36m<path>Working directory for this command- [1m[36m--config[0m[36m [0m[36m<path>[0m+ [1m[36m--config[0m[36m [0m[36m<path>User config file path- [1m[36m-v[0m, [1m[36m--verbose[0m+ [1m[36m-v[0m, [1m[36m--verboseShow commands and debug infoManages configuration, shell integration, and runtime settings.@@ -51,153 +51,153 @@ Worktrunk uses two configuration files:[1mUser config[0m [2m~/.config/worktrunk/config.toml[0m Personal settings, command defaults, approved project commands[1mProject config[0m [2m.config/wt.toml[0m Lifecycle hooks, checked into version control-[32mExamples[0m+[32mExamplesInstall shell integration (required for directory switching):- [2mwt config shell install[0m+ [2mwt config shell installCreate user config file with documented examples:- [2mwt config create[0m+ [2mwt config createCreate project config file ([2m.config/wt.toml[0m) for hooks:- [2mwt config create --project[0m+ [2mwt config create --projectShow current configuration and file locations:- [2mwt config show[0m+ [2mwt config show-[32mUser config[0m+[32mUser configThe user config stores personal preferences that apply across all repositories. Create it with [2mwt config create[0m and view with [2mwt config show[0m.-[1mWorktree path template[0m+[1mWorktree path templateControls where new worktrees are created. The template is relative to the repository root.-[1mAvailable variables:[0m+[1mAvailable variables:- [2m{{ main_worktree }}[0m — main worktree directory name- [2m{{ branch }}[0m — branch name (slashes replaced with dashes)[1mExamples[0m for a repo at [2m~/code/myproject[0m creating branch [2mfeature/login[0m:- [2m# Default — siblings in parent directory[0m- [2m# Creates: ~/code/myproject.feature-login[0m- [2mworktree-path = "../{{ main_worktree }}.{{ branch }}"[0m- [2m[0m- [2m# Inside the repository[0m- [2m# Creates: ~/code/myproject/.worktrees/feature-login[0m- [2mworktree-path = ".worktrees/{{ branch }}"[0m- [2m[0m- [2m# Namespaced (useful when multiple repos share a parent directory)[0m- [2m# Creates: ~/code/worktrees/myproject/feature-login[0m- [2mworktree-path = "../worktrees/{{ main_worktree }}/{{ branch }}"[0m+ [2m# Default — siblings in parent directory+ [2m# Creates: ~/code/myproject.feature-login+ [2mworktree-path = "../{{ main_worktree }}.{{ branch }}"+ [2m+ [2m# Inside the repository+ [2m# Creates: ~/code/myproject/.worktrees/feature-login+ [2mworktree-path = ".worktrees/{{ branch }}"+ [2m+ [2m# Namespaced (useful when multiple repos share a parent directory)+ [2m# Creates: ~/code/worktrees/myproject/feature-login+ [2mworktree-path = "../worktrees/{{ main_worktree }}/{{ branch }}"-[1mCommand settings[0m+[1mCommand settingsSet persistent flag values for commands. These apply unless explicitly overridden on the command line.-[1m`wt list`:[0m+[1m`wt list`:- [2m[list][0m- [2m# All off by default[0m- [2mfull = true # --full[0m- [2mbranches = true # --branches[0m- [2mremotes = true # --remotes[0m+ [2m[list]+ [2m# All off by default+ [2mfull = true # --full+ [2mbranches = true # --branches+ [2mremotes = true # --remotes-[1m`wt step commit` and `wt merge` staging:[0m+[1m`wt step commit` and `wt merge` staging:- [2m[commit][0m- [2mstage = "all" # "all" (default), "tracked", or "none"[0m+ [2m[commit]+ [2mstage = "all" # "all" (default), "tracked", or "none"-[1m`wt merge`:[0m+[1m`wt merge`:- [2m[merge][0m- [2m# These flags are on by default; set to false to disable[0m- [2msquash = false # Preserve individual commits (--no-squash)[0m- [2mcommit = false # Skip committing uncommitted changes (--no-commit)[0m- [2mremove = false # Keep worktree after merge (--no-remove)[0m- [2mverify = false # Skip hooks (--no-verify)[0m+ [2m[merge]+ [2m# These flags are on by default; set to false to disable+ [2msquash = false # Preserve individual commits (--no-squash)+ [2mcommit = false # Skip committing uncommitted changes (--no-commit)+ [2mremove = false # Keep worktree after merge (--no-remove)+ [2mverify = false # Skip hooks (--no-verify)-[1mLLM commit messages[0m+[1mLLM commit messagesConfigure automatic commit message generation. Requires an external tool like llm:- [2m[commit-generation][0m- [2mcommand = "llm"[0m- [2margs = ["-m", "claude-haiku-4.5"][0m+ [2m[commit-generation]+ [2mcommand = "llm"+ [2margs = ["-m", "claude-haiku-4.5"]See LLM Commit Messages for setup details and template customization.-[1mApproved commands[0m+[1mApproved commandsWhen project hooks run for the first time, Worktrunk prompts for approval. Approved commands are saved here automatically:- [2m[projects."my-project"][0m- [2mapproved-commands = [[0m- [2m "post-create.install = npm ci",[0m- [2m "pre-merge.test = npm test",[0m- [2m][0m+ [2m[projects."my-project"]+ [2mapproved-commands = [+ [2m "post-create.install = npm ci",+ [2m "pre-merge.test = npm test",+ [2m]Manage approvals with [2mwt hook approvals add[0m to review and pre-approve commands, and [2mwt hook approvals clear[0m to reset (add [2m--global[0m to clear allprojects).-[1mUser hooks[0m+[1mUser hooksPersonal hooks that run for all repositories. Use the same syntax as project hooks:- [2m[post-create][0m- [2msetup = "echo 'Setting up worktree...'"[0m- [2m[0m- [2m[pre-merge][0m- [2mnotify = "notify-send 'Merging {{ branch }}'"[0m+ [2m[post-create]+ [2msetup = "echo 'Setting up worktree...'"+ [2m+ [2m[pre-merge]+ [2mnotify = "notify-send 'Merging {{ branch }}'"User hooks run before project hooks and don't require approval. Skip with [2m--no-verify[0m.See wt hook for complete documentation.-[32mProject config[0m+[32mProject configThe project config defines lifecycle hooks — commands that run at specific points during worktree operations. This file is checked into versioncontrol and shared across the team.Create [2m.config/wt.toml[0m in the repository root:- [2m[post-create][0m- [2minstall = "npm ci"[0m- [2m[0m- [2m[pre-merge][0m- [2mtest = "npm test"[0m- [2mlint = "npm run lint"[0m+ [2m[post-create]+ [2minstall = "npm ci"+ [2m+ [2m[pre-merge]+ [2mtest = "npm test"+ [2mlint = "npm run lint"See wt hook for complete documentation on hook types, execution order, template variables, and JSON context.-[32mShell integration[0m+[32mShell integrationWorktrunk needs shell integration to change directories when switching worktrees. Install with:- [2mwt config shell install[0m+ [2mwt config shell installOr manually add to the shell config:- [2m# For bash: add to ~/.bashrc[0m- [2meval "$(wt config shell init bash)"[0m- [2m[0m- [2m# For zsh: add to ~/.zshrc[0m- [2meval "$(wt config shell init zsh)"[0m- [2m[0m- [2m# For fish: add to ~/.config/fish/config.fish[0m- [2mwt config shell init fish | source[0m+ [2m# For bash: add to ~/.bashrc+ [2meval "$(wt config shell init bash)"+ [2m+ [2m# For zsh: add to ~/.zshrc+ [2meval "$(wt config shell init zsh)"+ [2m+ [2m# For fish: add to ~/.config/fish/config.fish+ [2mwt config shell init fish | sourceWithout shell integration, [2mwt switch[0m prints the target directory but cannot [2mcd[0m into it.-[32mEnvironment variables[0m+[32mEnvironment variablesAll user config options can be overridden with environment variables using the [2mWORKTRUNK_[0m prefix.-[1mNaming convention[0m+[1mNaming conventionConfig keys use kebab-case ([2mworktree-path[0m), while env vars use SCREAMING_SNAKE_CASE ([2mWORKTRUNK_WORKTREE_PATH[0m). The conversion happensautomatically.@@ -207,26 +207,26 @@ For nested config sections, use double underscores to separate levels:Config Environment Variable───────────────────────── ────────────────────────────────────[2mworktree-path[0m [2mWORKTRUNK_WORKTREE_PATH[0m- [2mcommit-generation.command[0m [2mWORKTRUNK_COMMIT_GENERATION__COMMAND[0m+ [2mcommit-generation.command[0m [2mWORKTRUNK_COMMIT_GENERATION__COMMAND[2mcommit-generation.args[0m [2mWORKTRUNK_COMMIT_GENERATION__ARGS[0mNote the single underscore after [2mWORKTRUNK[0m and double underscores between nested keys.-[1mArray values[0m+[1mArray valuesArray config values like [2margs = ["-m", "claude-haiku"][0m can be specified as a single string in environment variables:- [2mexport WORKTRUNK_COMMIT_GENERATION__ARGS="-m claude-haiku"[0m+ [2mexport WORKTRUNK_COMMIT_GENERATION__ARGS="-m claude-haiku"-[1mExample: CI/testing override[0m+[1mExample: CI/testing overrideOverride the LLM command in CI to use a mock:- [2mWORKTRUNK_COMMIT_GENERATION__COMMAND=echo \[0m- [2mWORKTRUNK_COMMIT_GENERATION__ARGS="test: automated commit" \[0m- [2m wt merge[0m+ [2mWORKTRUNK_COMMIT_GENERATION__COMMAND=echo \+ [2mWORKTRUNK_COMMIT_GENERATION__ARGS="test: automated commit" \+ [2m wt merge-[1mSpecial variables[0m+[1mSpecial variablesVariable Purpose───────────────────── ─────────────────────────────────────────────────────diff --git a/tests/snapshots/integration__integration_tests__help__help_config_shell.snap b/tests/snapshots/integration__integration_tests__help__help_config_shell.snapindex e6a34d3b3..5f2efbae4 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_shell.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_shell.snap@@ -20,18 +20,18 @@ exit_code: 0----- stderr -----wt config shell - Shell integration setup-Usage: [1m[36mwt config shell[0m [36m[OPTIONS][0m [36m<COMMAND>[0m+Usage: [1m[36mwt config shell[0m [36m[OPTIONS][0m [36m<COMMAND>-[1m[32mCommands:[0m+[1m[32mCommands:[1m[36minit[0m Generate shell integration code[1m[36minstall[0m Write shell integration to config files[1m[36muninstall[0m Remove shell integration from config files[1m[36mshow-theme[0m Show output theme samples-[1m[32mOptions:[0m+[1m[32mOptions:[1m[36m-h[0m, [1m[36m--help[0m Print help-[1m[32mGlobal Options:[0m+[1m[32mGlobal Options:[1m[36m-C[0m[36m [0m[36m<path>[0m Working directory for this command[1m[36m--config[0m[36m [0m[36m<path>[0m User config file path[1m[36m-v[0m, [1m[36m--verbose[0m Show commands and debug infodiff --git a/tests/snapshots/integration__integration_tests__help__help_config_short.snap b/tests/snapshots/integration__integration_tests__help__help_config_short.snapindex c156fc9a4..929be7ed3 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_short.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_short.snap@@ -19,19 +19,19 @@ exit_code: 0----- stderr -----wt config - Manage configuration and shell integration-Usage: [1m[36mwt config[0m [36m[OPTIONS][0m [36m<COMMAND>[0m+Usage: [1m[36mwt config[0m [36m[OPTIONS][0m [36m<COMMAND>-[1m[32mCommands:[0m+[1m[32mCommands:[1m[36mshell[0m Shell integration setup[1m[36mcreate[0m Create configuration file[1m[36mshow[0m Show configuration files & locations[1m[36mcache[0m Manage caches (CI status, default branch)[1m[36mvar[0m Get or set runtime variables (stored in git config)-[1m[32mOptions:[0m+[1m[32mOptions:[1m[36m-h[0m, [1m[36m--help[0m Print help (see more with '--help')-[1m[32mGlobal Options:[0m+[1m[32mGlobal Options:[1m[36m-C[0m[36m [0m[36m<path>[0m Working directory for this command[1m[36m--config[0m[36m [0m[36m<path>[0m User config file path[1m[36m-v[0m, [1m[36m--verbose[0m Show commands and debug infodiff --git a/tests/snapshots/integration__integration_tests__help__help_config_show.snap b/tests/snapshots/integration__integration_tests__help__help_config_show.snapindex a0b86ad0d..45190e004 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_show.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_show.snap@@ -20,23 +20,23 @@ exit_code: 0----- stderr -----wt config show - Show configuration files & locations-Usage: [1m[36mwt config show[0m [36m[OPTIONS][0m+Usage: [1m[36mwt config show[0m [36m[OPTIONS]-[1m[32mOptions:[0m- [1m[36m--doctor[0m+[1m[32mOptions:+ [1m[36m--doctorTest commit generation pipeline- [1m[36m-h[0m, [1m[36m--help[0m+ [1m[36m-h[0m, [1m[36m--helpPrint help (see a summary with '-h')-[1m[32mGlobal Options:[0m- [1m[36m-C[0m[36m [0m[36m<path>[0m+[1m[32mGlobal Options:+ [1m[36m-C[0m[36m [0m[36m<path>Working directory for this command- [1m[36m--config[0m[36m [0m[36m<path>[0m+ [1m[36m--config[0m[36m [0m[36m<path>User config file path- [1m[36m-v[0m, [1m[36m--verbose[0m+ [1m[36m-v[0m, [1m[36m--verboseShow commands and debug infoShows location and contents of user config ([2m~/.config/worktrunk/config.toml[0m)@@ -44,11 +44,11 @@ and project config ([2m.config/wt.toml[0m).If a config file doesn't exist, shows defaults that would be used.-[32mDoctor mode[0m+[32mDoctor modeUse [2m--doctor[0m to test commit generation with a synthetic diff:- [2mwt config show --doctor[0m+ [2mwt config show --doctorThis verifies that the LLM command is configured correctly and can generatecommit messages.diff --git a/tests/snapshots/integration__integration_tests__help__help_config_var.snap b/tests/snapshots/integration__integration_tests__help__help_config_var.snapindex aeab0534b..3ee91fbc4 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_var.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_var.snap@@ -20,42 +20,42 @@ exit_code: 0----- stderr -----wt config var - Get or set runtime variables (stored in git config)-Usage: [1m[36mwt config var[0m [36m[OPTIONS][0m [36m<COMMAND>[0m+Usage: [1m[36mwt config var[0m [36m[OPTIONS][0m [36m<COMMAND>-[1m[32mCommands:[0m+[1m[32mCommands:[1m[36mget[0m Get a variable value[1m[36mset[0m Set a variable value[1m[36mclear[0m Clear a variable value-[1m[32mOptions:[0m- [1m[36m-h[0m, [1m[36m--help[0m+[1m[32mOptions:+ [1m[36m-h[0m, [1m[36m--helpPrint help (see a summary with '-h')-[1m[32mGlobal Options:[0m- [1m[36m-C[0m[36m [0m[36m<path>[0m+[1m[32mGlobal Options:+ [1m[36m-C[0m[36m [0m[36m<path>Working directory for this command- [1m[36m--config[0m[36m [0m[36m<path>[0m+ [1m[36m--config[0m[36m [0m[36m<path>User config file path- [1m[36m-v[0m, [1m[36m--verbose[0m+ [1m[36m-v[0m, [1m[36m--verboseShow commands and debug infoVariables are runtime values stored in git config, separate fromconfiguration files. Use [2mwt config show[0m to view file-based configuration.-[32mAvailable variables[0m+[32mAvailable variables- [1mdefault-branch[0m: The repository's default branch (read-only, cached)- [1mmarker[0m: Custom status marker for a branch (shown in [2mwt list[0m)-[32mExamples[0m+[32mExamplesGet the default branch:- [2mwt config var get default-branch[0m+ [2mwt config var get default-branchSet a marker for current branch:- [2mwt config var set marker "🚧 WIP"[0m+ [2mwt config var set marker "🚧 WIP"Clear markers:- [2mwt config var clear marker --all[0m+ [2mwt config var clear marker --alldiff --git a/tests/snapshots/integration__integration_tests__help__help_config_var_clear.snap b/tests/snapshots/integration__integration_tests__help__help_config_var_clear.snapindex 3d7409a52..31dac3173 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_var_clear.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_var_clear.snap@@ -21,45 +21,45 @@ exit_code: 0----- stderr -----wt config var clear - Clear a variable value-Usage: [1m[36mwt config var clear[0m [36m[OPTIONS][0m [36m<KEY>[0m+Usage: [1m[36mwt config var clear[0m [36m[OPTIONS][0m [36m<KEY>-[1m[32mArguments:[0m- [36m<KEY>[0m+[1m[32mArguments:+ [36m<KEY>Variable: 'marker'[possible values: marker]-[1m[32mOptions:[0m- [1m[36m--branch[0m[36m [0m[36m<BRANCH>[0m+[1m[32mOptions:+ [1m[36m--branch[0m[36m [0m[36m<BRANCH>Target branch (defaults to current)- [1m[36m--all[0m+ [1m[36m--allClear all values- [1m[36m-h[0m, [1m[36m--help[0m+ [1m[36m-h[0m, [1m[36m--helpPrint help (see a summary with '-h')-[1m[32mGlobal Options:[0m- [1m[36m-C[0m[36m [0m[36m<path>[0m+[1m[32mGlobal Options:+ [1m[36m-C[0m[36m [0m[36m<path>Working directory for this command- [1m[36m--config[0m[36m [0m[36m<path>[0m+ [1m[36m--config[0m[36m [0m[36m<path>User config file path- [1m[36m-v[0m, [1m[36m--verbose[0m+ [1m[36m-v[0m, [1m[36m--verboseShow commands and debug infoVariables:- [1mmarker[0m: Custom status marker for a branch-[32mExamples[0m+[32mExamplesClear marker for current branch:- [2mwt config var clear marker[0m+ [2mwt config var clear markerClear marker for a specific branch:- [2mwt config var clear marker --branch=feature[0m+ [2mwt config var clear marker --branch=featureClear all markers:- [2mwt config var clear marker --all[0m+ [2mwt config var clear marker --alldiff --git a/tests/snapshots/integration__integration_tests__help__help_config_var_get.snap b/tests/snapshots/integration__integration_tests__help__help_config_var_get.snapindex 43aaf3c10..d48b126e4 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_var_get.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_var_get.snap@@ -21,32 +21,32 @@ exit_code: 0----- stderr -----wt config var get - Get a variable value-Usage: [1m[36mwt config var get[0m [36m[OPTIONS][0m [36m<KEY>[0m+Usage: [1m[36mwt config var get[0m [36m[OPTIONS][0m [36m<KEY>-[1m[32mArguments:[0m- [36m<KEY>[0m+[1m[32mArguments:+ [36m<KEY>Variable: 'default-branch', 'marker', or 'ci-status'[possible values: default-branch, marker, ci-status]-[1m[32mOptions:[0m- [1m[36m--refresh[0m+[1m[32mOptions:+ [1m[36m--refreshForce refresh (for cached variables)- [1m[36m--branch[0m[36m [0m[36m<BRANCH>[0m+ [1m[36m--branch[0m[36m [0m[36m<BRANCH>Target branch (for branch-scoped variables)- [1m[36m-h[0m, [1m[36m--help[0m+ [1m[36m-h[0m, [1m[36m--helpPrint help (see a summary with '-h')-[1m[32mGlobal Options:[0m- [1m[36m-C[0m[36m [0m[36m<path>[0m+[1m[32mGlobal Options:+ [1m[36m-C[0m[36m [0m[36m<path>Working directory for this command- [1m[36m--config[0m[36m [0m[36m<path>[0m+ [1m[36m--config[0m[36m [0m[36m<path>User config file path- [1m[36m-v[0m, [1m[36m--verbose[0m+ [1m[36m-v[0m, [1m[36m--verboseShow commands and debug infoVariables:@@ -55,22 +55,22 @@ Variables:- [1mmarker[0m: Custom status marker for a branch (shown in [2mwt list[0m)- [1mci-status[0m: CI/PR status for a branch (passed, running, failed, conflicts, noci)-[32mExamples[0m+[32mExamplesGet the default branch:- [2mwt config var get default-branch[0m+ [2mwt config var get default-branchForce refresh from remote:- [2mwt config var get default-branch --refresh[0m+ [2mwt config var get default-branch --refreshGet marker for current branch:- [2mwt config var get marker[0m+ [2mwt config var get markerGet marker for a specific branch:- [2mwt config var get marker --branch=feature[0m+ [2mwt config var get marker --branch=featureGet CI status for current branch:- [2mwt config var get ci-status[0m+ [2mwt config var get ci-statusForce refresh CI status (bypass cache):- [2mwt config var get ci-status --refresh[0m+ [2mwt config var get ci-status --refreshdiff --git a/tests/snapshots/integration__integration_tests__help__help_config_var_set.snap b/tests/snapshots/integration__integration_tests__help__help_config_var_set.snapindex 766e35260..784a70063 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_var_set.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_var_set.snap@@ -21,42 +21,42 @@ exit_code: 0----- stderr -----wt config var set - Set a variable value-Usage: [1m[36mwt config var set[0m [36m[OPTIONS][0m [36m<KEY>[0m [36m<VALUE>[0m+Usage: [1m[36mwt config var set[0m [36m[OPTIONS][0m [36m<KEY>[0m [36m<VALUE>-[1m[32mArguments:[0m- [36m<KEY>[0m+[1m[32mArguments:+ [36m<KEY>Variable: 'marker'[possible values: marker]- [36m<VALUE>[0m+ [36m<VALUE>Value to set-[1m[32mOptions:[0m- [1m[36m--branch[0m[36m [0m[36m<BRANCH>[0m+[1m[32mOptions:+ [1m[36m--branch[0m[36m [0m[36m<BRANCH>Target branch (defaults to current)- [1m[36m-h[0m, [1m[36m--help[0m+ [1m[36m-h[0m, [1m[36m--helpPrint help (see a summary with '-h')-[1m[32mGlobal Options:[0m- [1m[36m-C[0m[36m [0m[36m<path>[0m+[1m[32mGlobal Options:+ [1m[36m-C[0m[36m [0m[36m<path>Working directory for this command- [1m[36m--config[0m[36m [0m[36m<path>[0m+ [1m[36m--config[0m[36m [0m[36m<path>User config file path- [1m[36m-v[0m, [1m[36m--verbose[0m+ [1m[36m-v[0m, [1m[36m--verboseShow commands and debug infoVariables:- [1mmarker[0m: Custom status marker displayed in [2mwt list[0m output-[32mExamples[0m+[32mExamplesSet marker for current branch:- [2mwt config var set marker "🚧 WIP"[0m+ [2mwt config var set marker "🚧 WIP"Set marker for a specific branch:- [2mwt config var set marker "✅ ready" --branch=feature[0m+ [2mwt config var set marker "✅ ready" --branch=featurediff --git a/tests/snapshots/integration__integration_tests__help__help_hook_approvals.snap b/tests/snapshots/integration__integration_tests__help__help_hook_approvals.snapindex 84624165c..8aa33482d 100644--- a/tests/snapshots/integration__integration_tests__help__help_hook_approvals.snap+++ b/tests/snapshots/integration__integration_tests__help__help_hook_approvals.snap@@ -20,52 +20,52 @@ exit_code: 0----- stderr -----wt hook approvals - Manage command approvals-Usage: [1m[36mwt hook approvals[0m [36m[OPTIONS][0m [36m<COMMAND>[0m+Usage: [1m[36mwt hook approvals[0m [36m[OPTIONS][0m [36m<COMMAND>-[1m[32mCommands:[0m+[1m[32mCommands:[1m[36madd[0m Store approvals in config[1m[36mclear[0m Clear approved commands from config-[1m[32mOptions:[0m- [1m[36m-h[0m, [1m[36m--help[0m+[1m[32mOptions:+ [1m[36m-h[0m, [1m[36m--helpPrint help (see a summary with '-h')-[1m[32mGlobal Options:[0m- [1m[36m-C[0m[36m [0m[36m<path>[0m+[1m[32mGlobal Options:+ [1m[36m-C[0m[36m [0m[36m<path>Working directory for this command- [1m[36m--config[0m[36m [0m[36m<path>[0m+ [1m[36m--config[0m[36m [0m[36m<path>User config file path- [1m[36m-v[0m, [1m[36m--verbose[0m+ [1m[36m-v[0m, [1m[36m--verboseShow commands and debug info-[32mHow Approvals Work[0m+[32mHow Approvals WorkCommands from project hooks ([2m.config/wt.toml[0m) and LLM configuration requireapproval on first run. This prevents untrusted projects from running arbitrarycommands.-[1mApproval flow:[0m+[1mApproval flow:1. Command is shown with expanded template variables2. User approves or denies-3. Approved commands are saved to user config under [2m[projects."project-id"][0m+3. Approved commands are saved to user config under [2m[projects."project-id"]-[1mWhen re-approval is required:[0m+[1mWhen re-approval is required:- Command template changes (not just variable values)- Project ID changes (repository moves)-[1mBypassing prompts:[0m+[1mBypassing prompts:- [2m--force[0m flag on individual commands (e.g., [2mwt merge --force[0m)- Useful for CI/automation where prompts aren't possible-[32mExamples[0m+[32mExamplesPre-approve all commands for current project:- [2mwt hook approvals add[0m+ [2mwt hook approvals addClear approvals for current project:- [2mwt hook approvals clear[0m+ [2mwt hook approvals clearClear global approvals:- [2mwt hook approvals clear --global[0m+ [2mwt hook approvals clear --globaldiff --git a/tests/snapshots/integration__integration_tests__help__help_hook_approvals_add.snap b/tests/snapshots/integration__integration_tests__help__help_hook_approvals_add.snapindex 5f83ce4e9..fac5affeb 100644--- a/tests/snapshots/integration__integration_tests__help__help_hook_approvals_add.snap+++ b/tests/snapshots/integration__integration_tests__help__help_hook_approvals_add.snap@@ -21,23 +21,23 @@ exit_code: 0----- stderr -----wt hook approvals add - Store approvals in config-Usage: [1m[36mwt hook approvals add[0m [36m[OPTIONS][0m+Usage: [1m[36mwt hook approvals add[0m [36m[OPTIONS]-[1m[32mOptions:[0m- [1m[36m--all[0m+[1m[32mOptions:+ [1m[36m--allShow all commands- [1m[36m-h[0m, [1m[36m--help[0m+ [1m[36m-h[0m, [1m[36m--helpPrint help (see a summary with '-h')-[1m[32mGlobal Options:[0m- [1m[36m-C[0m[36m [0m[36m<path>[0m+[1m[32mGlobal Options:+ [1m[36m-C[0m[36m [0m[36m<path>Working directory for this command- [1m[36m--config[0m[36m [0m[36m<path>[0m+ [1m[36m--config[0m[36m [0m[36m<path>User config file path- [1m[36m-v[0m, [1m[36m--verbose[0m+ [1m[36m-v[0m, [1m[36m--verboseShow commands and debug infoPrompts for approval of all project commands and saves them to user config.diff --git a/tests/snapshots/integration__integration_tests__help__help_hook_approvals_clear.snap b/tests/snapshots/integration__integration_tests__help__help_hook_approvals_clear.snapindex 9733668db..0e9e25e95 100644--- a/tests/snapshots/integration__integration_tests__help__help_hook_approvals_clear.snap+++ b/tests/snapshots/integration__integration_tests__help__help_hook_approvals_clear.snap@@ -21,23 +21,23 @@ exit_code: 0----- stderr -----wt hook approvals clear - Clear approved commands from config-Usage: [1m[36mwt hook approvals clear[0m [36m[OPTIONS][0m+Usage: [1m[36mwt hook approvals clear[0m [36m[OPTIONS]-[1m[32mOptions:[0m- [1m[36m-g[0m, [1m[36m--global[0m+[1m[32mOptions:+ [1m[36m-g[0m, [1m[36m--globalClear global approvals- [1m[36m-h[0m, [1m[36m--help[0m+ [1m[36m-h[0m, [1m[36m--helpPrint help (see a summary with '-h')-[1m[32mGlobal Options:[0m- [1m[36m-C[0m[36m [0m[36m<path>[0m+[1m[32mGlobal Options:+ [1m[36m-C[0m[36m [0m[36m<path>Working directory for this command- [1m[36m--config[0m[36m [0m[36m<path>[0m+ [1m[36m--config[0m[36m [0m[36m<path>User config file path- [1m[36m-v[0m, [1m[36m--verbose[0m+ [1m[36m-v[0m, [1m[36m--verboseShow commands and debug infoRemoves saved approvals, requiring re-approval on next command run.diff --git a/tests/snapshots/integration__integration_tests__help__help_list_long.snap b/tests/snapshots/integration__integration_tests__help__help_list_long.snapindex c1a0ff96f..6603fafc3 100644--- a/tests/snapshots/integration__integration_tests__help__help_list_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_list_long.snap@@ -19,43 +19,43 @@ exit_code: 0----- stderr -----wt list - List worktrees and optionally branches-Usage: [1m[36mwt list[0m [36m[OPTIONS][0m- [1m[36mwt list[0m [36m<COMMAND>[0m+Usage: [1m[36mwt list[0m [36m[OPTIONS]+ [1m[36mwt list[0m [36m<COMMAND>-[1m[32mCommands:[0m+[1m[32mCommands:[1m[36mstatusline[0m Single-line status for shell prompts-[1m[32mOptions:[0m- [1m[36m--format[0m[36m [0m[36m<FORMAT>[0m+[1m[32mOptions:+ [1m[36m--format[0m[36m [0m[36m<FORMAT>Output format (table, json)[default: table]- [1m[36m--branches[0m+ [1m[36m--branchesInclude branches without worktrees- [1m[36m--remotes[0m+ [1m[36m--remotesInclude remote branches- [1m[36m--full[0m+ [1m[36m--fullShow CI and [1mmain[0m diffstat- [1m[36m--progressive[0m- Show fast info immediately, update with slow info[0m- [0m- Displays local data (branches, paths, status) first, then updates with remote data (CI, upstream) as it arrives. Auto-enabled for TTY.[0m+ [1m[36m--progressive+ Show fast info immediately, update with slow info++ Displays local data (branches, paths, status) first, then updates with remote data (CI, upstream) as it arrives. Auto-enabled for TTY.- [1m[36m-h[0m, [1m[36m--help[0m+ [1m[36m-h[0m, [1m[36m--helpPrint help (see a summary with '-h')-[1m[32mGlobal Options:[0m- [1m[36m-C[0m[36m [0m[36m<path>[0m+[1m[32mGlobal Options:+ [1m[36m-C[0m[36m [0m[36m<path>Working directory for this command- [1m[36m--config[0m[36m [0m[36m<path>[0m+ [1m[36m--config[0m[36m [0m[36m<path>User config file path- [1m[36m-v[0m, [1m[36m--verbose[0m+ [1m[36m-v[0m, [1m[36m--verboseShow commands and debug infoShow all worktrees with their status. The table includes uncommitted changes, divergence from main and remote, and optional CI status.@@ -64,25 +64,25 @@ The table renders progressively: branch names, paths, and commit hashes appear ibackground git operations complete. With [2m--full[0m, CI status fetches from the network — the table displays instantly and CI fills in as resultsarrive.-[32mExamples[0m+[32mExamplesList all worktrees:- [2m$ wt list[0m+ [2m$ wt listInclude CI status and line diffs:- [2m$ wt list --full[0m+ [2m$ wt list --fullInclude branches that don't have worktrees:- [2m$ wt list --branches --full[0m+ [2m$ wt list --branches --fullOutput as JSON for scripting:- [2m$ wt list --format=json[0m+ [2m$ wt list --format=json-[32mColumns[0m+[32mColumnsColumn Shows─────── ────────────────────────────────────────────@@ -98,7 +98,7 @@ Output as JSON for scripting:Age Time since last commitMessage Last commit message (truncated)-[1mCI status[0m+[1mCI statusThe CI column shows GitHub/GitLab pipeline status:@@ -114,7 +114,7 @@ The CI column shows GitHub/GitLab pipeline status:CI is only checked for branches that track a remote — local-only branches show blank. Any CI dot appears dimmed when there are unpushed local changes(stale status). CI indicators are clickable links to the PR page. Results are cached for 30-60 seconds; use [2mwt config cache[0m to view or clear.-[32mStatus symbols[0m+[32mStatus symbolsThe Status column has multiple subcolumns. Within each, only the first matching symbol is shown (listed in priority order):@@ -144,26 +144,26 @@ The Status column has multiple subcolumns. Within each, only the first matchingRows are dimmed when the branch content is already in main ([2m_[0m same commit or [2m⊂[0m content integrated).-[32mJSON output[0m+[32mJSON outputQuery structured data with [2m--format=json[0m:- [2m# Worktrees with merge conflicts[0m- [2mwt list --format=json | jq '.[] | select(.operation_state == "conflicts")'[0m- [2m[0m- [2m# Uncommitted changes[0m- [2mwt list --format=json | jq '.[] | select(.working_tree.modified)'[0m- [2m[0m- [2m# Current worktree[0m- [2mwt list --format=json | jq '.[] | select(.is_current)'[0m- [2m[0m- [2m# Branches ahead of main[0m- [2mwt list --format=json | jq '.[] | select(.main.ahead > 0)'[0m- [2m[0m- [2m# Integrated branches (ready to clean up)[0m- [2mwt list --format=json | jq '.[] | select(.main_state == "integrated" or .main_state == "same_commit")'[0m--[1mFields:[0m+ [2m# Worktrees with merge conflicts+ [2mwt list --format=json | jq '.[] | select(.operation_state == "conflicts")'+ [2m+ [2m# Uncommitted changes+ [2mwt list --format=json | jq '.[] | select(.working_tree.modified)'+ [2m+ [2m# Current worktree+ [2mwt list --format=json | jq '.[] | select(.is_current)'+ [2m+ [2m# Branches ahead of main+ [2mwt list --format=json | jq '.[] | select(.main.ahead > 0)'+ [2m+ [2m# Integrated branches (ready to clean up)+ [2mwt list --format=json | jq '.[] | select(.main_state == "integrated" or .main_state == "same_commit")'++[1mFields:Field Description────────────────── ──────────────────────────────────────────────────────────────────────────────────────────────────@@ -185,6 +185,6 @@ Query structured data with [2m--format=json[0m:[2mstatusline[0m Pre-formatted status with ANSI colors[2msymbols[0m Raw status symbols without colors (e.g., [2m"!?↓"[0m)-[32mSee also[0m+[32mSee also- wt select — Interactive worktree picker with live previewdiff --git a/tests/snapshots/integration__integration_tests__help__help_list_short.snap b/tests/snapshots/integration__integration_tests__help__help_list_short.snapindex 786149544..6b542041e 100644--- a/tests/snapshots/integration__integration_tests__help__help_list_short.snap+++ b/tests/snapshots/integration__integration_tests__help__help_list_short.snap@@ -19,13 +19,13 @@ exit_code: 0----- stderr -----wt list - List worktrees and optionally branches-Usage: [1m[36mwt list[0m [36m[OPTIONS][0m- [1m[36mwt list[0m [36m<COMMAND>[0m+Usage: [1m[36mwt list[0m [36m[OPTIONS]+ [1m[36mwt list[0m [36m<COMMAND>-[1m[32mCommands:[0m+[1m[32mCommands:[1m[36mstatusline[0m Single-line status for shell prompts-[1m[32mOptions:[0m+[1m[32mOptions:[1m[36m--format[0m[36m [0m[36m<FORMAT>[0m Output format (table, json) [default: table][1m[36m--branches[0m Include branches without worktrees[1m[36m--remotes[0m Include remote branches@@ -33,7 +33,7 @@ Usage: [1m[36mwt list[0m [36m[OPTIONS][0m[1m[36m--progressive[0m Show fast info immediately, update with slow info[1m[36m-h[0m, [1m[36m--help[0m Print help (see more with '--help')-[1m[32mGlobal Options:[0m+[1m[32mGlobal Options:[1m[36m-C[0m[36m [0m[36m<path>[0m Working directory for this command[1m[36m--config[0m[36m [0m[36m<path>[0m User config file path[1m[36m-v[0m, [1m[36m--verbose[0m Show commands and debug infodiff --git a/tests/snapshots/integration__integration_tests__help__help_merge_long.snap b/tests/snapshots/integration__integration_tests__help__help_merge_long.snapindex 479c131e3..4b2969171 100644--- a/tests/snapshots/integration__integration_tests__help__help_merge_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_merge_long.snap@@ -19,31 +19,31 @@ exit_code: 0----- stderr -----wt merge - Merge worktree into target branch-Usage: [1m[36mwt merge[0m [36m[OPTIONS][0m [36m[TARGET][0m+Usage: [1m[36mwt merge[0m [36m[OPTIONS][0m [36m[TARGET]-[1m[32mArguments:[0m- [36m[TARGET][0m- Target branch[0m- [0m- Defaults to default branch.[0m+[1m[32mArguments:+ [36m[TARGET]+ Target branch++ Defaults to default branch.-[1m[32mOptions:[0m- [1m[36m--no-squash[0m+[1m[32mOptions:+ [1m[36m--no-squashSkip commit squashing- [1m[36m--no-commit[0m+ [1m[36m--no-commitSkip commit, squash, and rebase- [1m[36m--no-remove[0m+ [1m[36m--no-removeKeep worktree after merge- [1m[36m--no-verify[0m+ [1m[36m--no-verifySkip hooks- [1m[36m-f[0m, [1m[36m--force[0m+ [1m[36m-f[0m, [1m[36m--forceSkip approval prompts- [1m[36m--stage[0m[36m [0m[36m<STAGE>[0m+ [1m[36m--stage[0m[36m [0m[36m<STAGE>What to stage before committing [default: all]Possible values:@@ -51,17 +51,17 @@ Usage: [1m[36mwt merge[0m [36m[OPTIONS][0m [36m[TARGET][0m- [1m[36mtracked[0m: Stage tracked changes only (like [1mgit add -u[0m)- [1m[36mnone[0m: Stage nothing, commit only what's already in the index- [1m[36m-h[0m, [1m[36m--help[0m+ [1m[36m-h[0m, [1m[36m--helpPrint help (see a summary with '-h')-[1m[32mGlobal Options:[0m- [1m[36m-C[0m[36m [0m[36m<path>[0m+[1m[32mGlobal Options:+ [1m[36m-C[0m[36m [0m[36m<path>Working directory for this command- [1m[36m--config[0m[36m [0m[36m<path>[0m+ [1m[36m--config[0m[36m [0m[36m<path>User config file path- [1m[36m-v[0m, [1m[36m--verbose[0m+ [1m[36m-v[0m, [1m[36m--verboseShow commands and debug infoMerge the current branch into the target branch and clean up. Handles the full workflow: commit uncommitted changes, squash commits, rebase, run@@ -69,29 +69,29 @@ hooks, push to target, and remove the worktree.When already on the target branch or in the main worktree, the worktree is preserved automatically.-[32mExamples[0m+[32mExamplesBasic merge to main:- [2mwt merge[0m+ [2mwt mergeMerge to a different branch:- [2mwt merge develop[0m+ [2mwt merge developKeep the worktree after merging:- [2mwt merge --no-remove[0m+ [2mwt merge --no-removePreserve commit history (no squash):- [2mwt merge --no-squash[0m+ [2mwt merge --no-squashSkip git operations, only run hooks and push:- [2mwt merge --no-commit[0m+ [2mwt merge --no-commit-[32mPipeline[0m+[32mPipeline[2mwt merge[0m runs these steps:@@ -108,7 +108,7 @@ changes are committed separately and individual commits are preserved.Use [2m--no-commit[0m to skip all git operations (steps 1-2) and only run hooks and merge. Useful after preparing commits manually with [2mwt step[0m.Requires a clean working tree.-[32mSee also[0m+[32mSee also- wt step — Run individual merge steps (commit, squash, rebase, push)- wt remove — Remove worktrees without mergingdiff --git a/tests/snapshots/integration__integration_tests__help__help_merge_short.snap b/tests/snapshots/integration__integration_tests__help__help_merge_short.snapindex be42e29d7..59eb15c99 100644--- a/tests/snapshots/integration__integration_tests__help__help_merge_short.snap+++ b/tests/snapshots/integration__integration_tests__help__help_merge_short.snap@@ -19,12 +19,12 @@ exit_code: 0----- stderr -----wt merge - Merge worktree into target branch-Usage: [1m[36mwt merge[0m [36m[OPTIONS][0m [36m[TARGET][0m+Usage: [1m[36mwt merge[0m [36m[OPTIONS][0m [36m[TARGET]-[1m[32mArguments:[0m+[1m[32mArguments:[36m[TARGET][0m Target branch-[1m[32mOptions:[0m+[1m[32mOptions:[1m[36m--no-squash[0m Skip commit squashing[1m[36m--no-commit[0m Skip commit, squash, and rebase[1m[36m--no-remove[0m Keep worktree after merge@@ -33,7 +33,7 @@ Usage: [1m[36mwt merge[0m [36m[OPTIONS][0m [36m[TARGET][0m[1m[36m--stage[0m[36m [0m[36m<STAGE>[0m What to stage before committing [default: all] [possible values: all, tracked, none][1m[36m-h[0m, [1m[36m--help[0m Print help (see more with '--help')-[1m[32mGlobal Options:[0m+[1m[32mGlobal Options:[1m[36m-C[0m[36m [0m[36m<path>[0m Working directory for this command[1m[36m--config[0m[36m [0m[36m<path>[0m User config file path[1m[36m-v[0m, [1m[36m--verbose[0m Show commands and debug infodiff --git a/tests/snapshots/integration__integration_tests__help__help_no_args.snap b/tests/snapshots/integration__integration_tests__help__help_no_args.snapindex 4cf8c3379..48f5491bd 100644--- a/tests/snapshots/integration__integration_tests__help__help_no_args.snap+++ b/tests/snapshots/integration__integration_tests__help__help_no_args.snap@@ -17,9 +17,9 @@ exit_code: 0----- stderr -----wt - Git worktree management-Usage: [1m[36mwt[0m [36m[OPTIONS][0m [36m[COMMAND][0m+Usage: [1m[36mwt[0m [36m[OPTIONS][0m [36m[COMMAND]-[1m[32mCommands:[0m+[1m[32mCommands:[1m[36mconfig[0m Manage configuration and shell integration[1m[36mstep[0m Run individual workflow operations[1m[36mhook[0m Run hooks independently@@ -29,11 +29,11 @@ Usage: [1m[36mwt[0m [36m[OPTIONS][0m [36m[COMMAND][0m[1m[36mremove[0m Remove worktree and branch[1m[36mmerge[0m Merge worktree into target branch-[1m[32mOptions:[0m+[1m[32mOptions:[1m[36m-h[0m, [1m[36m--help[0m Print help (see more with '--help')[1m[36m-V[0m, [1m[36m--version[0m Print version-[1m[32mGlobal Options:[0m+[1m[32mGlobal Options:[1m[36m-C[0m[36m [0m[36m<path>[0m Working directory for this command[1m[36m--config[0m[36m [0m[36m<path>[0m User config file path[1m[36m-v[0m, [1m[36m--verbose[0m Show commands and debug infodiff --git a/tests/snapshots/integration__integration_tests__help__help_remove_long.snap b/tests/snapshots/integration__integration_tests__help__help_remove_long.snapindex aa5104f0c..2ccdcb210 100644--- a/tests/snapshots/integration__integration_tests__help__help_remove_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_remove_long.snap@@ -19,63 +19,63 @@ exit_code: 0----- stderr -----wt remove - Remove worktree and branch-Usage: [1m[36mwt remove[0m [36m[OPTIONS][0m [36m[WORKTREES]...[0m+Usage: [1m[36mwt remove[0m [36m[OPTIONS][0m [36m[WORKTREES]...-[1m[32mArguments:[0m- [36m[WORKTREES]...[0m+[1m[32mArguments:+ [36m[WORKTREES]...Worktree or branch (@ for current)-[1m[32mOptions:[0m- [1m[36m--no-delete-branch[0m+[1m[32mOptions:+ [1m[36m--no-delete-branchKeep branch after removal- [1m[36m-D[0m, [1m[36m--force-delete[0m+ [1m[36m-D[0m, [1m[36m--force-deleteDelete unmerged branches- [1m[36m--no-background[0m+ [1m[36m--no-backgroundRun removal in foreground- [1m[36m--no-verify[0m+ [1m[36m--no-verifySkip hooks- [1m[36m--force[0m+ [1m[36m--forceSkip approval prompts- [1m[36m-h[0m, [1m[36m--help[0m+ [1m[36m-h[0m, [1m[36m--helpPrint help (see a summary with '-h')-[1m[32mGlobal Options:[0m- [1m[36m-C[0m[36m [0m[36m<path>[0m+[1m[32mGlobal Options:+ [1m[36m-C[0m[36m [0m[36m<path>Working directory for this command- [1m[36m--config[0m[36m [0m[36m<path>[0m+ [1m[36m--config[0m[36m [0m[36m<path>User config file path- [1m[36m-v[0m, [1m[36m--verbose[0m+ [1m[36m-v[0m, [1m[36m--verboseShow commands and debug infoRemoves worktrees and their branches. Without arguments, removes the current worktree and returns to the main worktree.-[32mExamples[0m+[32mExamplesRemove current worktree:- [2mwt remove[0m+ [2mwt removeRemove specific worktrees:- [2mwt remove feature-branch[0m- [2mwt remove old-feature another-branch[0m+ [2mwt remove feature-branch+ [2mwt remove old-feature another-branchKeep the branch:- [2mwt remove --no-delete-branch feature-branch[0m+ [2mwt remove --no-delete-branch feature-branchForce-delete an unmerged branch:- [2mwt remove -D experimental[0m+ [2mwt remove -D experimental-[32mBranch cleanup[0m+[32mBranch cleanupBranches delete automatically when their content is already in the target branch (typically main). This works with squash-merge and rebase workflowswhere commit history differs but file changes match.@@ -94,14 +94,14 @@ In [2mwt list[0m, [2m_[0m indicates same commit, and [2m⊂[0m indicates cUse [2m-D[0m to force-delete branches with unmerged changes. Use [2m--no-delete-branch[0m to keep the branch regardless of status.-[32mBackground removal[0m+[32mBackground removalRemoval runs in the background by default (returns immediately). Logs are written to [2m.git/wt-logs/{branch}-remove.log[0m. Use [2m--no-background[0m to runin the foreground.Arguments resolve by path first, then branch name. Shortcuts: [2m@[0m (current), [2m-[0m (previous), [2m^[0m (main worktree).-[32mSee also[0m+[32mSee also- wt merge — Remove worktree after merging- wt list — View all worktreesdiff --git a/tests/snapshots/integration__integration_tests__help__help_remove_short.snap b/tests/snapshots/integration__integration_tests__help__help_remove_short.snapindex b4412dbe7..c1ea2c032 100644--- a/tests/snapshots/integration__integration_tests__help__help_remove_short.snap+++ b/tests/snapshots/integration__integration_tests__help__help_remove_short.snap@@ -19,12 +19,12 @@ exit_code: 0----- stderr -----wt remove - Remove worktree and branch-Usage: [1m[36mwt remove[0m [36m[OPTIONS][0m [36m[WORKTREES]...[0m+Usage: [1m[36mwt remove[0m [36m[OPTIONS][0m [36m[WORKTREES]...-[1m[32mArguments:[0m+[1m[32mArguments:[36m[WORKTREES]...[0m Worktree or branch (@ for current)-[1m[32mOptions:[0m+[1m[32mOptions:[1m[36m--no-delete-branch[0m Keep branch after removal[1m[36m-D[0m, [1m[36m--force-delete[0m Delete unmerged branches[1m[36m--no-background[0m Run removal in foreground@@ -32,7 +32,7 @@ Usage: [1m[36mwt remove[0m [36m[OPTIONS][0m [36m[WORKTREES]...[0m[1m[36m--force[0m Skip approval prompts[1m[36m-h[0m, [1m[36m--help[0m Print help (see more with '--help')-[1m[32mGlobal Options:[0m+[1m[32mGlobal Options:[1m[36m-C[0m[36m [0m[36m<path>[0m Working directory for this command[1m[36m--config[0m[36m [0m[36m<path>[0m User config file path[1m[36m-v[0m, [1m[36m--verbose[0m Show commands and debug infodiff --git a/tests/snapshots/integration__integration_tests__help__help_root_long.snap b/tests/snapshots/integration__integration_tests__help__help_root_long.snapindex 35e1fe314..6c5ad2e25 100644--- a/tests/snapshots/integration__integration_tests__help__help_root_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_root_long.snap@@ -18,9 +18,9 @@ exit_code: 0----- stderr -----wt - Git worktree management-Usage: [1m[36mwt[0m [36m[OPTIONS][0m [36m[COMMAND][0m+Usage: [1m[36mwt[0m [36m[OPTIONS][0m [36m[COMMAND]-[1m[32mCommands:[0m+[1m[32mCommands:[1m[36mconfig[0m Manage configuration and shell integration[1m[36mstep[0m Run individual workflow operations[1m[36mhook[0m Run hooks independently@@ -30,21 +30,21 @@ Usage: [1m[36mwt[0m [36m[OPTIONS][0m [36m[COMMAND][0m[1m[36mremove[0m Remove worktree and branch[1m[36mmerge[0m Merge worktree into target branch-[1m[32mOptions:[0m- [1m[36m-h[0m, [1m[36m--help[0m+[1m[32mOptions:+ [1m[36m-h[0m, [1m[36m--helpPrint help (see a summary with '-h')- [1m[36m-V[0m, [1m[36m--version[0m+ [1m[36m-V[0m, [1m[36m--versionPrint version-[1m[32mGlobal Options:[0m- [1m[36m-C[0m[36m [0m[36m<path>[0m+[1m[32mGlobal Options:+ [1m[36m-C[0m[36m [0m[36m<path>Working directory for this command- [1m[36m--config[0m[36m [0m[36m<path>[0m+ [1m[36m--config[0m[36m [0m[36m<path>User config file path- [1m[36m-v[0m, [1m[36m--verbose[0m+ [1m[36m-v[0m, [1m[36m--verboseShow commands and debug infoGetting starteddiff --git a/tests/snapshots/integration__integration_tests__help__help_root_short.snap b/tests/snapshots/integration__integration_tests__help__help_root_short.snapindex 889f4774b..6728dff01 100644--- a/tests/snapshots/integration__integration_tests__help__help_root_short.snap+++ b/tests/snapshots/integration__integration_tests__help__help_root_short.snap@@ -18,9 +18,9 @@ exit_code: 0----- stderr -----wt - Git worktree management-Usage: [1m[36mwt[0m [36m[OPTIONS][0m [36m[COMMAND][0m+Usage: [1m[36mwt[0m [36m[OPTIONS][0m [36m[COMMAND]-[1m[32mCommands:[0m+[1m[32mCommands:[1m[36mconfig[0m Manage configuration and shell integration[1m[36mstep[0m Run individual workflow operations[1m[36mhook[0m Run hooks independently@@ -30,11 +30,11 @@ Usage: [1m[36mwt[0m [36m[OPTIONS][0m [36m[COMMAND][0m[1m[36mremove[0m Remove worktree and branch[1m[36mmerge[0m Merge worktree into target branch-[1m[32mOptions:[0m+[1m[32mOptions:[1m[36m-h[0m, [1m[36m--help[0m Print help (see more with '--help')[1m[36m-V[0m, [1m[36m--version[0m Print version-[1m[32mGlobal Options:[0m+[1m[32mGlobal Options:[1m[36m-C[0m[36m [0m[36m<path>[0m Working directory for this command[1m[36m--config[0m[36m [0m[36m<path>[0m User config file path[1m[36m-v[0m, [1m[36m--verbose[0m Show commands and debug infodiff --git a/tests/snapshots/integration__integration_tests__help__help_step_long.snap b/tests/snapshots/integration__integration_tests__help__help_step_long.snapindex 516a617b5..bbc49c919 100644--- a/tests/snapshots/integration__integration_tests__help__help_step_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_step_long.snap@@ -19,52 +19,52 @@ exit_code: 0----- stderr -----wt step - Run individual workflow operations-Usage: [1m[36mwt step[0m [36m[OPTIONS][0m [36m<COMMAND>[0m+Usage: [1m[36mwt step[0m [36m[OPTIONS][0m [36m<COMMAND>-[1m[32mCommands:[0m+[1m[32mCommands:[1m[36mcommit[0m Commit changes with LLM commit message[1m[36msquash[0m Squash commits down to target[1m[36mpush[0m Push changes to local target branch[1m[36mrebase[0m Rebase onto target-[1m[32mOptions:[0m- [1m[36m-h[0m, [1m[36m--help[0m+[1m[32mOptions:+ [1m[36m-h[0m, [1m[36m--helpPrint help (see a summary with '-h')-[1m[32mGlobal Options:[0m- [1m[36m-C[0m[36m [0m[36m<path>[0m+[1m[32mGlobal Options:+ [1m[36m-C[0m[36m [0m[36m<path>Working directory for this command- [1m[36m--config[0m[36m [0m[36m<path>[0m+ [1m[36m--config[0m[36m [0m[36m<path>User config file path- [1m[36m-v[0m, [1m[36m--verbose[0m+ [1m[36m-v[0m, [1m[36m--verboseShow commands and debug infoRun individual git workflow operations: commits, squashes, rebases, and pushes.-[32mExamples[0m+[32mExamplesCommit with LLM-generated message:- [2mwt step commit[0m+ [2mwt step commitManual merge workflow with review between steps:- [2mwt step commit[0m- [2mwt step squash[0m- [2m# Review the squashed commit[0m- [2mwt step rebase[0m- [2mwt step push[0m+ [2mwt step commit+ [2mwt step squash+ [2m# Review the squashed commit+ [2mwt step rebase+ [2mwt step push-[32mOperations[0m+[32mOperations- [2mcommit[0m — Stage and commit with LLM-generated message- [2msquash[0m — Squash all branch commits into one with LLM-generated message- [2mrebase[0m — Rebase onto target branch- [2mpush[0m — Push to target branch (default: main)-[32mSee also[0m+[32mSee also- wt merge — Runs commit → squash → rebase → hooks → push → cleanup automatically- wt hook — Run hooks independentlydiff --git a/tests/snapshots/integration__integration_tests__help__help_step_short.snap b/tests/snapshots/integration__integration_tests__help__help_step_short.snapindex 24cedb713..316f1df41 100644--- a/tests/snapshots/integration__integration_tests__help__help_step_short.snap+++ b/tests/snapshots/integration__integration_tests__help__help_step_short.snap@@ -19,18 +19,18 @@ exit_code: 0----- stderr -----wt step - Run individual workflow operations-Usage: [1m[36mwt step[0m [36m[OPTIONS][0m [36m<COMMAND>[0m+Usage: [1m[36mwt step[0m [36m[OPTIONS][0m [36m<COMMAND>-[1m[32mCommands:[0m+[1m[32mCommands:[1m[36mcommit[0m Commit changes with LLM commit message[1m[36msquash[0m Squash commits down to target[1m[36mpush[0m Push changes to local target branch[1m[36mrebase[0m Rebase onto target-[1m[32mOptions:[0m+[1m[32mOptions:[1m[36m-h[0m, [1m[36m--help[0m Print help (see more with '--help')-[1m[32mGlobal Options:[0m+[1m[32mGlobal Options:[1m[36m-C[0m[36m [0m[36m<path>[0m Working directory for this command[1m[36m--config[0m[36m [0m[36m<path>[0m User config file path[1m[36m-v[0m, [1m[36m--verbose[0m Show commands and debug infodiff --git a/tests/snapshots/integration__integration_tests__help__help_switch_long.snap b/tests/snapshots/integration__integration_tests__help__help_switch_long.snapindex 1136c6284..fda407314 100644--- a/tests/snapshots/integration__integration_tests__help__help_switch_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_switch_long.snap@@ -19,52 +19,52 @@ exit_code: 0----- stderr -----wt switch - Switch to a worktree-Usage: [1m[36mwt switch[0m [36m[OPTIONS][0m [36m<BRANCH>[0m+Usage: [1m[36mwt switch[0m [36m[OPTIONS][0m [36m<BRANCH>-[1m[32mArguments:[0m- [36m<BRANCH>[0m- Branch or worktree name[0m- [0m- Shortcuts: '^' (main), '-' (previous), '@' (current)[0m+[1m[32mArguments:+ [36m<BRANCH>+ Branch or worktree name++ Shortcuts: '^' (main), '-' (previous), '@' (current)-[1m[32mOptions:[0m- [1m[36m-c[0m, [1m[36m--create[0m+[1m[32mOptions:+ [1m[36m-c[0m, [1m[36m--createCreate a new branch- [1m[36m-b[0m, [1m[36m--base[0m[36m [0m[36m<BASE>[0m- Base branch[0m- [0m- Defaults to default branch.[0m+ [1m[36m-b[0m, [1m[36m--base[0m[36m [0m[36m<BASE>+ Base branch++ Defaults to default branch.- [1m[36m-x[0m, [1m[36m--execute[0m[36m [0m[36m<EXECUTE>[0m- Command to run after switch[0m- [0m+ [1m[36m-x[0m, [1m[36m--execute[0m[36m [0m[36m<EXECUTE>+ Command to run after switch+Replaces the wt process with the command after switching, giving it full terminal control. Useful for launching editors, AI agents, or other- interactive tools.[0m- [0m- Especially useful in shell aliases to create a worktree and start working in one command:[0m+ interactive tools.++ Especially useful in shell aliases to create a worktree and start working in one command:++ [1m[1malias wsc='wt switch --create --execute=claude'[0m- [1m[1malias wsc='wt switch --create --execute=claude'[0m- [0m[0m- Then [1mwsc feature-branch[0m creates the worktree and launches Claude Code.[0m+ Then [1mwsc feature-branch[0m creates the worktree and launches Claude Code.- [1m[36m-f[0m, [1m[36m--force[0m+ [1m[36m-f[0m, [1m[36m--forceSkip approval prompts- [1m[36m--no-verify[0m+ [1m[36m--no-verifySkip hooks- [1m[36m-h[0m, [1m[36m--help[0m+ [1m[36m-h[0m, [1m[36m--helpPrint help (see a summary with '-h')-[1m[32mGlobal Options:[0m- [1m[36m-C[0m[36m [0m[36m<path>[0m+[1m[32mGlobal Options:+ [1m[36m-C[0m[36m [0m[36m<path>Working directory for this command- [1m[36m--config[0m[36m [0m[36m<path>[0m+ [1m[36m--config[0m[36m [0m[36m<path>User config file path- [1m[36m-v[0m, [1m[36m--verbose[0m+ [1m[36m-v[0m, [1m[36m--verboseShow commands and debug infoTwo distinct operations:@@ -72,16 +72,16 @@ Two distinct operations:- [1mSwitch to existing worktree[0m — Changes directory, nothing else- [1mCreate new worktree[0m ([2m--create[0m) — Creates branch and worktree, runs hooks-[32mExamples[0m+[32mExamples- [2mwt switch feature-auth # Switch to existing worktree[0m- [2mwt switch - # Previous worktree (like cd -)[0m- [2mwt switch --create new-feature # Create branch and worktree[0m- [2mwt switch --create hotfix --base production[0m+ [2mwt switch feature-auth # Switch to existing worktree+ [2mwt switch - # Previous worktree (like cd -)+ [2mwt switch --create new-feature # Create branch and worktree+ [2mwt switch --create hotfix --base productionFor interactive selection, use `wt select`.-[32mCreating worktrees[0m+[32mCreating worktreesWith [2m--create[0m, worktrunk:@@ -91,12 +91,12 @@ With [2m--create[0m, worktrunk:4. Switches to new directory5. Spawns post-start hooks (background)- [2mwt switch --create api-refactor[0m- [2mwt switch --create fix --base release-2.0[0m- [2mwt switch --create docs --execute "code ."[0m- [2mwt switch --create temp --no-verify # Skip hooks[0m+ [2mwt switch --create api-refactor+ [2mwt switch --create fix --base release-2.0+ [2mwt switch --create docs --execute "code ."+ [2mwt switch --create temp --no-verify # Skip hooks-[32mShortcuts[0m+[32mShortcutsShortcut Meaning──────── ─────────────────────────────@@ -104,11 +104,11 @@ With [2m--create[0m, worktrunk:[2m@[0m Current branch/worktree[2m-[0m Previous worktree (like [2mcd -[0m)- [2mwt switch - # Back to previous[0m- [2mwt switch ^ # Main worktree[0m- [2mwt switch --create fix --base=@ # Branch from current HEAD[0m+ [2mwt switch - # Back to previous+ [2mwt switch ^ # Main worktree+ [2mwt switch --create fix --base=@ # Branch from current HEAD-[32mSee also[0m+[32mSee also- wt select — Interactive worktree selection- wt list — View all worktreesdiff --git a/tests/snapshots/integration__integration_tests__help__help_switch_short.snap b/tests/snapshots/integration__integration_tests__help__help_switch_short.snapindex 429af0bc8..e44e39903 100644--- a/tests/snapshots/integration__integration_tests__help__help_switch_short.snap+++ b/tests/snapshots/integration__integration_tests__help__help_switch_short.snap@@ -19,12 +19,12 @@ exit_code: 0----- stderr -----wt switch - Switch to a worktree-Usage: [1m[36mwt switch[0m [36m[OPTIONS][0m [36m<BRANCH>[0m+Usage: [1m[36mwt switch[0m [36m[OPTIONS][0m [36m<BRANCH>-[1m[32mArguments:[0m+[1m[32mArguments:[36m<BRANCH>[0m Branch or worktree name-[1m[32mOptions:[0m+[1m[32mOptions:[1m[36m-c[0m, [1m[36m--create[0m Create a new branch[1m[36m-b[0m, [1m[36m--base[0m[36m [0m[36m<BASE>[0m Base branch[1m[36m-x[0m, [1m[36m--execute[0m[36m [0m[36m<EXECUTE>[0m Command to run after switch@@ -32,7 +32,7 @@ Usage: [1m[36mwt switch[0m [36m[OPTIONS][0m [36m<BRANCH>[0m[1m[36m--no-verify[0m Skip hooks[1m[36m-h[0m, [1m[36m--help[0m Print help (see more with '--help')-[1m[32mGlobal Options:[0m+[1m[32mGlobal Options:[1m[36m-C[0m[36m [0m[36m<path>[0m Working directory for this command[1m[36m--config[0m[36m [0m[36m<path>[0m User config file path[1m[36m-v[0m, [1m[36m--verbose[0m Show commands and debug infodiff --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.snapindex 75c4373e0..523719deb 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@@ -17,6 +17,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---@@ -30,6 +31,6 @@ exit_code: 0[36mPROJECT HOOKS[39m [REPO]/.config/wt.toml⚪ pre-merge [1mbuild[22m:-[107m [0m [2m[0m[2m[34mcargo[0m[2m build[0m+[107m [0m [2m[0m[2m[34mcargo[0m[2m build❓ pre-merge [1mtest[22m: [2m(requires approval)[22m-[107m [0m [2m[0m[2m[34mcargo[0m[2m test[0m+[107m [0m [2m[0m[2m[34mcargo[0m[2m testdiff --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.snapindex ca78a3726..f472364cf 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@@ -18,6 +18,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---@@ -31,6 +32,6 @@ exit_code: 0[36mPROJECT HOOKS[39m [REPO]/.config/wt.toml❓ pre-merge [1mbuild[22m: [2m(requires approval)[22m-[107m [0m [2m[0m[2m[34mcargo[0m[2m build[0m+[107m [0m [2m[0m[2m[34mcargo[0m[2m build❓ pre-merge [1mtest[22m: [2m(requires approval)[22m-[107m [0m [2m[0m[2m[34mcargo[0m[2m test[0m+[107m [0m [2m[0m[2m[34mcargo[0m[2m testdiff --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.snapindex 103f36f65..39755933c 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@@ -17,6 +17,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---@@ -30,8 +31,8 @@ exit_code: 0[36mPROJECT HOOKS[39m [REPO]/.config/wt.toml❓ post-start [1mdeps[22m: [2m(requires approval)[22m-[107m [0m [2m[0m[2m[34mnpm[0m[2m install[0m+[107m [0m [2m[0m[2m[34mnpm[0m[2m install❓ pre-merge [1mbuild[22m: [2m(requires approval)[22m-[107m [0m [2m[0m[2m[34mcargo[0m[2m build[0m+[107m [0m [2m[0m[2m[34mcargo[0m[2m build❓ pre-merge [1mtest[22m: [2m(requires approval)[22m-[107m [0m [2m[0m[2m[34mcargo[0m[2m test[0m+[107m [0m [2m[0m[2m[34mcargo[0m[2m testdiff --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.snapindex 15fb4daa2..9d671fb5a 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@@ -7,6 +7,7 @@ info:- config- showenv:+ APPDATA: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpP7IhTH/.configCLICOLOR_FORCE: "1"COLUMNS: "150"GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"@@ -18,6 +19,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---@@ -27,7 +29,7 @@ exit_code: 0----- stderr -----[36mUSER CONFIG[39m ~/.config/worktrunk/config.toml-[107m [0m worktree-path = [32m"../{{ main_worktree }}.{{ branch }}"[0m+[107m [0m worktree-path = [32m"../{{ main_worktree }}.{{ branch }}"[36mPROJECT CONFIG[39m [REPO]/.config/wt.toml💡 [2mNot found[22m@@ -35,4 +37,3 @@ exit_code: 0[2m⚪ Skipped bash; ~/.bashrc not found[22m[2m⚪ Skipped zsh; ~/.zshrc not found[22m[2m⚪ Skipped fish; ~/.config/fish/conf.d not found[22m-[0mdiff --git a/tests/snapshots/integration__integration_tests__internal_flag__list_with_internal_flag.snap b/tests/snapshots/integration__integration_tests__internal_flag__list_with_internal_flag.snapindex fbc7a9bbe..d84e0c80a 100644--- a/tests/snapshots/integration__integration_tests__internal_flag__list_with_internal_flag.snap+++ b/tests/snapshots/integration__integration_tests__internal_flag__list_with_internal_flag.snap@@ -23,8 +23,7 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 1 worktree[0m-[0m+⚪ [2mShowing 1 worktreediff --git a/tests/snapshots/integration__integration_tests__list__branch_only_with_status.snap b/tests/snapshots/integration__integration_tests__list__branch_only_with_status.snapindex d5a3e1b34..57064f33d 100644--- a/tests/snapshots/integration__integration_tests__list__branch_only_with_status.snap+++ b/tests/snapshots/integration__integration_tests__list__branch_only_with_status.snap@@ -23,8 +23,8 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m- [2mbranch-only[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit+ [2mbranch-only[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 1 worktrees, 1 branches[0m+⚪ [2mShowing 1 worktrees, 1 branchesdiff --git a/tests/snapshots/integration__integration_tests__list__default_branch_missing_worktree.snap b/tests/snapshots/integration__integration_tests__list__default_branch_missing_worktree.snapindex 802843507..7ff9e629e 100644--- a/tests/snapshots/integration__integration_tests__list__default_branch_missing_worktree.snap+++ b/tests/snapshots/integration__integration_tests__list__default_branch_missing_worktree.snap@@ -22,7 +22,7 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mdevelop[0m [31m⚑[39m[2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mdevelop[0m [31m⚑[39m[2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 1 worktree[0m+⚪ [2mShowing 1 worktreediff --git a/tests/snapshots/integration__integration_tests__list__detached_head.snap b/tests/snapshots/integration__integration_tests__list__detached_head.snapindex 52eece078..d9b983cf3 100644--- a/tests/snapshots/integration__integration_tests__list__detached_head.snap+++ b/tests/snapshots/integration__integration_tests__list__detached_head.snap@@ -22,7 +22,7 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1m-[0m [31m⚑[39m[2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1m-[0m [31m⚑[39m[2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 1 worktree[0m+⚪ [2mShowing 1 worktreediff --git a/tests/snapshots/integration__integration_tests__list__detached_head_in_worktree.snap b/tests/snapshots/integration__integration_tests__list__detached_head_in_worktree.snapindex baaaf7ec1..274e00998 100644--- a/tests/snapshots/integration__integration_tests__list__detached_head_in_worktree.snap+++ b/tests/snapshots/integration__integration_tests__list__detached_head_in_worktree.snap@@ -22,8 +22,8 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2m-[0m [31m⚑[39m[2m_[22m [2m./repo.feature[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2m-[0m [31m⚑[39m[2m_[22m [2m./repo.feature[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 2 worktrees[0m+⚪ [2mShowing 2 worktreesdiff --git a/tests/snapshots/integration__integration_tests__list__large_diffs_alignment.snap b/tests/snapshots/integration__integration_tests__list__large_diffs_alignment.snapindex c3f99b979..3d53361cf 100644--- a/tests/snapshots/integration__integration_tests__list__large_diffs_alignment.snap+++ b/tests/snapshots/integration__integration_tests__list__large_diffs_alignment.snap@@ -22,10 +22,10 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ diverged [36m![39m [2m↑[22m 💬 [32m+40[0m [31m-60[0m [32m↑1[0m ./repo.diverged [2m8ba5aa92[0m [2m1d[0m [2mDiverged commit[0m-+ feature-changes [36m![39m[36m?[39m [2m↑[22m 🤖 [32m+50[0m [31m-100[0m [32m↑1[0m ./repo.feature-changes [2mb854b166[0m [2m1d[0m [2mAdd 100 lines[0m-+ [2mfix[0m [36m?[39m [2m_[22m 💬 [2m./repo.fix[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ diverged [36m![39m [2m↑[22m 💬 [32m+40[0m [31m-60[0m [32m↑1[0m ./repo.diverged [2m8ba5aa92[0m [2m1d[0m [2mDiverged commit++ feature-changes [36m![39m[36m?[39m [2m↑[22m 🤖 [32m+50[0m [31m-100[0m [32m↑1[0m ./repo.feature-changes [2mb854b166[0m [2m1d[0m [2mAdd 100 lines++ [2mfix[0m [36m?[39m [2m_[22m 💬 [2m./repo.fix[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 4 worktrees, 2 with changes, 2 ahead[0m+⚪ [2mShowing 4 worktrees, 2 with changes, 2 aheaddiff --git a/tests/snapshots/integration__integration_tests__list__list_ordering_rules.snap b/tests/snapshots/integration__integration_tests__list__list_ordering_rules.snapindex cb42c5dd6..5679fe758 100644--- a/tests/snapshots/integration__integration_tests__list__list_ordering_rules.snap+++ b/tests/snapshots/integration__integration_tests__list__list_ordering_rules.snap@@ -22,11 +22,11 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mfeature-current[0m [2m↑[22m [32m↑1[0m [1m./repo.feature-current[0m [2mfc28a4d1[0m [2m23h[0m [2mCommit at 01:00[0m-^ main [2m^[22m ./repo [2m6c3da842[0m [2m1d[0m [2mInitial commit on main[0m-+ feature-newest [2m↑[22m [32m↑1[0m ./repo.feature-newest [2m136358eb[0m [2m21h[0m [2mCommit at 03:00[0m-+ feature-middle [2m↑[22m [32m↑1[0m ./repo.feature-middle [2ma0a4851a[0m [2m22h[0m [2mCommit at 02:00[0m-+ feature-oldest [2m↑[22m [32m↑1[0m ./repo.feature-oldest [2m1b1a2d78[0m [2m23h[0m [2mCommit at 00:30[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mfeature-current[0m [2m↑[22m [32m↑1[0m [1m./repo.feature-current[0m [2mfc28a4d1[0m [2m23h[0m [2mCommit at 01:00+^ main [2m^[22m ./repo [2m6c3da842[0m [2m1d[0m [2mInitial commit on main++ feature-newest [2m↑[22m [32m↑1[0m ./repo.feature-newest [2m136358eb[0m [2m21h[0m [2mCommit at 03:00++ feature-middle [2m↑[22m [32m↑1[0m ./repo.feature-middle [2ma0a4851a[0m [2m22h[0m [2mCommit at 02:00++ feature-oldest [2m↑[22m [32m↑1[0m ./repo.feature-oldest [2m1b1a2d78[0m [2m23h[0m [2mCommit at 00:30-⚪ [2mShowing 5 worktrees, 4 ahead[0m+⚪ [2mShowing 5 worktrees, 4 aheaddiff --git a/tests/snapshots/integration__integration_tests__list__list_primary_on_different_branch.snap b/tests/snapshots/integration__integration_tests__list__list_primary_on_different_branch.snapindex ca4f9fec4..7e96f9d17 100644--- a/tests/snapshots/integration__integration_tests__list__list_primary_on_different_branch.snap+++ b/tests/snapshots/integration__integration_tests__list__list_primary_on_different_branch.snap@@ -22,9 +22,9 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mdevelop[0m [31m⚑[39m[2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-a[0m [2m_[22m [2m./repo.feature-a[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-b[0m [2m_[22m [2m./repo.feature-b[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mdevelop[0m [31m⚑[39m[2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-a[0m [2m_[22m [2m./repo.feature-a[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-b[0m [2m_[22m [2m./repo.feature-b[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 3 worktrees[0m+⚪ [2mShowing 3 worktreesdiff --git a/tests/snapshots/integration__integration_tests__list__list_with_c_flag.snap b/tests/snapshots/integration__integration_tests__list__list_with_c_flag.snapindex 1183ccff9..2d93dbb1a 100644--- a/tests/snapshots/integration__integration_tests__list__list_with_c_flag.snap+++ b/tests/snapshots/integration__integration_tests__list__list_with_c_flag.snap@@ -18,9 +18,9 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-a[0m [2m_[22m [2m./repo.feature-a[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-b[0m [2m_[22m [2m./repo.feature-b[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-a[0m [2m_[22m [2m./repo.feature-a[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-b[0m [2m_[22m [2m./repo.feature-b[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 3 worktrees[0m+⚪ [2mShowing 3 worktreesdiff --git a/tests/snapshots/integration__integration_tests__list__locked_no_reason.snap b/tests/snapshots/integration__integration_tests__list__locked_no_reason.snapindex a73d3ab8a..94969c860 100644--- a/tests/snapshots/integration__integration_tests__list__locked_no_reason.snap+++ b/tests/snapshots/integration__integration_tests__list__locked_no_reason.snap@@ -22,8 +22,8 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mlocked-no-reason[0m [33m⊞[39m[2m_[22m [2m./repo.locked-no-reason[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mlocked-no-reason[0m [33m⊞[39m[2m_[22m [2m./repo.locked-no-reason[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 2 worktrees[0m+⚪ [2mShowing 2 worktreesdiff --git a/tests/snapshots/integration__integration_tests__list__locked_worktree.snap b/tests/snapshots/integration__integration_tests__list__locked_worktree.snapindex c149245e7..3227102ce 100644--- a/tests/snapshots/integration__integration_tests__list__locked_worktree.snap+++ b/tests/snapshots/integration__integration_tests__list__locked_worktree.snap@@ -22,8 +22,8 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mlocked-feature[0m [33m⊞[39m[2m_[22m [2m./repo.locked-feature[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mlocked-feature[0m [33m⊞[39m[2m_[22m [2m./repo.locked-feature[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 2 worktrees[0m+⚪ [2mShowing 2 worktreesdiff --git a/tests/snapshots/integration__integration_tests__list__long_commit_message.snap b/tests/snapshots/integration__integration_tests__list__long_commit_message.snapindex c3daedd16..401a08c2e 100644--- a/tests/snapshots/integration__integration_tests__list__long_commit_message.snap+++ b/tests/snapshots/integration__integration_tests__list__long_commit_message.snap@@ -22,8 +22,8 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2m1310bfb9[0m [2m1d[0m [2mShort message[0m-+ [2mfeature-a[0m [2m⊂[22m [2m[31m↓1[0m [2m./repo.feature-a[0m [2mf078644e[0m [2m1d[0m [2mThis is a very long commit message that should test how the…[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2m1310bfb9[0m [2m1d[0m [2mShort message++ [2mfeature-a[0m [2m⊂[22m [2m[31m↓1[0m [2m./repo.feature-a[0m [2mf078644e[0m [2m1d[0m [2mThis is a very long commit message that should test how the…-⚪ [2mShowing 2 worktrees[0m+⚪ [2mShowing 2 worktreesdiff --git a/tests/snapshots/integration__integration_tests__list__many_worktrees_varied.snap b/tests/snapshots/integration__integration_tests__list__many_worktrees_varied.snapindex a3da13e18..80150524e 100644--- a/tests/snapshots/integration__integration_tests__list__many_worktrees_varied.snap+++ b/tests/snapshots/integration__integration_tests__list__many_worktrees_varied.snap@@ -22,11 +22,11 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mmedium-name[0m [2m_[22m [2m./repo.medium-name[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mshort[0m [2m_[22m [2m./repo.short[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mvery-long-branch-name-here[0m [2m_[22m [2m./repo.very-long-branch-name-here[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mwith-changes[0m [2m_[22m [2m./repo.with-changes[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mmedium-name[0m [2m_[22m [2m./repo.medium-name[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mshort[0m [2m_[22m [2m./repo.short[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mvery-long-branch-name-here[0m [2m_[22m [2m./repo.very-long-branch-name-here[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mwith-changes[0m [2m_[22m [2m./repo.with-changes[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 5 worktrees[0m+⚪ [2mShowing 5 worktreesdiff --git a/tests/snapshots/integration__integration_tests__list__maximum_status_symbols.snap b/tests/snapshots/integration__integration_tests__list__maximum_status_symbols.snapindex c19f179f4..cf330744c 100644--- a/tests/snapshots/integration__integration_tests__list__maximum_status_symbols.snap+++ b/tests/snapshots/integration__integration_tests__list__maximum_status_symbols.snap@@ -23,8 +23,8 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mmain…±[0m [1mPath[0m [1mRemote⇅[0m [1mCI[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m[2m⇡[22m [1m./repo[0m [32m⇡1[0m [2m85ed6d3d[0m [2m1d[0m [2mMain advances[0m-+ feature [36m+[39m[36m![39m[36m?[39m[33m⊞[39m[33m✗[39m[2m⇅[22m🤖 [32m+2[0m [31m-2[0m [32m↑2[0m [2m[31m↓1[0m [32m+3[0m [31m-1[0m ./repo.feature [32m⇡1[0m [2m[31m⇣1[0m [2m4afb2b9e[0m [2m1d[0m [2mLocal commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mmain…±[0m [1mPath[0m [1mRemote⇅[0m [1mCI[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m[2m⇡[22m [1m./repo[0m [32m⇡1[0m [2m85ed6d3d[0m [2m1d[0m [2mMain advances++ feature [36m+[39m[36m![39m[36m?[39m[33m⊞[39m[33m✗[39m[2m⇅[22m🤖 [32m+2[0m [31m-2[0m [32m↑2[0m [2m[31m↓1[0m [32m+3[0m [31m-1[0m ./repo.feature [32m⇡1[0m [2m[31m⇣1[0m [2m4afb2b9e[0m [2m1d[0m [2mLocal commit-⚪ [2mShowing 2 worktrees, 1 with changes, 1 ahead[0m+⚪ [2mShowing 2 worktrees, 1 with changes, 1 aheaddiff --git a/tests/snapshots/integration__integration_tests__list__maximum_status_with_git_operation.snap b/tests/snapshots/integration__integration_tests__list__maximum_status_with_git_operation.snapindex 5fff8aa35..bf457b00d 100644--- a/tests/snapshots/integration__integration_tests__list__maximum_status_with_git_operation.snap+++ b/tests/snapshots/integration__integration_tests__list__maximum_status_with_git_operation.snap@@ -23,8 +23,8 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mmain…±[0m [1mPath[0m [1mRemote⇅[0m [1mCI[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb7c14ce1[0m [2m1d[0m [2mMain conflicting changes[0m-+ feature [36m+[39m[36m![39m[36m?[39m[31m✘[39m 🤖 [32m+7[0m ./repo.feature [2mb7c14ce1[0m [2m1d[0m [2mMain conflicting changes[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mmain…±[0m [1mPath[0m [1mRemote⇅[0m [1mCI[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb7c14ce1[0m [2m1d[0m [2mMain conflicting changes++ feature [36m+[39m[36m![39m[36m?[39m[31m✘[39m 🤖 [32m+7[0m ./repo.feature [2mb7c14ce1[0m [2m1d[0m [2mMain conflicting changes-⚪ [2mShowing 2 worktrees, 1 with changes[0m+⚪ [2mShowing 2 worktrees, 1 with changesdiff --git a/tests/snapshots/integration__integration_tests__list__maximum_working_tree_symbols.snap b/tests/snapshots/integration__integration_tests__list__maximum_working_tree_symbols.snapindex 402a5b36b..7a3bb67fa 100644--- a/tests/snapshots/integration__integration_tests__list__maximum_working_tree_symbols.snap+++ b/tests/snapshots/integration__integration_tests__list__maximum_working_tree_symbols.snap@@ -22,8 +22,8 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ feature [36m+[39m[36m![39m[36m?[39m [2m↑[22m [32m+2[0m [31m-3[0m [32m↑1[0m ./repo.feature [2m689c2504[0m [2m1d[0m [2mAdd files[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ feature [36m+[39m[36m![39m[36m?[39m [2m↑[22m [32m+2[0m [31m-3[0m [32m↑1[0m ./repo.feature [2m689c2504[0m [2m1d[0m [2mAdd files-⚪ [2mShowing 2 worktrees, 1 with changes, 1 ahead[0m+⚪ [2mShowing 2 worktrees, 1 with changes, 1 aheaddiff --git a/tests/snapshots/integration__integration_tests__list__multiple_worktrees.snap b/tests/snapshots/integration__integration_tests__list__multiple_worktrees.snapindex 7f739a3d6..30837abd3 100644--- a/tests/snapshots/integration__integration_tests__list__multiple_worktrees.snap+++ b/tests/snapshots/integration__integration_tests__list__multiple_worktrees.snap@@ -22,9 +22,9 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-a[0m [2m_[22m [2m./repo.feature-a[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-b[0m [2m_[22m [2m./repo.feature-b[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-a[0m [2m_[22m [2m./repo.feature-a[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-b[0m [2m_[22m [2m./repo.feature-b[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 3 worktrees[0m+⚪ [2mShowing 3 worktreesdiff --git a/tests/snapshots/integration__integration_tests__list__no_progressive_flag.snap b/tests/snapshots/integration__integration_tests__list__no_progressive_flag.snapindex 4e685e154..b099ac998 100644--- a/tests/snapshots/integration__integration_tests__list__no_progressive_flag.snap+++ b/tests/snapshots/integration__integration_tests__list__no_progressive_flag.snap@@ -23,8 +23,8 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature[0m [2m_[22m [2m./repo.feature[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature[0m [2m_[22m [2m./repo.feature[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 2 worktrees[0m+⚪ [2mShowing 2 worktreesdiff --git a/tests/snapshots/integration__integration_tests__list__previous_worktree_gutter.snap b/tests/snapshots/integration__integration_tests__list__previous_worktree_gutter.snapindex aee9a8b2c..eacbfbb5e 100644--- a/tests/snapshots/integration__integration_tests__list__previous_worktree_gutter.snap+++ b/tests/snapshots/integration__integration_tests__list__previous_worktree_gutter.snap@@ -22,8 +22,8 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-- [2mfeature[0m [2m_[22m [2m./repo.feature[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit+- [2mfeature[0m [2m_[22m [2m./repo.feature[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 2 worktrees[0m+⚪ [2mShowing 2 worktreesdiff --git a/tests/snapshots/integration__integration_tests__list__progressive_flag.snap b/tests/snapshots/integration__integration_tests__list__progressive_flag.snapindex a52312d3b..c9d125eee 100644--- a/tests/snapshots/integration__integration_tests__list__progressive_flag.snap+++ b/tests/snapshots/integration__integration_tests__list__progressive_flag.snap@@ -23,9 +23,9 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-a[0m [2m_[22m [2m./repo.feature-a[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-b[0m [2m_[22m [2m./repo.feature-b[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-a[0m [2m_[22m [2m./repo.feature-a[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-b[0m [2m_[22m [2m./repo.feature-b[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 3 worktrees[0m+⚪ [2mShowing 3 worktreesdiff --git a/tests/snapshots/integration__integration_tests__list__progressive_with_branches.snap b/tests/snapshots/integration__integration_tests__list__progressive_with_branches.snapindex 07cea90b0..bdbc27cf5 100644--- a/tests/snapshots/integration__integration_tests__list__progressive_with_branches.snap+++ b/tests/snapshots/integration__integration_tests__list__progressive_with_branches.snap@@ -24,10 +24,10 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-a[0m [2m_[22m [2m./repo.feature-a[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m- [2morphan-1[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m- [2morphan-2[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-a[0m [2m_[22m [2m./repo.feature-a[0m [2mb834638e[0m [2m1d[0m [2mInitial commit+ [2morphan-1[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit+ [2morphan-2[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 2 worktrees, 2 branches[0m+⚪ [2mShowing 2 worktrees, 2 branchesdiff --git a/tests/snapshots/integration__integration_tests__list__readme_example_list.snap b/tests/snapshots/integration__integration_tests__list__readme_example_list.snapindex ca7c3bd9e..64fcdfc7b 100644--- a/tests/snapshots/integration__integration_tests__list__readme_example_list.snap+++ b/tests/snapshots/integration__integration_tests__list__readme_example_list.snap@@ -22,9 +22,9 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mfeature-api[0m [36m+[39m [2m↕[22m[2m⇡[22m [32m+54[0m [31m-5[0m [32m↑4[0m [2m[31m↓1[0m [1m./repo.feature-api[0m [32m⇡3[0m [2m28d38c20[0m [2m30m[0m [2mAdd API tests[0m-^ main [2m^[22m[2m⇅[22m ./repo [32m⇡1[0m [2m[31m⇣1[0m [2m2e6b7a8f[0m [2m4d[0m [2mMerge fix-auth:…[0m-+ fix-auth [2m↕[22m[2m|[22m [32m↑2[0m [2m[31m↓1[0m ./repo.fix-auth [2m|[0m [2m1d697d5b[0m [2m5h[0m [2mAdd secure token…[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mfeature-api[0m [36m+[39m [2m↕[22m[2m⇡[22m [32m+54[0m [31m-5[0m [32m↑4[0m [2m[31m↓1[0m [1m./repo.feature-api[0m [32m⇡3[0m [2m28d38c20[0m [2m30m[0m [2mAdd API tests+^ main [2m^[22m[2m⇅[22m ./repo [32m⇡1[0m [2m[31m⇣1[0m [2m2e6b7a8f[0m [2m4d[0m [2mMerge fix-auth:…++ fix-auth [2m↕[22m[2m|[22m [32m↑2[0m [2m[31m↓1[0m ./repo.fix-auth [2m|[0m [2m1d697d5b[0m [2m5h[0m [2mAdd secure token…-⚪ [2mShowing 3 worktrees, 1 with changes, 2 ahead[0m+⚪ [2mShowing 3 worktrees, 1 with changes, 2 aheaddiff --git a/tests/snapshots/integration__integration_tests__list__readme_example_list_branches.snap b/tests/snapshots/integration__integration_tests__list__readme_example_list_branches.snapindex 45d5157dc..c2af730d1 100644--- a/tests/snapshots/integration__integration_tests__list__readme_example_list_branches.snap+++ b/tests/snapshots/integration__integration_tests__list__readme_example_list_branches.snap@@ -24,11 +24,11 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mmain…±[0m [1mPath[0m [1mRemote⇅[0m [1mCI[0m [1mCommit[0m [1mAge[0m-@ [1mfeature-api[0m [36m+[39m [2m↕[22m[2m⇡[22m [32m+54[0m [31m-5[0m [32m↑4[0m [2m[31m↓1[0m [32m+234[0m [31m-24[0m [1m./repo.feature-api[0m [32m⇡3[0m [2m[34m●[0m [2m28d38c20[0m [2m30m[0m-^ main [2m^[22m[2m⇅[22m ./repo [32m⇡1[0m [2m[31m⇣1[0m [32m●[0m [2m2e6b7a8f[0m [2m4d[0m-+ fix-auth [2m↕[22m[2m|[22m [32m↑2[0m [2m[31m↓1[0m [32m+25[0m [31m-11[0m ./repo.fix-auth [2m|[0m [32m●[0m [2m1d697d5b[0m [2m5h[0m- exp [2m/[22m[2m↕[22m [32m↑2[0m [2m[31m↓1[0m [32m+137[0m [2m32936618[0m [2m2d[0m- wip [2m/[22m[2m↕[22m [32m↑1[0m [2m[31m↓1[0m [32m+33[0m [2m6844b101[0m [2m3d[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mmain…±[0m [1mPath[0m [1mRemote⇅[0m [1mCI[0m [1mCommit[0m [1mAge+@ [1mfeature-api[0m [36m+[39m [2m↕[22m[2m⇡[22m [32m+54[0m [31m-5[0m [32m↑4[0m [2m[31m↓1[0m [32m+234[0m [31m-24[0m [1m./repo.feature-api[0m [32m⇡3[0m [2m[34m●[0m [2m28d38c20[0m [2m30m+^ main [2m^[22m[2m⇅[22m ./repo [32m⇡1[0m [2m[31m⇣1[0m [32m●[0m [2m2e6b7a8f[0m [2m4d++ fix-auth [2m↕[22m[2m|[22m [32m↑2[0m [2m[31m↓1[0m [32m+25[0m [31m-11[0m ./repo.fix-auth [2m|[0m [32m●[0m [2m1d697d5b[0m [2m5h+ exp [2m/[22m[2m↕[22m [32m↑2[0m [2m[31m↓1[0m [32m+137[0m [2m32936618[0m [2m2d+ wip [2m/[22m[2m↕[22m [32m↑1[0m [2m[31m↓1[0m [32m+33[0m [2m6844b101[0m [2m3d-⚪ [2mShowing 3 worktrees, 2 branches, 1 with changes, 4 ahead, 1 column hidden[0m+⚪ [2mShowing 3 worktrees, 2 branches, 1 with changes, 4 ahead, 1 column hiddendiff --git a/tests/snapshots/integration__integration_tests__list__readme_example_list_full.snap b/tests/snapshots/integration__integration_tests__list__readme_example_list_full.snapindex 6bcd2f243..9c2843e18 100644--- a/tests/snapshots/integration__integration_tests__list__readme_example_list_full.snap+++ b/tests/snapshots/integration__integration_tests__list__readme_example_list_full.snap@@ -23,9 +23,9 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mmain…±[0m [1mPath[0m [1mRemote⇅[0m [1mCI[0m [1mCommit[0m [1mAge[0m-@ [1mfeature-api[0m [36m+[39m [2m↕[22m[2m⇡[22m [32m+54[0m [31m-5[0m [32m↑4[0m [2m[31m↓1[0m [32m+234[0m [31m-24[0m [1m./repo.feature-api[0m [32m⇡3[0m [2m[34m●[0m [2m28d38c20[0m [2m30m[0m-^ main [2m^[22m[2m⇅[22m ./repo [32m⇡1[0m [2m[31m⇣1[0m [32m●[0m [2m2e6b7a8f[0m [2m4d[0m-+ fix-auth [2m↕[22m[2m|[22m [32m↑2[0m [2m[31m↓1[0m [32m+25[0m [31m-11[0m ./repo.fix-auth [2m|[0m [32m●[0m [2m1d697d5b[0m [2m5h[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mmain…±[0m [1mPath[0m [1mRemote⇅[0m [1mCI[0m [1mCommit[0m [1mAge+@ [1mfeature-api[0m [36m+[39m [2m↕[22m[2m⇡[22m [32m+54[0m [31m-5[0m [32m↑4[0m [2m[31m↓1[0m [32m+234[0m [31m-24[0m [1m./repo.feature-api[0m [32m⇡3[0m [2m[34m●[0m [2m28d38c20[0m [2m30m+^ main [2m^[22m[2m⇅[22m ./repo [32m⇡1[0m [2m[31m⇣1[0m [32m●[0m [2m2e6b7a8f[0m [2m4d++ fix-auth [2m↕[22m[2m|[22m [32m↑2[0m [2m[31m↓1[0m [32m+25[0m [31m-11[0m ./repo.fix-auth [2m|[0m [32m●[0m [2m1d697d5b[0m [2m5h-⚪ [2mShowing 3 worktrees, 1 with changes, 2 ahead, 1 column hidden[0m+⚪ [2mShowing 3 worktrees, 1 with changes, 2 ahead, 1 column hiddendiff --git a/tests/snapshots/integration__integration_tests__list__single_worktree.snap b/tests/snapshots/integration__integration_tests__list__single_worktree.snapindex 1a3d338f4..dad874d2c 100644--- a/tests/snapshots/integration__integration_tests__list__single_worktree.snap+++ b/tests/snapshots/integration__integration_tests__list__single_worktree.snap@@ -22,7 +22,7 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 1 worktree[0m+⚪ [2mShowing 1 worktreediff --git a/tests/snapshots/integration__integration_tests__list__status_column_padding_emoji.snap b/tests/snapshots/integration__integration_tests__list__status_column_padding_emoji.snapindex fe96ba77f..a6ebe72f4 100644--- a/tests/snapshots/integration__integration_tests__list__status_column_padding_emoji.snap+++ b/tests/snapshots/integration__integration_tests__list__status_column_padding_emoji.snap@@ -22,10 +22,10 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ main-symbol [2m↑[22m 💬 [32m↑1[0m ./repo.main-symbol [2m579fcd0b[0m [2m1d[0m [2mSymbol commit[0m-+ pr-link [2m↑[22m 🤖 [32m↑1[0m ./repo.pr-link [2me17e7d2d[0m [2m1d[0m [2mPR commit[0m-+ wli-sequence [36m![39m[36m?[39m [2m↑[22m 🤖 [32m+1[0m [31m-112[0m [32m↑1[0m ./repo.wli-sequence [2ma2483ffd[0m [2m1d[0m [2mInitial content[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ main-symbol [2m↑[22m 💬 [32m↑1[0m ./repo.main-symbol [2m579fcd0b[0m [2m1d[0m [2mSymbol commit++ pr-link [2m↑[22m 🤖 [32m↑1[0m ./repo.pr-link [2me17e7d2d[0m [2m1d[0m [2mPR commit++ wli-sequence [36m![39m[36m?[39m [2m↑[22m 🤖 [32m+1[0m [31m-112[0m [32m↑1[0m ./repo.wli-sequence [2ma2483ffd[0m [2m1d[0m [2mInitial content-⚪ [2mShowing 4 worktrees, 1 with changes, 3 ahead[0m+⚪ [2mShowing 4 worktrees, 1 with changes, 3 aheaddiff --git a/tests/snapshots/integration__integration_tests__list__task_dag_detached_head.snap b/tests/snapshots/integration__integration_tests__list__task_dag_detached_head.snapindex dcb502a85..0c9329297 100644--- a/tests/snapshots/integration__integration_tests__list__task_dag_detached_head.snap+++ b/tests/snapshots/integration__integration_tests__list__task_dag_detached_head.snap@@ -23,7 +23,7 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1m-[0m [31m⚑[39m[2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1m-[0m [31m⚑[39m[2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 1 worktree[0m+⚪ [2mShowing 1 worktreediff --git a/tests/snapshots/integration__integration_tests__list__task_dag_full_with_diffs.snap b/tests/snapshots/integration__integration_tests__list__task_dag_full_with_diffs.snapindex 8c2a5f423..2f3480350 100644--- a/tests/snapshots/integration__integration_tests__list__task_dag_full_with_diffs.snap+++ b/tests/snapshots/integration__integration_tests__list__task_dag_full_with_diffs.snap@@ -24,9 +24,9 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mmain…±[0m [1mPath[0m [1mRemote⇅[0m [1mCI[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-a[0m [36m?[39m [2m_[22m [2m./repo.feature-a[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ feature-b [2m↑[22m [32m↑1[0m [32m+1[0m [31m-1[0m ./repo.feature-b [2m2d37ca75[0m [2m1d[0m [2mTest commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mmain…±[0m [1mPath[0m [1mRemote⇅[0m [1mCI[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-a[0m [36m?[39m [2m_[22m [2m./repo.feature-a[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ feature-b [2m↑[22m [32m↑1[0m [32m+1[0m [31m-1[0m ./repo.feature-b [2m2d37ca75[0m [2m1d[0m [2mTest commit-⚪ [2mShowing 3 worktrees, 1 ahead[0m+⚪ [2mShowing 3 worktrees, 1 aheaddiff --git a/tests/snapshots/integration__integration_tests__list__task_dag_many_worktrees.snap b/tests/snapshots/integration__integration_tests__list__task_dag_many_worktrees.snapindex 17ed84131..be1c3f34a 100644--- a/tests/snapshots/integration__integration_tests__list__task_dag_many_worktrees.snap+++ b/tests/snapshots/integration__integration_tests__list__task_dag_many_worktrees.snap@@ -23,17 +23,17 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-1[0m [2m_[22m [2m./repo.feature-1[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-10[0m [2m_[22m [2m./repo.feature-10[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-2[0m [2m_[22m [2m./repo.feature-2[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-3[0m [2m_[22m [2m./repo.feature-3[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-4[0m [2m_[22m [2m./repo.feature-4[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-5[0m [2m_[22m [2m./repo.feature-5[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-6[0m [2m_[22m [2m./repo.feature-6[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-7[0m [2m_[22m [2m./repo.feature-7[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-8[0m [2m_[22m [2m./repo.feature-8[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-9[0m [2m_[22m [2m./repo.feature-9[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-1[0m [2m_[22m [2m./repo.feature-1[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-10[0m [2m_[22m [2m./repo.feature-10[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-2[0m [2m_[22m [2m./repo.feature-2[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-3[0m [2m_[22m [2m./repo.feature-3[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-4[0m [2m_[22m [2m./repo.feature-4[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-5[0m [2m_[22m [2m./repo.feature-5[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-6[0m [2m_[22m [2m./repo.feature-6[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-7[0m [2m_[22m [2m./repo.feature-7[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-8[0m [2m_[22m [2m./repo.feature-8[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-9[0m [2m_[22m [2m./repo.feature-9[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 11 worktrees[0m+⚪ [2mShowing 11 worktreesdiff --git a/tests/snapshots/integration__integration_tests__list__task_dag_multiple_worktrees.snap b/tests/snapshots/integration__integration_tests__list__task_dag_multiple_worktrees.snapindex 794f31037..3739e1e01 100644--- a/tests/snapshots/integration__integration_tests__list__task_dag_multiple_worktrees.snap+++ b/tests/snapshots/integration__integration_tests__list__task_dag_multiple_worktrees.snap@@ -23,10 +23,10 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-a[0m [2m_[22m [2m./repo.feature-a[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-b[0m [2m_[22m [2m./repo.feature-b[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-c[0m [2m_[22m [2m./repo.feature-c[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-a[0m [2m_[22m [2m./repo.feature-a[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-b[0m [2m_[22m [2m./repo.feature-b[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-c[0m [2m_[22m [2m./repo.feature-c[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 4 worktrees[0m+⚪ [2mShowing 4 worktreesdiff --git a/tests/snapshots/integration__integration_tests__list__task_dag_ordering_stability.snap b/tests/snapshots/integration__integration_tests__list__task_dag_ordering_stability.snapindex 9c21669cc..5e85060cc 100644--- a/tests/snapshots/integration__integration_tests__list__task_dag_ordering_stability.snap+++ b/tests/snapshots/integration__integration_tests__list__task_dag_ordering_stability.snap@@ -23,11 +23,11 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mfeature-current[0m [2m↑[22m [32m↑1[0m [1m./repo.feature-current[0m [2mfc28a4d1[0m [2m23h[0m [2mCommit at 01:00[0m-^ main [2m^[22m ./repo [2m6c3da842[0m [2m1d[0m [2mInitial commit on main[0m-+ feature-newest [2m↑[22m [32m↑1[0m ./repo.feature-newest [2m136358eb[0m [2m21h[0m [2mCommit at 03:00[0m-+ feature-middle [2m↑[22m [32m↑1[0m ./repo.feature-middle [2ma0a4851a[0m [2m22h[0m [2mCommit at 02:00[0m-+ feature-oldest [2m↑[22m [32m↑1[0m ./repo.feature-oldest [2m1b1a2d78[0m [2m23h[0m [2mCommit at 00:30[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mfeature-current[0m [2m↑[22m [32m↑1[0m [1m./repo.feature-current[0m [2mfc28a4d1[0m [2m23h[0m [2mCommit at 01:00+^ main [2m^[22m ./repo [2m6c3da842[0m [2m1d[0m [2mInitial commit on main++ feature-newest [2m↑[22m [32m↑1[0m ./repo.feature-newest [2m136358eb[0m [2m21h[0m [2mCommit at 03:00++ feature-middle [2m↑[22m [32m↑1[0m ./repo.feature-middle [2ma0a4851a[0m [2m22h[0m [2mCommit at 02:00++ feature-oldest [2m↑[22m [32m↑1[0m ./repo.feature-oldest [2m1b1a2d78[0m [2m23h[0m [2mCommit at 00:30-⚪ [2mShowing 5 worktrees, 4 ahead[0m+⚪ [2mShowing 5 worktrees, 4 aheaddiff --git a/tests/snapshots/integration__integration_tests__list__task_dag_single_worktree.snap b/tests/snapshots/integration__integration_tests__list__task_dag_single_worktree.snapindex f77e987dc..9851bf25a 100644--- a/tests/snapshots/integration__integration_tests__list__task_dag_single_worktree.snap+++ b/tests/snapshots/integration__integration_tests__list__task_dag_single_worktree.snap@@ -23,7 +23,7 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 1 worktree[0m+⚪ [2mShowing 1 worktreediff --git a/tests/snapshots/integration__integration_tests__list__task_dag_with_locked.snap b/tests/snapshots/integration__integration_tests__list__task_dag_with_locked.snapindex c43e6f024..6f51bf4d8 100644--- a/tests/snapshots/integration__integration_tests__list__task_dag_with_locked.snap+++ b/tests/snapshots/integration__integration_tests__list__task_dag_with_locked.snap@@ -23,9 +23,9 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mlocked[0m [33m⊞[39m[2m_[22m [2m./repo.locked[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mnormal[0m [2m_[22m [2m./repo.normal[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mlocked[0m [33m⊞[39m[2m_[22m [2m./repo.locked[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mnormal[0m [2m_[22m [2m./repo.normal[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 3 worktrees[0m+⚪ [2mShowing 3 worktreesdiff --git a/tests/snapshots/integration__integration_tests__list__task_dag_with_upstream.snap b/tests/snapshots/integration__integration_tests__list__task_dag_with_upstream.snapindex 3a3b68d69..3df6798f0 100644--- a/tests/snapshots/integration__integration_tests__list__task_dag_with_upstream.snap+++ b/tests/snapshots/integration__integration_tests__list__task_dag_with_upstream.snap@@ -24,9 +24,9 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mmain…±[0m [1mPath[0m [1mRemote⇅[0m [1mCI[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m[2m|[22m [1m./repo[0m [2m|[0m [2m6c3da842[0m [2m1d[0m [2mInitial commit on main[0m-+ ahead [2m↑[22m[2m⇡[22m [32m↑1[0m [32m+1[0m ./repo.ahead [32m⇡1[0m [2m2fff52c2[0m [2m1d[0m [2mAhead commit[0m-+ [2min-sync[0m [2m_[22m[2m|[22m [2m./repo.in-sync[0m [2m|[0m [2m6c3da842[0m [2m1d[0m [2mInitial commit on main[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mmain…±[0m [1mPath[0m [1mRemote⇅[0m [1mCI[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m[2m|[22m [1m./repo[0m [2m|[0m [2m6c3da842[0m [2m1d[0m [2mInitial commit on main++ ahead [2m↑[22m[2m⇡[22m [32m↑1[0m [32m+1[0m ./repo.ahead [32m⇡1[0m [2m2fff52c2[0m [2m1d[0m [2mAhead commit++ [2min-sync[0m [2m_[22m[2m|[22m [2m./repo.in-sync[0m [2m|[0m [2m6c3da842[0m [2m1d[0m [2mInitial commit on main-⚪ [2mShowing 3 worktrees, 1 ahead[0m+⚪ [2mShowing 3 worktrees, 1 aheaddiff --git a/tests/snapshots/integration__integration_tests__list__unicode_commit_message.snap b/tests/snapshots/integration__integration_tests__list__unicode_commit_message.snapindex 6928483e7..5ccd4941c 100644--- a/tests/snapshots/integration__integration_tests__list__unicode_commit_message.snap+++ b/tests/snapshots/integration__integration_tests__list__unicode_commit_message.snap@@ -22,8 +22,8 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2me4614cb7[0m [2m1d[0m [2mFix bug with café ☕ handling[0m-+ [2mfeature-test[0m [2m⊂[22m [2m[31m↓1[0m [2m./repo.feature-test[0m [2m0c53695b[0m [2m1d[0m [2mAdd support for 日本語 and émoji 🎉[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2me4614cb7[0m [2m1d[0m [2mFix bug with café ☕ handling++ [2mfeature-test[0m [2m⊂[22m [2m[31m↓1[0m [2m./repo.feature-test[0m [2m0c53695b[0m [2m1d[0m [2mAdd support for 日本語 and émoji 🎉-⚪ [2mShowing 2 worktrees[0m+⚪ [2mShowing 2 worktreesdiff --git a/tests/snapshots/integration__integration_tests__list__user_marker_special_chars.snap b/tests/snapshots/integration__integration_tests__list__user_marker_special_chars.snapindex fe5fd663b..379078da1 100644--- a/tests/snapshots/integration__integration_tests__list__user_marker_special_chars.snap+++ b/tests/snapshots/integration__integration_tests__list__user_marker_special_chars.snap@@ -22,9 +22,9 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2memoji[0m [2m_[22m 🔄 [2m./repo.emoji[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mmulti[0m [2m_[22m 👨💻 [2m./repo.multi[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2memoji[0m [2m_[22m 🔄 [2m./repo.emoji[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mmulti[0m [2m_[22m 👨💻 [2m./repo.multi[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 3 worktrees[0m+⚪ [2mShowing 3 worktreesdiff --git a/tests/snapshots/integration__integration_tests__list__with_branches_flag.snap b/tests/snapshots/integration__integration_tests__list__with_branches_flag.snapindex 7611b64f4..43a991f9b 100644--- a/tests/snapshots/integration__integration_tests__list__with_branches_flag.snap+++ b/tests/snapshots/integration__integration_tests__list__with_branches_flag.snap@@ -23,11 +23,11 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-with-worktree[0m [2m_[22m [2m./repo.feature-with-worktree[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m- [2manother-branch[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m- [2mfeature-without-worktree[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m- [2mfix-bug[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-with-worktree[0m [2m_[22m [2m./repo.feature-with-worktree[0m [2mb834638e[0m [2m1d[0m [2mInitial commit+ [2manother-branch[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit+ [2mfeature-without-worktree[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit+ [2mfix-bug[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 2 worktrees, 3 branches[0m+⚪ [2mShowing 2 worktrees, 3 branchesdiff --git a/tests/snapshots/integration__integration_tests__list__with_branches_flag_none_available.snap b/tests/snapshots/integration__integration_tests__list__with_branches_flag_none_available.snapindex 44849c087..0eb3788c8 100644--- a/tests/snapshots/integration__integration_tests__list__with_branches_flag_none_available.snap+++ b/tests/snapshots/integration__integration_tests__list__with_branches_flag_none_available.snap@@ -23,9 +23,9 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-a[0m [2m_[22m [2m./repo.feature-a[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-b[0m [2m_[22m [2m./repo.feature-b[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-a[0m [2m_[22m [2m./repo.feature-a[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-b[0m [2m_[22m [2m./repo.feature-b[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 3 worktrees[0m+⚪ [2mShowing 3 worktreesdiff --git a/tests/snapshots/integration__integration_tests__list__with_branches_flag_only_branches.snap b/tests/snapshots/integration__integration_tests__list__with_branches_flag_only_branches.snapindex 4c2fe23c2..ec50436e7 100644--- a/tests/snapshots/integration__integration_tests__list__with_branches_flag_only_branches.snap+++ b/tests/snapshots/integration__integration_tests__list__with_branches_flag_only_branches.snap@@ -23,10 +23,10 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m- [2mbranch-alpha[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m- [2mbranch-beta[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m- [2mbranch-gamma[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit+ [2mbranch-alpha[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit+ [2mbranch-beta[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit+ [2mbranch-gamma[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 1 worktrees, 3 branches[0m+⚪ [2mShowing 1 worktrees, 3 branchesdiff --git a/tests/snapshots/integration__integration_tests__list__with_remotes_and_branches.snap b/tests/snapshots/integration__integration_tests__list__with_remotes_and_branches.snapindex 46daaa9c7..c20ff157d 100644--- a/tests/snapshots/integration__integration_tests__list__with_remotes_and_branches.snap+++ b/tests/snapshots/integration__integration_tests__list__with_remotes_and_branches.snap@@ -24,11 +24,11 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m[2m|[22m [1m.[0m [2m|[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m- [2mlocal-only-1[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m- [2mlocal-only-2[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m- [2morigin/remote-only-1[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m- [2morigin/remote-only-2[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m[2m|[22m [1m.[0m [2m|[0m [2mb834638e[0m [2m1d[0m [2mInitial commit+ [2mlocal-only-1[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit+ [2mlocal-only-2[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit+ [2morigin/remote-only-1[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit+ [2morigin/remote-only-2[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 1 worktrees, 2 branches, 2 remote branches[0m+⚪ [2mShowing 1 worktrees, 2 branches, 2 remote branchesdiff --git a/tests/snapshots/integration__integration_tests__list__with_remotes_filters_worktrees.snap b/tests/snapshots/integration__integration_tests__list__with_remotes_filters_worktrees.snapindex 124961f8e..865ee7241 100644--- a/tests/snapshots/integration__integration_tests__list__with_remotes_filters_worktrees.snap+++ b/tests/snapshots/integration__integration_tests__list__with_remotes_filters_worktrees.snap@@ -23,9 +23,9 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m[2m|[22m [1m./repo[0m [2m|[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-with-worktree[0m [2m_[22m [2m./repo.feature-with-worktree[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m- [2morigin/remote-only[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m[2m|[22m [1m./repo[0m [2m|[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-with-worktree[0m [2m_[22m [2m./repo.feature-with-worktree[0m [2mb834638e[0m [2m1d[0m [2mInitial commit+ [2morigin/remote-only[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 2 worktrees, 1 remote branches[0m+⚪ [2mShowing 2 worktrees, 1 remote branchesdiff --git a/tests/snapshots/integration__integration_tests__list__with_remotes_flag.snap b/tests/snapshots/integration__integration_tests__list__with_remotes_flag.snapindex b06e8e67b..229a522db 100644--- a/tests/snapshots/integration__integration_tests__list__with_remotes_flag.snap+++ b/tests/snapshots/integration__integration_tests__list__with_remotes_flag.snap@@ -23,9 +23,9 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m[2m|[22m [1m.[0m [2m|[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m- [2morigin/remote-feature-1[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m- [2morigin/remote-feature-2[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m[2m|[22m [1m.[0m [2m|[0m [2mb834638e[0m [2m1d[0m [2mInitial commit+ [2morigin/remote-feature-1[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit+ [2morigin/remote-feature-2[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 1 worktrees, 2 remote branches[0m+⚪ [2mShowing 1 worktrees, 2 remote branchesdiff --git a/tests/snapshots/integration__integration_tests__list__with_upstream_tracking.snap b/tests/snapshots/integration__integration_tests__list__with_upstream_tracking.snapindex bbf4c4159..4652bdbd2 100644--- a/tests/snapshots/integration__integration_tests__list__with_upstream_tracking.snap+++ b/tests/snapshots/integration__integration_tests__list__with_upstream_tracking.snap@@ -25,12 +25,12 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mmain…±[0m [1mPath[0m [1mRemote⇅[0m [1mCI[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m[2m|[22m [1m./repo[0m [2m|[0m [2m6c3da842[0m [2m1d[0m [2mInitial commit on main[0m-+ ahead [2m↑[22m[2m⇡[22m [32m↑2[0m [32m+2[0m ./repo.ahead [32m⇡2[0m [2m8d8f4673[0m [2m1d[0m [2mAhead commit 2[0m-+ [2mbehind[0m [2m_[22m[2m⇣[22m [2m./repo.behind[0m [2m[31m⇣1[0m [2m6c3da842[0m [2m1d[0m [2mInitial commit on main[0m-+ diverged [2m↑[22m[2m⇅[22m [32m↑1[0m [32m+1[0m ./repo.diverged [32m⇡1[0m [2m[31m⇣1[0m [2mca7cb696[0m [2m1d[0m [2mDiverged local commit[0m-+ [2min-sync[0m [2m_[22m[2m|[22m [2m./repo.in-sync[0m [2m|[0m [2m6c3da842[0m [2m1d[0m [2mInitial commit on main[0m-+ [2mno-upstream[0m [2m_[22m [2m./repo.no-upstream[0m [2m6c3da842[0m [2m1d[0m [2mInitial commit on main[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mmain…±[0m [1mPath[0m [1mRemote⇅[0m [1mCI[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m[2m|[22m [1m./repo[0m [2m|[0m [2m6c3da842[0m [2m1d[0m [2mInitial commit on main++ ahead [2m↑[22m[2m⇡[22m [32m↑2[0m [32m+2[0m ./repo.ahead [32m⇡2[0m [2m8d8f4673[0m [2m1d[0m [2mAhead commit 2++ [2mbehind[0m [2m_[22m[2m⇣[22m [2m./repo.behind[0m [2m[31m⇣1[0m [2m6c3da842[0m [2m1d[0m [2mInitial commit on main++ diverged [2m↑[22m[2m⇅[22m [32m↑1[0m [32m+1[0m ./repo.diverged [32m⇡1[0m [2m[31m⇣1[0m [2mca7cb696[0m [2m1d[0m [2mDiverged local commit++ [2min-sync[0m [2m_[22m[2m|[22m [2m./repo.in-sync[0m [2m|[0m [2m6c3da842[0m [2m1d[0m [2mInitial commit on main++ [2mno-upstream[0m [2m_[22m [2m./repo.no-upstream[0m [2m6c3da842[0m [2m1d[0m [2mInitial commit on main-⚪ [2mShowing 6 worktrees, 2 ahead[0m+⚪ [2mShowing 6 worktrees, 2 aheaddiff --git a/tests/snapshots/integration__integration_tests__list__with_user_marker.snap b/tests/snapshots/integration__integration_tests__list__with_user_marker.snapindex 923b9c28e..c72cf83ec 100644--- a/tests/snapshots/integration__integration_tests__list__with_user_marker.snap+++ b/tests/snapshots/integration__integration_tests__list__with_user_marker.snap@@ -22,10 +22,10 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ feature-api [2m↑[22m 🤖 [32m↑1[0m ./repo.feature-api [2m9606cd0f[0m [2m1d[0m [2mAdd REST API endpoints[0m-+ review-ui [36m?[39m [2m↑[22m 💬 [32m↑1[0m ./repo.review-ui [2mafd3b353[0m [2m1d[0m [2mAdd dashboard component[0m-+ [2mwip-docs[0m [36m?[39m [2m_[22m [2m./repo.wip-docs[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ feature-api [2m↑[22m 🤖 [32m↑1[0m ./repo.feature-api [2m9606cd0f[0m [2m1d[0m [2mAdd REST API endpoints++ review-ui [36m?[39m [2m↑[22m 💬 [32m↑1[0m ./repo.review-ui [2mafd3b353[0m [2m1d[0m [2mAdd dashboard component++ [2mwip-docs[0m [36m?[39m [2m_[22m [2m./repo.wip-docs[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 4 worktrees, 2 ahead[0m+⚪ [2mShowing 4 worktrees, 2 aheaddiff --git a/tests/snapshots/integration__integration_tests__list_column_alignment__status_column_alignment_check.snap b/tests/snapshots/integration__integration_tests__list_column_alignment__status_column_alignment_check.snapindex d269ab504..3aa2d18f9 100644--- a/tests/snapshots/integration__integration_tests__list_column_alignment__status_column_alignment_check.snap+++ b/tests/snapshots/integration__integration_tests__list_column_alignment__status_column_alignment_check.snap@@ -22,8 +22,8 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ test [36m+[39m[36m![39m[36m?[39m [32m+1[0m [31m-1[0m ./repo.test [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ test [36m+[39m[36m![39m[36m?[39m [32m+1[0m [31m-1[0m ./repo.test [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 2 worktrees, 1 with changes[0m+⚪ [2mShowing 2 worktrees, 1 with changesdiff --git a/tests/snapshots/integration__integration_tests__list_column_alignment__status_column_width_consistency.snap b/tests/snapshots/integration__integration_tests__list_column_alignment__status_column_width_consistency.snapindex f141f1023..95f5cfac9 100644--- a/tests/snapshots/integration__integration_tests__list_column_alignment__status_column_width_consistency.snap+++ b/tests/snapshots/integration__integration_tests__list_column_alignment__status_column_width_consistency.snap@@ -22,9 +22,9 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ complex [36m![39m[36m?[39m [32m+1[0m [31m-1[0m ./repo.complex [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ simple [36m+[39m [36m?[39m [32m+1[0m [31m-1[0m ./repo.simple [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ complex [36m![39m[36m?[39m [32m+1[0m [31m-1[0m ./repo.complex [2mb834638e[0m [2m1d[0m [2mInitial commit++ simple [36m+[39m [36m?[39m [32m+1[0m [31m-1[0m ./repo.simple [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 3 worktrees, 2 with changes[0m+⚪ [2mShowing 3 worktrees, 2 with changesdiff --git a/tests/snapshots/integration__integration_tests__list_config__list_config_branches_enabled.snap b/tests/snapshots/integration__integration_tests__list_config__list_config_branches_enabled.snapindex d7aaf3260..55c871a98 100644--- a/tests/snapshots/integration__integration_tests__list_config__list_config_branches_enabled.snap+++ b/tests/snapshots/integration__integration_tests__list_config__list_config_branches_enabled.snap@@ -16,6 +16,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---@@ -24,7 +25,7 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 1 worktree[0m+⚪ [2mShowing 1 worktreediff --git a/tests/snapshots/integration__integration_tests__list_config__list_config_cli_override.snap b/tests/snapshots/integration__integration_tests__list_config__list_config_cli_override.snapindex dc03be2fd..c3be9fa36 100644--- a/tests/snapshots/integration__integration_tests__list_config__list_config_cli_override.snap+++ b/tests/snapshots/integration__integration_tests__list_config__list_config_cli_override.snap@@ -17,6 +17,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---@@ -25,8 +26,8 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m- [2mfeature[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit+ [2mfeature[0m [2m/[22m[2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 1 worktrees, 1 branches[0m+⚪ [2mShowing 1 worktrees, 1 branchesdiff --git a/tests/snapshots/integration__integration_tests__list_config__list_config_full_and_branches.snap b/tests/snapshots/integration__integration_tests__list_config__list_config_full_and_branches.snapindex d7aaf3260..55c871a98 100644--- a/tests/snapshots/integration__integration_tests__list_config__list_config_full_and_branches.snap+++ b/tests/snapshots/integration__integration_tests__list_config__list_config_full_and_branches.snap@@ -16,6 +16,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---@@ -24,7 +25,7 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 1 worktree[0m+⚪ [2mShowing 1 worktreediff --git a/tests/snapshots/integration__integration_tests__list_config__list_config_full_enabled.snap b/tests/snapshots/integration__integration_tests__list_config__list_config_full_enabled.snapindex d7aaf3260..55c871a98 100644--- a/tests/snapshots/integration__integration_tests__list_config__list_config_full_enabled.snap+++ b/tests/snapshots/integration__integration_tests__list_config__list_config_full_enabled.snap@@ -16,6 +16,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---@@ -24,7 +25,7 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 1 worktree[0m+⚪ [2mShowing 1 worktreediff --git a/tests/snapshots/integration__integration_tests__list_config__list_no_config.snap b/tests/snapshots/integration__integration_tests__list_config__list_no_config.snapindex d7aaf3260..55c871a98 100644--- a/tests/snapshots/integration__integration_tests__list_config__list_no_config.snap+++ b/tests/snapshots/integration__integration_tests__list_config__list_no_config.snap@@ -16,6 +16,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---@@ -24,7 +25,7 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 1 worktree[0m+⚪ [2mShowing 1 worktreediff --git a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_failure.snap b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_failure.snapindex c6c999c09..af850237e 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_failure.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_failure.snap@@ -31,7 +31,7 @@ exit_code: 1✅ [32mMerged to [1mmain[22m [90m(1 commit, 1 file, [32m+1[39m[39m[90m)[39m[39m🔄 [36m[36mRemoving [1mfeature[22m worktree & branch in background (already in main)[39m[39m🔄 [36mRunning project post-merge:[39m-[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m+[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m🟡 [33mCommand failed: exit status: 1[39m❌ [31mpost-merge command failed: exit status: 1[39mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_named.snap b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_named.snapindex 2137ea73b..ba65460b2 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_named.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_named.snap@@ -31,7 +31,6 @@ exit_code: 0✅ [32mMerged to [1mmain[22m [90m(1 commit, 1 file, [32m+1[39m[39m[90m)[39m[39m🔄 [36m[36mRemoving [1mfeature[22m worktree & branch in background (already in main)[39m[39m🔄 [36mRunning project post-merge [1mnotify[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Merge to main complete'[0m[2m [0m[2m[36m>[0m[2m notify.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Merge to main complete'[0m[2m [0m[2m[36m>[0m[2m notify.txt[0m🔄 [36mRunning project post-merge [1mdeploy[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Deploying branch feature'[0m[2m [0m[2m[36m>[0m[2m deploy.txt[0m-[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Deploying branch feature'[0m[2m [0m[2m[36m>[0m[2m deploy.txtdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_success.snap b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_success.snapindex c6e558e00..944b07fdc 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_success.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_success.snap@@ -31,5 +31,4 @@ exit_code: 0✅ [32mMerged to [1mmain[22m [90m(1 commit, 1 file, [32m+1[39m[39m[90m)[39m[39m🔄 [36m[36mRemoving [1mfeature[22m worktree & branch in background (already in main)[39m[39m🔄 [36mRunning project post-merge:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'merged feature to main'[0m[2m [0m[2m[36m>[0m[2m post-merge-ran.txt[0m-[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'merged feature to main'[0m[2m [0m[2m[36m>[0m[2m post-merge-ran.txtdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_runs_from_main_branch.snap b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_runs_from_main_branch.snapindex 23f61ae6b..93751d129 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_runs_from_main_branch.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_runs_from_main_branch.snap@@ -26,5 +26,4 @@ exit_code: 0⚪ Already up to date with [1mmain[22m (no new commits, no rebase needed)⚪ Worktree preserved (main worktree)🔄 [36mRunning project post-merge:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'post-merge ran from main'[0m[2m [0m[2m[36m>[0m[2m post-merge-ran.txt[0m-[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'post-merge ran from main'[0m[2m [0m[2m[36m>[0m[2m post-merge-ran.txtdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_runs_with_nothing_to_merge.snap b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_runs_with_nothing_to_merge.snapindex 76bec14fb..9e60a3910 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_runs_with_nothing_to_merge.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_runs_with_nothing_to_merge.snap@@ -27,5 +27,4 @@ exit_code: 0⚪ Already up to date with [1mmain[22m (no new commits, no rebase needed)🔄 [36m[36mRemoving [1mfeature[22m worktree & branch in background (already in main)[39m[39m🔄 [36mRunning project post-merge:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'post-merge ran'[0m[2m [0m[2m[36m>[0m[2m post-merge-ran.txt[0m-[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'post-merge ran'[0m[2m [0m[2m[36m>[0m[2m post-merge-ran.txtdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_failure.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_failure.snapindex 1ee8acd64..8b31283af 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_failure.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_failure.snap@@ -27,7 +27,7 @@ exit_code: 1🟡 [33mAuto-staging 1 untracked path:[39m[107m [0m feature.txt🔄 [36mRunning project pre-commit:[39m-[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m+[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m❌ [31mpre-commit command failed: exit status: 1[39m💡 [2mUse [90m--no-verify[39m to skip pre-commit commands[22mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_success.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_success.snapindex bef897325..75634a633 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_success.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_success.snap@@ -27,7 +27,7 @@ exit_code: 0🟡 [33mAuto-staging 1 untracked path:[39m[107m [0m feature.txt🔄 [36mRunning project pre-commit:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Pre-commit check passed'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Pre-commit check passed'[0m[2m[0mPre-commit check passed🔄 [36mCommitting changes with default message... [90m(1 file, [32m+1[39m, no squashing needed[39m[90m)[39m[39m💡 [2mUsing fallback commit message. Run [90mwt config --help[39m for LLM setup guide[22mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_failure.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_failure.snapindex 65893bb63..ff313430d 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_failure.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_failure.snap@@ -25,7 +25,7 @@ exit_code: 1----- stderr -----🔄 [36mRunning project pre-merge:[39m-[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m+[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m❌ [31mpre-merge command failed: exit status: 1[39m💡 [2mUse [90m--no-verify[39m to skip pre-merge commands[22mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_named.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_named.snapindex 79bda620c..7a1989874 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_named.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_named.snap@@ -25,11 +25,11 @@ exit_code: 0----- stderr -----🔄 [36mRunning project pre-merge [1mformat[22m:[39m-[107m [0m [2m[0m[2m[34mexit[0m[2m 0[0m+[107m [0m [2m[0m[2m[34mexit[0m[2m 0[0m🔄 [36mRunning project pre-merge [1mlint[22m:[39m-[107m [0m [2m[0m[2m[34mexit[0m[2m 0[0m+[107m [0m [2m[0m[2m[34mexit[0m[2m 0[0m🔄 [36mRunning project pre-merge [1mtest[22m:[39m-[107m [0m [2m[0m[2m[34mexit[0m[2m 0[0m+[107m [0m [2m[0m[2m[34mexit[0m[2m 0[0m🔄 [36mMerging 1 commit to [1mmain[22m @ [2m2cbe2a2[22m (no commit/squash/rebase needed)[39m[107m [0m * [33m2cbe2a2[m Add feature file[107m [0m feature.txt | 1 [32m+[mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_success.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_success.snapindex f89154d82..532606197 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_success.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_success.snap@@ -25,7 +25,7 @@ exit_code: 0----- stderr -----🔄 [36mRunning project pre-merge:[39m-[107m [0m [2m[0m[2m[34mexit[0m[2m 0[0m+[107m [0m [2m[0m[2m[34mexit[0m[2m 0[0m🔄 [36mMerging 1 commit to [1mmain[22m @ [2m4b1199c[22m (no commit/squash/rebase needed)[39m[107m [0m * [33m4b1199c[m Add feature file[107m [0m feature.txt | 1 [32m+[mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_failure.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_failure.snapindex 4d40320b4..c1a54c517 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_failure.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_failure.snap@@ -25,7 +25,7 @@ exit_code: 1----- stderr -----🔄 [36mRunning project pre-commit:[39m-[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m+[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m❌ [31mpre-commit command failed: exit status: 1[39m💡 [2mUse [90m--no-verify[39m to skip pre-commit commands[22mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_success.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_success.snapindex 08ab7db8e..83c0afc4a 100644--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_success.snap+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_success.snap@@ -25,7 +25,7 @@ exit_code: 0----- stderr -----🔄 [36mRunning project pre-commit:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Pre-commit check passed'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Pre-commit check passed'[0m[2m[0mPre-commit check passed🔄 [36mMerging 1 commit to [1mmain[22m @ [2m726717f[22m (no commit/squash/rebase needed)[39m[107m [0m * [33m726717f[m Add feature filediff --git a/tests/snapshots/integration__integration_tests__merge__readme_example_complex.snap b/tests/snapshots/integration__integration_tests__merge__readme_example_complex.snapindex 41cb9db31..3e6097728 100644--- a/tests/snapshots/integration__integration_tests__merge__readme_example_complex.snap+++ b/tests/snapshots/integration__integration_tests__merge__readme_example_complex.snap@@ -38,7 +38,7 @@ exit_code: 0[107m [0m - Create test suite covering all authentication flows✅ [32mSquashed @ [2m95c3316[22m[39m🔄 [36mRunning project pre-merge [1mtest[22m:[39m-[107m [0m [2m[0m[2m[34mcargo[0m[2m test[0m+[107m [0m [2m[0m[2m[34mcargo[0m[2m test[0m Finished test [unoptimized + debuginfo] target(s) in 0.12sRunning unittests src/lib.rs (target/debug/deps/worktrunk-abc123)@@ -50,7 +50,7 @@ test auth::tests::test_token_validation ... oktest result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s🔄 [36mRunning project pre-merge [1mlint[22m:[39m-[107m [0m [2m[0m[2m[34mcargo[0m[2m clippy[0m+[107m [0m [2m[0m[2m[34mcargo[0m[2m clippy[0m Checking worktrunk v0.1.0Finished dev [unoptimized + debuginfo] target(s) in 1.23s🔄 [36mMerging 1 commit to [1mmain[22m @ [2m95c3316[22m (no rebase needed)[39m@@ -62,7 +62,7 @@ test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; fin✅ [32mMerged to [1mmain[22m [90m(1 commit, 3 files, [32m+33[39m[39m[90m)[39m[39m🔄 [36m[36mRemoving [1mfeature-auth[22m worktree & branch in background (already in main)[39m[39m🔄 [36mRunning project post-merge [1minstall[22m:[39m-[107m [0m [2m[0m[2m[34mcargo[0m[2m install [0m[2m[36m--path[0m[2m .[0m+[107m [0m [2m[0m[2m[34mcargo[0m[2m install [0m[2m[36m--path[0m[2m .[0m Installing worktrunk v0.1.0Compiling worktrunk v0.1.0Finished release [optimized] target(s) in 2.34sdiff --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.snapindex 22a1ac25b..928991ee9 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@@ -27,11 +27,11 @@ exit_code: 0----- stderr -----🔄 [36mRunning project post-create [1minstall[22m:[39m-[107m [0m [2m[0m[2m[34muv[0m[2m sync[0m-[0m+[107m [0m [2m[0m[2m[34muv[0m[2m sync+Resolved 24 packages in 145msInstalled 24 packages in 1.2s✅ [32m[32mCreated new worktree for [1mfeature-x[22m from [1mmain[22m at [1m[REPO].feature-x[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22m🔄 [36mRunning project post-start [1mdev[22m:[39m-[107m [0m [2m[0m[2m[34muv[0m[2m run dev[0m+[107m [0m [2m[0m[2m[34muv[0m[2m run devdiff --git a/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_pre_merge.snap b/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_pre_merge.snapindex 7014ec5d7..dee09da6d 100644--- a/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_pre_merge.snap+++ b/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_pre_merge.snap@@ -33,8 +33,8 @@ exit_code: 0[107m [0m Includes comprehensive test coverage and input validation.✅ [32mSquashed @ [2m69200cc[22m[39m🔄 [36mRunning project pre-merge [1mtest[22m:[39m-[107m [0m [2m[0m[2m[34muv[0m[2m run pytest[0m-[0m+[107m [0m [2m[0m[2m[34muv[0m[2m run pytest+============================= test session starts ==============================collected 3 items@@ -45,8 +45,8 @@ tests/test_auth.py::test_token_validation PASSED [100%]============================== 3 passed in 0.8s ===============================🔄 [36mRunning project pre-merge [1mlint[22m:[39m-[107m [0m [2m[0m[2m[34muv[0m[2m run ruff check[0m-[0m+[107m [0m [2m[0m[2m[34muv[0m[2m run ruff check+All checks passed!🔄 [36mMerging 1 commit to [1mmain[22m @ [2m69200cc[22m (no rebase needed)[39mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap b/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snapindex 089a58b4a..cd8aff18d 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@@ -18,6 +18,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -26,8 +27,8 @@ exit_code: 0----- stderr -----🔄 [36mRunning project post-create:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Setup done'[0m[2m [0m[2m[36m>[0m[2m setup.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Setup done'[0m[2m [0m[2m[36m>[0m[2m setup.txt[0m✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22m🔄 [36mRunning project post-start [1mserver[22m:[39m-[107m [0m [2m[0m[2m[34msleep[0m[2m 0.05 [0m[2m[36m&&[0m[2m [0m[2m[34mecho[0m[2m [0m[2m[32m'Server running'[0m[2m [0m[2m[36m>[0m[2m server.txt[0m+[107m [0m [2m[0m[2m[34msleep[0m[2m 0.05 [0m[2m[36m&&[0m[2m [0m[2m[34mecho[0m[2m [0m[2m[32m'Server running'[0m[2m [0m[2m[36m>[0m[2m server.txtdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snap b/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snapindex 1d6881366..d6f91413b 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@@ -20,6 +20,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -29,6 +30,6 @@ exit_code: 0----- stderr -----✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m🔄 [36mRunning project post-start:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Background task'[0m[2m [0m[2m[36m>[0m[2m background.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Background task'[0m[2m [0m[2m[36m>[0m[2m background.txt🔄 [36mExecuting (--execute):[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Execute flag'[0m[2m [0m[2m[36m>[0m[2m execute.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Execute flag'[0m[2m [0m[2m[36m>[0m[2m execute.txtdiff --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.snapindex 5d1e60415..7c013a5e4 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@@ -19,6 +19,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -27,6 +28,6 @@ exit_code: 0----- stderr -----🔄 [36mRunning project post-create:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Default: main'[0m[2m [0m[2m[36m>[0m[2m default.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Default: main'[0m[2m [0m[2m[36m>[0m[2m default.txt[0m✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snapindex 19314f969..a248eddfa 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@@ -18,6 +18,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -26,7 +27,7 @@ exit_code: 0----- stderr -----🔄 [36mRunning project post-create:[39m-[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m+[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m🟡 [33mCommand failed: exit status: 1[39m✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22mdiff --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.snapindex 70ab9cd99..21d4c3446 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@@ -19,6 +19,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -27,12 +28,12 @@ exit_code: 0----- stderr -----🔄 [36mRunning project post-create [1mcommit[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Commit: d5f94f04f2d59bd7282f575b929b659aefa65f2e'[0m[2m [0m[2m[36m>[0m[2m git_vars.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Commit: d5f94f04f2d59bd7282f575b929b659aefa65f2e'[0m[2m [0m[2m[36m>[0m[2m git_vars.txt[0m🔄 [36mRunning project post-create [1mshort[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Short: d5f94f0'[0m[2m [0m[2m[36m>>[0m[2m git_vars.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Short: d5f94f0'[0m[2m [0m[2m[36m>>[0m[2m git_vars.txt[0m🔄 [36mRunning project post-create [1mremote[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Remote: origin'[0m[2m [0m[2m[36m>>[0m[2m git_vars.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Remote: origin'[0m[2m [0m[2m[36m>>[0m[2m git_vars.txt[0m🔄 [36mRunning project post-create [1mworktree_name[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Worktree Name: repo.feature'[0m[2m [0m[2m[36m>>[0m[2m git_vars.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Worktree Name: repo.feature'[0m[2m [0m[2m[36m>>[0m[2m git_vars.txt[0m✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiline_control_structure.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiline_control_structure.snapindex 11ad93f86..49812c37a 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@@ -18,6 +18,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -26,10 +27,10 @@ exit_code: 0----- stderr -----🔄 [36mRunning project post-create:[39m-[107m [0m [2m[0m[2m[35mif[0m[2m [ ! -f test.txt ]; [0m[2m[35mthen[0m[2m[0m[2m[0m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'File does not exist'[0m[2m [0m[2m[36m>[0m[2m result.txt[0m-[107m [0m [2m[0m[2m[34melse[0m[2m[0m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'File exists'[0m[2m [0m[2m[36m>[0m[2m result.txt[0m-[107m [0m [2m[0m[2m[34mfi[0m[2m[0m+[107m [0m [2m[0m[2m[35mif[0m[2m [ ! -f test.txt ]; [0m[2m[35mthen[0m[2m[0m[2m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'File does not exist'[0m[2m [0m[2m[36m>[0m[2m result.txt+[107m [0m [2m[0m[2m[34melse[0m[2m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'File exists'[0m[2m [0m[2m[36m>[0m[2m result.txt+[107m [0m [2m[0m[2m[34mfi[0m[2m[0m✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snapindex e590dd388..6607debbd 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@@ -18,6 +18,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -26,10 +27,10 @@ exit_code: 0----- stderr -----🔄 [36mRunning project post-create [1minstall[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Installing deps'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Installing deps'[0m[2m[0mInstalling deps🔄 [36mRunning project post-create [1msetup[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Running setup'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Running setup'[0m[2m[0mRunning setup✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snapindex fe6715d21..57ba53111 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@@ -18,6 +18,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -26,7 +27,7 @@ exit_code: 0----- stderr -----🔄 [36mRunning project post-create:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Setup complete'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Setup complete'[0m[2m[0mSetup complete✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snapindex e12ba2585..63ab4e466 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@@ -18,6 +18,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -26,12 +27,12 @@ exit_code: 0----- stderr -----🔄 [36mRunning project post-create [1mrepo[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Repo: repo'[0m[2m [0m[2m[36m>[0m[2m info.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Repo: repo'[0m[2m [0m[2m[36m>[0m[2m info.txt[0m🔄 [36mRunning project post-create [1mbranch[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Branch: feature-test'[0m[2m [0m[2m[36m>>[0m[2m info.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Branch: feature-test'[0m[2m [0m[2m[36m>>[0m[2m info.txt[0m🔄 [36mRunning project post-create [1mworktree[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Worktree: [REPO].feature-test'[0m[2m [0m[2m[36m>>[0m[2m info.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Worktree: [REPO].feature-test'[0m[2m [0m[2m[36m>>[0m[2m info.txt[0m🔄 [36mRunning project post-create [1mroot[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Root: [REPO]'[0m[2m [0m[2m[36m>>[0m[2m info.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Root: [REPO]'[0m[2m [0m[2m[36m>>[0m[2m info.txt[0m✅ [32m[32mCreated new worktree for [1mfeature/test[22m from [1mmain[22m at [1m[REPO].feature-test[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22mdiff --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.snapindex 07c2e64c5..48efaacfb 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@@ -19,6 +19,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -27,6 +28,6 @@ exit_code: 0----- stderr -----🔄 [36mRunning project post-create:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Upstream: '[0m[2m [0m[2m[36m>[0m[2m upstream.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Upstream: '[0m[2m [0m[2m[36m>[0m[2m upstream.txt[0m✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snapindex c227c8b39..2a5cc04ab 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@@ -18,6 +18,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -28,6 +29,6 @@ exit_code: 0✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22m🔄 [36mRunning project post-start:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m 'line1[0m-[107m [0m [2m[0m[2m[34mline2[0m[2m[0m-[107m [0m [2m[0m[2m[34mline3[0m[2m' | grep line2 > filtered.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m 'line1+[107m [0m [2m[0m[2m[34mline2[0m[2m+[107m [0m [2m[0m[2m[34mline3[0m[2m' | grep line2 > filtered.txtdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_create_with_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_create_with_command.snapindex 2605f479e..ede735be5 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@@ -18,6 +18,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -28,4 +29,4 @@ exit_code: 0✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22m🔄 [36mRunning project post-start:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'POST-START-RAN'[0m[2m [0m[2m[36m>[0m[2m post_start_marker.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'POST-START-RAN'[0m[2m [0m[2m[36m>[0m[2m post_start_marker.txtdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snapindex 0f9c062da..afdaec908 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@@ -18,6 +18,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -28,4 +29,4 @@ exit_code: 0✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22m🔄 [36mRunning project post-start:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m 'unclosed quote[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m 'unclosed quotediff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snapindex c9179b09f..ff922d1dd 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@@ -18,6 +18,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -28,4 +29,4 @@ exit_code: 0✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22m🔄 [36mRunning project post-start:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'stdout output'[0m[2m [0m[2m[36m&&[0m[2m [0m[2m[34mecho[0m[2m [0m[2m[32m'stderr output'[0m[2m >&2[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'stdout output'[0m[2m [0m[2m[36m&&[0m[2m [0m[2m[34mecho[0m[2m [0m[2m[32m'stderr output'[0m[2m >&2diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiline_with_newlines.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiline_with_newlines.snapindex 19f49b94c..346e60f75 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@@ -18,6 +18,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -28,6 +29,6 @@ exit_code: 0✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22m🔄 [36mRunning project post-start:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'first line'[0m[2m [0m[2m[36m>[0m[2m multiline.txt[0m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'second line'[0m[2m [0m[2m[36m>>[0m[2m multiline.txt[0m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'third line'[0m[2m [0m[2m[36m>>[0m[2m multiline.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'first line'[0m[2m [0m[2m[36m>[0m[2m multiline.txt+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'second line'[0m[2m [0m[2m[36m>>[0m[2m multiline.txt+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'third line'[0m[2m [0m[2m[36m>>[0m[2m multiline.txtdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snapindex b4621efef..ccf6d4624 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@@ -18,6 +18,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -28,6 +29,6 @@ exit_code: 0✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22m🔄 [36mRunning project post-start [1mtask1[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Task 1 running'[0m[2m [0m[2m[36m>[0m[2m task1.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Task 1 running'[0m[2m [0m[2m[36m>[0m[2m task1.txt🔄 [36mRunning project post-start [1mtask2[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Task 2 running'[0m[2m [0m[2m[36m>[0m[2m task2.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Task 2 running'[0m[2m [0m[2m[36m>[0m[2m task2.txtdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snapindex 6dd76b88e..ff09fe59e 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@@ -18,6 +18,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -28,8 +29,8 @@ exit_code: 0✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22m🔄 [36mRunning project post-start [1mtask1[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'TASK1_OUTPUT'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'TASK1_OUTPUT'[0m[2m🔄 [36mRunning project post-start [1mtask2[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'TASK2_OUTPUT'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'TASK2_OUTPUT'[0m[2m🔄 [36mRunning project post-start [1mtask3[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'TASK3_OUTPUT'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'TASK3_OUTPUT'[0m[2mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snapindex fccdcfbe6..cc86c3172 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@@ -18,6 +18,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -28,4 +29,4 @@ exit_code: 0✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22m🔄 [36mRunning project post-start:[39m-[107m [0m [2m[0m[2m[34msleep[0m[2m 0.1 [0m[2m[36m&&[0m[2m [0m[2m[34mecho[0m[2m [0m[2m[32m'Background task done'[0m[2m [0m[2m[36m>[0m[2m background.txt[0m+[107m [0m [2m[0m[2m[34msleep[0m[2m 0.1 [0m[2m[36m&&[0m[2m [0m[2m[34mecho[0m[2m [0m[2m[32m'Background task done'[0m[2m [0m[2m[36m>[0m[2m background.txtdiff --git a/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_executes.snap b/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_executes.snapindex c53f918db..e6d8cd485 100644--- a/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_executes.snap+++ b/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_executes.snap@@ -26,6 +26,6 @@ exit_code: 0----- stderr -----🔄 [36mRemoving worktree for [1mfeature-hook[22m...[39m🔄 [36mRunning project pre-remove:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'About to remove worktree'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'About to remove worktree'[0m[2m[0mAbout to remove worktree✅ [32mRemoved [1mfeature-hook[22m worktree & branch (already in main)[39mdiff --git a/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_failure_aborts.snap b/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_failure_aborts.snapindex c7dd8d39d..964eeee90 100644--- a/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_failure_aborts.snap+++ b/tests/snapshots/integration__integration_tests__remove__pre_remove_hook_failure_aborts.snap@@ -26,7 +26,7 @@ exit_code: 1----- stderr -----🔄 [36mRemoving worktree for [1mfeature-fail[22m...[39m🔄 [36mRunning project pre-remove:[39m-[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m+[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m❌ [31mpre-remove command failed: exit status: 1[39m💡 [2mUse [90m--no-verify[39m to skip pre-remove commands[22mdiff --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.snapindex 23cb4aaf5..5b3bebd10 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 -----🔄 [36mRemoving current worktree...[39m🔄 [36mRunning project pre-remove:[39m-[107m [0m [2m[0m[2m[34mtouch[0m[2m [REPO]/m.txt[0m+[107m [0m [2m[0m[2m[34mtouch[0m[2m [REPO]/m.txt[0m✅ [32mRemoved worktree (detached HEAD, no branch to delete)[39mdiff --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.snapindex a13365124..11962518c 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 -----🔄 [36mRunning project pre-remove:[39m-[107m [0m [2m[0m[2m[34mtouch[0m[2m [REPO]/detached-bg-hook-marker.txt[0m+[107m [0m [2m[0m[2m[34mtouch[0m[2m [REPO]/detached-bg-hook-marker.txt[0m🔄 [36mRemoving worktree in background (detached HEAD, no branch to delete)[39mdiff --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.snapindex aeff9472b..0cb86ae5e 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@@ -26,12 +26,12 @@ exit_code: 0----- stderr -----🔄 [36mRemoving worktree for [1mfeature-templates[22m...[39m🔄 [36mRunning project pre-remove [1mbranch[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Branch: feature-templates'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Branch: feature-templates'[0m[2m[0mBranch: feature-templates🔄 [36mRunning project pre-remove [1mworktree[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Worktree: [REPO].feature-templates'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Worktree: [REPO].feature-templates'[0m[2m[0mWorktree: [REPO].feature-templates🔄 [36mRunning project pre-remove [1mworktree_name[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Name: repo.feature-templates'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Name: repo.feature-templates'[0m[2m[0mName: repo.feature-templates✅ [32mRemoved [1mfeature-templates[22m worktree & branch (already in main)[39mdiff --git a/tests/snapshots/integration__integration_tests__remove__remove_internal_mode.snap b/tests/snapshots/integration__integration_tests__remove__remove_internal_mode.snapindex b991b395a..ff0feba52 100644--- a/tests/snapshots/integration__integration_tests__remove__remove_internal_mode.snap+++ b/tests/snapshots/integration__integration_tests__remove__remove_internal_mode.snap@@ -25,4 +25,3 @@ cd '[REPO]'----- stderr -----🔄 [36m[36mRemoving [1mfeature-internal[22m worktree & branch in background (already in main)[39m[39m-[0mdiff --git a/tests/snapshots/integration__integration_tests__security__commit_message_with_directive_not_executed.snap b/tests/snapshots/integration__integration_tests__security__commit_message_with_directive_not_executed.snapindex 7a1f4c6d4..26372a8fd 100644--- a/tests/snapshots/integration__integration_tests__security__commit_message_with_directive_not_executed.snap+++ b/tests/snapshots/integration__integration_tests__security__commit_message_with_directive_not_executed.snap@@ -22,8 +22,8 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mf9d58892[0m [2m1d[0m [2mFix bug __WORKTRUNK_EXEC__echo PWNED > /tmp/hacked4[0m-+ [2mfeature[0m [2m_[22m [2m./repo.feature[0m [2mf9d58892[0m [2m1d[0m [2mFix bug __WORKTRUNK_EXEC__echo PWNED > /tmp/hacked4[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mf9d58892[0m [2m1d[0m [2mFix bug __WORKTRUNK_EXEC__echo PWNED > /tmp/hacked4++ [2mfeature[0m [2m_[22m [2m./repo.feature[0m [2mf9d58892[0m [2m1d[0m [2mFix bug __WORKTRUNK_EXEC__echo PWNED > /tmp/hacked4-⚪ [2mShowing 2 worktrees[0m+⚪ [2mShowing 2 worktreesdiff --git a/tests/snapshots/integration__integration_tests__security__path_with_directive_not_executed.snap b/tests/snapshots/integration__integration_tests__security__path_with_directive_not_executed.snapindex 465616d12..e36a1b9eb 100644--- a/tests/snapshots/integration__integration_tests__security__path_with_directive_not_executed.snap+++ b/tests/snapshots/integration__integration_tests__security__path_with_directive_not_executed.snap@@ -22,7 +22,7 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m.[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 1 worktree[0m+⚪ [2mShowing 1 worktreediff --git a/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_empty_diffs.snap b/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_empty_diffs.snapindex d3d27abb6..27ef82ad9 100644--- a/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_empty_diffs.snap+++ b/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_empty_diffs.snap@@ -22,10 +22,10 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2malso-no-changes[0m [2m_[22m [2m./repo.also-no-changes[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mno-changes[0m [2m_[22m [2m./repo.no-changes[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ with-changes [36m![39m [32m+1[0m [31m-1[0m ./repo.with-changes [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2malso-no-changes[0m [2m_[22m [2m./repo.also-no-changes[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mno-changes[0m [2m_[22m [2m./repo.no-changes[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ with-changes [36m![39m [32m+1[0m [31m-1[0m ./repo.with-changes [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 4 worktrees, 1 with changes[0m+⚪ [2mShowing 4 worktrees, 1 with changesdiff --git a/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_extreme_diffs.snap b/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_extreme_diffs.snapindex a086c489a..b89f6ddf4 100644--- a/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_extreme_diffs.snap+++ b/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_extreme_diffs.snap@@ -22,9 +22,9 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mhuge[0m [36m?[39m [2m_[22m [2m./repo.huge[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ tiny [36m![39m [32m+1[0m [31m-1[0m ./repo.tiny [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mhuge[0m [36m?[39m [2m_[22m [2m./repo.huge[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ tiny [36m![39m [32m+1[0m [31m-1[0m ./repo.tiny [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 3 worktrees, 1 with changes[0m+⚪ [2mShowing 3 worktrees, 1 with changesdiff --git a/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_varying_diffs.snap b/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_varying_diffs.snapindex 60dabebb4..c59af0b86 100644--- a/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_varying_diffs.snap+++ b/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_varying_diffs.snap@@ -22,10 +22,10 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-large[0m [36m?[39m [2m_[22m [2m./repo.feature-large[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-medium[0m [36m?[39m [2m_[22m [2m./repo.feature-medium[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mfeature-small[0m [36m?[39m [2m_[22m [2m./repo.feature-small[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-large[0m [36m?[39m [2m_[22m [2m./repo.feature-large[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-medium[0m [36m?[39m [2m_[22m [2m./repo.feature-medium[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mfeature-small[0m [36m?[39m [2m_[22m [2m./repo.feature-small[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 4 worktrees[0m+⚪ [2mShowing 4 worktreesdiff --git a/tests/snapshots/integration__integration_tests__spacing_edge_cases__long_branch_names.snap b/tests/snapshots/integration__integration_tests__spacing_edge_cases__long_branch_names.snapindex f089ebfbc..dbeb85310 100644--- a/tests/snapshots/integration__integration_tests__spacing_edge_cases__long_branch_names.snap+++ b/tests/snapshots/integration__integration_tests__spacing_edge_cases__long_branch_names.snap@@ -22,10 +22,10 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m-+ [2manother-extremely-long-name-here[0m [2m_[22m [2m./repo.another-extremely-long-name-here[0m [2mb834638e[0m [2m1d[0m-+ [2mshort[0m [2m_[22m [2m./repo.short[0m [2mb834638e[0m [2m1d[0m-+ [2mvery-long-feature-branch-name[0m [2m_[22m [2m./repo.very-long-feature-branch-name[0m [2mb834638e[0m [2m1d[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d++ [2manother-extremely-long-name-here[0m [2m_[22m [2m./repo.another-extremely-long-name-here[0m [2mb834638e[0m [2m1d++ [2mshort[0m [2m_[22m [2m./repo.short[0m [2mb834638e[0m [2m1d++ [2mvery-long-feature-branch-name[0m [2m_[22m [2m./repo.very-long-feature-branch-name[0m [2mb834638e[0m [2m1d-⚪ [2mShowing 4 worktrees, 1 column hidden[0m+⚪ [2mShowing 4 worktrees, 1 column hiddendiff --git a/tests/snapshots/integration__integration_tests__spacing_edge_cases__mixed_length_branch_names.snap b/tests/snapshots/integration__integration_tests__spacing_edge_cases__mixed_length_branch_names.snapindex d4963c24e..2f1bb9aa7 100644--- a/tests/snapshots/integration__integration_tests__spacing_edge_cases__mixed_length_branch_names.snap+++ b/tests/snapshots/integration__integration_tests__spacing_edge_cases__mixed_length_branch_names.snap@@ -22,10 +22,10 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mextremely-long-branch-name-that-might-cause-layout-issues[0m [2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mmedium[0m [2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mx[0m [2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mextremely-long-branch-name-that-might-cause-layout-issues[0m [2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mmedium[0m [2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mx[0m [2m_[22m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 4 worktrees, 1 column hidden[0m+⚪ [2mShowing 4 worktrees, 1 column hiddendiff --git a/tests/snapshots/integration__integration_tests__spacing_edge_cases__short_branch_names.snap b/tests/snapshots/integration__integration_tests__spacing_edge_cases__short_branch_names.snapindex ea7dca386..c107a4001 100644--- a/tests/snapshots/integration__integration_tests__spacing_edge_cases__short_branch_names.snap+++ b/tests/snapshots/integration__integration_tests__spacing_edge_cases__short_branch_names.snap@@ -22,10 +22,10 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2ma[0m [2m_[22m [2m./repo.a[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mbb[0m [2m_[22m [2m./repo.bb[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mccc[0m [2m_[22m [2m./repo.ccc[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2ma[0m [2m_[22m [2m./repo.a[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mbb[0m [2m_[22m [2m./repo.bb[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mccc[0m [2m_[22m [2m./repo.ccc[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 4 worktrees[0m+⚪ [2mShowing 4 worktreesdiff --git a/tests/snapshots/integration__integration_tests__spacing_edge_cases__unicode_branch_names.snap b/tests/snapshots/integration__integration_tests__spacing_edge_cases__unicode_branch_names.snapindex 48e8bc996..40182cf32 100644--- a/tests/snapshots/integration__integration_tests__spacing_edge_cases__unicode_branch_names.snap+++ b/tests/snapshots/integration__integration_tests__spacing_edge_cases__unicode_branch_names.snap@@ -22,10 +22,10 @@ exit_code: 0----- stdout ---------- stderr ------ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage[0m-@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mcafe[0m [2m_[22m [2m./repo.cafe[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mnaive[0m [2m_[22m [2m./repo.naive[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m-+ [2mresume[0m [2m_[22m [2m./repo.resume[0m [2mb834638e[0m [2m1d[0m [2mInitial commit[0m+ [1mBranch[0m [1mStatus[0m [1mHEAD±[0m [1mmain↕[0m [1mPath[0m [1mRemote⇅[0m [1mCommit[0m [1mAge[0m [1mMessage+@ [1mmain[0m [2m^[22m [1m./repo[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mcafe[0m [2m_[22m [2m./repo.cafe[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mnaive[0m [2m_[22m [2m./repo.naive[0m [2mb834638e[0m [2m1d[0m [2mInitial commit++ [2mresume[0m [2m_[22m [2m./repo.resume[0m [2mb834638e[0m [2m1d[0m [2mInitial commit-⚪ [2mShowing 4 worktrees[0m+⚪ [2mShowing 4 worktreesdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_creates_file.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_creates_file.snapindex 3f68a1078..fb54913e8 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@@ -20,6 +20,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -29,4 +30,4 @@ exit_code: 0----- stderr -----✅ [32m[32mCreated new worktree for [1mfile-test[22m from [1mmain[22m at [1m[REPO].file-test[39m[22m[39m🔄 [36mExecuting (--execute):[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test content'[0m[2m [0m[2m[36m>[0m[2m test.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test content'[0m[2m [0m[2m[36m>[0m[2m test.txtdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snapindex e272f071e..3d0b30c01 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap@@ -19,6 +19,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -28,4 +29,4 @@ exit_code: 0----- stderr -----✅ [32m[32mSwitched to worktree for [1mexisting-exec[22m at [1m[REPO].existing-exec[39m[22m[39m🔄 [36mExecuting (--execute):[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'existing worktree'[0m[2m [0m[2m[36m>[0m[2m existing.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'existing worktree'[0m[2m [0m[2m[36m>[0m[2m existing.txtdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snapindex 5099aacde..719f4150d 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap@@ -20,6 +20,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: false@@ -29,4 +30,4 @@ exit_code: 1----- stderr -----✅ [32m[32mCreated new worktree for [1mfail-test[22m from [1mmain[22m at [1m[REPO].fail-test[39m[22m[39m🔄 [36mExecuting (--execute):[39m-[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m+[107m [0m [2m[0m[2m[34mexit[0m[2m 1diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snapindex 4a1224581..c4c1aca0e 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap@@ -20,6 +20,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -32,6 +33,6 @@ line3----- stderr -----✅ [32m[32mCreated new worktree for [1mmultiline-test[22m from [1mmain[22m at [1m[REPO].multiline-test[39m[22m[39m🔄 [36mExecuting (--execute):[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'line1'[0m[2m[0m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'line2'[0m[2m[0m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'line3'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'line1'[0m[2m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'line2'[0m[2m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'line3'[0m[2mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snapindex eb08b12db..3cbcdd33c 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap@@ -20,6 +20,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -30,4 +31,4 @@ test output----- stderr -----✅ [32m[32mCreated new worktree for [1mexec-test[22m from [1mmain[22m at [1m[REPO].exec-test[39m[22m[39m🔄 [36mExecuting (--execute):[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test output'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test output'[0m[2mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_existing_internal.snap b/tests/snapshots/integration__integration_tests__switch__switch_existing_internal.snapindex d82ee2f8d..bc07e9d2b 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_existing_internal.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_existing_internal.snap@@ -18,6 +18,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -27,4 +28,3 @@ cd '[REPO].existing-wt'----- stderr -----✅ [32m[32mSwitched to worktree for [1mexisting-wt[22m at [1m[REPO].existing-wt[39m[22m[39m-[0mdiff --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.snapindex 6a1960943..e880149c6 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@@ -21,6 +21,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -32,5 +33,4 @@ exit 42----- stderr -----✅ [32m[32mCreated new worktree for [1mexit-code-test[22m from [1mmain[22m at [1m[REPO].exit-code-test[39m[22m[39m🔄 [36mExecuting (--execute):[39m-[107m [0m [2m[0m[2m[34mexit[0m[2m 42[0m-[0m+[107m [0m [2m[0m[2m[34mexit[0m[2m 42diff --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.snapindex ffe1a910d..711193aa8 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@@ -21,6 +21,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -33,6 +34,5 @@ exit 7----- stderr -----✅ [32m[32mCreated new worktree for [1moutput-exit-test[22m from [1mmain[22m at [1m[REPO].output-exit-test[39m[22m[39m🔄 [36mExecuting (--execute):[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'doing work'[0m[2m[0m-[107m [0m [2m[0m[2m[34mexit[0m[2m 7[0m-[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'doing work'[0m[2m+[107m [0m [2m[0m[2m[34mexit[0m[2m 7diff --git a/tests/snapshots/integration__integration_tests__switch__switch_internal_mode.snap b/tests/snapshots/integration__integration_tests__switch__switch_internal_mode.snapindex 1b2084dbd..455b00b0c 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_internal_mode.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_internal_mode.snap@@ -19,6 +19,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -28,4 +29,3 @@ cd '[REPO].internal-test'----- stderr -----✅ [32m[32mCreated new worktree for [1minternal-test[22m from [1mmain[22m at [1m[REPO].internal-test[39m[22m[39m-[0mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snap b/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snapindex 89ac2b9bc..741a11bbe 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@@ -21,6 +21,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -33,6 +34,5 @@ echo 'line2'----- stderr -----✅ [32m[32mCreated new worktree for [1mexec-internal[22m from [1mmain[22m at [1m[REPO].exec-internal[39m[22m[39m🔄 [36mExecuting (--execute):[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'line1'[0m[2m[0m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'line2'[0m[2m[0m-[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'line1'[0m[2m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'line2'[0m[2mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_missing_argument_hints.snap b/tests/snapshots/integration__integration_tests__switch__switch_missing_argument_hints.snapindex d45667756..c13dd9dc8 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_missing_argument_hints.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_missing_argument_hints.snap@@ -16,6 +16,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: false@@ -24,9 +25,9 @@ exit_code: 2----- stderr -----[1m[31merror:[0m the following required arguments were not provided:- [1m[32m<BRANCH>[0m+ [1m[32m<BRANCH>-[1m[32mUsage:[0m [1m[36mwt switch[0m [36m<BRANCH>[0m+[1m[32mUsage:[0m [1m[36mwt switch[0m [36m<BRANCH>For more information, try '[1m[36m--help[0m'.[32m[1mQuick switches:[39m[22mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_execute_still_runs.snap b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_execute_still_runs.snapindex 44ce8ba36..6f093c4a8 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@@ -21,6 +21,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -31,4 +32,4 @@ execute command runs----- stderr -----✅ [32m[32mCreated new worktree for [1mno-hooks-test[22m from [1mmain[22m at [1m[REPO].no-hooks-test[39m[22m[39m🔄 [36mExecuting (--execute):[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'execute command runs'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'execute command runs'[0m[2mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_existing.snap b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_existing.snapindex aafa41bcf..625673e71 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@@ -20,6 +20,7 @@ info:LANG: CLC_ALL: CSOURCE_DATE_EPOCH: "1735776000"+ USERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"---success: true@@ -30,4 +31,4 @@ execute still runs----- stderr -----✅ [32m[32mSwitched to worktree for [1mexisting-no-hooks[22m at [1m[REPO].existing-no-hooks[39m[22m[39m🔄 [36mExecuting (--execute):[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'execute still runs'[0m[2m[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'execute still runs'[0m[2mdiff --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.snapindex c4e2e8445..094c55fcd 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@@ -27,6 +27,6 @@ exit_code: 0✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22m🔄 [36mRunning user post-start [1mbg[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'USER_POST_START'[0m[2m [0m[2m[36m>[0m[2m user_bg.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'USER_POST_START'[0m[2m [0m[2m[36m>[0m[2m user_bg.txt🔄 [36mRunning project post-start:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'PROJECT_POST_START'[0m[2m [0m[2m[36m>[0m[2m project_bg.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'PROJECT_POST_START'[0m[2m [0m[2m[36m>[0m[2m project_bg.txtdiff --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.snapindex e946d6e05..c636fa50f 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@@ -25,6 +25,6 @@ exit_code: 0----- stderr -----🔄 [36mRunning user post-create [1mvars[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'repo=repo branch=feature'[0m[2m [0m[2m[36m>[0m[2m template_vars.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'repo=repo branch=feature'[0m[2m [0m[2m[36m>[0m[2m template_vars.txt[0m✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22mdiff --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.snapindex cc549c2dc..188909f58 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@@ -25,8 +25,8 @@ exit_code: 0----- stderr -----🔄 [36mRunning user post-create [1mlog[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'USER_HOOK'[0m[2m [0m[2m[36m>>[0m[2m hook_order.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'USER_HOOK'[0m[2m [0m[2m[36m>>[0m[2m hook_order.txt[0m🔄 [36mRunning project post-create:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'PROJECT_HOOK'[0m[2m [0m[2m[36m>>[0m[2m hook_order.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'PROJECT_HOOK'[0m[2m [0m[2m[36m>>[0m[2m hook_order.txt[0m✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22mdiff --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.snapindex b89a93598..6387d2978 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@@ -25,6 +25,6 @@ exit_code: 0----- stderr -----🔄 [36mRunning user post-create [1msetup[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'NO_APPROVAL_NEEDED'[0m[2m [0m[2m[36m>[0m[2m no_approval.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'NO_APPROVAL_NEEDED'[0m[2m [0m[2m[36m>[0m[2m no_approval.txt[0m✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22mdiff --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.snapindex 3051bd14d..4d66babdc 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@@ -25,6 +25,6 @@ exit_code: 0----- stderr -----🔄 [36mRunning user post-create [1mlog[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'USER_POST_CREATE_RAN'[0m[2m [0m[2m[36m>[0m[2m user_hook_marker.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'USER_POST_CREATE_RAN'[0m[2m [0m[2m[36m>[0m[2m user_hook_marker.txt[0m✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22mdiff --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.snapindex f9f4bc3d3..c09454092 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@@ -25,7 +25,7 @@ exit_code: 0----- stderr -----🔄 [36mRunning user post-create [1mfailing[22m:[39m-[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m+[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m🟡 [33mCommand [1mfailing[22m failed: exit status: 1[39m✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_post_merge_executes.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_post_merge_executes.snapindex b4de68bd9..bc9f9b0ee 100644--- a/tests/snapshots/integration__integration_tests__user_hooks__user_post_merge_executes.snap+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_post_merge_executes.snap@@ -32,5 +32,4 @@ exit_code: 0✅ [32mMerged to [1mmain[22m [90m(1 commit, 1 file, [32m+1[39m[39m[90m)[39m[39m⚪ Worktree preserved (--no-remove)🔄 [36mRunning user post-merge [1mnotify[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'USER_POST_MERGE_RAN'[0m[2m [0m[2m[36m>[0m[2m user_postmerge.txt[0m-[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'USER_POST_MERGE_RAN'[0m[2m [0m[2m[36m>[0m[2m user_postmerge.txtdiff --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.snapindex 3609b3de5..3ce19570e 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@@ -27,4 +27,4 @@ exit_code: 0✅ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m💡 [2mRun [90mwt config shell install[39m to enable automatic cd[22m🔄 [36mRunning user post-start [1mbg[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'USER_POST_START_RAN'[0m[2m [0m[2m[36m>[0m[2m user_bg_marker.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'USER_POST_START_RAN'[0m[2m [0m[2m[36m>[0m[2m user_bg_marker.txtdiff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_pre_commit_executes.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_pre_commit_executes.snapindex 272ae1de2..120141ff4 100644--- a/tests/snapshots/integration__integration_tests__user_hooks__user_pre_commit_executes.snap+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_pre_commit_executes.snap@@ -28,7 +28,7 @@ exit_code: 0🟡 [33mAuto-staging 1 untracked path:[39m[107m [0m uncommitted.txt🔄 [36mRunning user pre-commit [1mlint[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'USER_PRE_COMMIT_RAN'[0m[2m [0m[2m[36m>[0m[2m user_precommit.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'USER_PRE_COMMIT_RAN'[0m[2m [0m[2m[36m>[0m[2m user_precommit.txt[0m🔄 [36mCommitting changes with default message... [90m(1 file, [32m+1[39m, no squashing needed[39m[90m)[39m[39m💡 [2mUsing fallback commit message. Run [90mwt config --help[39m for LLM setup guide[22m[107m [0m [1mChanges to uncommitted.txt[22mdiff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_pre_commit_failure.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_pre_commit_failure.snapindex 343c33b46..15542d588 100644--- a/tests/snapshots/integration__integration_tests__user_hooks__user_pre_commit_failure.snap+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_pre_commit_failure.snap@@ -28,7 +28,7 @@ exit_code: 1🟡 [33mAuto-staging 1 untracked path:[39m[107m [0m uncommitted.txt🔄 [36mRunning user pre-commit [1mlint[22m:[39m-[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m+[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m❌ [31mpre-commit command failed: [1mlint[22m: exit status: 1[39m💡 [2mUse [90m--no-verify[39m to skip pre-commit commands[22mdiff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_pre_merge_executes.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_pre_merge_executes.snapindex 9f8519151..4eb021d4b 100644--- a/tests/snapshots/integration__integration_tests__user_hooks__user_pre_merge_executes.snap+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_pre_merge_executes.snap@@ -26,7 +26,7 @@ exit_code: 0----- stderr -----🔄 [36mRunning user pre-merge [1mcheck[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'USER_PRE_MERGE_RAN'[0m[2m [0m[2m[36m>[0m[2m user_premerge.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'USER_PRE_MERGE_RAN'[0m[2m [0m[2m[36m>[0m[2m user_premerge.txt[0m🔄 [36mMerging 1 commit to [1mmain[22m @ [2m66266ec[22m (no commit/squash/rebase needed)[39m[107m [0m * [33m66266ec[m Add feature[107m [0m feature.txt | 1 [32m+[mdiff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_pre_merge_failure.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_pre_merge_failure.snapindex f353f0c44..8a13016d8 100644--- a/tests/snapshots/integration__integration_tests__user_hooks__user_pre_merge_failure.snap+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_pre_merge_failure.snap@@ -26,7 +26,7 @@ exit_code: 1----- stderr -----🔄 [36mRunning user pre-merge [1mcheck[22m:[39m-[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m+[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m❌ [31mpre-merge command failed: [1mcheck[22m: exit status: 1[39m💡 [2mUse [90m--no-verify[39m to skip pre-merge commands[22mdiff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_pre_remove_executes.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_pre_remove_executes.snapindex 8fa80d106..b1a30307d 100644--- a/tests/snapshots/integration__integration_tests__user_hooks__user_pre_remove_executes.snap+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_pre_remove_executes.snap@@ -25,5 +25,5 @@ exit_code: 0----- stderr -----🔄 [36mRunning user pre-remove [1mcleanup[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'USER_PRE_REMOVE_RAN'[0m[2m [0m[2m[36m>[0m[2m /tmp/user_preremove_marker.txt[0m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'USER_PRE_REMOVE_RAN'[0m[2m [0m[2m[36m>[0m[2m /tmp/user_preremove_marker.txt[0m🔄 [36m[36mRemoving [1mfeature[22m worktree & branch in background (--force-delete)[39m[39mdiff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_pre_remove_failure.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_pre_remove_failure.snapindex 742156210..38ef2fed1 100644--- a/tests/snapshots/integration__integration_tests__user_hooks__user_pre_remove_failure.snap+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_pre_remove_failure.snap@@ -25,7 +25,7 @@ exit_code: 1----- stderr -----🔄 [36mRunning user pre-remove [1mblock[22m:[39m-[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m+[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m❌ [31mpre-remove command failed: [1mblock[22m: exit status: 1[39m💡 [2mUse [90m--no-verify[39m to skip pre-remove commands[22m