Skip to content

Release v0.71.0 - #3670

Merged
max-sixty merged 4 commits into
mainfrom
release
Jul 30, 2026
Merged

max-sixty merged 4 commits into
mainfrom
release

Conversation

@max-sixty

@max-sixty max-sixty commented Jul 30, 2026 •

Copy link
Copy Markdown
Owner

Release 0.71.0. Minor bump, forced by ten breaking library-API changes from the forge, shell, and removal consolidation — patch is disallowed pre-1.0 with semver breakage.

Gates

  • cargo run -- hook pre-merge --yes — 4,491 tests, 1 skipped, all lints
  • nightly.yaml on the cut-from tip (aba7bad08) — full-tests green on all three platforms; gate, crate-build, minimal-versions, check-unused-dependencies, link-check, nix-flake, and the musl release targets green
  • cargo semver-checks check-release -p worktrunk — 10 major, 0 minor

Two entries users need to read

Forge hosts are now classified by exact DNS label. A host that carries the forge name only as part of a label stops being detected: gitlab-internal.company.com, github-mirror.example.com, and mygithub.com join the lookalikes the change targets. That costs CI status in wt list --full, wt switch --prs, and repo.provider in JSON output. forge.platform in .config/wt.toml restores it. Only the single-label SSH alias form (github-personal) announces itself; a self-hosted instance at a hyphenated hostname goes quiet without a message.

The retired single-file shell directive is gone. Wrappers written before 0.37 stop changing directory and stop running --execute until wt config shell install and a shell restart. Nushell needs the reinstall because its wrapper is a static file.

Data-loss surface review

Five independent finders over the cumulative diff — behavioral, blast-radius, automation-diff, and keyword, plus a dedicated pass on the consolidation commit.

The removal chain saw heavy churn and moved consistently in the safe direction: the repo-wide git worktree prune that could unregister an innocent bystander is gone, the lock guard now precedes the missing-directory fallback, planning is a pure read, and a fresh topology read guards the compare-and-swap branch delete. No new unbounded deletion path.

Residual items, adjudicated as acceptable:

  1. A worktree directory that reappears between plan and execution is deleted rather than trashed. prune_worktree_entry runs git worktree remove, which deletes a clean worktree's ignored files at exit 0 with no --force (verified in a scratch repo). The normal path renames into .git/wt/trash/ first, so git finds nothing there; only the missing-directory fallback and step prune's stale-detached arm are exposed. Requires a remount inside the window, and refactor(remove): move the stale-entry prune from planning to execution #3658 documents the tradeoff.
  2. The picker's BranchOnly arm destructures with .. and discards prune_entry, so alt-x on a gone-directory row leaves a stale registration behind. A regression from refactor(remove): move the stale-entry prune from planning to execution #3658, but it leaves more state, not less.
  3. wt config shell install derives its preview and its deletion from two separate scans, and wt switch's first-run install offer still removes legacy files unpreviewed. Both pre-existing; fix(shell): preview and confirm legacy-file removal on shell install #3648 tightened shell install and did not reach that path.
  4. enable_hermetic_test_env() is a pub process-global in library code that blinds every git child to user config. No production caller, carries its own TODO.
  5. Two directive-injection regression tests were deleted in the same release as the directive-protocol rework.

Follow-up worth filing

Widen the forge diagnostic to any host that would have matched under the old substring rule but no longer does — today only the single-label SSH alias form gets a message, so a self-hosted instance at a hyphenated hostname loses CI status silently. Additive; needs no further breaking change.

🤖 Generated with Claude Code

@max-sixty
max-sixty marked this pull request as ready for review July 30, 2026 20:29
@max-sixty
max-sixty merged commit aac20ee into main Jul 30, 2026
40 checks passed
@max-sixty
max-sixty deleted the release branch July 30, 2026 20:29
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.

1 participant