Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
feat: reduce background hook output verbosity (#740)
Maximilian Roosfb011c37dd21
diff --git a/.claude-plugin/skills/worktrunk/reference/config.md b/.claude-plugin/skills/worktrunk/reference/config.mdindex 7315d2901..199fc8359 100644--- a/.claude-plugin/skills/worktrunk/reference/config.md+++ b/.claude-plugin/skills/worktrunk/reference/config.md@@ -405,7 +405,7 @@ Usage: <b><span class=c>wt config</span></b> <span class=c>[OPTIONS]</span> <spaUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)## wt config show@@ -447,7 +447,7 @@ Usage: <b><span class=c>wt config show</span></b> <span class=c>[OPTIONS]</span>User config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)## wt config state@@ -522,7 +522,7 @@ Usage: <b><span class=c>wt config state</span></b> <span class=c>[OPTIONS]</spanUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)## wt config state default-branch@@ -574,7 +574,7 @@ Usage: <b><span class=c>wt config state default-branch</span></b> <span class=c>User config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)## wt config state ci-status@@ -624,7 +624,7 @@ Usage: <b><span class=c>wt config state ci-status</span></b> <span class=c>[OPTIUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)## wt config state marker@@ -680,7 +680,7 @@ Usage: <b><span class=c>wt config state marker</span></b> <span class=c>[OPTIONSUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)## wt config state logs@@ -744,4 +744,4 @@ Usage: <b><span class=c>wt config state logs</span></b> <span class=c>[OPTIONS]<User config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)diff --git a/.claude-plugin/skills/worktrunk/reference/hook.md b/.claude-plugin/skills/worktrunk/reference/hook.mdindex eb66e55cf..19c8baf4e 100644--- a/.claude-plugin/skills/worktrunk/reference/hook.md+++ b/.claude-plugin/skills/worktrunk/reference/hook.md@@ -19,6 +19,8 @@ Hooks are shell commands that run at key points in the worktree lifecycle — au**Blocking**: Command waits for hook to complete before continuing.**Fail-fast**: First failure aborts the operation.+Background hooks show a single-line summary by default. Use `-v` to see expanded command details.+### post-startDev servers, long builds, file watchers, copying caches. Output logged to `.git/wt-logs/{branch}-{source}-post-start-{name}.log`.@@ -429,7 +431,7 @@ Usage: <b><span class=c>wt hook</span></b> <span class=c>[OPTIONS]</span> <spanUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)## wt hook approvals@@ -478,4 +480,4 @@ Usage: <b><span class=c>wt hook approvals</span></b> <span class=c>[OPTIONS]</spUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)diff --git a/.claude-plugin/skills/worktrunk/reference/list.md b/.claude-plugin/skills/worktrunk/reference/list.mdindex 6fb44c21c..3fa3df3e2 100644--- a/.claude-plugin/skills/worktrunk/reference/list.md+++ b/.claude-plugin/skills/worktrunk/reference/list.md@@ -281,4 +281,4 @@ Usage: <b><span class=c>wt list</span></b> <span class=c>[OPTIONS]</span>User config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)diff --git a/.claude-plugin/skills/worktrunk/reference/merge.md b/.claude-plugin/skills/worktrunk/reference/merge.mdindex 333c0749e..dbe838cb0 100644--- a/.claude-plugin/skills/worktrunk/reference/merge.md+++ b/.claude-plugin/skills/worktrunk/reference/merge.md@@ -117,4 +117,4 @@ Usage: <b><span class=c>wt merge</span></b> <span class=c>[OPTIONS]</span> <spanUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)diff --git a/.claude-plugin/skills/worktrunk/reference/remove.md b/.claude-plugin/skills/worktrunk/reference/remove.mdindex 7170baaf6..7582ab3a6 100644--- a/.claude-plugin/skills/worktrunk/reference/remove.md+++ b/.claude-plugin/skills/worktrunk/reference/remove.md@@ -111,4 +111,4 @@ Usage: <b><span class=c>wt remove</span></b> <span class=c>[OPTIONS]</span> <spaUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)diff --git a/.claude-plugin/skills/worktrunk/reference/select.md b/.claude-plugin/skills/worktrunk/reference/select.mdindex 0235996e5..e635c855a 100644--- a/.claude-plugin/skills/worktrunk/reference/select.md+++ b/.claude-plugin/skills/worktrunk/reference/select.md@@ -72,4 +72,4 @@ Usage: <b><span class=c>wt select</span></b> <span class=c>[OPTIONS]</span>User config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)diff --git a/.claude-plugin/skills/worktrunk/reference/step.md b/.claude-plugin/skills/worktrunk/reference/step.mdindex 7aba69b74..63cfbb31f 100644--- a/.claude-plugin/skills/worktrunk/reference/step.md+++ b/.claude-plugin/skills/worktrunk/reference/step.md@@ -57,7 +57,7 @@ Usage: <b><span class=c>wt step</span></b> <span class=c>[OPTIONS]</span> <spanUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)## wt step commit@@ -138,7 +138,7 @@ Usage: <b><span class=c>wt step commit</span></b> <span class=c>[OPTIONS]</span>User config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)## wt step squash@@ -222,7 +222,7 @@ Usage: <b><span class=c>wt step squash</span></b> <span class=c>[OPTIONS]</span>User config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)## wt step copy-ignored@@ -343,7 +343,7 @@ Usage: <b><span class=c>wt step copy-ignored</span></b> <span class=c>[OPTIONS]<User config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)## wt step for-each@@ -405,4 +405,4 @@ Usage: <b><span class=c>wt step for-each</span></b> <span class=c>[OPTIONS]</spaUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)diff --git a/.claude-plugin/skills/worktrunk/reference/switch.md b/.claude-plugin/skills/worktrunk/reference/switch.mdindex 8312b9626..e2dc30538 100644--- a/.claude-plugin/skills/worktrunk/reference/switch.md+++ b/.claude-plugin/skills/worktrunk/reference/switch.md@@ -150,4 +150,4 @@ Usage: <b><span class=c>wt switch</span></b> <span class=c>[OPTIONS]</span> <spaUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)diff --git a/docs/content/config.md b/docs/content/config.mdindex 5aa9ac375..b8d2ceea2 100644--- a/docs/content/config.md+++ b/docs/content/config.md@@ -414,7 +414,7 @@ Usage: <b><span class=c>wt config</span></b> <span class=c>[OPTIONS]</span> <spaUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report){% end %}## wt config show@@ -458,7 +458,7 @@ Usage: <b><span class=c>wt config show</span></b> <span class=c>[OPTIONS]</span>User config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report){% end %}## wt config state@@ -535,7 +535,7 @@ Usage: <b><span class=c>wt config state</span></b> <span class=c>[OPTIONS]</spanUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report){% end %}## wt config state default-branch@@ -589,7 +589,7 @@ Usage: <b><span class=c>wt config state default-branch</span></b> <span class=c>User config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report){% end %}## wt config state ci-status@@ -641,7 +641,7 @@ Usage: <b><span class=c>wt config state ci-status</span></b> <span class=c>[OPTIUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report){% end %}## wt config state marker@@ -699,7 +699,7 @@ Usage: <b><span class=c>wt config state marker</span></b> <span class=c>[OPTIONSUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report){% end %}## wt config state logs@@ -765,7 +765,7 @@ Usage: <b><span class=c>wt config state logs</span></b> <span class=c>[OPTIONS]<User config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report){% end %}<!-- END AUTO-GENERATED from `wt config --help-page` -->diff --git a/docs/content/hook.md b/docs/content/hook.mdindex 48a5bc73e..5a31c83ab 100644--- a/docs/content/hook.md+++ b/docs/content/hook.md@@ -27,6 +27,8 @@ Hooks are shell commands that run at key points in the worktree lifecycle — au**Blocking**: Command waits for hook to complete before continuing.**Fail-fast**: First failure aborts the operation.+Background hooks show a single-line summary by default. Use `-v` to see expanded command details.+### post-startDev servers, long builds, file watchers, copying caches. Output logged to `.git/wt-logs/{branch}-{source}-post-start-{name}.log`.@@ -444,7 +446,7 @@ Usage: <b><span class=c>wt hook</span></b> <span class=c>[OPTIONS]</span> <spanUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report){% end %}## wt hook approvals@@ -495,7 +497,7 @@ Usage: <b><span class=c>wt hook approvals</span></b> <span class=c>[OPTIONS]</spUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report){% end %}<!-- END AUTO-GENERATED from `wt hook --help-page` -->diff --git a/docs/content/list.md b/docs/content/list.mdindex 4ec54c25e..2a677007c 100644--- a/docs/content/list.md+++ b/docs/content/list.md@@ -319,7 +319,7 @@ Usage: <b><span class=c>wt list</span></b> <span class=c>[OPTIONS]</span>User config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report){% end %}<!-- END AUTO-GENERATED from `wt list --help-page` -->diff --git a/docs/content/merge.md b/docs/content/merge.mdindex 4746c2bf4..c09099d06 100644--- a/docs/content/merge.md+++ b/docs/content/merge.md@@ -139,7 +139,7 @@ Usage: <b><span class=c>wt merge</span></b> <span class=c>[OPTIONS]</span> <spanUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report){% end %}<!-- END AUTO-GENERATED from `wt merge --help-page` -->diff --git a/docs/content/remove.md b/docs/content/remove.mdindex 515b8b479..b1494b97a 100644--- a/docs/content/remove.md+++ b/docs/content/remove.md@@ -125,7 +125,7 @@ Usage: <b><span class=c>wt remove</span></b> <span class=c>[OPTIONS]</span> <spaUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report){% end %}<!-- END AUTO-GENERATED from `wt remove --help-page` -->diff --git a/docs/content/select.md b/docs/content/select.mdindex 75f46c5ac..71f2deede 100644--- a/docs/content/select.md+++ b/docs/content/select.md@@ -95,7 +95,7 @@ Usage: <b><span class=c>wt select</span></b> <span class=c>[OPTIONS]</span>User config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report){% end %}<!-- END AUTO-GENERATED from `wt select --help-page` -->diff --git a/docs/content/step.md b/docs/content/step.mdindex 84d6a49ae..d998b0814 100644--- a/docs/content/step.md+++ b/docs/content/step.md@@ -71,7 +71,7 @@ Usage: <b><span class=c>wt step</span></b> <span class=c>[OPTIONS]</span> <spanUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report){% end %}## wt step commit@@ -154,7 +154,7 @@ Usage: <b><span class=c>wt step commit</span></b> <span class=c>[OPTIONS]</span>User config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report){% end %}## wt step squash@@ -240,7 +240,7 @@ Usage: <b><span class=c>wt step squash</span></b> <span class=c>[OPTIONS]</span>User config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report){% end %}## wt step copy-ignored@@ -363,7 +363,7 @@ Usage: <b><span class=c>wt step copy-ignored</span></b> <span class=c>[OPTIONS]<User config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report){% end %}## wt step for-each@@ -427,7 +427,7 @@ Usage: <b><span class=c>wt step for-each</span></b> <span class=c>[OPTIONS]</spaUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report){% end %}<!-- END AUTO-GENERATED from `wt step --help-page` -->diff --git a/docs/content/switch.md b/docs/content/switch.mdindex c2a253835..e8dfc4d90 100644--- a/docs/content/switch.md+++ b/docs/content/switch.md@@ -172,7 +172,7 @@ Usage: <b><span class=c>wt switch</span></b> <span class=c>[OPTIONS]</span> <spaUser config file path<b><span class=c>-v</span></b>, <b><span class=c>--verbose</span></b><span class=c>...</span>- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report){% end %}<!-- END AUTO-GENERATED from `wt switch --help-page` -->diff --git a/src/cli/mod.rs b/src/cli/mod.rsindex ac3a3e46e..e1b868626 100644--- a/src/cli/mod.rs+++ b/src/cli/mod.rs@@ -225,7 +225,7 @@ pub(crate) struct Cli {)]pub config: Option<std::path::PathBuf>,- /// Show debug info and write diagnostic report (-vv)+ /// Verbose output (-v: hooks, templates; -vv: debug report)#[arg(long,short = 'v',@@ -1037,6 +1037,8 @@ wt step push**Blocking**: Command waits for hook to complete before continuing.**Fail-fast**: First failure aborts the operation.+Background hooks show a single-line summary by default. Use `-v` to see expanded command details.+### post-startDev servers, long builds, file watchers, copying caches. Output logged to `.git/wt-logs/{branch}-{source}-post-start-{name}.log`.diff --git a/src/commands/hooks.rs b/src/commands/hooks.rsindex bcc8462c9..1e745c5c3 100644--- a/src/commands/hooks.rs+++ b/src/commands/hooks.rs@@ -6,7 +6,7 @@ use worktrunk::config::CommandConfig;use worktrunk::git::WorktrunkError;use worktrunk::path::format_path_for_display;use worktrunk::styling::{- error_message, format_bash_with_gutter, progress_message, warning_message,+ error_message, format_bash_with_gutter, progress_message, verbosity, warning_message,};use super::command_executor::{CommandContext, PreparedCommand, prepare_commands};@@ -24,6 +24,14 @@ pub struct SourcedCommand {}impl SourcedCommand {+ /// Short name for summary display: "user:name" or just "user" if unnamed.+ fn summary_name(&self) -> String {+ match &self.prepared.name {+ Some(n) => format!("{}:{}", self.source, n),+ None => self.source.to_string(),+ }+ }+/// Announce this command before execution.////// Format: "Running pre-merge user:foo:" for named, "Running post-create user hook:" for unnamed@@ -139,6 +147,9 @@ fn filter_by_name(////// Used for post-start and post-switch hooks during normal worktree operations./// Commands are spawned and immediately detached - we don't wait for them.+///+/// By default, shows a single-line summary of all hooks being run.+/// With `-v`, shows verbose per-hook output with command details.pub fn spawn_hook_commands_background(ctx: &CommandContext,commands: Vec<SourcedCommand>,@@ -148,13 +159,39 @@ pub fn spawn_hook_commands_background(return Ok(());}+ let verbose = verbosity();++ if verbose == 0 {+ // Single-line summary: "Running post-start hooks @ path: user:bg, project"+ let names: Vec<String> = commands+ .iter()+ .map(|c| cformat!("<bold>{}</>", c.summary_name()))+ .collect();+ // All commands in a batch share the same display_path (set by prepare_hook_commands)+ let display_path = commands.first().and_then(|c| c.display_path.as_ref());++ let message = match display_path {+ Some(path) => {+ let path_display = format_path_for_display(path);+ cformat!(+ "Running {hook_type} hooks @ <bold>{path_display}</>: {}",+ names.join(", ")+ )+ }+ None => format!("Running {hook_type} hooks: {}", names.join(", ")),+ };+ crate::output::print(progress_message(message))?;+ }+let operation_prefix = hook_type.to_string();// Track index for unnamed commands to prevent log collisionslet mut unnamed_index = 0usize;- for cmd in commands {- cmd.announce()?;+ for cmd in &commands {+ if verbose >= 1 {+ cmd.announce()?;+ }let name = match &cmd.prepared.name {Some(n) => n.clone(),diff --git a/tests/integration_tests/post_start_commands.rs b/tests/integration_tests/post_start_commands.rsindex 58cfc63c9..5e02ea4a4 100644--- a/tests/integration_tests/post_start_commands.rs+++ b/tests/integration_tests/post_start_commands.rs@@ -758,6 +758,33 @@ approved-commands = ["sleep 0.1 && echo 'Background task done' > background.txt"wait_for_file(output_file.as_path());}+/// Test that -v shows verbose per-hook output for background hooks+#[rstest]+fn test_post_start_verbose_shows_per_hook_output(repo: TestRepo) {+ // Create project config with a background command+ repo.write_project_config(+ r#"[post-start]+setup = "echo 'verbose test' > verbose.txt"+"#,+ );++ repo.commit("Add background command");++ // Pre-approve the command+ repo.write_test_config(+ r#"[projects."../origin"]+approved-commands = ["echo 'verbose test' > verbose.txt"]+"#,+ );++ // With -v, should show detailed per-hook output with command in gutter+ snapshot_switch(+ "post_start_verbose_output",+ &repo,+ &["-v", "--create", "feature"],+ );+}+#[rstest]fn test_post_start_multiple_background_commands(repo: TestRepo) {// Create project config with multiple background commands (table format)diff --git a/tests/snapshots/integration__integration_tests__help__help_config_create.snap b/tests/snapshots/integration__integration_tests__help__help_config_create.snapindex 1de93eb6f..7ccd7b464 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_create.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_create.snap@@ -9,6 +9,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -40,7 +41,7 @@ Usage: [1m[36mwt config create[0m [36m[OPTIONS]User config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)[1m[32mUser configdiff --git a/tests/snapshots/integration__integration_tests__help__help_config_long.snap b/tests/snapshots/integration__integration_tests__help__help_config_long.snapindex cbcfcb877..c8f6e05ae 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_long.snap@@ -8,6 +8,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -44,7 +45,7 @@ Usage: [1m[36mwt config[0m [36m[OPTIONS][0m [36m<COMMAND>User config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)[1m[32mExamplesdiff --git a/tests/snapshots/integration__integration_tests__help__help_config_shell.snap b/tests/snapshots/integration__integration_tests__help__help_config_shell.snapindex de2acc8df..cfbf63193 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_shell.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_shell.snap@@ -9,6 +9,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -37,4 +38,4 @@ Usage: [1m[36mwt config shell[0m [36m[OPTIONS][0m [36m<COMMAND>[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[36m...[0m Show debug info and write diagnostic report (-vv)+ [1m[36m-v[0m, [1m[36m--verbose[0m[36m...[0m Verbose output (-v: hooks, templates; -vv: debug report)diff --git a/tests/snapshots/integration__integration_tests__help__help_config_short.snap b/tests/snapshots/integration__integration_tests__help__help_config_short.snapindex df02b7687..25d3ed978 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_short.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_short.snap@@ -8,6 +8,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -36,4 +37,4 @@ Usage: [1m[36mwt config[0m [36m[OPTIONS][0m [36m<COMMAND>[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[36m...[0m Show debug info and write diagnostic report (-vv)+ [1m[36m-v[0m, [1m[36m--verbose[0m[36m...[0m Verbose output (-v: hooks, templates; -vv: debug report)diff --git a/tests/snapshots/integration__integration_tests__help__help_config_show.snap b/tests/snapshots/integration__integration_tests__help__help_config_show.snapindex d640b4382..7d7da6f0d 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_show.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_show.snap@@ -9,6 +9,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -40,7 +41,7 @@ Usage: [1m[36mwt config show[0m [36m[OPTIONS]User config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)Shows location and contents of user config ([2m~/.config/worktrunk/config.toml[0m)and project config ([2m.config/wt.toml[0m).diff --git a/tests/snapshots/integration__integration_tests__help__help_config_state.snap b/tests/snapshots/integration__integration_tests__help__help_config_state.snapindex f23f502d3..c6de432e5 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_state.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_state.snap@@ -9,6 +9,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -47,7 +48,7 @@ Usage: [1m[36mwt config state[0m [36m[OPTIONS][0m [36m<COMMAND>User config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)State is stored in [2m.git/[0m (config entries and log files), separate from configuration files.Use [2mwt config show[0m to view file-based configuration.diff --git a/tests/snapshots/integration__integration_tests__help__help_config_state_ci_status.snap b/tests/snapshots/integration__integration_tests__help__help_config_state_ci_status.snapindex 535c2b95c..04b076726 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_state_ci_status.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_state_ci_status.snap@@ -10,6 +10,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -42,7 +43,7 @@ Usage: [1m[36mwt config state ci-status[0m [36m[OPTIONS][0m [36m[COMMAND]User config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)Caches GitHub/GitLab CI status for display in [2mwt list[0m.diff --git a/tests/snapshots/integration__integration_tests__help__help_config_state_clear.snap b/tests/snapshots/integration__integration_tests__help__help_config_state_clear.snapindex 62dc63d8f..19267f469 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_state_clear.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_state_clear.snap@@ -10,6 +10,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -38,7 +39,7 @@ Usage: [1m[36mwt config state clear[0m [36m[OPTIONS]User config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)Clears all stored state:diff --git a/tests/snapshots/integration__integration_tests__help__help_config_state_default_branch.snap b/tests/snapshots/integration__integration_tests__help__help_config_state_default_branch.snapindex f41b08023..a93701597 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_state_default_branch.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_state_default_branch.snap@@ -10,6 +10,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -43,7 +44,7 @@ Usage: [1m[36mwt config state default-branch[0m [36m[OPTIONS][0m [36m[COMMUser config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)Useful in scripts to avoid hardcoding [2mmain[0m or [2mmaster[0m:diff --git a/tests/snapshots/integration__integration_tests__help__help_config_state_get.snap b/tests/snapshots/integration__integration_tests__help__help_config_state_get.snapindex 8c390153d..fb429ea65 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_state_get.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_state_get.snap@@ -10,6 +10,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -43,7 +44,7 @@ Usage: [1m[36mwt config state get[0m [36m[OPTIONS]User config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)Shows all stored state including:diff --git a/tests/snapshots/integration__integration_tests__help__help_config_state_logs.snap b/tests/snapshots/integration__integration_tests__help__help_config_state_logs.snapindex 386fef7f3..d1e59892c 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_state_logs.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_state_logs.snap@@ -10,6 +10,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -42,7 +43,7 @@ Usage: [1m[36mwt config state logs[0m [36m[OPTIONS][0m [36m[COMMAND]User config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)View and manage logs from background operations.diff --git a/tests/snapshots/integration__integration_tests__help__help_config_state_marker.snap b/tests/snapshots/integration__integration_tests__help__help_config_state_marker.snapindex 203064b35..c396a42a3 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_state_marker.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_state_marker.snap@@ -10,6 +10,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -43,7 +44,7 @@ Usage: [1m[36mwt config state marker[0m [36m[OPTIONS][0m [36m[COMMAND]User config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)Custom status text or emoji shown in the [2mwt list[0m Status column.diff --git a/tests/snapshots/integration__integration_tests__help__help_config_state_previous_branch.snap b/tests/snapshots/integration__integration_tests__help__help_config_state_previous_branch.snapindex 72d01b342..375316dec 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_state_previous_branch.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_state_previous_branch.snap@@ -10,6 +10,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -43,7 +44,7 @@ Usage: [1m[36mwt config state previous-branch[0m [36m[OPTIONS][0m [36m[COMUser config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)Enables [2mwt switch -[0m to return to the previous worktree, similar to [2mcd -[0m or [2mgit checkout -[0m.diff --git a/tests/snapshots/integration__integration_tests__help__help_hook_approvals.snap b/tests/snapshots/integration__integration_tests__help__help_hook_approvals.snapindex dd15d18e2..d0bf1f998 100644--- a/tests/snapshots/integration__integration_tests__help__help_hook_approvals.snap+++ b/tests/snapshots/integration__integration_tests__help__help_hook_approvals.snap@@ -9,6 +9,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -41,7 +42,7 @@ Usage: [1m[36mwt hook approvals[0m [36m[OPTIONS][0m [36m<COMMAND>User config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)Project hooks require approval on first run to prevent untrusted projects from running arbitrary commands.diff --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 e5ba4b93e..1e699b247 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@@ -10,6 +10,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -41,7 +42,7 @@ Usage: [1m[36mwt hook approvals add[0m [36m[OPTIONS]User config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)Prompts 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 51612b478..a467f8a06 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@@ -10,6 +10,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -41,7 +42,7 @@ Usage: [1m[36mwt hook approvals clear[0m [36m[OPTIONS]User config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)Removes 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 3a06b7350..6f9502f14 100644--- a/tests/snapshots/integration__integration_tests__help__help_list_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_list_long.snap@@ -8,6 +8,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -59,7 +60,7 @@ Usage: [1m[36mwt list[0m [36m[OPTIONS]User config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)Shows uncommitted changes, divergence from the default branch and remote, and optional CI status.diff --git a/tests/snapshots/integration__integration_tests__help__help_list_narrow_80.snap b/tests/snapshots/integration__integration_tests__help__help_list_narrow_80.snapindex 1a60ca7b4..f3a0402fe 100644--- a/tests/snapshots/integration__integration_tests__help__help_list_narrow_80.snap+++ b/tests/snapshots/integration__integration_tests__help__help_list_narrow_80.snap@@ -8,6 +8,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "80"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -60,7 +61,7 @@ Usage: [1m[36mwt list[0m [36m[OPTIONS]User config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)Shows uncommitted changes, divergence from the default branch and remote, andoptional CI status.diff --git a/tests/snapshots/integration__integration_tests__help__help_list_short.snap b/tests/snapshots/integration__integration_tests__help__help_list_short.snapindex eb08ea08d..4a38d6d6f 100644--- a/tests/snapshots/integration__integration_tests__help__help_list_short.snap+++ b/tests/snapshots/integration__integration_tests__help__help_list_short.snap@@ -8,6 +8,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -39,4 +40,4 @@ Usage: [1m[36mwt list[0m [36m[OPTIONS][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[36m...[0m Show debug info and write diagnostic report (-vv)+ [1m[36m-v[0m, [1m[36m--verbose[0m[36m...[0m Verbose output (-v: hooks, templates; -vv: debug report)diff --git a/tests/snapshots/integration__integration_tests__help__help_md_merge.snap b/tests/snapshots/integration__integration_tests__help__help_md_merge.snapindex 83fc8a00c..37d2cc919 100644--- a/tests/snapshots/integration__integration_tests__help__help_md_merge.snap+++ b/tests/snapshots/integration__integration_tests__help__help_md_merge.snap@@ -8,6 +8,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -68,7 +69,7 @@ Global Options:User config file path-v, --verbose...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)Unlike `git merge`, this merges current into target (not target into current). Similar to clicking "Merge pull request" on GitHub, but locally. Target defaults to the default branch.diff --git a/tests/snapshots/integration__integration_tests__help__help_md_root.snap b/tests/snapshots/integration__integration_tests__help__help_md_root.snapindex 920700cb8..3b1b495bf 100644--- a/tests/snapshots/integration__integration_tests__help__help_md_root.snap+++ b/tests/snapshots/integration__integration_tests__help__help_md_root.snap@@ -7,6 +7,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -46,7 +47,7 @@ Global Options:User config file path-v, --verbose...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)Getting starteddiff --git a/tests/snapshots/integration__integration_tests__help__help_merge_long.snap b/tests/snapshots/integration__integration_tests__help__help_merge_long.snapindex adae671d6..e353c82e7 100644--- a/tests/snapshots/integration__integration_tests__help__help_merge_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_merge_long.snap@@ -8,6 +8,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -70,7 +71,7 @@ Usage: [1m[36mwt merge[0m [36m[OPTIONS][0m [36m[TARGET]User config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)Unlike [2mgit merge[0m, this merges current into target (not target into current). Similar to clicking "Merge pull request" on GitHub, but locally. Target defaults to the default branch.diff --git a/tests/snapshots/integration__integration_tests__help__help_merge_short.snap b/tests/snapshots/integration__integration_tests__help__help_merge_short.snapindex 86d79ec92..4f760377c 100644--- a/tests/snapshots/integration__integration_tests__help__help_merge_short.snap+++ b/tests/snapshots/integration__integration_tests__help__help_merge_short.snap@@ -8,6 +8,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -40,4 +41,4 @@ Usage: [1m[36mwt merge[0m [36m[OPTIONS][0m [36m[TARGET][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[36m...[0m Show debug info and write diagnostic report (-vv)+ [1m[36m-v[0m, [1m[36m--verbose[0m[36m...[0m Verbose output (-v: hooks, templates; -vv: debug report)diff --git a/tests/snapshots/integration__integration_tests__help__help_no_args.snap b/tests/snapshots/integration__integration_tests__help__help_no_args.snapindex 1fb066fe1..997ac6a50 100644--- a/tests/snapshots/integration__integration_tests__help__help_no_args.snap+++ b/tests/snapshots/integration__integration_tests__help__help_no_args.snap@@ -6,6 +6,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -39,4 +40,4 @@ Usage: [1m[36mwt[0m [36m[OPTIONS][0m [36m[COMMAND][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[36m...[0m Show debug info and write diagnostic report (-vv)+ [1m[36m-v[0m, [1m[36m--verbose[0m[36m...[0m Verbose output (-v: hooks, templates; -vv: debug report)diff --git a/tests/snapshots/integration__integration_tests__help__help_remove_long.snap b/tests/snapshots/integration__integration_tests__help__help_remove_long.snapindex a5954d6a5..071b809cf 100644--- a/tests/snapshots/integration__integration_tests__help__help_remove_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_remove_long.snap@@ -8,6 +8,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -62,7 +63,7 @@ Usage: [1m[36mwt remove[0m [36m[OPTIONS][0m [36m[BRANCHES]...User config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)[1m[32mExamplesdiff --git a/tests/snapshots/integration__integration_tests__help__help_remove_short.snap b/tests/snapshots/integration__integration_tests__help__help_remove_short.snapindex c1144ce67..be061dab1 100644--- a/tests/snapshots/integration__integration_tests__help__help_remove_short.snap+++ b/tests/snapshots/integration__integration_tests__help__help_remove_short.snap@@ -8,6 +8,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -39,4 +40,4 @@ Usage: [1m[36mwt remove[0m [36m[OPTIONS][0m [36m[BRANCHES]...[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[36m...[0m Show debug info and write diagnostic report (-vv)+ [1m[36m-v[0m, [1m[36m--verbose[0m[36m...[0m Verbose output (-v: hooks, templates; -vv: debug report)diff --git a/tests/snapshots/integration__integration_tests__help__help_root_long.snap b/tests/snapshots/integration__integration_tests__help__help_root_long.snapindex a76214024..fca213478 100644--- a/tests/snapshots/integration__integration_tests__help__help_root_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_root_long.snap@@ -7,6 +7,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -48,7 +49,7 @@ Usage: [1m[36mwt[0m [36m[OPTIONS][0m [36m[COMMAND]User config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)Getting starteddiff --git a/tests/snapshots/integration__integration_tests__help__help_root_short.snap b/tests/snapshots/integration__integration_tests__help__help_root_short.snapindex 92c54004f..7b29bbece 100644--- a/tests/snapshots/integration__integration_tests__help__help_root_short.snap+++ b/tests/snapshots/integration__integration_tests__help__help_root_short.snap@@ -7,6 +7,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -40,4 +41,4 @@ Usage: [1m[36mwt[0m [36m[OPTIONS][0m [36m[COMMAND][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[36m...[0m Show debug info and write diagnostic report (-vv)+ [1m[36m-v[0m, [1m[36m--verbose[0m[36m...[0m Verbose output (-v: hooks, templates; -vv: debug report)diff --git a/tests/snapshots/integration__integration_tests__help__help_step_long.snap b/tests/snapshots/integration__integration_tests__help__help_step_long.snapindex 16bba3706..41a50dde5 100644--- a/tests/snapshots/integration__integration_tests__help__help_step_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_step_long.snap@@ -8,6 +8,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -46,7 +47,7 @@ Usage: [1m[36mwt step[0m [36m[OPTIONS][0m [36m<COMMAND>User config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)[1m[32mExamplesdiff --git a/tests/snapshots/integration__integration_tests__help__help_step_short.snap b/tests/snapshots/integration__integration_tests__help__help_step_short.snapindex cf8ff9b01..73ad74281 100644--- a/tests/snapshots/integration__integration_tests__help__help_step_short.snap+++ b/tests/snapshots/integration__integration_tests__help__help_step_short.snap@@ -8,6 +8,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -38,4 +39,4 @@ Usage: [1m[36mwt step[0m [36m[OPTIONS][0m [36m<COMMAND>[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[36m...[0m Show debug info and write diagnostic report (-vv)+ [1m[36m-v[0m, [1m[36m--verbose[0m[36m...[0m Verbose output (-v: hooks, templates; -vv: debug report)diff --git a/tests/snapshots/integration__integration_tests__help__help_switch_long.snap b/tests/snapshots/integration__integration_tests__help__help_switch_long.snapindex d8c7b370d..c18b38940 100644--- a/tests/snapshots/integration__integration_tests__help__help_switch_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_switch_long.snap@@ -83,7 +83,7 @@ Usage: [1m[36mwt switch[0m [36m[OPTIONS][0m [36m<BRANCH>[0m [1m[36m[--User config file path[1m[36m-v[0m, [1m[36m--verbose[0m[36m...- Show debug info and write diagnostic report (-vv)+ Verbose output (-v: hooks, templates; -vv: debug report)Worktrees are addressed by branch name; paths are computed from a configurable template. Unlike [2mgit switch[0m, this navigates between worktrees rather than changing branches in place.diff --git a/tests/snapshots/integration__integration_tests__help__help_switch_short.snap b/tests/snapshots/integration__integration_tests__help__help_switch_short.snapindex 7d2cbec40..7a06ea48c 100644--- a/tests/snapshots/integration__integration_tests__help__help_switch_short.snap+++ b/tests/snapshots/integration__integration_tests__help__help_switch_short.snap@@ -8,6 +8,7 @@ info:env:CLICOLOR_FORCE: "1"COLUMNS: "500"+ GIT_EDITOR: ""RUST_LOG: warnSHELL: ""SOURCE_DATE_EPOCH: "1735776000"@@ -40,4 +41,4 @@ Usage: [1m[36mwt switch[0m [36m[OPTIONS][0m [36m<BRANCH>[0m [1m[36m[--[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[36m...[0m Show debug info and write diagnostic report (-vv)+ [1m[36m-v[0m, [1m[36m--verbose[0m[36m...[0m Verbose output (-v: hooks, templates; -vv: debug report)diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap b/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snapindex 1243e18c5..8da733586 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@@ -41,5 +41,4 @@ exit_code: 0[2m↳[22m [2mTo customize worktree locations, run [90mwt config create[39m[22m[33m▲[39m [33mCannot change directory — shell integration not installed[39m[2m↳[22m [2mTo enable automatic cd, run [90mwt config shell install[39m[22m-[36m◎[39m [36mRunning post-start [1mproject:server[22m @ [1m_REPO_.feature[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+[36m◎[39m [36mRunning post-start hooks @ [1m_REPO_.feature[22m: [1mproject:server[22m[39mdiff --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 87835fc6c..0268cdb9f 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@@ -41,7 +41,6 @@ exit_code: 0[2m↳[22m [2mTo customize worktree locations, run [90mwt config create[39m[22m[33m▲[39m [33mCannot change directory — shell integration not installed[39m[2m↳[22m [2mTo enable automatic cd, run [90mwt config shell install[39m[22m-[36m◎[39m [36mRunning post-start project hook @ [1m_REPO_.feature[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Background task'[0m[2m [0m[2m[36m>[0m[2m background.txt+[36m◎[39m [36mRunning post-start hooks @ [1m_REPO_.feature[22m: [1mproject[22m[39m[36m◎[39m [36mExecuting (--execute) @ [1m_REPO_.feature[22m:[39m[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_start_complex_shell.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snapindex 1b584b77d..343c899af 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@@ -39,7 +39,4 @@ exit_code: 0[2m↳[22m [2mTo customize worktree locations, run [90mwt config create[39m[22m[33m▲[39m [33mCannot change directory — shell integration not installed[39m[2m↳[22m [2mTo enable automatic cd, run [90mwt config shell install[39m[22m-[36m◎[39m [36mRunning post-start project hook @ [1m_REPO_.feature[22m:[39m-[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.txt+[36m◎[39m [36mRunning post-start hooks @ [1m_REPO_.feature[22m: [1mproject[22m[39mdiff --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 f21f16b07..343c899af 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@@ -39,5 +39,4 @@ exit_code: 0[2m↳[22m [2mTo customize worktree locations, run [90mwt config create[39m[22m[33m▲[39m [33mCannot change directory — shell integration not installed[39m[2m↳[22m [2mTo enable automatic cd, run [90mwt config shell install[39m[22m-[36m◎[39m [36mRunning post-start project hook @ [1m_REPO_.feature[22m:[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+[36m◎[39m [36mRunning post-start hooks @ [1m_REPO_.feature[22m: [1mproject[22m[39mdiff --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 51f6ca441..343c899af 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@@ -39,5 +39,4 @@ exit_code: 0[2m↳[22m [2mTo customize worktree locations, run [90mwt config create[39m[22m[33m▲[39m [33mCannot change directory — shell integration not installed[39m[2m↳[22m [2mTo enable automatic cd, run [90mwt config shell install[39m[22m-[36m◎[39m [36mRunning post-start project hook @ [1m_REPO_.feature[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m 'unclosed quote+[36m◎[39m [36mRunning post-start hooks @ [1m_REPO_.feature[22m: [1mproject[22m[39mdiff --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 b1f41c2a6..343c899af 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@@ -39,5 +39,4 @@ exit_code: 0[2m↳[22m [2mTo customize worktree locations, run [90mwt config create[39m[22m[33m▲[39m [33mCannot change directory — shell integration not installed[39m[2m↳[22m [2mTo enable automatic cd, run [90mwt config shell install[39m[22m-[36m◎[39m [36mRunning post-start project hook @ [1m_REPO_.feature[22m:[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+[36m◎[39m [36mRunning post-start hooks @ [1m_REPO_.feature[22m: [1mproject[22m[39mdiff --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 ffa1ff440..1b378ae7f 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@@ -38,7 +38,4 @@ exit_code: 0[32m✓[39m [32mCreated branch [1mfeature[22m from [1mmain[22m and worktree @ [1m_REPO_.feature[22m[39m[33m▲[39m [33mCannot change directory — shell integration not installed[39m[2m↳[22m [2mTo enable automatic cd, run [90mwt config shell install[39m[22m-[36m◎[39m [36mRunning post-start project hook @ [1m_REPO_.feature[22m:[39m-[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.txt+[36m◎[39m [36mRunning post-start hooks @ [1m_REPO_.feature[22m: [1mproject[22m[39mdiff --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 2d2087be5..e3eae8b86 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@@ -39,7 +39,4 @@ exit_code: 0[2m↳[22m [2mTo customize worktree locations, run [90mwt config create[39m[22m[33m▲[39m [33mCannot change directory — shell integration not installed[39m[2m↳[22m [2mTo enable automatic cd, run [90mwt config shell install[39m[22m-[36m◎[39m [36mRunning post-start [1mproject:task1[22m @ [1m_REPO_.feature[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-[36m◎[39m [36mRunning post-start [1mproject:task2[22m @ [1m_REPO_.feature[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+[36m◎[39m [36mRunning post-start hooks @ [1m_REPO_.feature[22m: [1mproject:task1[22m, [1mproject:task2[22m[39mdiff --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 b385851e0..070ef0f4d 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@@ -39,9 +39,4 @@ exit_code: 0[2m↳[22m [2mTo customize worktree locations, run [90mwt config create[39m[22m[33m▲[39m [33mCannot change directory — shell integration not installed[39m[2m↳[22m [2mTo enable automatic cd, run [90mwt config shell install[39m[22m-[36m◎[39m [36mRunning post-start [1mproject:task1[22m @ [1m_REPO_.feature[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'TASK1_OUTPUT'[0m[2m-[36m◎[39m [36mRunning post-start [1mproject:task2[22m @ [1m_REPO_.feature[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'TASK2_OUTPUT'[0m[2m-[36m◎[39m [36mRunning post-start [1mproject:task3[22m @ [1m_REPO_.feature[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'TASK3_OUTPUT'[0m[2m+[36m◎[39m [36mRunning post-start hooks @ [1m_REPO_.feature[22m: [1mproject:task1[22m, [1mproject:task2[22m, [1mproject:task3[22m[39mdiff --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 18b1a92e5..343c899af 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@@ -39,5 +39,4 @@ exit_code: 0[2m↳[22m [2mTo customize worktree locations, run [90mwt config create[39m[22m[33m▲[39m [33mCannot change directory — shell integration not installed[39m[2m↳[22m [2mTo enable automatic cd, run [90mwt config shell install[39m[22m-[36m◎[39m [36mRunning post-start project hook @ [1m_REPO_.feature[22m:[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+[36m◎[39m [36mRunning post-start hooks @ [1m_REPO_.feature[22m: [1mproject[22m[39mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_verbose_output.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_verbose_output.snapnew file mode 100644index 000000000..84a6ff3a9--- /dev/null+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_verbose_output.snap@@ -0,0 +1,48 @@+---+source: tests/integration_tests/post_start_commands.rs+info:+ program: wt+ args:+ - switch+ - "-v"+ - "--create"+ - feature+ env:+ APPDATA: "[TEST_CONFIG_HOME]"+ CLICOLOR_FORCE: "1"+ COLUMNS: "500"+ 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: ""+ GIT_TERMINAL_PROMPT: "0"+ HOME: "[TEST_HOME]"+ LANG: C+ LC_ALL: C+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"+ PATH: "[PATH]"+ RUST_LOG: warn+ SHELL: ""+ SOURCE_DATE_EPOCH: "1735776000"+ TERM: alacritty+ USERPROFILE: "[TEST_HOME]"+ WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"+ WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"+ XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"+---+success: true+exit_code: 0+----- stdout -----++----- stderr -----+[2m○[22m Expanding [1mworktree-path[22m+[107m [0m ../{{ repo }}.{{ branch | sanitize }} [2m→[22m ../repo.feature+[32m✓[39m [32mCreated branch [1mfeature[22m from [1mmain[22m and worktree @ [1m_REPO_.feature[22m[39m+[2m↳[22m [2mTo customize worktree locations, run [90mwt config create[39m[22m+[33m▲[39m [33mCannot change directory — shell integration not installed[39m+[2m↳[22m [2mTo enable automatic cd, run [90mwt config shell install[39m[22m+[2m○[22m Expanding [1mproject:setup[22m+[107m [0m echo 'verbose test' > verbose.txt [2m→[22m echo 'verbose test' > verbose.txt+[36m◎[39m [36mRunning post-start [1mproject:setup[22m @ [1m_REPO_.feature[22m:[39m+[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'verbose test'[0m[2m [0m[2m[36m>[0m[2m verbose.txtdiff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__fish_wrapper_preserves_progress_messages.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__fish_wrapper_preserves_progress_messages.snapindex 7caf0cbb6..b42cbeb58 100644--- a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__fish_wrapper_preserves_progress_messages.snap+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__fish_wrapper_preserves_progress_messages.snap@@ -5,5 +5,4 @@ expression: "&output.combined"[32m✓[39m [32mCreated branch [1mfish-bg[22m from [1mmain[22m and worktree @ [1m_REPO_.fish-bg[22m[39m[2m↳[22m [2mTo customize worktree locations, run [90mwt config create[39m[22m-[36m◎[39m [36mRunning post-start project hook:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'fish background task'[0m[2m+[36m◎[39m [36mRunning post-start hooks: [1mproject[22m[39mdiff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__readme_example_hooks_post_create.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__readme_example_hooks_post_create.snapindex 4c7292ef1..6e711d1d4 100644--- a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__readme_example_hooks_post_create.snap+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__readme_example_hooks_post_create.snap@@ -10,5 +10,4 @@ expression: "&output.combined"Installed 24 packages in 1.2s[32m✓[39m [32mCreated branch [1mfeature-x[22m from [1mmain[22m and worktree @ [1m_REPO_.feature-x[22m[39m[2m↳[22m [2mTo customize worktree locations, run [90mwt config create[39m[22m-[36m◎[39m [36mRunning post-start [1mproject:dev[22m:[39m-[107m [0m [2m[0m[2m[34muv[0m[2m run dev+[36m◎[39m [36mRunning post-start hooks: [1mproject:dev[22m[39mdiff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__switch_with_hooks_zsh.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__switch_with_hooks_zsh.snapindex 7aefcd02d..b3c6e2bf1 100644--- a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__switch_with_hooks_zsh.snap+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__switch_with_hooks_zsh.snap@@ -11,7 +11,4 @@ Installing dependencies...Building project...[32m✓[39m [32mCreated branch [1mfeature-hooks[22m from [1mmain[22m and worktree @ [1m_REPO_.feature-hooks[22m[39m[2m↳[22m [2mTo customize worktree locations, run [90mwt config create[39m[22m-[36m◎[39m [36mRunning post-start [1mproject:server[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Starting dev server on port 3000'[0m[2m-[36m◎[39m [36mRunning post-start [1mproject:watch[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Watching for file changes'[0m[2m+[36m◎[39m [36mRunning post-start hooks: [1mproject:server[22m, [1mproject:watch[22m[39mdiff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__switch_with_post_start_command_no_directive_leak.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__switch_with_post_start_command_no_directive_leak.snapindex 5df19a2a5..ad7e2e5e1 100644--- a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__switch_with_post_start_command_no_directive_leak.snap+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__switch_with_post_start_command_no_directive_leak.snap@@ -5,5 +5,4 @@ expression: "&output.combined"[32m✓[39m [32mCreated branch [1mfeature-with-hooks[22m from [1mmain[22m and worktree @ [1m_REPO_.feature-with-hooks[22m[39m[2m↳[22m [2mTo customize worktree locations, run [90mwt config create[39m[22m-[36m◎[39m [36mRunning post-start project hook:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test command executed'[0m[2m+[36m◎[39m [36mRunning post-start hooks: [1mproject[22m[39mdiff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__wrapper_preserves_progress_messages.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__wrapper_preserves_progress_messages.snapindex c855baab3..edf35c1fa 100644--- a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__wrapper_preserves_progress_messages.snap+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__wrapper_preserves_progress_messages.snap@@ -5,5 +5,4 @@ expression: "&output.combined"[32m✓[39m [32mCreated branch [1mfeature-bg[22m from [1mmain[22m and worktree @ [1m_REPO_.feature-bg[22m[39m[2m↳[22m [2mTo customize worktree locations, run [90mwt config create[39m[22m-[36m◎[39m [36mRunning post-start project hook:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'background task'[0m[2m+[36m◎[39m [36mRunning post-start hooks: [1mproject[22m[39mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_post_hook_no_path_with_shell_integration.snap b/tests/snapshots/integration__integration_tests__switch__switch_post_hook_no_path_with_shell_integration.snapindex d6cf7fe3b..54aa1ada1 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_post_hook_no_path_with_shell_integration.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_post_hook_no_path_with_shell_integration.snap@@ -39,5 +39,4 @@ exit_code: 0----- stderr -----[32m✓[39m [32mCreated branch [1mpost-hook-shell-test[22m from [1mmain[22m and worktree @ [1m_REPO_.post-hook-shell-test[22m[39m[2m↳[22m [2mTo customize worktree locations, run [90mwt config create[39m[22m-[36m◎[39m [36mRunning post-switch project hook:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m switched+[36m◎[39m [36mRunning post-switch hooks: [1mproject[22m[39mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_post_hook_path_annotation.snap b/tests/snapshots/integration__integration_tests__switch__switch_post_hook_path_annotation.snapindex 4cb80c304..e5ec6c2fe 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_post_hook_path_annotation.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_post_hook_path_annotation.snap@@ -40,5 +40,4 @@ exit_code: 0[2m↳[22m [2mTo customize worktree locations, run [90mwt config create[39m[22m[33m▲[39m [33mCannot change directory — shell integration not installed[39m[2m↳[22m [2mTo enable automatic cd, run [90mwt config shell install[39m[22m-[36m◎[39m [36mRunning post-switch project hook @ [1m_REPO_.post-hook-test[22m:[39m-[107m [0m [2m[0m[2m[34mecho[0m[2m switched+[36m◎[39m [36mRunning post-switch hooks @ [1m_REPO_.post-hook-test[22m: [1mproject[22m[39mdiff --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 8961d09a4..2d0501620 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@@ -39,7 +39,4 @@ exit_code: 0[2m↳[22m [2mTo customize worktree locations, run [90mwt config create[39m[22m[33m▲[39m [33mCannot change directory — shell integration not installed[39m[2m↳[22m [2mTo enable automatic cd, run [90mwt config shell install[39m[22m-[36m◎[39m [36mRunning post-start [1muser:bg[22m @ [1m_REPO_.feature[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-[36m◎[39m [36mRunning post-start project hook @ [1m_REPO_.feature[22m:[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+[36m◎[39m [36mRunning post-start hooks @ [1m_REPO_.feature[22m: [1muser:bg[22m, [1mproject[22m[39mdiff --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 9d1e51140..e54e94a86 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@@ -39,5 +39,4 @@ exit_code: 0[2m↳[22m [2mTo customize worktree locations, run [90mwt config create[39m[22m[33m▲[39m [33mCannot change directory — shell integration not installed[39m[2m↳[22m [2mTo enable automatic cd, run [90mwt config shell install[39m[22m-[36m◎[39m [36mRunning post-start [1muser:bg[22m @ [1m_REPO_.feature[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+[36m◎[39m [36mRunning post-start hooks @ [1m_REPO_.feature[22m: [1muser:bg[22m[39m