Repository navigation
Conversation
worktrunk-bot
left a comment
There was a problem hiding this comment.
The version bump, changelog reshuffle, and doc mirrors all check out — ## 0.75.0 is byte-identical to git show v0.75.0:CHANGELOG.md, the 45-commit range is fully covered, and the new --execute prose matches what switch.rs actually does (each position expanded independently under ShellEscapeMode::Literal, so spaces survive).
One thing on the new example, inline. sh -c binds the first operand after the body to $0, so wt-exec is load-bearing but reads as filler — and the natural cleanup of dropping it shifts {{ worktree_path }} into $0, leaving $1 unset and the body running rm -rf /build. Naming the slot is enough; the alternative is an example whose worst case isn't root-anchored deletion, but that trades away the vividness the PR body argues for.
The suggestion targets src/cli/mod.rs only — test_docs_are_in_sync plus cargo insta test --accept --test integration -- test_help regenerate the three mirrors and the snapshot.
Holding the approval rather than approving: the diff adds an rm -rf example to skills/worktrunk/reference/switch.md and plugins/worktrunk/skills/worktrunk/reference/switch.md, which is the "skill or alias examples users copy" case in .claude/skills/running-tend/references/review-pr.md under Data-Loss Surface: Hold for Human Review. Nothing in the code paths changed, so this is a docs-only match — but that section says not to approve one.
Cuts 0.76.0.
cargo semver-checksfails ten lints, so the bump is minor.Changelog filing fix
Five entries had been appended to the already-tagged
## 0.75.0section after v0.75.0 shipped (#3977/#2860, #3949 ×2, #3959, #3945). They describe changes that ship here, and GitHub's 0.75.0 release notes — built from the tag — never showed them. They are moved into## 0.76.0and rewritten to the length ceiling;## 0.75.0is restored byte-identical togit show v0.75.0:CHANGELOG.md.The mechanism is systemic: a PR appends under whatever heading is currently top, so every post-release PR lands in the shipped section until the next release opens a new one.
--executetemplate guidance#3977switched--executeexpansion toShellEscapeMode::Literal, which is correct for an argv model. But the migration that v0.53.0–v0.75.0's deprecation warning printed —-x sh -- -c '<old body>'— splices a template variable into textshre-parses, so a value with spaces word-splits where the old POSIX-escaped model kept it intact. Worst case isrm -rfagainst unintended paths.--execute's help now documents passing the variable as a separate argument and referencing it positionally.extending.mdalready modelled that form, so no recipe changed.Validation
nightlyon the cut-from tip (baf161bf6): all 14 jobs green — run 33538866753wt hook pre-merge --yes: 4713 passed#3977removes one, deleting the EXEC directive file from all five shell wrappers.