fix(toolchain): scope the lockfile strictness to the repo's own config root #30
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wontfix
needs-info
needs-triage
ready-for-agent
ready-for-human
review
merge-ready
review
needs-fix
review
needs-human
review
needs-operator
review
needs-review
review
waiting
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-tracker!30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/deps-locked-scope"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
make depsstops depending on what the machine's own mise config declares. mise's--lockedis invocation-wide — project, global and system scopes alike — whilemise lockwrites the project root alone, so on this machine the six rolling tools in~/.config/mise/config.toml(codex,copilot,crush,gh,oh-my-pi,node) failed with "not in the lockfile" before the repo's own four were reached.Ticket: none open covers this. It is the defect TR-33 landed with — closed 2026-10-14 by !29 — and WR-3 is the parent spec. No Forgejo issue covers it, so the body carries no closing keyword.
Evidence
make depson a machine whose global config lists tools — sixfailed: … is not in the lockfilelines andmake: *** [Makefile:133: deps] Error 1, with the repo's own four tools never reached.After: the same machine, the same command → rc=0:
10/10tools,community.postgresql:5.0.0already installed. A secondmake depsis a no-op.uventry deleted frommise.lock, plainmise install→ERROR Failed to install aqua:astral-sh/uv@0.13: uv@0.13 is not in the lockfile, exit 1. The control — the same copy with[tool_config]stripped — exits 0, re-resolving and rewriting the lock, so the strictness is doing the work.mise exec -- make validateandmise exec -- make fmtare unaffected:fmtexits 0 leaving nothing rewritten,git status --porcelainempty afterwards. Evidence taken on mise2026.10.3, the version this machine runs —MISE_VERSION(2026.10.8) only applies where the manager is absent, so the pin is not what was exercised here.Merge Danger
Door: two-way. Two declarations; reverting the commit restores
--lockedand with it the old failure. The merge installs and removes nothing.Blast Radius: repo-local, with one consequence for whoever runs
make deps: the target now also installs the machine's own global-config tools when they are missing — here all six were already present (10/10 … in 4ms), but alatesttool with a newer release will now be picked up bymake deps. In exchange the target stops failing on a machine whose own config this repo knows nothing about, which is what the README's "one install step" promises.repo: olympus/infra-tracker · PR #30 · reviewed head
46ef6dd75a· round 1/5 · verdict: MERGERecommendation: merge
Spec source. The body links no issue. It names TR-33 (Vikunja, closed) and WR-3 (parent spec, open); both were fetched from the tracker at
vikunja.thepit.space(projects 3 and 5), which is where the repo'sexternal_trackeranddocs/agents/issue-tracker.mdpoint. The body's other claim — "no Forgejo issue covers this" — holds: the forge's issue list returns 29 entries and all 29 are pull requests.Standards — 0 findings
Judged against
AGENTS.md,README.md§Requirements/§Running,GLOSSARY.md,docs/adr/0001–0003,docs/agents/*.md, and.agents/skills/pr/SKILL.md.AGENTS.md§Pull requests requires theprskill's shape.## Summary,## Evidenceand## Merge Dangerare all present. The template's<one-word description>for Blast Radius is a placeholder rather than the live convention: the repo's own bodies (#29, #21, #19, #10) all carry prose there.GLOSSARY.mdreserves capital-T Target for the environment a test run drives (_Avoid_: environment, instance). The added prose uses the lowercase make verbtarget—Makefile:132-137,mise.toml:7-8. Correct.README.md:16-20andAGENTS.md:5-7still describe the declaration and the lock truthfully. Neither links to an issue, as TR-33 criterion 6 requires.Spec — 1 finding
mise install --locked". This change replaces that with[tool_config] locked(mise.toml:9-10) and nothing updates the written decision. WR-3 user story 9 asks for the rule to be recorded "so that a future project inherits the standard instead of rediscovering why it exists" — a project that copies the decision as written re-lands exactly the defect this PR fixes. The spec lives in theworkshopproject, outside this diff, so it does not block here; it wants a follow-up in WR-3. Every TR-33 acceptance criterion still holds — see below.What I verified, and how
mise 2026.10.8— the versionMakefile:35pins — on this host, againstrefs/pull/30/head, which resolves to the head branchfix/deps-locked-scopeat46ef6dd;mainis32bee9a, the merge-base, so the branch is current withmain(ADR-003).[tool_config] lockedis real and effectivemise configparses it; behaviour below--lockedis invocation-widejqwith no lock entry →mise install --lockedjq@1.7 is not in the lockfile— the reported failure reproduced, on a tool this repo never declaresmise install, no flagjqresolved, the repo's four installed from the lock[[tools.uv]]block deleted frommise.lockuv@0.13 is not in the lockfile; control with[tool_config]stripped rc=0 — the author's red/green pair reproducedmake depsend to end at headmake depscommunity.postgresql:5.0.0into the repo-owned path,git status --porcelainempty — the lock is not rewrittenMISE_DATA_DIRholding none of the tools,mise installmise lockstays project-scoped (Makefile:136)mise lockwith a globaljqdeclared4 tool(s): uv, opentofu, python, pypi:ansible-core; nojqentry writtenfmtunaffectedmise exec -- make fmt, thengit status --porcelainEvery file in the diff is accounted for:
Makefile:148(the flag removed) andmise.toml:9-10(the replacement policy), with the reasoning atMakefile:132-137. No file the change should have touched is missing.Scope note, not a finding:
[tool_config] lockedis a config-root policy, so it binds every mise invocation in this tree, not onlydeps—mise execreads it too. The lock is complete, so nothing changes in practice today, andmise.toml:7states the scope correctly.What I could not verify
~/.config/mise/config.toml, mise2026.10.3,10/10tools in4ms— is not this host, which has no~/.config/miseat all. I reproduced the mechanism by synthesising an equivalent global config on the pinned2026.10.8; the specific counts are the author's, not re-run here.mise exec -- make validate. It fails on this host atvikunja/guest/keys.tf:3—~/.ssh/id_ed25519_ansible.pubdoes not exist. That is the one-time prerequisitedocs/reference/guest.mddocuments, not a defect of this diff, andvalidatetouches nothing the change edits..github/.forgejoand46ef6ddhas no commit statuses, so ADR-003's "the checks gate the merge" is vacuous here — a gap WR-3 §Out of Scope anticipates rather than something this change owes.Summary