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.mdindex 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"`### Storagediff --git a/plugins/worktrunk/skills/worktrunk/reference/config.md b/plugins/worktrunk/skills/worktrunk/reference/config.mdindex 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"`### Storagediff --git a/skills/worktrunk/reference/config.md b/skills/worktrunk/reference/config.mdindex 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"`### Storagediff --git a/src/cli/config.rs b/src/cli/config.rsindex 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 --allClear 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.snapindex 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.[1m[32mSupported tools[0m- [1mclaude[0m β Claude Code plugin (activity tracking + statusline)-- [1mcodex[0m β Codex plugin (Worktrunk configuration skill)+- [1mcodex[0m β Codex plugin (activity tracking + Worktrunk configuration skill)- [1momp[0m β oh-my-pi hook (activity tracking)- [1mopencode[0m β OpenCode plugin (activity tracking)- [1mpi[0m β 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.snapindex 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 [2m.git/wt/logs/{branch}/[0m:Background hooks [2m{branch}/{source}/{hook-type}/{name}.log[0mBackground removal [2m{branch}/internal/remove.log[0m-All [2mpost-*[0m hooks (post-start, post-switch, post-commit, post-merge) run in the background and produce log files. Source is [2muser[0m or [2mproject[0m. 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 [2mwt config state logs clear[0m.+All [2mpost-*[0m hooks (post-start, post-switch, post-commit, post-merge, post-remove) run in the background and produce log files. Source is [2muser[0m or [2mproject[0m. 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 [2mwt config state logs clear[0m.[32mDiagnostic files[0mdiff --git a/tests/snapshots/integration__integration_tests__help__help_config_state_marker.snap b/tests/snapshots/integration__integration_tests__help__help_config_state_marker.snapindex 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:[1m[32mUse cases[0m- [1mWork status[0m β [2mπ§[0m WIP, [2mβ [0m ready for review, [2mπ₯[0m urgent-- [1mAgent tracking[0m β The Claude Code plugin sets markers automatically+- [1mAgent tracking[0m β The agent plugins (Claude Code, Codex, OpenCode, Pi, oh-my-pi) set markers automatically- [1mNotes[0m β Any short text: [2m"blocked"[0m, [2m"needs tests"[0m[1m[32mStorage[0m