Skip to content

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

docs: trim needless parenthetical qualifiers (#2289)

Maximilian Roos7ae28e1d1675
diff --git a/docs/content/claude-code.md b/docs/content/claude-code.md
index e8ea7c91c..035cef40b 100644
--- a/docs/content/claude-code.md
+++ b/docs/content/claude-code.md
@@ -72,7 +72,7 @@ Claude Code agents can run in isolated worktrees (`isolation: "worktree"`). By d
## Statusline
-`wt list statusline --format=claude-code` outputs a single-line status for the Claude Code statusline. This may fetch CI status from the network when the cache is stale (often ~1–2 seconds), making it suitable for async statuslines but too slow for synchronous shell prompts. If a faster version would be helpful, please [open an issue](https://github.com/max-sixty/worktrunk/issues).
+`wt list statusline --format=claude-code` outputs a single-line status for the Claude Code statusline. When the CI status cache is stale, this fetches from the network — typically 1–2 seconds — making it suitable for async statuslines but too slow for synchronous shell prompts. If a faster version would be helpful, please [open an issue](https://github.com/max-sixty/worktrunk/issues).
<code>~/w/myproject.feature-auth !🤖 @<span style='color:#0a0'>+42</span> <span style='color:#a00'>-8</span> <span style='color:#0a0'>↑3</span> <span style='color:#0a0'>⇡1</span> <span style='color:#0a0'>●</span> | Opus 🌔 65%</code>
diff --git a/docs/content/config.md b/docs/content/config.md
index 8d7465e11..d7add3385 100644
--- a/docs/content/config.md
+++ b/docs/content/config.md
@@ -701,9 +701,9 @@ Without a subcommand, runs `get`. Use `set` to override, or `clear` then `get` t
Worktrunk detects the default branch automatically:
-1. **Worktrunk cache** — Checks `git config worktrunk.default-branch` (single command)
+1. **Worktrunk cache** — Checks `git config worktrunk.default-branch`
2. **Git cache** — Detects primary remote and checks its HEAD (e.g., `origin/HEAD`)
-3. **Remote query** — If not cached, queries `git ls-remote` (100ms–2s)
+3. **Remote query** — If not cached, queries `git ls-remote` — typically 100ms–2s
4. **Local inference** — If no remote, infers from local branches
Once detected, the result is cached in `worktrunk.default-branch` for fast access.
diff --git a/skills/worktrunk/reference/claude-code.md b/skills/worktrunk/reference/claude-code.md
index 515ee11b1..02aefb599 100644
--- a/skills/worktrunk/reference/claude-code.md
+++ b/skills/worktrunk/reference/claude-code.md
@@ -66,7 +66,7 @@ Claude Code agents can run in isolated worktrees (`isolation: "worktree"`). By d
## Statusline
-`wt list statusline --format=claude-code` outputs a single-line status for the Claude Code statusline. This may fetch CI status from the network when the cache is stale (often ~1–2 seconds), making it suitable for async statuslines but too slow for synchronous shell prompts. If a faster version would be helpful, please [open an issue](https://github.com/max-sixty/worktrunk/issues).
+`wt list statusline --format=claude-code` outputs a single-line status for the Claude Code statusline. When the CI status cache is stale, this fetches from the network — typically 1–2 seconds — making it suitable for async statuslines but too slow for synchronous shell prompts. If a faster version would be helpful, please [open an issue](https://github.com/max-sixty/worktrunk/issues).
<code>~/w/myproject.feature-auth !🤖 @<span style='color:#0a0'>+42</span> <span style='color:#a00'>-8</span> <span style='color:#0a0'>↑3</span> <span style='color:#0a0'>⇡1</span> <span style='color:#0a0'>●</span> | Opus 🌔 65%</code>
diff --git a/skills/worktrunk/reference/config.md b/skills/worktrunk/reference/config.md
index b2200b09c..f8256741d 100644
--- a/skills/worktrunk/reference/config.md
+++ b/skills/worktrunk/reference/config.md
@@ -728,9 +728,9 @@ Without a subcommand, runs `get`. Use `set` to override, or `clear` then `get` t
Worktrunk detects the default branch automatically:
-1. **Worktrunk cache** — Checks `git config worktrunk.default-branch` (single command)
+1. **Worktrunk cache** — Checks `git config worktrunk.default-branch`
2. **Git cache** — Detects primary remote and checks its HEAD (e.g., `origin/HEAD`)
-3. **Remote query** — If not cached, queries `git ls-remote` (100ms–2s)
+3. **Remote query** — If not cached, queries `git ls-remote` — typically 100ms–2s
4. **Local inference** — If no remote, infers from local branches
Once detected, the result is cached in `worktrunk.default-branch` for fast access.
diff --git a/src/cli/config.rs b/src/cli/config.rs
index ad6085b43..9932f4656 100644
--- a/src/cli/config.rs
+++ b/src/cli/config.rs
@@ -568,9 +568,9 @@ Without a subcommand, runs `get`. Use `set` to override, or `clear` then `get` t
Worktrunk detects the default branch automatically:
-1. **Worktrunk cache** — Checks `git config worktrunk.default-branch` (single command)
+1. **Worktrunk cache** — Checks `git config worktrunk.default-branch`
2. **Git cache** — Detects primary remote and checks its HEAD (e.g., `origin/HEAD`)
-3. **Remote query** — If not cached, queries `git ls-remote` (100ms–2s)
+3. **Remote query** — If not cached, queries `git ls-remote` — typically 100ms–2s
4. **Local inference** — If no remote, infers from local branches
Once detected, the result is cached in `worktrunk.default-branch` for fast access.
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.snap
index 6aa0ab2f9..493e5ed33 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
@@ -68,9 +68,9 @@ Without a subcommand, runs get. Use set to override, or clea
Worktrunk detects the default branch automatically:
-1. Worktrunk cache — Checks git config worktrunk.default-branch (single command)
+1. Worktrunk cache — Checks git config worktrunk.default-branch
2. Git cache — Detects primary remote and checks its HEAD (e.g., origin/HEAD)
-3. Remote query — If not cached, queries git ls-remote (100ms–2s)
+3. Remote query — If not cached, queries git ls-remote — typically 100ms–2s
4. Local inference — If no remote, infers from local branches
Once detected, the result is cached in worktrunk.default-branch for fast access.