pub fn stable_shell_binary(binary: &str) -> StringExpand description
The binary path to embed in machine-local shell artifacts — the shell
hooks, env.sh and the _lc shims (#1851).
Package managers expose lean-ctx on PATH through a stable entry (a
Homebrew symlink, a scoop shim, an npm or mise launcher) while the binary
itself lives in a versioned directory off PATH. The first launcher on
PATH that is verified to run this installation — a symlink to it, a Scoop
shim naming it, a mise/asdf shim owning its install tree — is embedded
instead, so artifacts follow updates. An unrelated build on PATH must
never replace an explicitly selected Pro/custom installation.