From 045d9786abc38d140c5811e0042cd573af3c0739 Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Tue, 21 Jul 2026 16:54:14 +0100 Subject: [PATCH] chore(mise): remove 13 phantom tools and a no-op [alias] block MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mise.toml named 13 tools absent from the mise registry (denojs, pip, cargo, go-task, gofmt, isort, git, gnu-sed, gnu-grep, gnu-tar, vitest, pytest, jest), so mise emitted ~25 warning lines per shell entry while installing none of them. The [alias] block was dead: mise's [alias] maps an alias to a TOOL PLUGIN, it does not define tasks, so build/test/lint/fmt never ran. go-task is dropped rather than renamed: the bare name `task` does not resolve either, despite `mise registry` listing it as aqua:go-task/task. Listing is not resolution — verified with `mise ls-remote`. Verified after `mise trust` (an untrusted mise.toml is silently ignored, so zero warnings from an untrusted file proves nothing): 0 warnings and 0 errors attributable to this file. Introduced by sweep2 (2026-07-18); this is one of 56 repos that committed the broken file (417 identical copies existed estate-wide, most only in uncommitted local working trees). Co-Authored-By: Claude Sonnet 5 --- mise.toml | 79 +++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 53 insertions(+), 26 deletions(-) diff --git a/mise.toml b/mise.toml index 6dd983f6..e66c9f5e 100644 --- a/mise.toml +++ b/mise.toml @@ -1,3 +1,8 @@ +# Every tool name below was checked against `mise registry` AND resolved with +# `mise ls-remote` before being written. The previous version of this file named +# 13 tools that do not exist in the registry, so mise emitted ~25 lines of +# warnings on every shell entry while installing none of them. + [tools] # Language runtimes node = "latest" @@ -7,20 +12,16 @@ go = "latest" zig = "latest" java = "latest" bun = "latest" -denojs = "latest" +deno = "latest" # was `denojs` — not a registry name -# Package managers +# Package managers / task runner npm = "latest" yarn = "latest" pnpm = "latest" -pip = "latest" -cargo = "latest" -go-task = "latest" +just = "latest" # the estate's task runner (Justfile) -# Formatting & Linting -gofmt = "latest" +# Formatting & linting black = "latest" -isort = "latest" ruff = "latest" prettier = "latest" shfmt = "latest" @@ -31,27 +32,53 @@ cmake = "latest" make = "latest" ninja = "latest" -# Shell tools -git = "latest" -gnu-sed = "latest" -gnu-tar = "latest" -gnu-grep = "latest" - -# Testing -vitest = "latest" -pytest = "latest" -jest = "latest" +# --------------------------------------------------------------------------- +# REMOVED — none of these resolve in the mise registry, so they installed +# nothing and only produced warnings. Grouped by why they were wrong: +# +# Already provided by a tool that IS listed above: +# cargo -> ships with `rust` +# gofmt -> ships with `go` +# pip -> ships with `python` +# +# Project-level dependencies, not system tools. These belong in +# package.json / pyproject.toml / mix.exs, not in a toolchain manager: +# vitest, jest, pytest, isort +# +# Base system binaries that mise should not be shadowing on Linux: +# git, gnu-sed, gnu-grep, gnu-tar +# (If a GNU-vs-BSD coreutils difference ever actually bites on macOS, add +# `coreutils`, which does exist in the registry, rather than these names.) +# +# Task runner that never installed: +# go-task -> not a registry name. NB the bare name `task` does not work +# either: `mise registry` LISTS it as `aqua:go-task/task`, but resolving +# `task@latest` still fails. Appearing in `mise registry` output is NOT +# sufficient to conclude a name resolves — check with `mise ls-remote`. +# `just` is listed above instead. +# --------------------------------------------------------------------------- [env] -# Common environment variables NODE_ENV = "development" PYTHONDONTWRITEBYTECODE = "1" PYTHONUNBUFFERED = "1" -# Task runner alias -[alias] -task = "go-task" -build = "cargo build --release || npm run build || go build" -test = "cargo test || npm test || go test ./..." -lint = "ruff check . || prettier --check . || black --check ." -fmt = "ruff format . || prettier --write . || black ." +# --------------------------------------------------------------------------- +# REMOVED — an `[alias]` section holding what were clearly meant to be tasks: +# +# [alias] +# task = "go-task" +# build = "cargo build --release || npm run build || go build" +# test = "cargo test || npm test || go test ./..." +# lint = "ruff check . || prettier --check . || black --check ." +# fmt = "ruff format . || prettier --write . || black ." +# +# mise's `[alias]` maps an alias to a TOOL PLUGIN — it does not define tasks, +# so none of these ever ran. mise also warns that `[alias]` is deprecated in +# favour of `[tool_alias]`. +# +# They are not re-added as `[tasks]`: the estate drives builds through the +# Justfile, and a second task runner sharing the verbs `build`/`test`/`lint`/ +# `fmt` — one of which silently falls through `||` chains into a different +# language's build — is worse than one. Use `just `. +# ---------------------------------------------------------------------------