Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Replace Worktrunk with native Stax worktree creation, selection and removal.
hwtc branchnow explicitly starts independent agent work from trunk, even when invoked inside a tracked feature branch;--base branchand--base @select an explicit parent.hw/hwt/hwtc, desktop space reuse, primary-space creation, project labels and the caller's directory. Retain legacy Herdr and Zellij workflows and the Graphite-only bridge without migrating unrelated Graphite functionality.mainselector and broken rich/JSON inventory in legacy.barelayouts using read-only Git discovery.post_createsetup: copy ignored regular files without overwriting destinations, optionalthts init --no-agents --force, then conditionaltrunk check. Failures stop launch and leave the checkout available for repair.git_statusstack/path output and replace the worktree status pane. Fix stale response parsing in the already-disabled legacy Herdr split layout.Removed
Worktrunk package/lock entry, Fish shell integration/completions, global config, Task/Agent columns, pane aliases, package/agent-skill references and custom Stax tracking/untracking hooks (including
stax-post-remove.py). Chezmoi removal entries retire the deployed files. Historical changelog and release-note fixtures remain.Safety tradeoffs / changed behavior
git_prune --applynow prunes stale bookkeeping only; it retains every live worktree and branch. Native Stax cleanup lacks age/activity guards, andstax wt rm --delete-branchdoes not reparent surviving children in the tested releases. Rather than reproduce another lifecycle manager or weaken safety, live removals are explicit through Stax and branches remain tracked.Dry-run remains the default. Apply still requires a clean primary checkout on trunk, validates metadata, and pulls
--ff-only. Stale entries have a fixed two-day floor; since native prune has no expiry argument, one young/unknown missing entry retains all stale entries. Staged or interrupted state blocks pruning.--min-ageis removed.Other changes:
hwtcinstead of Worktrunk's Alt-c creation. Worktrunk-specific selectors such aspr:123are not emulated..worktreeinclude. Project hooks can use targeted copies/dependency installers.post_create. Repair setup before opening the agent.wtscintentionally retains Stax's current-branch parenting semantics; usehwtcfor independent agents.Validation
git diff --checkpassed.socket: Operation not permitted). No lint pass is claimed. Herdr/Zellij transports are mocked; live user sessions and macOS were not exercised.Manual migration
See docs/worktrees.md for full behavior, upstream findings and migration steps. Review/deploy with chezmoi, restart Fish, and uninstall the now-unrequested Worktrunk package when satisfied. Keep existing checkouts and metadata; translate project-local Worktrunk hooks to
stax.toml, export any Task/Agent values needed, and review any old warm slots. Repository-local Worktrunk state is not deleted automatically.No
chezmoi applywas run. Leave unmerged for review.