Skip to content

refactor: Make wt go and wt open Orthogonal - #52

Merged
sahil-noon merged 4 commits into
mainfrom
260722-0is3-go-open-orthogonality
Jul 22, 2026
Merged

sahil-noon merged 4 commits into
mainfrom
260722-0is3-go-open-orthogonality

Conversation

@sahil-noon

Copy link
Copy Markdown
Collaborator

Meta

Change ID Type Confidence Plan Review
0is3 refactor 4.0/5.0 15/15 tasks, 24/25 acceptance ✓ 1 cycle
Impact +/− Net
raw +2450 / −1046 +1404
true +998 / −532 +466
└ impl +383 / −303 +80
└ tests +615 / −229 +386

excludes fab/, docs/ · generated by fab-kit v2.16.8

Pipeline: intake ✓ → apply ✓ → review ✓ → hydrate ✓ → ship → review-pr

Summary

The go/open split (go selects, open launches) was blurred in four places — a context-sensitive selector menu embedded in open's no-arg path, two divergent shell-cd implementations, an inconsistent --select+name disambiguator, and --app not composing with the main-repo selection menu. This change makes go the sole selection verb (composing with launch via a new --open <prompt|default|skip|app> flag, mirroring wt create --open) and makes open a pure launcher, unifying the shell-cd contract (navigateTo) used by both.

Changes

  • wt go gains --open <prompt|default|skip|app> (selection → launch composition)
  • wt open becomes a pure launcher
  • Unified shell-cd contract (launcher-contract v2)
  • Docs and help text

sahil87 added 4 commits July 22, 2026 18:04
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
sahil-noon marked this pull request as ready for review July 22, 2026 13:54
@sahil-noon
sahil-noon merged commit ab75bdd into main Jul 22, 2026
2 checks passed
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