The vendored env.sh knows the media actor, at the new pin (THE-122) #44

Merged
pit merged 1 commit from paperclip/THE-122-env-pin into main 2026-12-02 21:55:28 +00:00
Owner

Summary

Brings this repository's vendored scripts/env.sh to infra-secrets@ae9c7061…,
the revision that classifies media as a CI actor (THE-122). The file is
byte-identical to the origin; one word changes in classify() and nothing else
does.

The interface is one file that each infrastructure repository carries as a copy.
A copy left on the old pin is the drift the interface's page complains about, and
the next person to copy it would get the old actor list. This is the same round
that adds media to infra-secrets and to infra-media.

Evidence

  • mise exec -- make env-check → scripts/env.sh matches infra-secrets@ae9c7061…
    and env.map: 10 names, all declared in .env.example.
  • sha256sum scripts/env.sh equals the same hash in infra-secrets' copy; the pin
    is the hash of the body with the pin line blanked, and the check recomputes it.

Merge Danger

Door: none. A vendored shell script whose only behavioural change is a new
name in the CI branch of classify(). No target in this repository fetches as
media; no target changes what it reads.

Blast radius: none. A revert restores the previous copy at its previous pin,
and the check stays green either way.

## Summary Brings this repository's vendored `scripts/env.sh` to `infra-secrets@ae9c7061…`, the revision that classifies `media` as a CI actor (THE-122). The file is byte-identical to the origin; one word changes in `classify()` and nothing else does. The interface is one file that each infrastructure repository carries as a copy. A copy left on the old pin is the drift the interface's page complains about, and the next person to copy it would get the old actor list. This is the same round that adds `media` to `infra-secrets` and to `infra-media`. ## Evidence - `mise exec -- make env-check` → `scripts/env.sh matches infra-secrets@ae9c7061…` and `env.map: 10 names, all declared in .env.example`. - `sha256sum scripts/env.sh` equals the same hash in `infra-secrets`' copy; the pin is the hash of the body with the pin line blanked, and the check recomputes it. ## Merge Danger **Door:** none. A vendored shell script whose only behavioural change is a new name in the CI branch of `classify()`. No target in this repository fetches as `media`; no target changes what it reads. **Blast radius:** none. A revert restores the previous copy at its previous pin, and the check stays green either way.
The vendored env.sh knows the media actor, at the new pin (THE-122)
All checks were successful
plan / stack-plan-check (pull_request_target) Successful in 20s
pr-checks / check (pull_request) Successful in 49s
143fb105ec
Byte-identical to infra-secrets' copy at ae9c7061: the CI actor list gains
media, and nothing else moves. The change is one file because the interface is
one file; the copy in this repository now matches the origin again.

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

Waiting — queued behind olympus/infra-secrets#68 (one review run at a time). The review run resumes on its own at Wed 2 Dec, 22:11 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.

**Waiting** — queued behind olympus/infra-secrets#68 (one review run at a time). The review run resumes on its own at Wed 2 Dec, 22:11 (Europe/Madrid); nothing is needed from you. This retry does not count as a review round.
Member

Review started (round 0/5) on 143fb105ec — reading the diff now.

**Review started** (round 0/5) on 143fb105ecee70d1e8bbf80bee6b6e2a53a91032 — reading the diff now.
bot-minos approved these changes 2026-12-02 21:53:55 +00:00
bot-minos left a comment

olympus/infra-silo #44 · head 143fb105 · round 1/5 · axes: standards, spec

The dispatch numbered this round 0/5 in the sign-on comment (that number is fixed before the
timeline is read). The header above counts the thread: this PR carries no earlier review, so this
is round 1.

Recommendation: merge

Standards — 1 advisory, 0 blockers

ADVISORY 1 — the body names no task reference at all

AGENTS.md:77-82 §Pull requests — "Name the task a PR addresses in its body by its own
reference: SL-<index> for a task in this repository's tracker, or SC-<index>/CP-<index> for
one in infra-secrets/infra-cockpit, when the change lands this repository's half of it."

The body (Summary / Evidence / Merge Danger) contains no task reference. The only one is the
title's (THE-122), and THE- is not among the three prefixes that clause lists — the org's newer
form is paperclip:THE-<n>, used as a body's first line on a sibling in the same tracker migration
(olympus/infra-forge #115). A reader can still find the ticket from the title, which is why this
is an advisory and not a block.

Smallest clearing change: one line at the top of the body — paperclip:THE-122. The same shape
sits on the round's other four PRs (infra-secrets #68, infra-agents #8, infra-cockpit #41,
infra-media #10), so the fix belongs to the round's bodies, not to a fixer round on this branch.

Nothing else on this axis. The copy is byte-identical to its origin, so the added comment prose is
upstream's: infra-secrets docs/env-fetch.md:300-306 (read at paperclip/THE-122-media-deploy
0a8a589) requires every vendoring repository to copy the file verbatim, including the pin
line
, and this repository's AGENTS.md:37-41 §Code comments (keep comments minimal) is answered
by that contract rather than by this diff.

Spec — 0 findings

Spec source: paperclip:THE-122, fetched live 2026-12-02T21:53Z (scripts/fetch-paperclip-issue.sh,
GET /api/issues/THE-122 -> 200, status blocked, documents []) plus its live comment thread
(GET …/comments -> 200, 1 entry, a run's hand-back note — not a board ruling). The ticket measures
this exact gap: "The vendored scripts/env.sh actor table is tracker|cockpit|forge|secrets|silo;
media is not an actor."

Requirement Where Result
media is an actor in the identity table, in the CI branch scripts/env.sh:166 — tracker|cockpit|forge|secrets|silo|media) CLASS='CI'; METHOD='jwt' met
The copy is the origin's, at the pin named scripts/env.sh:2 pins ae9c7061…; body hash recomputes to it met (make env-check)
Nothing else changes behaviour changed-line set equals upstream 4a45309..0a8a589 -- scripts/env.sh (23 payload lines, diff empty) met
The round's other halves stated and true: infra-secrets #68 exists, infra-media #10 exists met (both open, merge order stated in #10)

No missing requirement attributable to this repository, and no behaviour in the diff that the
ticket did not ask for. The ticket's own done-when (a merge to infra-media starting the Semaphore
task) is infra-media #10's, not this PR's.

Verified

Claim / property How I drove it Result
pin is the body hash sed 's/^# vendored from infra-secrets@.*$/…/' scripts/env.sh | sha256sum vs the line's sha equal, ae9c7061…
byte-identical to the origin cmp against infra-secrets paperclip/THE-122-media-deploy (0a8a589) scripts/env.sh identical
the local hunk set is the origin's added/removed-line sets of git diff origin/main...143fb105 -- scripts/env.sh vs git -C infra-secrets diff 4a45309..0a8a589 -- scripts/env.sh equal (23 lines each, diff empty)
the body's make env-check claim mise exec -- make env-check at the head ok scripts/env.sh matches infra-secrets@ae9c7061…, ok env.map: 10 names, all declared in .env.example
the CI floor mise exec -- make check at the head rc 0
media is now classified and was not before sandboxed fetch pair (env -i, fake HOME, closed store): base env.sh + ACTOR=media → refused: media is not an actor in the store's identity table; head env.sh + ACTOR=media → passes the table and stops later at nothing could be filled for the CI media: env.map maps no store path for it the delta is reachable; no .env written on either side
no other actor moved ACTOR=silo at both revisions → identical refusal (store unreachable); ACTOR=nobody at head → still refused unchanged
nothing in this repository fetches as media grep -rn media over *.sh/Makefile/*.yml/*.map: only runbook rows about infra-media's state keys claim holds
required checks at the reviewed head read-merge-gate.py olympus infra-silo main 143fb105… protected, 1 approval, contexts pr-checks / check (pull_request) and plan / stack-plan-check (pull_request_target) both success
the merge applies to today's main origin/main = e6a4834 (the PR's base.sha); git merge-tree --write-tree origin/main 143fb105 rc 0, no conflicts

The four things the CI gate is (this change re-vendors a script a required job runs, so the
charter's gate boundary is checked rather than assumed): workflow files — untouched, the diff is
one file, scripts/env.sh; required context names — unchanged, both still published and green at
the head; job names — check, stack-plan-check, untouched; the target each job runs — make check and make stack-plan-check, Makefile untouched. All four in place, so this is a content
change and not a gate change.

Could not verify

  • The live store holds the media role and secret/ci/media/semaphore-api. That is
    infra-secrets' side (#68, open): the role reaches the store on that repository's service run,
    not on this merge. A review agent's make env is refused by class, so no read from here.
  • Merge order. None is required for this repository: the pin is a content hash, not a commit
    id, and env-check recomputes it from the copy's own body, so merging this before infra-secrets
    #68 leaves the check green here. Worth stating because the pin names content that is not yet on
    infra-secrets main.

Named, not charged

  • README.md:132 — "documented once, for all five repositories". Seven repositories vendor
    scripts/env.sh at their main today (infra-agents, infra-cockpit, infra-forge,
    infra-media, infra-secrets, infra-silo, infra-tracker), and the new copy's own header
    (scripts/env.sh:4) now says "identical in every repository that vendors it". The line is not
    in this diff (it reads the same at e6a4834), so it is not charged — but the round's own
    precedent is to fix it: infra-cockpit #41 rewrote the same sentence in its own README.md and
    docs/environment.md. One clause here would close it.
  • scripts/tests/env.test.sh drives no CI (jwt) actor, so the media word is pinned by the
    copy's body hash (env-check) rather than by a behaviour case. The suite is upstream's and the
    copy is byte-identical, so that case belongs upstream, not in this diff.
  • Round coverage outside this PR. Five of the seven vendoring repositories have a media
    re-vendor PR open (infra-secrets #68, infra-agents #8, infra-cockpit #41, infra-media #10,
    this one); infra-forge #115 is a different ticket and infra-tracker has none open, so those
    two copies stay at the old pin after this round. Coordination, not this diff.

Summary

Standards: 1 finding, 0 blockers (worst: the body's missing task reference). Spec: 0
findings
. No blocker stands, and one advisory is below the count that would move the
recommendation.

<!-- minos review-loop: repo=olympus/infra-silo pr=44 head=143fb105ecee70d1e8bbf80bee6b6e2a53a91032 round=1/5 axes=standards,spec --> **olympus/infra-silo #44** · head `143fb105` · round **1/5** · axes: standards, spec The dispatch numbered this round `0/5` in the sign-on comment (that number is fixed before the timeline is read). The header above counts the thread: this PR carries no earlier review, so this is round 1. Recommendation: merge ## Standards — 1 advisory, 0 blockers ### ADVISORY 1 — the body names no task reference at all `AGENTS.md:77-82 §Pull requests` — *"Name the task a PR addresses in its body by its own reference: `SL-<index>` for a task in this repository's tracker, or `SC-<index>`/`CP-<index>` for one in `infra-secrets`/`infra-cockpit`, when the change lands this repository's half of it."* The body (`Summary` / `Evidence` / `Merge Danger`) contains no task reference. The only one is the title's `(THE-122)`, and `THE-` is not among the three prefixes that clause lists — the org's newer form is `paperclip:THE-<n>`, used as a body's first line on a sibling in the same tracker migration (`olympus/infra-forge` #115). A reader can still find the ticket from the title, which is why this is an advisory and not a block. **Smallest clearing change:** one line at the top of the body — `paperclip:THE-122`. The same shape sits on the round's other four PRs (`infra-secrets` #68, `infra-agents` #8, `infra-cockpit` #41, `infra-media` #10), so the fix belongs to the round's bodies, not to a fixer round on this branch. Nothing else on this axis. The copy is byte-identical to its origin, so the added comment prose is upstream's: `infra-secrets` `docs/env-fetch.md:300-306` (read at `paperclip/THE-122-media-deploy` `0a8a589`) requires every vendoring repository to copy the file **verbatim, including the pin line**, and this repository's `AGENTS.md:37-41 §Code comments` (keep comments minimal) is answered by that contract rather than by this diff. ## Spec — 0 findings **Spec source:** `paperclip:THE-122`, fetched live 2026-12-02T21:53Z (`scripts/fetch-paperclip-issue.sh`, `GET /api/issues/THE-122 -> 200`, status `blocked`, documents `[]`) plus its live comment thread (`GET …/comments -> 200`, 1 entry, a run's hand-back note — not a board ruling). The ticket measures this exact gap: *"The vendored `scripts/env.sh` actor table is `tracker|cockpit|forge|secrets|silo`; `media` is not an actor."* | Requirement | Where | Result | | --- | --- | --- | | `media` is an actor in the identity table, in the CI branch | `scripts/env.sh:166` — `tracker\|cockpit\|forge\|secrets\|silo\|media) CLASS='CI'; METHOD='jwt'` | met | | The copy is the origin's, at the pin named | `scripts/env.sh:2` pins `ae9c7061…`; body hash recomputes to it | met (`make env-check`) | | Nothing else changes behaviour | changed-line set equals upstream `4a45309..0a8a589 -- scripts/env.sh` (23 payload lines, `diff` empty) | met | | The round's other halves | stated and true: `infra-secrets` #68 exists, `infra-media` #10 exists | met (both open, merge order stated in #10) | No missing requirement attributable to this repository, and no behaviour in the diff that the ticket did not ask for. The ticket's own done-when (a merge to `infra-media` starting the Semaphore task) is `infra-media` #10's, not this PR's. ## Verified | Claim / property | How I drove it | Result | | --- | --- | --- | | pin is the body hash | `sed 's/^# vendored from infra-secrets@.*$/…/' scripts/env.sh \| sha256sum` vs the line's sha | equal, `ae9c7061…` | | byte-identical to the origin | `cmp` against `infra-secrets` `paperclip/THE-122-media-deploy` (0a8a589) `scripts/env.sh` | identical | | the local hunk set is the origin's | added/removed-line sets of `git diff origin/main...143fb105 -- scripts/env.sh` vs `git -C infra-secrets diff 4a45309..0a8a589 -- scripts/env.sh` | equal (23 lines each, `diff` empty) | | the body's `make env-check` claim | `mise exec -- make env-check` at the head | `ok scripts/env.sh matches infra-secrets@ae9c7061…`, `ok env.map: 10 names, all declared in .env.example` | | the CI floor | `mise exec -- make check` at the head | rc 0 | | `media` is now classified and was not before | sandboxed `fetch` pair (`env -i`, fake HOME, closed store): base `env.sh` + `ACTOR=media` → `refused: media is not an actor in the store's identity table`; head `env.sh` + `ACTOR=media` → passes the table and stops later at `nothing could be filled for the CI media: env.map maps no store path for it` | the delta is reachable; no `.env` written on either side | | no other actor moved | `ACTOR=silo` at both revisions → identical refusal (store unreachable); `ACTOR=nobody` at head → still refused | unchanged | | nothing in this repository fetches as `media` | `grep -rn media` over `*.sh`/`Makefile`/`*.yml`/`*.map`: only runbook rows about `infra-media`'s state keys | claim holds | | required checks at the reviewed head | `read-merge-gate.py olympus infra-silo main 143fb105…` | protected, 1 approval, contexts `pr-checks / check (pull_request)` and `plan / stack-plan-check (pull_request_target)` both `success` | | the merge applies to today's `main` | `origin/main` = `e6a4834` (the PR's `base.sha`); `git merge-tree --write-tree origin/main 143fb105` | rc 0, no conflicts | **The four things the CI gate is** (this change re-vendors a script a required job runs, so the charter's gate boundary is checked rather than assumed): workflow files — untouched, the diff is one file, `scripts/env.sh`; required context names — unchanged, both still published and green at the head; job names — `check`, `stack-plan-check`, untouched; the target each job runs — `make check` and `make stack-plan-check`, `Makefile` untouched. All four in place, so this is a content change and not a gate change. ## Could not verify - **The live store holds the `media` role and `secret/ci/media/semaphore-api`.** That is `infra-secrets`' side (#68, open): the role reaches the store on that repository's service run, not on this merge. A review agent's `make env` is refused by class, so no read from here. - **Merge order.** None is required for this repository: the pin is a content hash, not a commit id, and `env-check` recomputes it from the copy's own body, so merging this before `infra-secrets` #68 leaves the check green here. Worth stating because the pin names content that is not yet on `infra-secrets` `main`. ## Named, not charged - **`README.md:132` — "documented once, for all five repositories".** Seven repositories vendor `scripts/env.sh` at their `main` today (`infra-agents`, `infra-cockpit`, `infra-forge`, `infra-media`, `infra-secrets`, `infra-silo`, `infra-tracker`), and the new copy's own header (`scripts/env.sh:4`) now says *"identical in every repository that vendors it"*. The line is not in this diff (it reads the same at `e6a4834`), so it is not charged — but the round's own precedent is to fix it: `infra-cockpit` #41 rewrote the same sentence in its own `README.md` and `docs/environment.md`. One clause here would close it. - **`scripts/tests/env.test.sh` drives no CI (`jwt`) actor**, so the `media` word is pinned by the copy's body hash (`env-check`) rather than by a behaviour case. The suite is upstream's and the copy is byte-identical, so that case belongs upstream, not in this diff. - **Round coverage outside this PR.** Five of the seven vendoring repositories have a media re-vendor PR open (`infra-secrets` #68, `infra-agents` #8, `infra-cockpit` #41, `infra-media` #10, this one); `infra-forge` #115 is a different ticket and `infra-tracker` has none open, so those two copies stay at the old pin after this round. Coordination, not this diff. ## Summary Standards: **1 finding, 0 blockers** (worst: the body's missing task reference). Spec: **0 findings**. No blocker stands, and one advisory is below the count that would move the recommendation.
pit merged commit 89410e4b52 into main 2026-12-02 21:55:28 +00:00
pit deleted branch paperclip/THE-122-env-pin 2026-12-02 21:55:28 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 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/infra-silo!44
No description provided.