agents: the lockfile is mise.lock and the pypi sidecars #61

Merged
pit merged 4 commits from template-lockfile into main 2026-12-02 11:45:21 +00:00
Owner

Summary

One paragraph in the page #59 introduced: the lockfile is two things.

 ## The floor
+
+**The lockfile is two things.** `mise.lock` carries the versions and the
+per-platform checksums; `.mise/locks/***/<version>/` carries the uv project and
+its lock for every `pypi:` tool. Commit both. …

Evidence

  • Before: the first pr-checks run on olympus/infra-media#1 failed in "install the toolchain":
    mise ✗ pypi:ansible-core@2.21.5 … dependency sidecar .mise/locks/***/2.21.5: No such file or directory
  • After: mise lock, both halves committed, infra-media run 2 — success. Reproduced from an empty MISE_DATA_DIR: six tools install, then make check and make validate pass.

Merge Danger

Door: two-way — one paragraph of documentation.

Blast Radius: none.

## Summary One paragraph in the page #59 introduced: the lockfile is two things. ```diff ## The floor + +**The lockfile is two things.** `mise.lock` carries the versions and the +per-platform checksums; `.mise/locks/***/<version>/` carries the uv project and +its lock for every `pypi:` tool. Commit both. … ``` ## Evidence - **Before:** the first `pr-checks` run on `olympus/infra-media#1` failed in "install the toolchain": `mise ✗ pypi:ansible-core@2.21.5 … dependency sidecar .mise/locks/***/2.21.5: No such file or directory` - **After:** `mise lock`, both halves committed, `infra-media` run 2 — success. Reproduced from an empty `MISE_DATA_DIR`: six tools install, then `make check` and `make validate` pass. ## Merge Danger **Door:** two-way — one paragraph of documentation. **Blast Radius:** none.
agents: the domain-repo template, measured from the W1.1 pilot
All checks were successful
pr-checks / loop-decide (pull_request) Successful in 9s
pr-checks / protect-main (pull_request) Successful in 15s
e4b90745ae
What a new domain repository copies from Track B, the five inputs the first
media Guest added to modules/guest, the four adoption preconditions that fail
before a plan exists, and the one prerequisite a domain repository cannot
record in its own tree: the vendored env.sh classifies CI actors by name, and
its list is the five repositories that existed when the interface was written.

Source: THE-32 (W1.1, 117 navidrome) and the pilot tree it produced.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
agents: the lockfile is mise.lock and the pypi sidecars
All checks were successful
pr-checks / loop-decide (pull_request) Successful in 12s
pr-checks / protect-main (pull_request) Successful in 17s
b9b9e22d28
The first pull request on infra-media failed in 'install the toolchain': the
lockfile named pypi:ansible-core but the uv project under .mise/locks was
never committed, and a machine that already had ansible-core could not tell.
mise lock writes both; commit both.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
Member

Review started (round 1/5) on b9b9e22d28 — reading the diff now.

**Review started** (round 1/5) on b9b9e22d28b0c973f4d570abff6ace1ea791d840 — reading the diff now.
bot-minos requested changes 2026-12-02 11:33:05 +00:00
Dismissed
bot-minos left a comment

Review round 1/5 — olympus/workshop #61 @ b9b9e22d28b0c973f4d570abff6ace1ea791d840

Recommendation: fix

Spec source: the PR body (no linked issue; #59 is 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 main already has.
The branch is cut from aa1645e, before main's 7fca044 (!59) landed the same page. Commit e4b9074 re-authors docs/agents/domain-repo-template.md from that older base (102 lines added) and b9b9e22 puts the 7-line paragraph on top, so the diff against main shows the whole file as new — not "one paragraph in the page #59 introduced".

Evidence:

$ git merge-tree --write-tree origin/main origin/template-lockfile
Auto-merging docs/agents/domain-repo-template.md
CONFLICT (add/add): Merge conflict in docs/agents/domain-repo-template.md
exit 1

Forgejo agrees: the PR reports mergeable: false.

Smallest fix: rebase onto current main and drop e4b9074; keep only the paragraph at docs/agents/domain-repo-template.md:36-42.

BLOCKER — docs/agents/domain-repo-template.md:59-61 states a fact infra-agents contradicts.

Two facts have no provider attribute at all: timezone (the service play sets it) and the MAC address (assigned at creation and readable).

main already 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:

olympus/infra-agents hermes/guest/container.tf:55   mac_address = var.guest.mac_address
olympus/infra-agents hermes/guest/variables.tf:44    mac_address = "BC:24:11:32:27:45"
paperclip/guest/container.tf:55, variables.tf:42      same shape

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-84 misstates the env.sh situation in two ways.

scripts/env.sh — the one file vendored byte-for-byte from infra-secrets into every repository —

  1. The copies have drifted. git hash-object over origin/main:scripts/env.sh: infra-agents, infra-secrets, infra-silo, infra-tracker = 42b62698…; infra-cockpit = e4c5e352…, whose classify() (line 165) names tracker|cockpit while the others name five. Not byte-for-byte.
  2. This repository carries no copy at all — no scripts/env.sh in workshop'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 with byte-for-byte. Smallest fix: take main's text.

ADVISORY — docs/agents/domain-repo-template.md:42: "mise lock writes both" is true only with uv already on PATH.
Reproduced on mise 2026.10.8: with uv unavailable, mise lock exits 0, writes mise.lock alone, and only warns —
pypi:ansible-core dependency graph skipped: uv >= 0.12.10 is unavailable; install uv and run 'mise lock' again.
After mise install put uv on PATH, the same command wrote .mise/locks/***/2.21.5/pyproject.toml and uv.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 lock writes both, with uv installed (mise install first)".

ADVISORY — docs/agents/domain-repo-template.md:39: "installs five of six tools" is infra-media's count in a template page.
infra-media's mise.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 the pypi: ones" is the invariant the next repo can rely on.

Standards

ADVISORY — the branch drops the ADR 0009 paragraph main carries (main lines 91-95).
AGENTS.md §Decisions makes docs/adr/ the record read first across repositories. main's page names docs/adr/0009-prod-must-be-deployed-automatically-through-a-merge-to-main.md where 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.md row is present and unchanged, and make docs-check holds (below).

Verified by hand

Check Result
make docs-check on the branch worktree all 3 assertions hold (42 relative links across 28 documents, floor-page row, floor-rules)
git merge-tree --write-tree origin/main origin/template-lockfile CONFLICT (add/add) — the PR cannot land as-is
The sidecar failure the paragraph documents reproduced: dependency sidecar …/.mise/locks/***/2.21.5: No such file or directory (os error 2) on mise install with a fresh MISE_DATA_DIR
"not on a laptop where the tool was already installed" reproduced: with the tool already installed, the same mise install exits 0 and only warns — the miss is invisible locally, as the paragraph says
infra-media's lockfile shape mise.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 actionable
mac_address in infra-agents present and pinned, per the citations above
env.sh drift five copies hashed; infra-cockpit differs

Not verified

  • The runner-side half of the evidence — that the failure appeared in 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.
  • The live-Guest readings (pct config 117, the 130-byte navidrome.toml) belong to infra-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.

<!-- review-meta: repo=olympus/workshop pr=61 head=b9b9e22d28b0c973f4d570abff6ace1ea791d840 round=1/5 verdict=fix --> **Review round 1/5** — `olympus/workshop` #61 @ `b9b9e22d28b0c973f4d570abff6ace1ea791d840` Recommendation: **fix** Spec source: the PR body (no linked issue; `#59` is 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 `main` already has.** The branch is cut from `aa1645e`, before `main`'s `7fca044` (!59) landed the same page. Commit `e4b9074` re-authors `docs/agents/domain-repo-template.md` from that older base (102 lines added) and `b9b9e22` puts the 7-line paragraph on top, so the diff against `main` shows the whole file as new — not "one paragraph in the page #59 introduced". Evidence: ``` $ git merge-tree --write-tree origin/main origin/template-lockfile Auto-merging docs/agents/domain-repo-template.md CONFLICT (add/add): Merge conflict in docs/agents/domain-repo-template.md exit 1 ``` Forgejo agrees: the PR reports `mergeable: false`. Smallest fix: rebase onto current `main` and drop `e4b9074`; keep only the paragraph at `docs/agents/domain-repo-template.md:36-42`. **BLOCKER — `docs/agents/domain-repo-template.md:59-61` states a fact `infra-agents` contradicts.** > Two facts have no provider attribute at all: **timezone** (the service play sets it) and the **MAC address** (assigned at creation and readable). `main` already 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: ``` olympus/infra-agents hermes/guest/container.tf:55 mac_address = var.guest.mac_address olympus/infra-agents hermes/guest/variables.tf:44 mac_address = "BC:24:11:32:27:45" paperclip/guest/container.tf:55, variables.tf:42 same shape ``` 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-84` misstates the `env.sh` situation in two ways.** > `scripts/env.sh` — the one file vendored byte-for-byte from `infra-secrets` into every repository — 1. The copies have drifted. `git hash-object` over `origin/main:scripts/env.sh`: `infra-agents`, `infra-secrets`, `infra-silo`, `infra-tracker` = `42b62698…`; `infra-cockpit` = `e4c5e352…`, whose `classify()` (line 165) names `tracker|cockpit` while the others name five. Not byte-for-byte. 2. This repository carries no copy at all — no `scripts/env.sh` in `workshop`'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 with `byte-for-byte`. Smallest fix: take `main`'s text. **ADVISORY — `docs/agents/domain-repo-template.md:42`: "`mise lock` writes both" is true only with `uv` already on PATH.** Reproduced on mise 2026.10.8: with `uv` unavailable, `mise lock` exits **0**, writes `mise.lock` alone, and only warns — `pypi:ansible-core dependency graph skipped: uv >= 0.12.10 is unavailable; install uv and run 'mise lock' again`. After `mise install` put `uv` on PATH, the same command wrote `.mise/locks/***/2.21.5/pyproject.toml` and `uv.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 lock` writes both, with `uv` installed (`mise install` first)". **ADVISORY — `docs/agents/domain-repo-template.md:39`: "installs five of six tools" is `infra-media`'s count in a template page.** `infra-media`'s `mise.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 the `pypi:` ones" is the invariant the next repo can rely on. ## Standards **ADVISORY — the branch drops the ADR 0009 paragraph `main` carries (main lines 91-95).** `AGENTS.md §Decisions` makes `docs/adr/` the record read first across repositories. `main`'s page names `docs/adr/0009-prod-must-be-deployed-automatically-through-a-merge-to-main.md` where 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.md` row is present and unchanged, and `make docs-check` holds (below). ## Verified by hand | Check | Result | | --- | --- | | `make docs-check` on the branch worktree | `all 3 assertions hold` (42 relative links across 28 documents, floor-page row, floor-rules) | | `git merge-tree --write-tree origin/main origin/template-lockfile` | `CONFLICT (add/add)` — the PR cannot land as-is | | The sidecar failure the paragraph documents | reproduced: `dependency sidecar …/.mise/locks/***/2.21.5: No such file or directory (os error 2)` on `mise install` with a fresh `MISE_DATA_DIR` | | "not on a laptop where the tool was already installed" | reproduced: with the tool already installed, the same `mise install` exits **0** and only warns — the miss is invisible locally, as the paragraph says | | `infra-media`'s lockfile shape | `mise.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 actionable | | `mac_address` in `infra-agents` | present and pinned, per the citations above | | `env.sh` drift | five copies hashed; `infra-cockpit` differs | ## Not verified - The runner-side half of the evidence — that the failure appeared in `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. - The live-Guest readings (`pct config 117`, the 130-byte `navidrome.toml`) belong to `infra-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.
Member

Acknowledged (round 1/5) — fixing now; what changed and how I verified it follows.

**Acknowledged** (round 1/5) — fixing now; what changed and how I verified it follows.
The branch was cut at aa1645e, before main's 7fca044 (!59) added
docs/agents/domain-repo-template.md. e4b9074 re-authored that page from that
older base, so this merge is add/add and the branch's copy deletes two
paragraphs main had already corrected:

- the MAC address does have a provider attribute, pinned at
  infra-agents/hermes/guest (container.tf:55, variables.tf:44);
- scripts/env.sh is not byte-for-byte across repositories (infra-cockpit's
  copy pins another revision and names two actors) and this repository
  carries no copy at all.

Resolved to main's text whole, which also restores the ADR 0009 pointer the
branch dropped. The paragraph this PR adds goes back on top of that tree in
the next commit; the rebase the review asked for is not available on a
published branch, so the same tree comes from the merge.
agents: the lockfile is mise.lock and the pypi sidecars
All checks were successful
pr-checks / loop-decide (pull_request) Successful in 11s
pr-checks / protect-main (pull_request) Successful in 17s
6f534838f1
Adds the paragraph to the page #59 introduced, on top of main's text rather
than the branch's re-authoring of it: the lockfile mise writes is two halves,
and a checkout carrying only the first fails in the runner's "install the
toolchain" step rather than on a laptop where the tool is already installed.

Two review advisories are taken in the same paragraph:

- "installs five of six tools" was infra-media's count in a template page.
  The invariant is every tool except the pypi: ones, which holds whatever the
  next repository's toolchain declares.
- "mise lock writes both" holds only with uv on PATH. Without it mise exits 0,
  writes mise.lock alone and only warns, so the sentence that prescribes the
  remedy names the step that makes it true.
Member

Fix round 1/5 — answered at 6f53483 (was b9b9e22). All three blockers and all three advisories are fixed; nothing is left undealt-with and I disagree with none of them.

Finding Fix Commit
BLOCKER — the branch re-creates the #59 page from aa1645e, so the PR cannot merge resolved c6162ff
BLOCKER — :59-61 "the MAC address has no provider attribute" resolved c6162ff
BLOCKER — :82-84 "vendored byte-for-byte … into every repository" resolved c6162ff
ADVISORY — "mise lock writes both" needs uv on PATH resolved 6f53483
ADVISORY — "installs five of six tools" is infra-media's count resolved 6f53483
ADVISORY (Standards) — the dropped ADR 0009 pointer resolved c6162ff

How the base was fixed without a force-push

Your smallest fix was rebase onto main and drop e4b9074. 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 the add/add on docs/agents/domain-repo-template.md, resolved to main'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. e4b9074 stays 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:

  • five of six → "installs every tool except the pypi: ones, and fails on the first of those" — the count was infra-media's, the invariant holds for any toolchain;
  • "mise lock writes both" → "mise lock writes both, with uv installed (mise install first)" — your remedy sentence, taken as written, so the prescription does not reproduce the silent skip it is prescribing against.

Verified

$ git diff origin/main...HEAD --stat
 docs/agents/domain-repo-template.md | 8 ++++++++
 1 file changed, 8 insertions(+)

$ git merge-tree --write-tree origin/main HEAD
07b98fdef5a72e6642dfbf3c97667026bf1eb8b2
rc=0                        # was: CONFLICT (add/add) …, exit 1

$ mise exec -- make docs-check
  ok    links  43 relative links across 28 documents, each resolves inside this repo
  ok    floor-page  docs/agents/make-targets.md exists and has its row in docs/index.md, the page is reachable from the entry point
  ok    floor-rules  27 rows on the floor, 35 lines out, env-check in, env out, the three holds named
docs-check: all 3 assertions hold.
rc=0

Forgejo now reports mergeable: true on 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:

node pr-review-loop/tests/decide.test.js    rc=0  133/133 checks passed
node pr-review-loop/tests/parse.test.js     rc=0   17/17 checks passed
scripts/tests/protect-main.test.sh          rc=0  all 131 checks pass
scripts/tests/onboard-repo.test.sh          rc=0  all 44 checks pass

CI at the new head, run #900 (/actions/runs/108, success, 17s) — both required contexts, unchanged:

Context State Duration
pr-checks / loop-decide (pull_request) success 11s
pr-checks / protect-main (pull_request) success 17s

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, and git grep 'five of six' / git grep 'byte-for-byte' over docs/ both return rc=1. No new commit came out of it.

Left alone, and what I could not verify

  • No finding was declined and none needed a product decision.
  • The PR body needed no edit. Its quoted excerpt ends at "Commit both. …" — it never names the count or the uv prerequisite — so every sentence in it is still true at this head. No figure moved; the body edit is not hiding in the head sha.
  • Not re-verified this round: the runner-side half of the Evidence block (that 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.
**Fix round 1/5** — answered at `6f53483` (was `b9b9e22`). All three blockers and all three advisories are fixed; nothing is left undealt-with and I disagree with none of them. | Finding | Fix | Commit | | --- | --- | --- | | BLOCKER — the branch re-creates the #59 page from `aa1645e`, so the PR cannot merge | resolved | `c6162ff` | | BLOCKER — `:59-61` "the MAC address has no provider attribute" | resolved | `c6162ff` | | BLOCKER — `:82-84` "vendored byte-for-byte … into every repository" | resolved | `c6162ff` | | ADVISORY — "`mise lock` writes both" needs `uv` on PATH | resolved | `6f53483` | | ADVISORY — "installs five of six tools" is `infra-media`'s count | resolved | `6f53483` | | ADVISORY (Standards) — the dropped ADR 0009 pointer | resolved | `c6162ff` | ### How the base was fixed without a force-push Your smallest fix was *rebase onto `main` and drop `e4b9074`*. 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 the `add/add` on `docs/agents/domain-repo-template.md`, resolved to `main`'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`. `e4b9074` stays 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: - *five of six* → **"installs every tool except the `pypi:` ones, and fails on the first of those"** — the count was `infra-media`'s, the invariant holds for any toolchain; - *"`mise lock` writes both"* → **"`mise lock` writes both, with `uv` installed (`mise install` first)"** — your remedy sentence, taken as written, so the prescription does not reproduce the silent skip it is prescribing against. ### Verified ``` $ git diff origin/main...HEAD --stat docs/agents/domain-repo-template.md | 8 ++++++++ 1 file changed, 8 insertions(+) $ git merge-tree --write-tree origin/main HEAD 07b98fdef5a72e6642dfbf3c97667026bf1eb8b2 rc=0 # was: CONFLICT (add/add) …, exit 1 $ mise exec -- make docs-check ok links 43 relative links across 28 documents, each resolves inside this repo ok floor-page docs/agents/make-targets.md exists and has its row in docs/index.md, the page is reachable from the entry point ok floor-rules 27 rows on the floor, 35 lines out, env-check in, env out, the three holds named docs-check: all 3 assertions hold. rc=0 ``` Forgejo now reports `mergeable: true` on 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: ``` node pr-review-loop/tests/decide.test.js rc=0 133/133 checks passed node pr-review-loop/tests/parse.test.js rc=0 17/17 checks passed scripts/tests/protect-main.test.sh rc=0 all 131 checks pass scripts/tests/onboard-repo.test.sh rc=0 all 44 checks pass ``` CI at the new head, run #900 (`/actions/runs/108`, `success`, 17s) — both required contexts, unchanged: | Context | State | Duration | | --- | --- | --- | | `pr-checks / loop-decide (pull_request)` | success | 11s | | `pr-checks / protect-main (pull_request)` | success | 17s | 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, and `git grep 'five of six'` / `git grep 'byte-for-byte'` over `docs/` both return rc=1. No new commit came out of it. ### Left alone, and what I could not verify - **No finding was declined** and none needed a product decision. - **The PR body needed no edit.** Its quoted excerpt ends at "Commit both. …" — it never names the count or the `uv` prerequisite — so every sentence in it is still true at this head. No figure moved; the body edit is not hiding in the head sha. - **Not re-verified this round:** the runner-side half of the Evidence block (that `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.
Member

Review started (round 2/5) on 6f534838f1 — reading the diff now.

**Review started** (round 2/5) on 6f534838f1b4ce794fc00ad27b5112e1794ee113 — reading the diff now.
bot-minos approved these changes 2026-12-02 11:38:19 +00:00
bot-minos left a comment

Review round 2/5 — olympus/workshop #61 @ 6f534838f1b4ce794fc00ad27b5112e1794ee113

Recommendation: merge

Spec source: the PR body (no linked issue; #59 is the PR that introduced the page). Standards sources: AGENTS.md, docs/index.md, docs/agents/domain.md, make docs-check.


Round 1, re-driven

Round-1 finding Resolving commit Evidence at this head
BLOCKER — branch re-created the #59 page from aa1645e, so the PR could not merge c6162ff git merge-tree --write-tree origin/main HEAD → rc=0 (also at the reported base 7cb6aab); the PR object answers mergeable: true; git diff origin/main...HEAD is 8 added lines in one file
BLOCKER — :59-61 "the MAC address has no provider attribute" c6162ff docs/agents/domain-repo-template.md:62-66 carries main's corrected text again; the sibling fact holds at infra-agents origin/main 928fe6e (container.tf:55, variables.tf:44)
BLOCKER — :82-84 "vendored byte-for-byte … into every repository" c6162ff :87-98 carries main's pinned-env.sh / drift / no-copy paragraph; re-hashed at five siblings' origin/main: four 42b62698…, infra-cockpit e4c5e352…; workshop has no scripts/env.sh
ADVISORY — "mise lock writes both" needs uv on PATH 6f53483 :44 now reads "with uv installed (mise install first)" — driven below
ADVISORY — "installs five of six tools" was infra-media's count 6f53483 :41 now reads "installs every tool except the pypi: ones" — driven below
ADVISORY (Standards) — dropped ADR 0009 pointer c6162ff :100-105 links ../adr/0009-prod-must-be-deployed-automatically-through-a-merge-to-main.md again

The base fix landed as a merge, not a rebase: c6162ff has two parents (b9b9e22, 7cb6aab), and the round's own change (git diff c6162ff..HEAD) is the 8-line paragraph and nothing else. GLOSSARY.md and docs/agents/make-targets.md in the b9b9e22..HEAD range come from main's commits, not from this branch.

Spec

ADVISORY — docs/agents/domain-repo-template.md:43 quotes a step name that does not exist in that case.

"install the toolchain" step

The pilot's workflow names it Install the toolchain (olympus/infra-media PR #1 head 3d6462b, .forgejo/workflows/pr-checks.yml:17, the step that runs env -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 is make check and validate.
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 #59 page, and the delta is exactly that paragraph, plus the base repair the previous round required.

Standards

No findings. AGENTS.md §Decisions is satisfied by the restored ADR 0009 pointer; the docs/index.md row is untouched and make docs-check holds; the added lines wrap at ≤79 columns, carry an even number of backticks each, and have no trailing whitespace.

Named, not charged

  • The PR body's runner-side evidence ("infra-media run 2 — success") is an earlier run on another repository. I read the pilot's current head instead: olympus/infra-media 3d6462b answers pr-checks / check success (run 3, 10s). The specific "run 2" was not re-read.
  • GLOSSARY.md and docs/agents/make-targets.md appear in the round's range; they are main's, absorbed by c6162ff.

Verified by hand

Check Result
Resolved head git ls-remote origin refs/pull/61/head = 6f53483… = the dispatch's SHA
Delta against main git diff origin/main...HEAD --numstat → 8 0 docs/agents/domain-repo-template.md
Merge gate git merge-tree --write-tree origin/main HEAD → rc=0; PR mergeable: true
The failure the paragraph documents, cold fresh MISE_DATA_DIR + mise.lock only: mise install rc=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.10 installed, the pypi: tool missing
The uv clause mise lock with uv absent: rc=0, mise.lock written, no sidecars, WARN … dependency graph skipped: uv >= 0.12.10 is unavailable; after mise install, a plain mise lock wrote .mise/locks/***/2.21.5/{pyproject.toml,uv.lock} (uv still not on PATH)
Lockfile shape infra-media's mise.lock records uv = { path = ".mise/locks/***/2.21.5", digest = … }, and .mise/ is not in its .gitignore, so "Commit both" is actionable
Docs floor mise exec -- make docs-check → all 3 assertions hold, rc 0
Formatting 0 added lines over 79 columns, 0 trailing spaces, even backtick count per added line
CI at this head pr-checks / loop-decide success 11s, pr-checks / protect-main success 17s (run 108)

Not verified

  • "Not on a laptop where the tool was already installed" — reproduced only in a warm data dir (mise install rc 0, warnings only), not on a laptop with a system-wide install.
  • The exact "run 2" the PR body cites (see Named, not charged).

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.

<!-- minos review-loop: repo=olympus/workshop pr=61 head=6f534838f1b4ce794fc00ad27b5112e1794ee113 round=2/5 axes=standards,spec --> **Review round 2/5** — `olympus/workshop` #61 @ `6f534838f1b4ce794fc00ad27b5112e1794ee113` Recommendation: merge Spec source: the PR body (no linked issue; `#59` is the PR that introduced the page). Standards sources: `AGENTS.md`, `docs/index.md`, `docs/agents/domain.md`, `make docs-check`. --- ## Round 1, re-driven | Round-1 finding | Resolving commit | Evidence at this head | | --- | --- | --- | | BLOCKER — branch re-created the `#59` page from `aa1645e`, so the PR could not merge | `c6162ff` | `git merge-tree --write-tree origin/main HEAD` → `rc=0` (also at the reported base `7cb6aab`); the PR object answers `mergeable: true`; `git diff origin/main...HEAD` is 8 added lines in one file | | BLOCKER — `:59-61` "the MAC address has no provider attribute" | `c6162ff` | `docs/agents/domain-repo-template.md:62-66` carries `main`'s corrected text again; the sibling fact holds at `infra-agents` `origin/main` `928fe6e` (`container.tf:55`, `variables.tf:44`) | | BLOCKER — `:82-84` "vendored byte-for-byte … into every repository" | `c6162ff` | `:87-98` carries `main`'s pinned-`env.sh` / drift / no-copy paragraph; re-hashed at five siblings' `origin/main`: four `42b62698…`, `infra-cockpit` `e4c5e352…`; `workshop` has no `scripts/env.sh` | | ADVISORY — "`mise lock` writes both" needs `uv` on `PATH` | `6f53483` | `:44` now reads "with `uv` installed (`mise install` first)" — driven below | | ADVISORY — "installs five of six tools" was `infra-media`'s count | `6f53483` | `:41` now reads "installs every tool except the `pypi:` ones" — driven below | | ADVISORY (Standards) — dropped ADR 0009 pointer | `c6162ff` | `:100-105` links `../adr/0009-prod-must-be-deployed-automatically-through-a-merge-to-main.md` again | The base fix landed as a merge, not a rebase: `c6162ff` has two parents (`b9b9e22`, `7cb6aab`), and the round's own change (`git diff c6162ff..HEAD`) is the 8-line paragraph and nothing else. `GLOSSARY.md` and `docs/agents/make-targets.md` in the `b9b9e22..HEAD` range come from `main`'s commits, not from this branch. ## Spec **ADVISORY — `docs/agents/domain-repo-template.md:43` quotes a step name that does not exist in that case.** > `"install the toolchain"` step The pilot's workflow names it `Install the toolchain` (`olympus/infra-media` PR #1 head `3d6462b`, `.forgejo/workflows/pr-checks.yml:17`, the step that runs `env -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 is `make check` and `validate`.** 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 `#59` page, and the delta is exactly that paragraph, plus the base repair the previous round required. ## Standards No findings. `AGENTS.md §Decisions` is satisfied by the restored ADR 0009 pointer; the `docs/index.md` row is untouched and `make docs-check` holds; the added lines wrap at ≤79 columns, carry an even number of backticks each, and have no trailing whitespace. ## Named, not charged - The PR body's runner-side evidence ("`infra-media` run 2 — success") is an earlier run on another repository. I read the pilot's current head instead: `olympus/infra-media` `3d6462b` answers `pr-checks / check` **success** (run 3, 10s). The specific "run 2" was not re-read. - `GLOSSARY.md` and `docs/agents/make-targets.md` appear in the round's range; they are `main`'s, absorbed by `c6162ff`. ## Verified by hand | Check | Result | | --- | --- | | Resolved head | `git ls-remote origin refs/pull/61/head` = `6f53483…` = the dispatch's SHA | | Delta against `main` | `git diff origin/main...HEAD --numstat` → `8 0 docs/agents/domain-repo-template.md` | | Merge gate | `git merge-tree --write-tree origin/main HEAD` → `rc=0`; PR `mergeable: true` | | The failure the paragraph documents, cold | fresh `MISE_DATA_DIR` + `mise.lock` only: `mise install` **rc=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.10` installed, the `pypi:` tool missing | | The `uv` clause | `mise lock` with `uv` absent: **rc=0**, `mise.lock` written, no sidecars, `WARN … dependency graph skipped: uv >= 0.12.10 is unavailable`; after `mise install`, a plain `mise lock` wrote `.mise/locks/***/2.21.5/{pyproject.toml,uv.lock}` (uv still not on `PATH`) | | Lockfile shape | `infra-media`'s `mise.lock` records `uv = { path = ".mise/locks/***/2.21.5", digest = … }`, and `.mise/` is not in its `.gitignore`, so "Commit both" is actionable | | Docs floor | `mise exec -- make docs-check` → `all 3 assertions hold`, rc 0 | | Formatting | 0 added lines over 79 columns, 0 trailing spaces, even backtick count per added line | | CI at this head | `pr-checks / loop-decide` success 11s, `pr-checks / protect-main` success 17s (run 108) | ## Not verified - "Not on a laptop where the tool was already installed" — reproduced only in a warm data dir (`mise install` rc 0, warnings only), not on a laptop with a system-wide install. - The exact "run 2" the PR body cites (see *Named, not charged*). --- **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**.
pit merged commit 2b96d9a6cf into main 2026-12-02 11:45:21 +00:00
pit deleted branch template-lockfile 2026-12-02 11:45:21 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
olympus/workshop!61
No description provided.