Skip to content

chore(mise): remove 13 phantom tools and a no-op [alias] block#22

Merged
hyperpolymath merged 1 commit into
mainfrom
chore/mise-toml-repair
Jul 21, 2026
Merged

chore(mise): remove 13 phantom tools and a no-op [alias] block#22
hyperpolymath merged 1 commit into
mainfrom
chore/mise-toml-repair

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Context

mise.toml in this repo named 13 tools which do not exist in the mise registry, plus
an [alias] block that never did anything. The result was roughly 25 warning lines on
every shell entry
.

Introduced across the estate by sweep2 on 2026-07-18: one file, copied to 427 repos, 419
carrying all 13 phantom names. This repo is one of 56 that actually committed the
broken file (most of the 419 copies exist only in uncommitted local working trees, not on
any remote).

Three faults

1. Thirteen names that do not resolve. Removed, grouped by reason:

reason names
already provided by a listed tool cargo (rust), gofmt (go), pip (python)
project deps, not system tools vitest, jest, pytest, isort
base system binaries git, gnu-sed, gnu-grep, gnu-tar
simply misnamed denojsdeno

go-task is dropped, not renamed. The bare name task does not work either:
mise registry lists it as aqua:go-task/task, but task@latest still fails to resolve.
Worth recording — appearing in mise registry output is not sufficient to conclude a name
resolves; check with mise ls-remote.
just is listed instead, matching the estate's
Justfile convention.

2. The [alias] block never ran. mise's [alias] maps an alias to a tool plugin;
it does not define tasks. build = "cargo build --release || npm run build || go build"
was therefore dead, and mise separately warns [alias] is deprecated in favour of
[tool_alias]. Not re-added as [tasks].

Verification

Controlled comparison on one machine, one shell:

warnings citing the FIXED file   : 0
errors  citing the FIXED file    : 0
warnings citing an UNFIXED copy  : 14

⚠️ A caveat worth passing on: an earlier version of this check reported "0 warnings"
purely because mise had refused to parse the file — Config files ... are not trusted.
An untrusted mise.toml is silently ignored, so absence of warnings is not evidence of
correctness unless the file is trusted first
. The numbers above were taken after
mise trust.

Acceptance criteria

  • Valid TOML
  • Zero mise warnings/errors attributable to this file (post-mise trust)
  • No [alias] section
  • Reviewer confirms dropping go-task is acceptable (nothing in-repo invokes task)
  • Reviewer adds this repo's actual language toolchain if mise.toml should be doing
    more than it currently does — this PR only removes what was broken

Note deliberately not actioned

Every tool is still pinned to latest, which is not reproducible and sits awkwardly beside
the estate's SHA-pinning doctrine. Changing that is a judgement call per repo, so it is
flagged here rather than made silently.

Model tier

Haiku/Sonnet — one config file, no code paths, mechanical once the registry facts are
established.

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 <noreply@anthropic.com>
@hyperpolymath
hyperpolymath marked this pull request as ready for review July 21, 2026 17:14
@hyperpolymath
hyperpolymath merged commit b592efb into main Jul 21, 2026
34 of 41 checks passed
@hyperpolymath
hyperpolymath deleted the chore/mise-toml-repair branch July 21, 2026 17:14
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.

1 participant