Skip to content

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

doc: note unnamed-in-concurrent is unreachable from config (#2107)

Maximilian Roosb845655c514d
diff --git a/src/commands/hooks.rs b/src/commands/hooks.rs
index 4b643b1dd..e0cdb2d76 100644
--- a/src/commands/hooks.rs
+++ b/src/commands/hooks.rs
@@ -201,6 +201,11 @@ pub struct SourcedStep {
/// Shared by hook announcements (where unnamed commands collapse to
/// `user ×N`) and alias announcements (which skip unnamed commands since
/// aliases have no natural fallback label).
+///
+/// Note: unnamed commands within a `Concurrent` step aren't reachable from
+/// config today — TOML named tables always produce all-named commands, and
+/// anonymous strings only appear as `Single` steps. The unnamed-flush logic
+/// therefore only fires across step boundaries in practice.
pub(crate) fn format_pipeline_summary_from_names(
step_names: &[Vec<Option<&str>>],
label_named: impl Fn(&str) -> String,