mirror of
https://github.com/max-sixty/worktrunk.git
synced 2026-11-22 02:53:04 +08:00
Applies the documentation review of the 0.81.0 candidate (v0.80.0..15b1ed10c: CLI help, generated and authored site pages, skill and plugin copies). Each claim was checked against the code, and the behavioral ones against a build of this branch on scratch repos. Generated pages, skill mirrors, `list-v2.json` and help snapshots are regenerated from their sources. - `wt hook` "Interactive hooks": says which hooks inherit stdin (a command running alone in the foreground) and which get empty stdin (concurrent commands, background `post-*` hooks, prune's fanned-out hooks). The pass-values-as-arguments example moves to the end of "Template variables". - Extending: the hooks/aliases stdin row states the rule in the same words for both. - Shell integration: "Why shell integration exists" and "Checking status" state their content instead of only linking away. "Files created" again distinguishes appended lines (bash, zsh, PowerShell) from whole files (fish, Nushell), and notes that the PowerShell profiles are created if missing. - `wt step prune` min-age guard: says what the guard prevents, where a branch-only candidate's age comes from, and when a branch with no reflog looks new again. - `wt step squash` backup: covers everything staged (by hand or by `--stage`), not only changes staged beforehand. - `wt merge`: the long help defines the source before using it; `--branch` help says "defaults to the current branch". - `wt remove` JSON: `detached_worktree` is the detached worktree at the branch's expected location, which the removal leaves in place. - `wt switch`: shorter "Custom path" sentence; "Starting list-only" becomes "Hiding the preview". - `list-v2.json`: "probe" becomes "check", as in the list help. - Agent integration page: drops the incomplete Codex hooks sentence; OpenCode's `worktree.directory` "is ignored", and new branches start from the default branch. - Claude Code `WorktreeCreate` (site page and plugin README): the hook runs plain `wt switch` when the branch already exists, which returns its worktree. - Plugin README: the activity-tracking example no longer repeats the hook list above it. No finding was skipped. Three were adapted: the squash text names hand-staged changes as well as `--stage`; the `wt merge` text keeps the word "source", which later paragraphs use; the plugin README keeps the example's `wt list` sentence and drops only the repeated mechanism. > _This was written by Claude Code on behalf of max-sixty_ Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>