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.mdindex 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.mdindex 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` tWorktrunk 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–2s4. **Local inference** — If no remote, infers from local branchesOnce 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.mdindex 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.mdindex 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` tWorktrunk 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–2s4. **Local inference** — If no remote, infers from local branchesOnce detected, the result is cached in `worktrunk.default-branch` for fast access.diff --git a/src/cli/config.rs b/src/cli/config.rsindex 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` tWorktrunk 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–2s4. **Local inference** — If no remote, infers from local branchesOnce 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.snapindex 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 [2mget[0m. Use [2mset[0m to override, or [2mcleaWorktrunk detects the default branch automatically:-1. [1mWorktrunk cache[0m — Checks [2mgit config worktrunk.default-branch[0m (single command)+1. [1mWorktrunk cache[0m — Checks [2mgit config worktrunk.default-branch[0m2. [1mGit cache[0m — Detects primary remote and checks its HEAD (e.g., [2morigin/HEAD[0m)-3. [1mRemote query[0m — If not cached, queries [2mgit ls-remote[0m (100ms–2s)+3. [1mRemote query[0m — If not cached, queries [2mgit ls-remote[0m — typically 100ms–2s4. [1mLocal inference[0m — If no remote, infers from local branchesOnce detected, the result is cached in [2mworktrunk.default-branch[0m for fast access.