ADR 0073: wisp install puts Wisp.app on PATH, and the Finder offers it
Date: 2026-10-23. Status: accepted by the operator on 2026-10-23; built 2026-10-23 for 0.31.0. Follows
ADR 0072, which put Wisp.app in a disk image and left what installs it, and
what opening it from the Finder does, to this stage.
Context
Wisp.app is dragged to Applications from the disk image, but a terminal finds wisp only on PATH. The operator
chose on 2026-10-23 that wisp links itself, with no administrator’s password, rather than an installer package
writing to /usr/local/bin (roadmap.md, 0.31.0, stage 3). Until now the image’s read-me listed
ln -sf lines to type, and the app opened from the Finder started wisp with no terminal, which exited within two
seconds with nothing shown.
Probed on this Mac on 2026-10-23, with the release build in a Wisp.app signed with the Developer ID under
~/Library/Caches: wisp install into a scratch folder made both links and printed the PATH line; run again it
reported them current; wisp doctor through the link found the app’s Metal library, every declared part, and the
signature; wisp uninstall removed both. Opened with open, as the Finder opens it, wisp stayed running on the
dialog instead of exiting.
wisp completions install already set the pattern for writing outside ~/.wisp: replace only what wisp wrote, and
print what to add to a shell’s start-up file rather than edit it.
Decision
wisp install [FOLDER]linkswispandwisp-tuifrom the app’sContents/MacOSinto~/.local/bin, or the folder named, creating it. It runs only fromWisp.app(AppInstall.source, by the declared layout): from the disk image’s read-only volume or the temporary copy macOS runs an app opened where it was downloaded (App Translocation) it says to drag the app to Applications first; from Homebrew, which linkswispitself, and from a build or an unpacked tarball, it refuses and says why. Run again, it reports the links as current.- What is in the way is never overwritten without a word. A file that is not a link is never replaced; a link
to anything else (an older app, a build) is replaced only with
--force. When either is in the way nothing is changed, and each is named. wisp uninstall [FOLDER]knows its links by where they point: it removeswispandwisp-tuifrom the folder only when they are links into the app it runs from, and names anything else it leaves. No record of what was linked is kept, so nothing in~/.wispgoes stale, and the home’s future (ADR 0072, decision 5) is not bound. It removes neither the app nor~/.wisp.PATHis advised, never edited. When the folder is not onPATH, install prints the line to add for the shell$SHELLnames (~/.zshrc,~/.bash_profile, or fish’sfish_add_path).- Opened from the Finder,
Wisp.appshows a dialog.wisptakes itself to be opened from the Finder when it runs from an app with no arguments (or only an older macOS’s-psn_argument), no terminal on stdin, andlaunchdas its parent (AppInstall.isFinderLaunch). The dialog says wisp is a command-line tool and offers Install, which does whatwisp installdoes and shows the result;Cancelquits. Already installed, it says where and how to start; with something in the way, or from the disk image, it says what to run or do and offers nothing. The Finder’sPATHislaunchd’s, not a terminal’s, so the dialog’sPATHadvice is a condition (“if a new terminal cannot find wisp”); a login shell is not started to find out. - The model may do neither. The default policy refuses
wisp installandwisp uninstallto the model: what a shell runs aswispis the person’s to choose.wisp completions installstays allowed.
Neither command reads or writes ~/.wisp, and neither is audited, as wisp completions install is not: both run in
the person’s terminal or at their click, and change only links outside the home that ls -l shows.
Consequences
- The image’s read-me and the install guide say
wisp install, notln -sflines. - Links point to
/Applications/Wisp.app/Contents/MacOS/…, so replacing the app whole (stage 4,wisp update) keeps them; moving the app breaks them, andwisp install --forcefrom its new place mends them. wispstarted through such a link resolves its real path into the app, so the declared layout and MLX’s library are found as ADR 0072 describes;wisp-tuistarted through its link findswisponPATH, in the same folder.- A shell with both a Homebrew
wispand the app’s onPATHruns whichever comes first; install does not look for the other. Both share~/.wisp. wisp installandwisp uninstallare subcommands, so a prompt that is exactly the wordinstallmust now be given aswisp respond install.
Extended 2026-11-28 by ADR 0091: the Finder dialog is now a window with install, update, and models (proposed).