Skip to content

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

Remove redundant "(background)" from hook help table (#1356)

Maximilian Roos10f752453baa
diff --git a/docs/content/hook.md b/docs/content/hook.md
index 816490016..daba9fe3c 100644
--- a/docs/content/hook.md
+++ b/docs/content/hook.md
@@ -18,14 +18,14 @@ Hooks are shell commands that run at key points in the worktree lifecycle — au
| Hook | When | Blocking | Fail-fast |
|------|------|----------|-----------|
| `pre-switch` | Before every switch | Yes | Yes |
-| `post-start` | After worktree created | No (background) | No |
+| `post-start` | After worktree created | No | No |
| `post-create` | After worktree created | Yes | No |
-| `post-switch` | After every switch | No (background) | No |
+| `post-switch` | After every switch | No | No |
| `pre-commit` | Before commit during merge | Yes | Yes |
| `pre-merge` | Before merging to target | Yes | Yes |
| `post-merge` | After successful merge | Yes | No |
| `pre-remove` | Before worktree removed | Yes | Yes |
-| `post-remove` | After worktree removed | No (background) | No |
+| `post-remove` | After worktree removed | No | No |
**Blocking**: Command waits for hook to complete before continuing.
**Fail-fast**: First failure aborts the operation.
diff --git a/skills/worktrunk/reference/hook.md b/skills/worktrunk/reference/hook.md
index 55b402098..d0c07d52c 100644
--- a/skills/worktrunk/reference/hook.md
+++ b/skills/worktrunk/reference/hook.md
@@ -9,14 +9,14 @@ Hooks are shell commands that run at key points in the worktree lifecycle — au
| Hook | When | Blocking | Fail-fast |
|------|------|----------|-----------|
| `pre-switch` | Before every switch | Yes | Yes |
-| `post-start` | After worktree created | No (background) | No |
+| `post-start` | After worktree created | No | No |
| `post-create` | After worktree created | Yes | No |
-| `post-switch` | After every switch | No (background) | No |
+| `post-switch` | After every switch | No | No |
| `pre-commit` | Before commit during merge | Yes | Yes |
| `pre-merge` | Before merging to target | Yes | Yes |
| `post-merge` | After successful merge | Yes | No |
| `pre-remove` | Before worktree removed | Yes | Yes |
-| `post-remove` | After worktree removed | No (background) | No |
+| `post-remove` | After worktree removed | No | No |
**Blocking**: Command waits for hook to complete before continuing.
**Fail-fast**: First failure aborts the operation.
diff --git a/src/cli/mod.rs b/src/cli/mod.rs
index e450a6691..934c0835d 100644
--- a/src/cli/mod.rs
+++ b/src/cli/mod.rs
@@ -1082,14 +1082,14 @@ Alias names that match a built-in step command (`commit`, `squash`, etc.) are sh
| Hook | When | Blocking | Fail-fast |
|------|------|----------|-----------|
| `pre-switch` | Before every switch | Yes | Yes |
-| `post-start` | After worktree created | No (background) | No |
+| `post-start` | After worktree created | No | No |
| `post-create` | After worktree created | Yes | No |
-| `post-switch` | After every switch | No (background) | No |
+| `post-switch` | After every switch | No | No |
| `pre-commit` | Before commit during merge | Yes | Yes |
| `pre-merge` | Before merging to target | Yes | Yes |
| `post-merge` | After successful merge | Yes | No |
| `pre-remove` | Before worktree removed | Yes | Yes |
-| `post-remove` | After worktree removed | No (background) | No |
+| `post-remove` | After worktree removed | No | No |
**Blocking**: Command waits for hook to complete before continuing.
**Fail-fast**: First failure aborts the operation.