Tools outside the package manager
accepted ADR-0025 engineering/ADR-0025-tools
tools: manager: miseStatus
Section titled “Status”Accepted
Context
Section titled “Context”Several ADRs name a tool that is neither a dependency in the manifest nor a GitHub Action: the guard of ADR-0015, the scanner of ADR-0019 when it runs locally, a workflow linter. No lockfile records such a binary.
While this key is empty, an agent that needs one installs it the way the place it runs in suggests. In the repository that raised the question, one binary was handled three ways:
- on the runner, a script pinned it by version and checksum;
- on a workstation, a hook message asked for
brew install, with no version; - in a remote agent session, it was missing, and a commit went through without the hook.
The workstation and the runner can then differ without anyone noticing, and the guard an ADR rules does not run everywhere the ADR applies.
A tool manager is itself such a tool. It is a binary fetched from the network, and it fetches others.
Not concerned: dependencies in the manifest (ADR-0020), actions and images (ADR-0011 rule 3), the language runtime (ADR-0004).
Decision
Section titled “Decision”What governance recommends, and why.
| Key | Recommended value | Reason |
|---|---|---|
tools.manager |
script with one tool; mise or aqua with several |
one pinned script is a few lines anyone can read, and a manager is one more binary to pin for a single tool. With several, a manager keeps every version and checksum in one committed file, where a script grows a download and a checksum line per tool and per platform |
none is an answer only when no accepted ADR names such a tool.
What governance fixes, whatever you rule:
- One place holds each tool’s version and checksum. Every tool an
accepted ADR names is listed in one committed place: the script, or the
manager’s files (
mise.tomlandmise.lock;aqua.yamlandaqua-checksums.json). A version without a checksum is not a pin. - The same place serves the workstation, the runner and an agent
session. A hook, a workflow and a session setup all call it. None
carries a version of its own, and none falls back to
brew installor to whatever is on thePATH. - The manager is installed pinned. It is a dependency under ADR-0020: its version is written down, and what installs it is pinned by hash where it is an action (ADR-0011 rule 3).
- What keeps the pins current is written in this file. Dependabot, which ADR-0018 recommends, lists none of mise, aqua or asdf among its ecosystems. When you rule, say who or what moves each pin, and that the checksum moves in the same pull request.
What each value looks like in practice:
| Value | Where the pins live | Refusing an unpinned tool | The manager itself | What can move the pins |
|---|---|---|---|---|
script |
one script in the repository, holding the version, the checksum per platform and the sha256sum -c |
the script exits on a mismatch | none | a person; Renovate’s regex manager can propose the version, and is not documented to update a checksum beside it |
mise |
mise.toml, and mise.lock with lockfile = true |
mise install --locked fails on a tool with no lockfile entry; a checksum mismatch fails the download |
MISE_VERSION for the install script, version: for jdx/mise-action |
Renovate’s mise manager, which also updates mise.lock |
aqua |
aqua.yaml, and aqua-checksums.json with checksum.enabled: true (off by default) |
AQUA_ENFORCE_CHECKSUM and AQUA_ENFORCE_REQUIRE_CHECKSUM |
aqua_version: for aquaproj/aqua-installer |
Renovate with the aqua-renovate-config preset for versions; its documentation does not say it updates aqua-checksums.json |
Two limits to know before choosing:
mise.lockholds a checksum only where the backend provides one. A tool installed through mise’s asdf backend is recorded by version alone, which rule 1 refuses.- With aqua, a checksum missing from
aqua-checksums.jsonis added on first download. Review the file’s diff as you would a lockfile’s.
mise, one of the two managers recommended for several tools. This
repository names two: gitleaks (ADR-0015) and zizmor
(ADR-0011). mise over aqua because
mise install --locked refuses a tool the lockfile does not hold, and
because governance, whose track this repository imports, made the same
choice.
What keeps the pins current. Dependabot, which ADR-0018 rules here, does not read mise’s files. A person moves each pin, with its checksum, in one pull request.
mise.toml holds both versions and mise.lock their checksums, for four
platforms (trivoallan/ontrack#171). The pre-commit hook runs the gitleaks
mise names, the test job installs both tools with jdx/mise-action, the
zizmor job reads its version from mise.toml, and an apply session
installs them from the default branch’s files
(.github/apply-session.md). mise itself is pinned by version: on
jdx/mise-action, and mise.toml’s min_version refuses an older one
on a workstation.
Consequences
Section titled “Consequences”Positive
Section titled “Positive”- The workstation, the runner and an agent session run the same gitleaks and the same zizmor.
Negative
Section titled “Negative”- mise is one more binary to pin and to trust.
- Pins move by hand: nothing proposes an update.
- A contributor needs mise to commit.
Neutral
Section titled “Neutral”- Nothing checks that both tools are pinned in
mise.toml: review does.
Alternatives Considered
Section titled “Alternatives Considered”script, whatever the number of tools
Section titled “script, whatever the number of tools”No manager to install, pin or learn, and the whole mechanism is readable in the repository. Each tool adds a download URL and one checksum per platform, written by hand, and nothing documented moves the checksum with the version. It is the recommendation for one tool, and it wears out past a few.
One lockfile with versions and checksums, an install that can refuse what
the lockfile does not hold, and Renovate updates both files. It costs a
manager to pin, a lockfile that only holds a checksum where the backend
gives one, and Renovate instead of ADR-0018’s recommended updater. On a
self-hosted Renovate, updating mise.lock must also be allowed as an
unsafe execution.
Tools come from a registry of declarative YAML definitions, with no shell
script to write, and checksums are committed in aqua-checksums.json.
Verification is off until checksum.enabled: true, a missing checksum is
trusted on first download, and the documented Renovate preset covers
versions, so the checksum file needs its own step.
The widest plugin catalogue. A plugin is a Git repository of scripts that
download and install the tool, and asdf’s documentation asks no checksum
of them. mise’s own documentation describes them as shell scripts that run
with your permissions. That is the install-time code ADR-0020 refuses with
install_scripts: ignored, and nothing in it is pinned as ADR-0011 rule 3
asks. Rejected.
none while a tool is named
Section titled “none while a tool is named”Nothing to maintain. Each place installs the tool its own way, which is
the situation this ADR was written to end. none stays an answer for a
repository where no accepted ADR names such a tool.
A revision of ADR-0011 or ADR-0015
Section titled “A revision of ADR-0011 or ADR-0015”ADR-0011 is about the runner and ADR-0015 about one tool. The question covers the workstation and the agent session too, and every tool. A revision would also have asked every repository to rule again on a question it had already answered.
References
Section titled “References”- Original to governance; no surdesrails SDR asks this question.
- ADR-0001: how governance ADRs are ruled on.
- ADR-0011: the pinning rule for actions and images.
- ADR-0015 and ADR-0019: the tools they name.
- ADR-0018: updates.
- ADR-0020: how a dependency comes in, and install-time code.
- mise:
mise.lock, installing mise,jdx/mise-action, asdf backend. - aqua: checksum verification, aqua-installer, aqua-renovate-config.
- asdf: creating a plugin.
- Dependabot: supported ecosystems.
- Renovate:
misemanager, regex manager. - Read on 2026-11-15.
The key.
| Key | What it holds | Allowed values |
|---|---|---|
tools.manager |
how tools outside the package manager are installed and pinned | mise, aqua, script, none |
An empty key is not an answer. The value is written in this file and nowhere else; whoever needs it links here. See ADR-0001 for the check command.
