Skip to content

Release v0.76.0 - #3983

Merged
max-sixty merged 3 commits into
mainfrom
release
Sep 1, 2026
Merged

max-sixty merged 3 commits into
mainfrom
release

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Cuts 0.76.0. cargo semver-checks fails ten lints, so the bump is minor.

Changelog filing fix

Five entries had been appended to the already-tagged ## 0.75.0 section 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.0 and rewritten to the length ceiling; ## 0.75.0 is restored byte-identical to git 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.

--execute template guidance

#3977 switched --execute expansion to ShellEscapeMode::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 text sh re-parses, so a value with spaces word-splits where the old POSIX-escaped model kept it intact. Worst case is rm -rf against unintended paths.

--execute's help now documents passing the variable as a separate argument and referencing it positionally. extending.md already modelled that form, so no recipe changed.

Validation

  • nightly on the cut-from tip (baf161bf6): all 14 jobs green — run 33538866753
  • wt hook pre-merge --yes: 4713 passed
  • Data-loss surface reviewed across the 45-commit diff by four independent finders; adjudication in the release thread. No new destructive path — #3977 removes one, deleting the EXEC directive file from all five shell wrappers.

This was written by Claude Code on behalf of max-sixty

@worktrunk-bot worktrunk-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread src/cli/mod.rs Resolved
@max-sixty
max-sixty merged commit de0052d into main Sep 1, 2026
45 checks passed
@max-sixty
max-sixty deleted the release branch September 1, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants