You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tool-version inputs carry a second authority when the caller already pins the tool (biome, tsc, ruff) #377
.github/actions/biome/action.yml carries a version input default, and a
caller that pins @biomejs/biome in its own package.json carries a second,
Dependabot-maintained pin. Those are two authorities for one fact, and only one
of them updates itself.
That is what produced #375: the action sat at 2.5.4 while
melodic-software/claude-code-plugins' package.json moved to 2.5.6 under
Dependabot. Bumping closed today's gap and re-opens it the next time Dependabot
moves a consumer.
The same shape applies to tsc (typescript in a caller's package.json) and
to ruff for a caller carrying a requirements pin — #372 measured all three
layers.
The alternative
Resolve the version from the caller's own manifest when it has one, falling back
to the reviewed default when it does not. melodic-software/dotfiles already runs
this shape for ruff: its CI derives the spec from the fleet inventory at run
time (check.sh --uv-tool-spec ruff) and installs that, so one pin is read by
CI and developers both and drift is structurally impossible rather than merely
detectable.
What to decide, not assume
Does deriving weaken the reviewed-pin posture? The current default is a reviewed version; a caller's package.json is whatever Dependabot last
opened. Deriving means this action runs a version this repository never
reviewed. For an advisory lane that is fine; biome ci runs with --error-on-warnings, so it is not advisory.
Which manifest wins when a caller has several? A monorepo with a root
pin and a package-level pin has no single answer.
Does the fallback stay a hard pin? A caller with no manifest still needs
a reviewed default, so this adds a branch rather than removing the pin.
Is the drift actually worth the branch? The existing tool-version-drift-check.yml already surfaces this as an advisory rolling
issue ([Maintenance] Tool-version drift #218). If the operator absorbs those promptly, a second mechanism buys
little.
Keep two authorities; extend cross-repo drift scanning.
Derive from caller manifest for biome only; reviewed default as fallback.
Derive for biome + tsc in one PR; ruff untouched.
Derive and delete the reviewed default (caller pin mandatory).
Verdict: Option 2 now (biome first). Same-session follow-through may apply the identical contract to tsc without filing a new issue. Ruff stays fleet-led (dotfiles inventory) and is out of scope.
Resolution order (biome)
Explicit non-empty version: input from the caller (highest).
Exact X.Y.Z pin for @biomejs/biome in the caller's root package.json (devDependencies then dependencies).
Exact SemVer only. Ranges / aliases / conflicting declarations fail closed with an actionable error (biome runs --error-on-warnings; this is not an advisory lane).
No lockfile parsing.
Do not require caller pin == fallback; caller pin wins.
Keep tool-version-drift-check biome row; it monitors the fallback default only (absorb prose updated accordingly).
Pin-less callers and this repo's fixture lanes keep using the reviewed fallback.
Logs resolved version + source (input / package.json / fallback).
ci-workflows own biome fixture lane stays green.
No new GitHub issues; tsc may follow in-session with the same contract.
Agents: Claude Fable + GPT 5.6 Sol. Disagreement on scope (tsc now vs later) and range handling (warn-fallback vs fail) resolved by taking the narrower shippable intersection: biome-only + fail-closed ranges.
Activity
chore(biome): pin the action to 2.5.6, matching the fleet's own consu…
fix(tool-version-drift): record the absorb order for fleet-led pins (#…
chore(ruff): follow the fleet pin to 0.16.2 (#384)
kyle-sexton commentedon Aug 11, 2026
Frontier consensus (Fable + Sol) — implement now
Short menu considered:
Verdict: Option 2 now (biome first). Same-session follow-through may apply the identical contract to
tscwithout filing a new issue. Ruff stays fleet-led (dotfiles inventory) and is out of scope.Resolution order (biome)
version:input from the caller (highest).X.Y.Zpin for@biomejs/biomein the caller's rootpackage.json(devDependenciesthendependencies).fallback-version(lowest).Agreed rules
--error-on-warnings; this is not an advisory lane).tool-version-drift-checkbiome row; it monitors the fallback default only (absorb prose updated accordingly).Acceptance criteria
input/package.json/fallback).Agents: Claude Fable + GPT 5.6 Sol. Disagreement on scope (tsc now vs later) and range handling (warn-fallback vs fail) resolved by taking the narrower shippable intersection: biome-only + fail-closed ranges.
feat(biome): derive version from caller package.json pin (#415)
chore(tools): absorb safe tool-version drift pins (#218) (#424)
chore(tools): absorb biome fallback-version 2.5.9 (#506)
chore: prompt audit, docs disclosure fixes and comment dissolve (#624)