agents: the lockfile is mise.lock and the pypi sidecars #61
No reviewers
Labels
No labels
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/workshop!61
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "template-lockfile"
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
One paragraph in the page #59 introduced: the lockfile is two things.
Evidence
pr-checksrun onolympus/infra-media#1failed in "install the toolchain":mise ✗ pypi:ansible-core@2.21.5 … dependency sidecar .mise/locks/***/2.21.5: No such file or directorymise lock, both halves committed,infra-mediarun 2 — success. Reproduced from an emptyMISE_DATA_DIR: six tools install, thenmake checkandmake validatepass.Merge Danger
Door: two-way — one paragraph of documentation.
Blast Radius: none.
Review started (round 1/5) on
b9b9e22d28— reading the diff now.Review round 1/5 —
olympus/workshop#61 @b9b9e22d28b0c973f4d570abff6ace1ea791d840Recommendation: fix
Spec source: the PR body (no linked issue;
#59is the PR that introduced the page). Standards sources:AGENTS.md,docs/index.md,docs/agents/domain.md,make docs-check.Spec
BLOCKER — the change as delivered does not merge, and it re-creates a page
mainalready has.The branch is cut from
aa1645e, beforemain's7fca044(!59) landed the same page. Commite4b9074re-authorsdocs/agents/domain-repo-template.mdfrom that older base (102 lines added) andb9b9e22puts the 7-line paragraph on top, so the diff againstmainshows the whole file as new — not "one paragraph in the page #59 introduced".Evidence:
Forgejo agrees: the PR reports
mergeable: false.Smallest fix: rebase onto current
mainand drope4b9074; keep only the paragraph atdocs/agents/domain-repo-template.md:36-42.BLOCKER —
docs/agents/domain-repo-template.md:59-61states a factinfra-agentscontradicts.mainalready carries the corrected version of this paragraph (origin/main:docs/agents/domain-repo-template.md:56), and the branch deletes it. The provider does carry the attribute:A template page that tells the next domain repo a pinnable attribute cannot be pinned is wrong where it is read most. Smallest fix: take
main's paragraph, not the branch's.BLOCKER —
docs/agents/domain-repo-template.md:82-84misstates theenv.shsituation in two ways.git hash-objectoverorigin/main:scripts/env.sh:infra-agents,infra-secrets,infra-silo,infra-tracker=42b62698…;infra-cockpit=e4c5e352…, whoseclassify()(line 165) namestracker|cockpitwhile the others name five. Not byte-for-byte.scripts/env.shinworkshop's tree — so "every repository" is false too.main(lines 76-95) records the pins, the drift and this repo's missing copy; the branch replaces all of it withbyte-for-byte. Smallest fix: takemain's text.ADVISORY —
docs/agents/domain-repo-template.md:42: "mise lockwrites both" is true only withuvalready on PATH.Reproduced on mise 2026.10.8: with
uvunavailable,mise lockexits 0, writesmise.lockalone, and only warns —pypi:ansible-core dependency graph skipped: uv >= 0.12.10 is unavailable; install uv and run 'mise lock' again.After
mise installputuvon PATH, the same command wrote.mise/locks/***/2.21.5/pyproject.tomlanduv.lock. The paragraph's whole point is the silent skip; the sentence prescribing the remedy shouldn't reproduce its silence. One clause fixes it: "mise lockwrites both, withuvinstalled (mise installfirst)".ADVISORY —
docs/agents/domain-repo-template.md:39: "installs five of six tools" isinfra-media's count in a template page.infra-media'smise.toml(PR #1,c97a20f) declares six —opentofu,python,jq,age,uv,pypi:ansible-core— so the number is right for the pilot and wrong for any repository with a different toolchain. "installs every tool except thepypi:ones" is the invariant the next repo can rely on.Standards
ADVISORY — the branch drops the ADR 0009 paragraph
maincarries (main lines 91-95).AGENTS.md §Decisionsmakesdocs/adr/the record read first across repositories.main's page namesdocs/adr/0009-prod-must-be-deployed-automatically-through-a-merge-to-main.mdwhere it explains that a new domain repo has no merge-triggered deploy yet; the branch keeps the assertion and loses the pointer, leaving the reader with a gap and no record to read.No other documented convention is broken: the
docs/index.mdrow is present and unchanged, andmake docs-checkholds (below).Verified by hand
make docs-checkon the branch worktreeall 3 assertions hold(42 relative links across 28 documents, floor-page row, floor-rules)git merge-tree --write-tree origin/main origin/template-lockfileCONFLICT (add/add)— the PR cannot land as-isdependency sidecar …/.mise/locks/***/2.21.5: No such file or directory (os error 2)onmise installwith a freshMISE_DATA_DIRmise installexits 0 and only warns — the miss is invisible locally, as the paragraph saysinfra-media's lockfile shapemise.lock+.mise/locks/***/2.21.5/{pyproject.toml,uv.lock}confirmed in PR #1's file list;.mise/is not in its.gitignore, so "Commit both" is actionablemac_addressininfra-agentsenv.shdriftinfra-cockpitdiffersNot verified
infra-media's "install the toolchain" step and that run 2 passed. I read the PR description's account and reproduced the mechanism locally with a 3-tool declaration, not the six-tool runner run itself.pct config 117, the 130-bytenavidrome.toml) belong toinfra-media#1, not this diff.Summary. Spec: 5 findings, worst is the merge-conflicting re-creation of the #59 page that also reverses two of its corrected paragraphs (
:59-61,:82-84). Standards: 1 finding, advisory (dropped ADR 0009 pointer). The paragraph this PR adds is accurate and worth keeping — it is the stale base around it that has to go.Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.
Fix round 1/5 — answered at
6f53483(wasb9b9e22). All three blockers and all three advisories are fixed; nothing is left undealt-with and I disagree with none of them.aa1645e, so the PR cannot mergec6162ff:59-61"the MAC address has no provider attribute"c6162ff:82-84"vendored byte-for-byte … into every repository"c6162ffmise lockwrites both" needsuvon PATH6f53483infra-media's count6f53483c6162ffHow the base was fixed without a force-push
Your smallest fix was rebase onto
mainand drope4b9074. A dispatch on a published branch forbids the force-push that rebase needs, so the same tree comes from a merge:git merge --no-ff origin/main, the one conflict being theadd/addondocs/agents/domain-repo-template.md, resolved tomain's file whole.That single resolution clears the first three blockers together, because they are one defect — the stale base — seen three ways:
main's two corrected paragraphs are back verbatim (**Timezone** has no provider attribute … The **MAC address** does: …, and the pinned-env.sh/ drift / no-copy-here paragraph at:79-92), and the ADR 0009 pointer is back at:101.e4b9074stays in the branch's ancestry but contributes nothing to the tree; the squash merge composes the landing commit from the PR title, so it lands nowhere.The paragraph then goes back on top of
main's text as its own commit (6f53483), with the two advisories taken in it:pypi:ones, and fails on the first of those" — the count wasinfra-media's, the invariant holds for any toolchain;mise lockwrites both" → "mise lockwrites both, withuvinstalled (mise installfirst)" — your remedy sentence, taken as written, so the prescription does not reproduce the silent skip it is prescribing against.Verified
Forgejo now reports
mergeable: trueon the PR; the three-dot diff is the 8-line paragraph in one file and nothing else.The four suites, run from the worktree through the manager:
CI at the new head, run #900 (
/actions/runs/108,success, 17s) — both required contexts, unchanged:pr-checks / loop-decide (pull_request)pr-checks / protect-main (pull_request)Self-review over
b9b9e22...HEAD, Standards then Spec as separate passes: the added lines wrap at ≤79 columns (the page's own register), carry an even number of backticks each so no inline span breaks across a line, no trailing whitespace, the bold lead-in matches the page's neighbours, andgit grep 'five of six'/git grep 'byte-for-byte'overdocs/both return rc=1. No new commit came out of it.Left alone, and what I could not verify
uvprerequisite — so every sentence in it is still true at this head. No figure moved; the body edit is not hiding in the head sha.infra-media's "install the toolchain" step failed and run 2 passed). It is the author's reproduction on another repository's runner and this round did not touch it; the paragraph I changed now claims only the mechanism, not that run.Review started (round 2/5) on
6f534838f1— reading the diff now.Review round 2/5 —
olympus/workshop#61 @6f534838f1b4ce794fc00ad27b5112e1794ee113Recommendation: merge
Spec source: the PR body (no linked issue;
#59is the PR that introduced the page). Standards sources:AGENTS.md,docs/index.md,docs/agents/domain.md,make docs-check.Round 1, re-driven
#59page fromaa1645e, so the PR could not mergec6162ffgit merge-tree --write-tree origin/main HEAD→rc=0(also at the reported base7cb6aab); the PR object answersmergeable: true;git diff origin/main...HEADis 8 added lines in one file:59-61"the MAC address has no provider attribute"c6162ffdocs/agents/domain-repo-template.md:62-66carriesmain's corrected text again; the sibling fact holds atinfra-agentsorigin/main928fe6e(container.tf:55,variables.tf:44):82-84"vendored byte-for-byte … into every repository"c6162ff:87-98carriesmain's pinned-env.sh/ drift / no-copy paragraph; re-hashed at five siblings'origin/main: four42b62698…,infra-cockpite4c5e352…;workshophas noscripts/env.shmise lockwrites both" needsuvonPATH6f53483:44now reads "withuvinstalled (mise installfirst)" — driven belowinfra-media's count6f53483:41now reads "installs every tool except thepypi:ones" — driven belowc6162ff:100-105links../adr/0009-prod-must-be-deployed-automatically-through-a-merge-to-main.mdagainThe base fix landed as a merge, not a rebase:
c6162ffhas two parents (b9b9e22,7cb6aab), and the round's own change (git diff c6162ff..HEAD) is the 8-line paragraph and nothing else.GLOSSARY.mdanddocs/agents/make-targets.mdin theb9b9e22..HEADrange come frommain's commits, not from this branch.Spec
ADVISORY —
docs/agents/domain-repo-template.md:43quotes a step name that does not exist in that case.The pilot's workflow names it
Install the toolchain(olympus/infra-mediaPR #1 head3d6462b,.forgejo/workflows/pr-checks.yml:17, the step that runsenv -u GITHUB_TOKEN make deps).git grep -n 'install the toolchain'over this repo at head returns only this page, so a reader who searches for the string in the workflow it cites finds nothing. One-word fix: capitalise the quoted label.ADVISORY — the paragraph sits under
## The floor(:31), whose subject ismake checkandvalidate.The added text is about the toolchain install (
mise install/deps), not the credential-free floor two paragraphs above it. A nit on placement, not on content: move it beside the toolchain material, or give it its own short heading.No missing or partial requirement: the PR body asks for one paragraph in the
#59page, and the delta is exactly that paragraph, plus the base repair the previous round required.Standards
No findings.
AGENTS.md §Decisionsis satisfied by the restored ADR 0009 pointer; thedocs/index.mdrow is untouched andmake docs-checkholds; the added lines wrap at ≤79 columns, carry an even number of backticks each, and have no trailing whitespace.Named, not charged
infra-mediarun 2 — success") is an earlier run on another repository. I read the pilot's current head instead:olympus/infra-media3d6462banswerspr-checks / checksuccess (run 3, 10s). The specific "run 2" was not re-read.GLOSSARY.mdanddocs/agents/make-targets.mdappear in the round's range; they aremain's, absorbed byc6162ff.Verified by hand
git ls-remote origin refs/pull/61/head=6f53483…= the dispatch's SHAmaingit diff origin/main...HEAD --numstat→8 0 docs/agents/domain-repo-template.mdgit merge-tree --write-tree origin/main HEAD→rc=0; PRmergeable: trueMISE_DATA_DIR+mise.lockonly:mise installrc=1,mise ✗ pypi:ansible-core@2.21.5 … dependency sidecar …/.mise/locks/***/2.21.5: No such file or directory (os error 2);uv 0.13.10installed, thepypi:tool missinguvclausemise lockwithuvabsent: rc=0,mise.lockwritten, no sidecars,WARN … dependency graph skipped: uv >= 0.12.10 is unavailable; aftermise install, a plainmise lockwrote.mise/locks/***/2.21.5/{pyproject.toml,uv.lock}(uv still not onPATH)infra-media'smise.lockrecordsuv = { path = ".mise/locks/***/2.21.5", digest = … }, and.mise/is not in its.gitignore, so "Commit both" is actionablemise exec -- make docs-check→all 3 assertions hold, rc 0pr-checks / loop-decidesuccess 11s,pr-checks / protect-mainsuccess 17s (run 108)Not verified
mise installrc 0, warnings only), not on a laptop with a system-wide install.Summary. Spec: 2 findings, both advisory; worst is the mis-cased step quote, which a reader cannot grep back to the workflow. Standards: 0 findings. Zero blockers, two advisories — below the volume trip, so the recommendation is merge.