Use the mise binary as the source of truth#
mibare depends on a mise binary for registry reverse lookup (mise registry --json) and for existence probes (mise ls-remote <backend string>), so it tracks mise releases with no snapshot to maintain. It runs mise in an isolated environment (clean environment, temporary HOME, MISE_NO_CONFIG=1, GITHUB_TOKEN, the proxy and certificate variables and SystemRoot passed through), because user settings such as MISE_DISABLE_BACKENDS change mise registry --json output. We rejected a bundled snapshot of the registry TOMLs and the aqua registry: it would not need a mise binary, but it would need a scheduled refresh job and would lag behind mise.
Consequences#
A missing or too-old
miseis a hard error (exit 2), never auto-installed.mise registry --jsonis filtered by the host platform and is lossy (no per-backend platforms, version ranges or options), so--platformonly affects the release-asset check and mibare’s own tier rules.mise ls-remoteproves only that a repository exists, not that it can install, so language-package candidates still need the manifest and entrypoint check.Because the registry output omits per-backend options (such as
symlink_binsforaws-cli), which apply only when a tool is installed by its short name, the ready-to-paste command uses the short name for the backend mise itself picks first for a registry entry, and the explicit backend string for every other candidate.