Skip to content

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

docs(config): correct stale examples and lists in wt config help (#4363)

Worktrunk Bot54fa4a0b9a4f
diff --git a/docs/src/content/docs/config.md b/docs/src/content/docs/config.md
index 92df41f17..12fcc4441 100644
--- a/docs/src/content/docs/config.md
+++ b/docs/src/content/docs/config.md
@@ -1164,7 +1164,7 @@ Hook output lives in per-branch subtrees under `.git/wt/logs/{branch}/`:
| Background hooks | `{branch}/{source}/{hook-type}/{name}.log` |
| Background removal | `{branch}/internal/remove.log` |
-All `post-*` hooks (post-start, post-switch, post-commit, post-merge) run in the background and produce log files. Source is `user` or `project`. Branch and hook names are sanitized for filesystem safety. Same operation on same branch overwrites the previous log. Removing a branch clears its subtree; orphans from deleted branches can be swept with `wt config state logs clear`.
+All `post-*` hooks (post-start, post-switch, post-commit, post-merge, post-remove) run in the background and produce log files. Source is `user` or `project`. Branch and hook names are sanitized for filesystem safety. Same operation on same branch overwrites the previous log. Removing a branch clears its subtree; orphans from deleted branches can be swept with `wt config state logs clear`.
#### Diagnostic files
@@ -1257,7 +1257,7 @@ $ wt list
### Use cases
- **Work status** β€” `🚧` WIP, `βœ…` ready for review, `πŸ”₯` urgent
-- **Agent tracking** β€” The [Claude Code](/claude-code/) plugin sets markers automatically
+- **Agent tracking** β€” The agent plugins ([Claude Code](/claude-code/), Codex, OpenCode, Pi, oh-my-pi) set markers automatically
- **Notes** β€” Any short text: `"blocked"`, `"needs tests"`
### Storage
diff --git a/plugins/worktrunk/skills/worktrunk/reference/config.md b/plugins/worktrunk/skills/worktrunk/reference/config.md
index 195afe19e..6cf051803 100644
--- a/plugins/worktrunk/skills/worktrunk/reference/config.md
+++ b/plugins/worktrunk/skills/worktrunk/reference/config.md
@@ -1156,7 +1156,7 @@ Hook output lives in per-branch subtrees under `.git/wt/logs/{branch}/`:
| Background hooks | `{branch}/{source}/{hook-type}/{name}.log` |
| Background removal | `{branch}/internal/remove.log` |
-All `post-*` hooks (post-start, post-switch, post-commit, post-merge) run in the background and produce log files. Source is `user` or `project`. Branch and hook names are sanitized for filesystem safety. Same operation on same branch overwrites the previous log. Removing a branch clears its subtree; orphans from deleted branches can be swept with `wt config state logs clear`.
+All `post-*` hooks (post-start, post-switch, post-commit, post-merge, post-remove) run in the background and produce log files. Source is `user` or `project`. Branch and hook names are sanitized for filesystem safety. Same operation on same branch overwrites the previous log. Removing a branch clears its subtree; orphans from deleted branches can be swept with `wt config state logs clear`.
#### Diagnostic files
@@ -1249,7 +1249,7 @@ $ wt list
### Use cases
- **Work status** β€” `🚧` WIP, `βœ…` ready for review, `πŸ”₯` urgent
-- **Agent tracking** β€” The [Claude Code](https://worktrunk.dev/claude-code/) plugin sets markers automatically
+- **Agent tracking** β€” The agent plugins ([Claude Code](https://worktrunk.dev/claude-code/), Codex, OpenCode, Pi, oh-my-pi) set markers automatically
- **Notes** β€” Any short text: `"blocked"`, `"needs tests"`
### Storage
diff --git a/skills/worktrunk/reference/config.md b/skills/worktrunk/reference/config.md
index 195afe19e..6cf051803 100644
--- a/skills/worktrunk/reference/config.md
+++ b/skills/worktrunk/reference/config.md
@@ -1156,7 +1156,7 @@ Hook output lives in per-branch subtrees under `.git/wt/logs/{branch}/`:
| Background hooks | `{branch}/{source}/{hook-type}/{name}.log` |
| Background removal | `{branch}/internal/remove.log` |
-All `post-*` hooks (post-start, post-switch, post-commit, post-merge) run in the background and produce log files. Source is `user` or `project`. Branch and hook names are sanitized for filesystem safety. Same operation on same branch overwrites the previous log. Removing a branch clears its subtree; orphans from deleted branches can be swept with `wt config state logs clear`.
+All `post-*` hooks (post-start, post-switch, post-commit, post-merge, post-remove) run in the background and produce log files. Source is `user` or `project`. Branch and hook names are sanitized for filesystem safety. Same operation on same branch overwrites the previous log. Removing a branch clears its subtree; orphans from deleted branches can be swept with `wt config state logs clear`.
#### Diagnostic files
@@ -1249,7 +1249,7 @@ $ wt list
### Use cases
- **Work status** β€” `🚧` WIP, `βœ…` ready for review, `πŸ”₯` urgent
-- **Agent tracking** β€” The [Claude Code](https://worktrunk.dev/claude-code/) plugin sets markers automatically
+- **Agent tracking** β€” The agent plugins ([Claude Code](https://worktrunk.dev/claude-code/), Codex, OpenCode, Pi, oh-my-pi) set markers automatically
- **Notes** β€” Any short text: `"blocked"`, `"needs tests"`
### Storage
diff --git a/src/cli/config.rs b/src/cli/config.rs
index 8f299ed06..21b675985 100644
--- a/src/cli/config.rs
+++ b/src/cli/config.rs
@@ -818,7 +818,7 @@ $ wt config alias dry-run deploy -- --env=staging
## Supported tools
- **claude** β€” Claude Code plugin (activity tracking + statusline)
-- **codex** β€” Codex plugin (Worktrunk configuration skill)
+- **codex** β€” Codex plugin (activity tracking + Worktrunk configuration skill)
- **omp** β€” oh-my-pi hook (activity tracking)
- **opencode** β€” OpenCode plugin (activity tracking)
- **pi** β€” Pi extension (activity tracking)
@@ -1077,7 +1077,7 @@ Hook output lives in per-branch subtrees under `.git/wt/logs/{branch}/`:
| Background hooks | `{branch}/{source}/{hook-type}/{name}.log` |
| Background removal | `{branch}/internal/remove.log` |
-All `post-*` hooks (post-start, post-switch, post-commit, post-merge) run in the background and produce log files. Source is `user` or `project`. Branch and hook names are sanitized for filesystem safety. Same operation on same branch overwrites the previous log. Removing a branch clears its subtree; orphans from deleted branches can be swept with `wt config state logs clear`.
+All `post-*` hooks (post-start, post-switch, post-commit, post-merge, post-remove) run in the background and produce log files. Source is `user` or `project`. Branch and hook names are sanitized for filesystem safety. Same operation on same branch overwrites the previous log. Removing a branch clears its subtree; orphans from deleted branches can be swept with `wt config state logs clear`.
### Diagnostic files
@@ -1198,7 +1198,7 @@ wt list
## Use cases
- **Work status** β€” `🚧` WIP, `βœ…` ready for review, `πŸ”₯` urgent
-- **Agent tracking** β€” The [Claude Code](/claude-code/) plugin sets markers automatically
+- **Agent tracking** β€” The agent plugins ([Claude Code](/claude-code/), Codex, OpenCode, Pi, oh-my-pi) set markers automatically
- **Notes** β€” Any short text: `"blocked"`, `"needs tests"`
## Storage
@@ -1737,7 +1737,7 @@ $ wt config state vars clear --all
Clear all keys for a specific branch:
```console
-$ wt config state vars clear env --branch=feature
+$ wt config state vars clear --all --branch=feature
```"#)]
Clear {
/// Key to clear (required unless --all)
diff --git a/tests/snapshots/integration__integration_tests__help__help_config_plugins.snap b/tests/snapshots/integration__integration_tests__help__help_config_plugins.snap
index 01aa3eb87..5d9158d49 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_plugins.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_plugins.snap
@@ -79,7 +79,7 @@ Install and manage Worktrunk plugins for AI coding tools.
Supported tools
- claude β€” Claude Code plugin (activity tracking + statusline)
-- codex β€” Codex plugin (Worktrunk configuration skill)
+- codex β€” Codex plugin (activity tracking + Worktrunk configuration skill)
- omp β€” oh-my-pi hook (activity tracking)
- opencode β€” OpenCode plugin (activity tracking)
- pi β€” Pi extension (activity tracking)
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.snap
index b84699c57..458cf6b44 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
@@ -107,7 +107,7 @@ Hook output lives in per-branch subtrees under .git/wt/logs/{branch}/:
Background hooks {branch}/{source}/{hook-type}/{name}.log
Background removal {branch}/internal/remove.log
-All post-* hooks (post-start, post-switch, post-commit, post-merge) run in the background and produce log files. Source is user or project. Branch and hook names are sanitized for filesystem safety. Same operation on same branch overwrites the previous log. Removing a branch clears its subtree; orphans from deleted branches can be swept with wt config state logs clear.
+All post-* hooks (post-start, post-switch, post-commit, post-merge, post-remove) run in the background and produce log files. Source is user or project. Branch and hook names are sanitized for filesystem safety. Same operation on same branch overwrites the previous log. Removing a branch clears its subtree; orphans from deleted branches can be swept with wt config state logs clear.
Diagnostic files
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.snap
index 0223cfd01..4c9943e66 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
@@ -88,7 +88,7 @@ Markers appear at the end of the Status column, after git symbols:
Use cases
- Work status β€” 🚧 WIP, βœ… ready for review, πŸ”₯ urgent
-- Agent tracking β€” The Claude Code plugin sets markers automatically
+- Agent tracking β€” The agent plugins (Claude Code, Codex, OpenCode, Pi, oh-my-pi) set markers automatically
- Notes β€” Any short text: "blocked", "needs tests"
Storage