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

Merged
pit merged 1 commit from paperclip/THE-122-env-pin into main 2026-12-02 21:50:04 +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: 23 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: 23 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 / guest-plan-check (pull_request_target) Successful in 24s
pr-checks / fmt-check (pull_request) Successful in 22s
pr-checks / env-check (pull_request) Successful in 23s
plan / edge-plan-check (pull_request_target) Successful in 32s
plan / runner-guest-plan-check (pull_request_target) Successful in 27s
pr-checks / validate (pull_request) Successful in 27s
pr-checks / syntax-check (pull_request) Successful in 28s
pr-checks / docs-check (pull_request) Successful in 37s
2966afc1c5
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 2966afc1c5 — reading the diff now.

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

Reviewed: olympus/infra-forge #114 at 2966afc1c5574270e2be93f2ef55e691a03a85ac, round 1/5. The dispatch numbered this round "0/5"; the header carries the thread's own count — its first review, so 1. One file: scripts/env.sh, +12/−11.

Recommendation: merge

Standards

Sources read at the head worktree: AGENTS.md, the repo's docs/adr/ and olympus/workshop docs/adr/ (read at main), docs/actions/runner-and-workflows.md, and the interface page infra-secrets docs/env-fetch.md at the sibling's head.

  • Vendored-copy rule — met. scripts/env.sh:2 records ae9c7061…; the body with that line blanked hashes to the same value (scripts/env.sh:78-79 is the check that recomputes it), and the whole file is byte-identical (sha256 477f36c6…) to olympus/infra-secrets #68's scripts/env.sh. mise exec -- make env-check prints ok scripts/env.sh matches infra-secrets@ae9c7061….
  • The check can fail. Dropping |media from classify() at scripts/env.sh:166 reds env-check with the recorded-pin / body-hash mismatch; the tree was restored and re-hashed to the head blob afterwards.
  • Re-vendor gate boundary — the four did not move. scripts/env.sh is run by the required pr-checks / env-check (pull_request) job (make check → env-check, Makefile:525). The workflow file (the .forgejo/workflows/* diff is empty), the required context names, the job names, and each job's Target are identical base→head: this is a content change inside the vendored script, not a gate change.
  • AGENTS.md §Secrets / §State / §Privacy — met. No credential, no plaintext secret, no state write in the diff.
  • Smell baseline. One arm added to an existing case; no duplication, feature envy, primitive obsession or new abstraction.

No Standards findings.

Spec

Spec sources, in the order read: the PR body (it names THE-122); paperclip:THE-122 read live (GET /api/issues/THE-122 → 200), whose comment lists infra-forge 114 among the pin-bump companions; then infra-secrets #68 (the origin) and infra-media #10, read live.

  • THE-122 names the gap: "The vendored scripts/env.sh actor table is tracker|cockpit|forge|secrets|silo; media is not an actor." Closed at scripts/env.sh:166.
  • The PR's declared share — "byte-identical to the origin; one word changes in classify() and nothing else does" — matches the diff: the only non-comment line that changes is that arm; the other hunks are the pin line and the origin's own comment rewording, which carry no behaviour.
  • Nothing in the ticket is missing from this repository: the remaining items (store policy and JWT role, the media deploy workflow, the doc carry-overs) belong to infra-secrets #68, infra-media #10, infra-cockpit #41 and workshop #64.
  • No scope creep: the diff touches one file.

No Spec findings.

What I verified

probe result
head pinned git ls-remote origin refs/pull/114/head = 2966afc1…, unchanged immediately before this post
make env-check at head rc 0; pin match; env.map: 23 names, all declared in .env.example
make env-check at base d53823f rc 0 — the PR's revert claim holds: the check stays green either way
make check at head rc 0, the whole credential-free floor
CI at head runs 235 (plan ×3) and 236 (pr-checks ×5), every context success
byte-identity cmp and sha256 477f36c6… equal to infra-secrets #68 head
mutation the media arm removed from classify() → env-check red on the pin, then the tree restored

Named, not charged

  • Makefile:521 ("fixed for all five repos") and docs/actions/runner-and-workflows.md:68 ("in any of the five repos") already undercount the copies that carry scripts/env.sh at origin/main — seven do, infra-media among them. Pre-existing, on lines the diff does not touch.
  • infra-agents still carries the dc5a0e58 copy and is not among the pin-bump companions named on THE-122. That bears on the origin's prose claim at scripts/env.sh:4 ("identical in every repository that vendors it") and on the board's scope, not on this copy: a vendored file cannot diverge to fix it.

Summary

Standards: 0 findings. Spec: 0 findings. Nothing blocks; the ledger has no blocker and no advisory, so the recommendation is merge.

<!-- minos review-loop: repo=olympus/infra-forge pr=114 head=2966afc1c5574270e2be93f2ef55e691a03a85ac round=1/5 axes=standards,spec --> **Reviewed:** `olympus/infra-forge` #114 at `2966afc1c5574270e2be93f2ef55e691a03a85ac`, round 1/5. The dispatch numbered this round "0/5"; the header carries the thread's own count — its first review, so 1. One file: `scripts/env.sh`, +12/−11. Recommendation: merge ## Standards Sources read at the head worktree: `AGENTS.md`, the repo's `docs/adr/` and `olympus/workshop docs/adr/` (read at `main`), `docs/actions/runner-and-workflows.md`, and the interface page `infra-secrets docs/env-fetch.md` at the sibling's head. - **Vendored-copy rule — met.** `scripts/env.sh:2` records `ae9c7061…`; the body with that line blanked hashes to the same value (`scripts/env.sh:78-79` is the check that recomputes it), and the whole file is byte-identical (sha256 `477f36c6…`) to `olympus/infra-secrets` #68's `scripts/env.sh`. `mise exec -- make env-check` prints `ok scripts/env.sh matches infra-secrets@ae9c7061…`. - **The check can fail.** Dropping `|media` from `classify()` at `scripts/env.sh:166` reds `env-check` with the recorded-pin / body-hash mismatch; the tree was restored and re-hashed to the head blob afterwards. - **Re-vendor gate boundary — the four did not move.** `scripts/env.sh` is run by the required `pr-checks / env-check (pull_request)` job (`make check` → `env-check`, `Makefile:525`). The workflow file (the `.forgejo/workflows/*` diff is empty), the required context names, the job names, and each job's Target are identical base→head: this is a content change inside the vendored script, not a gate change. - **`AGENTS.md` §Secrets / §State / §Privacy — met.** No credential, no plaintext secret, no state write in the diff. - **Smell baseline.** One arm added to an existing `case`; no duplication, feature envy, primitive obsession or new abstraction. No Standards findings. ## Spec Spec sources, in the order read: the PR body (it names THE-122); `paperclip:THE-122` read live (`GET /api/issues/THE-122` → 200), whose comment lists `infra-forge 114` among the pin-bump companions; then `infra-secrets` #68 (the origin) and `infra-media` #10, read live. - THE-122 names the gap: *"The vendored `scripts/env.sh` actor table is `tracker|cockpit|forge|secrets|silo`; `media` is not an actor."* Closed at `scripts/env.sh:166`. - The PR's declared share — *"byte-identical to the origin; one word changes in `classify()` and nothing else does"* — matches the diff: the only non-comment line that changes is that arm; the other hunks are the pin line and the origin's own comment rewording, which carry no behaviour. - Nothing in the ticket is missing **from this repository**: the remaining items (store policy and JWT role, the media deploy workflow, the doc carry-overs) belong to `infra-secrets` #68, `infra-media` #10, `infra-cockpit` #41 and `workshop` #64. - No scope creep: the diff touches one file. No Spec findings. ## What I verified | probe | result | |---|---| | head pinned | `git ls-remote origin refs/pull/114/head` = `2966afc1…`, unchanged immediately before this post | | `make env-check` at head | rc 0; pin match; `env.map: 23 names, all declared in .env.example` | | `make env-check` at base `d53823f` | rc 0 — the PR's revert claim holds: the check stays green either way | | `make check` at head | rc 0, the whole credential-free floor | | CI at head | runs 235 (`plan` ×3) and 236 (`pr-checks` ×5), every context `success` | | byte-identity | `cmp` and sha256 `477f36c6…` equal to `infra-secrets` #68 head | | mutation | the `media` arm removed from `classify()` → `env-check` red on the pin, then the tree restored | ## Named, not charged - `Makefile:521` ("fixed for all five repos") and `docs/actions/runner-and-workflows.md:68` ("in any of the five repos") already undercount the copies that carry `scripts/env.sh` at `origin/main` — seven do, `infra-media` among them. Pre-existing, on lines the diff does not touch. - `infra-agents` still carries the `dc5a0e58` copy and is not among the pin-bump companions named on THE-122. That bears on the origin's prose claim at `scripts/env.sh:4` ("identical in every repository that vendors it") and on the board's scope, not on this copy: a vendored file cannot diverge to fix it. ## Summary **Standards:** 0 findings. **Spec:** 0 findings. Nothing blocks; the ledger has no blocker and no advisory, so the recommendation is **merge**.
pit merged commit 59d427ca98 into main 2026-12-02 21:50:04 +00:00
pit deleted branch paperclip/THE-122-env-pin 2026-12-02 21:50:04 +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-forge!114
No description provided.