Repository navigation
refactor: Make wt go and wt open Orthogonal - #52
Merged
Merged
Conversation
The interactive open-anyway tests pinned the retired `cd -- '<path>'` open_here fallback (launcher-contract v1). Assert the v2 contract instead: NavigateTo's stderr → confirmation + shell-wrapper hint on the Yes path (and explicitly assert the retired form never reappears); absence of the confirmation on the No path. Missed by the pipeline because the PTY harness only builds on Linux and skips elsewhere.
sahil-noon
marked this pull request as ready for review
July 22, 2026 13:54
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.
Meta
0is3excludes
fab/,docs/· generated by fab-kit v2.16.8Pipeline: intake ✓ → apply ✓ → review ✓ → hydrate ✓ → ship → review-pr
Summary
The
go/opensplit (goselects,openlaunches) was blurred in four places — a context-sensitive selector menu embedded inopen's no-arg path, two divergent shell-cd implementations, an inconsistent--select+name disambiguator, and--appnot composing with the main-repo selection menu. This change makesgothe sole selection verb (composing with launch via a new--open <prompt|default|skip|app>flag, mirroringwt create --open) and makesopena pure launcher, unifying the shell-cd contract (navigateTo) used by both.Changes
wt gogains--open <prompt|default|skip|app>(selection → launch composition)wt openbecomes a pure launcher