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

Merged
pit merged 1 commit from paperclip/THE-122-env-pin into main 2026-12-02 21:50:21 +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: 19 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: 19 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 8s
plan / edge-plan-check (pull_request_target) Successful in 7s
checks / static (pull_request) Successful in 32s
checks / execute (pull_request) Successful in 4m29s
cf34bca863
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 cf34bca863 — reading the diff now.

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

olympus/infra-tracker#70 · head cf34bca · round 1/5 · verdict merge

The dispatch numbered this round 0 and its sign-on line carries that number; this is the thread's first review object, so the ledger counts round 1.

Recommendation: merge

What the change claims

scripts/env.sh moves to the pin infra-secrets@ae9c7061… so that classify() knows the media CI actor (THE-122). One behavioural line changes; the rest of the 23-line diff is the pin line and three comment paragraphs. The body's four claims are: the copy is byte-identical to the origin at that pin; the pin recomputes from the body; make env-check is green; no target in this repository fetches as media.

Standards

Sources read at the head: AGENTS.md §Environment (the vendored file is "never edited here") and §Pull requests, docs/adr/0005-the-environment-comes-from-the-store.md, docs/adr/index.md, Makefile §the environment targets.

ADVISORY — the vendored interface's description asserts identity across every copy, and the census says otherwise. scripts/env.sh:4 (rewritten by this diff) reads "make env's one interface, identical in every repository that vendors it", and the repo's own page repeats a count at README.md:49 ("the interface once, for all five repos"). Census at every repository's live origin/main, body hash beside its pin line:

repository pin line = body hash vs. this head
infra-agents, infra-forge, infra-media, infra-secrets, infra-silo, infra-tracker dc5a0e58… (self-consistent) differs
infra-cockpit 5dacf361… (self-consistent) differs — an older body (classify knows tracker|cockpit only)
workshop carries no copy —

Seven repositories vendor the file, not five, and the bodies are not identical in every one: cockpit trails by several revisions. The five was already false at the base this PR is measured from, so it is advice and not a defect. Clearing change, one clause: state the discipline instead of the identity — "each repository that vendors this carries it at an infra-secrets pin" — in README.md:49, and the same clause upstream in infra-secrets for scripts/env.sh:4, since AGENTS.md:39-40 makes this file upstream's to word and never this repo's to edit. It can ride the next re-pin; it should not cost this change a round.

Spec

Spec sources, read live in this order: paperclip:THE-122 through scripts/fetch-paperclip-issue.sh THE-122 at 22:41 CET on 2026-12-02 (GET /api/issues/THE-122 → 200, 14134 bytes; status blocked), then the PR description. The ticket's measured bullet is this change word for word: "The vendored scripts/env.sh actor table is tracker|cockpit|forge|secrets|silo; media is not an actor."

  • Missing or partial: none. scripts/env.sh:166 adds media to the CI branch; the ticket's bullet is the whole requirement, and it is met.
  • Scope creep: none. The non-comment diff is exactly two lines (the old and new classify row, git diff … | grep '^[+-][^+-]' | grep -v '^[+-]\s*#' → 2). The comment rewrites are the upstream body's own, and the file is byte-identical to it.
  • Implemented wrongly: none seen. media joins the same JWT arm as its five siblings, and its JWT role is its own name — the same shape docs/store-identity.md records for the sibling at infra-secrets PR #68.
  • The cross-repo sentence holds. "This is the same round that adds media to infra-secrets and to infra-media": olympus/infra-secrets#68 (head 0a8a589) carries this exact file at this exact pin, and olympus/infra-media#10 (head 04baa36) re-vendors the same 23-line diff and runs ACTOR=media mise exec -- make env at .forgejo/workflows/deploy.yml:72.

Verified

  • The pin. sed 's/^# vendored from infra-secrets@.*$/# vendored from infra-secrets@/' over the head copy hashes to ae9c7061c791…589b5, equal to the recorded pin. The base copy is equally self-consistent at dc5a0e58…, so the body's revert claim ("the check stays green either way") holds.
  • Byte-identity. cmp between the head copy and infra-secrets PR #68's head is silent; both are sha256 477f36c62c23…aba8a. That is the body's sha256sum claim, reproduced.
  • make env-check at the head: rc 0, ok scripts/env.sh matches infra-secrets@ae9c7061…, ok env.map: 19 names, all declared in .env.example — the body's evidence line, word for word.
  • The floor. mise exec -- make check at cf34bca: rc 0 — env-check, env-test ("every assertion holds"), the plan-check and gate and deploy suites, tofu fmt -check, three Stack validations, and Success! 5 passed, 0 failed.
  • CI at the reviewed head. All four required contexts green on cf34bca: checks / static (pull_request) 32s, checks / execute (pull_request) 4m29s, plan / guest-plan-check (pull_request_target) 8s, plan / edge-plan-check (pull_request_target) 7s.
  • Charter — the four things a re-vendor of a script a required job runs is measured on. Workflow file: unchanged (the diff is one file, scripts/env.sh). Required context names: unchanged, read from the branch protection (checks / static, checks / execute, plan / guest-plan-check, plan / edge-plan-check). Job names: unchanged (static, execute, guest-plan-check, edge-plan-check). The target each job runs: unchanged — make check → env-check → ./scripts/env.sh check (Makefile:303, Makefile:470), make guest-plan-check (Makefile:372), make edge-plan-check (Makefile:419). All four in place, so this is a content change and not a gate change; no card was opened.
  • "No target in this repository fetches as media." grep -rniE '\bmedia\b' over the head tree returns two lines, both inside scripts/env.sh (the table row and its comment). No ACTOR=media anywhere.
  • The suite's reach over the new row. Two re-pinned mutants, each run through scripts/tests/run.sh: media deleted from the table → green; media reclassified as a Regular agent → green. The entry is invisible to this repo's suite because no row in this repo's env.map names media — see below.

Could not verify

  • The live store's auth/jwt/role/media and ci-media policy were not read: a review agent's class is refused by make env, and the store's own read is the Operator's. What is read live is the sibling page's row (infra-secrets PR #68 head, docs/store-identity.md) and the policy file bao/policies/ci-media.hcl present in that revision.

Named, not charged

  • The new table entry is pinned by no test, in either repository. This repo's suite cannot see it (no media row here); infra-secrets PR #68's suite ships no media case either, where the silo precedent has one. That is that PR's ledger, not this diff's — this file is byte-identical to its origin and never edited here.
  • Merge order. No consumer here fetches as media, and the pin is a content hash rather than a commit id, so this copy is self-verifying whether or not infra-secrets#68 lands first. infra-media#10's own body carries the ordering that matters for the round; it does not bind this repository.
  • docs/adr/0005:26 ("the interface five repos share") is inside an accepted record and is judged as it landed; a record's edit is a decision of the board's, not a clearing change to ask for here.
  • THE-122 stays blocked — it is the infra-media deploy-on-merge work, of which this is one prerequisite. Per this dispatch, the change's class is not a reason to withhold the state; the findings are.

Summary

axis findings worst
Standards 1 — 0 BLOCKER, 1 ADVISORY the vendored interface's identity/count prose against a seven-copy census (advice; no behaviour)
Spec 0 —

The recommendation is merge: the tree does what its body claims, the pin and the sibling copies agree to the byte, the floor and all four required contexts are green, and one advisory sits well below the three-advisory trip. The state label moves to review/merge-ready.

<!-- minos review-loop: repo=olympus/infra-tracker pr=70 head=cf34bca863e01db40cd16e63d3a120875c9899d3 round=1/5 axes=standards,spec --> `olympus/infra-tracker#70` · head `cf34bca` · round **1/5** · verdict **merge** The dispatch numbered this round 0 and its sign-on line carries that number; this is the thread's first review object, so the ledger counts round 1. Recommendation: merge ## What the change claims `scripts/env.sh` moves to the pin `infra-secrets@ae9c7061…` so that `classify()` knows the `media` CI actor (THE-122). One behavioural line changes; the rest of the 23-line diff is the pin line and three comment paragraphs. The body's four claims are: the copy is byte-identical to the origin at that pin; the pin recomputes from the body; `make env-check` is green; no target in this repository fetches as `media`. ## Standards Sources read at the head: `AGENTS.md` §Environment (the vendored file is "never edited here") and §Pull requests, `docs/adr/0005-the-environment-comes-from-the-store.md`, `docs/adr/index.md`, `Makefile` §the environment targets. **ADVISORY — the vendored interface's description asserts identity across every copy, and the census says otherwise.** `scripts/env.sh:4` (rewritten by this diff) reads "make env's one interface, identical in every repository that vendors it", and the repo's own page repeats a count at `README.md:49` ("the interface once, for all five repos"). Census at every repository's live `origin/main`, body hash beside its pin line: | repository | pin line = body hash | vs. this head | |---|---|---| | infra-agents, infra-forge, infra-media, infra-secrets, infra-silo, infra-tracker | `dc5a0e58…` (self-consistent) | differs | | infra-cockpit | `5dacf361…` (self-consistent) | differs — an **older** body (`classify` knows `tracker\|cockpit` only) | | workshop | carries no copy | — | Seven repositories vendor the file, not five, and the bodies are not identical in every one: cockpit trails by several revisions. The `five` was already false at the base this PR is measured from, so it is advice and not a defect. Clearing change, one clause: state the discipline instead of the identity — "each repository that vendors this carries it at an `infra-secrets` pin" — in `README.md:49`, and the same clause upstream in `infra-secrets` for `scripts/env.sh:4`, since `AGENTS.md:39-40` makes this file upstream's to word and never this repo's to edit. It can ride the next re-pin; it should not cost this change a round. ## Spec Spec sources, read live in this order: **`paperclip:THE-122`** through `scripts/fetch-paperclip-issue.sh THE-122` at 22:41 CET on 2026-12-02 (`GET /api/issues/THE-122` → 200, 14134 bytes; status `blocked`), then the PR description. The ticket's measured bullet is this change word for word: "The vendored `scripts/env.sh` actor table is `tracker|cockpit|forge|secrets|silo`; `media` is not an actor." - **Missing or partial: none.** `scripts/env.sh:166` adds `media` to the CI branch; the ticket's bullet is the whole requirement, and it is met. - **Scope creep: none.** The non-comment diff is exactly two lines (the old and new `classify` row, `git diff … | grep '^[+-][^+-]' | grep -v '^[+-]\s*#'` → 2). The comment rewrites are the upstream body's own, and the file is byte-identical to it. - **Implemented wrongly: none seen.** `media` joins the same JWT arm as its five siblings, and its JWT role is its own name — the same shape `docs/store-identity.md` records for the sibling at `infra-secrets` PR #68. - **The cross-repo sentence holds.** "This is the same round that adds `media` to `infra-secrets` and to `infra-media`": `olympus/infra-secrets#68` (head `0a8a589`) carries this exact file at this exact pin, and `olympus/infra-media#10` (head `04baa36`) re-vendors the same 23-line diff and runs `ACTOR=media mise exec -- make env` at `.forgejo/workflows/deploy.yml:72`. ## Verified - **The pin.** `sed 's/^# vendored from infra-secrets@.*$/# vendored from infra-secrets@/'` over the head copy hashes to `ae9c7061c791…589b5`, equal to the recorded pin. The base copy is equally self-consistent at `dc5a0e58…`, so the body's revert claim ("the check stays green either way") holds. - **Byte-identity.** `cmp` between the head copy and `infra-secrets` PR #68's head is silent; both are `sha256 477f36c62c23…aba8a`. That is the body's `sha256sum` claim, reproduced. - **`make env-check`** at the head: rc 0, `ok scripts/env.sh matches infra-secrets@ae9c7061…`, `ok env.map: 19 names, all declared in .env.example` — the body's evidence line, word for word. - **The floor.** `mise exec -- make check` at `cf34bca`: rc 0 — `env-check`, `env-test` ("every assertion holds"), the plan-check and gate and deploy suites, `tofu fmt -check`, three Stack validations, and `Success! 5 passed, 0 failed.` - **CI at the reviewed head.** All four required contexts green on `cf34bca`: `checks / static (pull_request)` 32s, `checks / execute (pull_request)` 4m29s, `plan / guest-plan-check (pull_request_target)` 8s, `plan / edge-plan-check (pull_request_target)` 7s. - **Charter — the four things a re-vendor of a script a required job runs is measured on.** Workflow file: unchanged (the diff is one file, `scripts/env.sh`). Required context names: unchanged, read from the branch protection (`checks / static`, `checks / execute`, `plan / guest-plan-check`, `plan / edge-plan-check`). Job names: unchanged (`static`, `execute`, `guest-plan-check`, `edge-plan-check`). The target each job runs: unchanged — `make check` → `env-check` → `./scripts/env.sh check` (`Makefile:303`, `Makefile:470`), `make guest-plan-check` (`Makefile:372`), `make edge-plan-check` (`Makefile:419`). All four in place, so this is a content change and not a gate change; no card was opened. - **"No target in this repository fetches as `media`."** `grep -rniE '\bmedia\b'` over the head tree returns two lines, both inside `scripts/env.sh` (the table row and its comment). No `ACTOR=media` anywhere. - **The suite's reach over the new row.** Two re-pinned mutants, each run through `scripts/tests/run.sh`: `media` deleted from the table → green; `media` reclassified as a Regular agent → green. The entry is invisible to this repo's suite because no row in this repo's `env.map` names `media` — see below. ## Could not verify - The live store's `auth/jwt/role/media` and `ci-media` policy were not read: a review agent's class is refused by `make env`, and the store's own read is the Operator's. What is read live is the sibling page's row (`infra-secrets` PR #68 head, `docs/store-identity.md`) and the policy file `bao/policies/ci-media.hcl` present in that revision. ## Named, not charged - **The new table entry is pinned by no test, in either repository.** This repo's suite cannot see it (no `media` row here); `infra-secrets` PR #68's suite ships no `media` case either, where the `silo` precedent has one. That is that PR's ledger, not this diff's — this file is byte-identical to its origin and never edited here. - **Merge order.** No consumer here fetches as `media`, and the pin is a content hash rather than a commit id, so this copy is self-verifying whether or not `infra-secrets#68` lands first. `infra-media#10`'s own body carries the ordering that matters for the round; it does not bind this repository. - **`docs/adr/0005:26`** ("the interface five repos share") is inside an accepted record and is judged as it landed; a record's edit is a decision of the board's, not a clearing change to ask for here. - **THE-122 stays `blocked`** — it is the `infra-media` deploy-on-merge work, of which this is one prerequisite. Per this dispatch, the change's class is not a reason to withhold the state; the findings are. ## Summary | axis | findings | worst | |---|---|---| | Standards | 1 — 0 BLOCKER, 1 ADVISORY | the vendored interface's identity/count prose against a seven-copy census (advice; no behaviour) | | Spec | 0 | — | The recommendation is **merge**: the tree does what its body claims, the pin and the sibling copies agree to the byte, the floor and all four required contexts are green, and one advisory sits well below the three-advisory trip. The state label moves to `review/merge-ready`.
pit merged commit 810d6481a8 into main 2026-12-02 21:50:21 +00:00
pit deleted branch paperclip/THE-122-env-pin 2026-12-02 21:50:21 +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-tracker!70
No description provided.