Tools outside the package manager
proposed checked A convention of ontrack-engineering 0.6.0. How ontrack ruled on it.
traits: tools: manager:Status
Proposed
What is this file? A question governance asks your repository, with the answer it recommends. While it says
status: proposed, you may edit it freely.revision:dates the question, not the file: you do not fill it, and it only moves when the question changes. rejected is a full answer: when the question does not apply here, rule rejected, remove the wholetraits:block, and say what stands in for it. ADR-0001 explains the mechanics.
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
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.
Everything below disappears when you rule, from this sentence up to the Consequences heading, which stays.
How to rule: five steps, all in this file. Read all of them before doing any, because the last one deletes the other four, and do them in one commit.
- Write the value of the key under
traits:in the frontmatter, or, if you rule rejected, remove the wholetraits:block. - Change
status:from proposed to accepted or rejected. - Fill
date:andauthors::date:asYYYY-MM-DD, the day you rule;authors:, the names of the people who decided, without email addresses. - Rewrite the Positive, Negative and Neutral lists under Consequences for your verdict: what it makes easier, and what it costs.
- Last, delete this block, from its first sentence up to the Consequences heading, which stays. In its place, write what keeps the pins current (rule 4), and the reason for your decision wherever you depart from the recommendation.
The check: line stays. Once this ADR is accepted, ontrack check
runs it from your repository’s root. It lists the tools your answers name
outside the package manager: the value of secrets.guard
(ADR-0015) and of forge.audit
(ADR-0011), when those ADRs are accepted and not
superseded, and unless the value is none.
- with
mise, it runsmise whichfor each tool and prints the binary mise pins. It fails ongitleaksorzizmorwhen mise does not provide it. Any other value is only noted when mise does not find it: its binary may have another name; - with
scriptoraqua, it lists the tools and says their pins are not verified; - with
none, it fails when a tool is listed.
The checks of ADR-0015 and ADR-0011 take their tool from the same place:
from mise when this ADR rules mise, from the PATH otherwise, never from
node_modules/.bin, where any npm package’s bin may sit.
The first step is the one people forget: a decision written only in prose leaves an agent guessing. This is what the frontmatter looks like once filled, and it is the one part of the file an agent reads without interpreting it:
---adr: ADR-0025slug: toolstitle: Tools outside the package managerstatus: acceptedrevision: 1date: 2026-11-15authors: [Your Name]supersedes: []check: npx --no-install ontrack-engineering-check ADR-0025traits: tools: manager: script---The Alternatives Considered below were weighed by governance without knowing your context. Weighing them against yours is still to do, and it is what makes a decision different from an accepted default.
Consequences
Positive
- An agent that needs a tool an ADR names knows where its version is and how to install it, in a session as on a runner.
- The workstation, the runner and the session run the same binary.
- A tool’s version moves in a pull request, with its checksum.
Negative
- One more file to keep current, by a means Dependabot does not offer.
- With a manager, one more binary to pin and to trust.
- A new platform (a contributor on another architecture) needs its own checksum before the tool installs there.
Neutral
ontrack-engineering-check ADR-0025verifies, withmise, that the toolssecrets.guardandforge.auditname are pinned. Review still covers a tool another trait or a local ADR names, a tool whose binary has another name than the value, the pins underscriptandaqua, and rule 4.- governance installs no tool by ruling this; each repository writes its script or its manager’s files.
Alternatives Considered
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.
mise
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.
aqua
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.
asdf
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
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
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
- 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.
