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

Merged
pit merged 1 commit from paperclip/THE-122-env-pin into main 2026-12-02 22:00:41 +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: 18 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: 18 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 / hermes-guest-plan-check (pull_request_target) Successful in 24s
plan / paperclip-guest-plan-check (pull_request_target) Successful in 25s
pr-checks / check (pull_request) Successful in 55s
c1d7bf8543
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 c1d7bf8543 — reading the diff now.

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

olympus/infra-agents#8 · head c1d7bf8543862d510656da8a91ea45ec75e24712 · round 1/5 · axes: standards, spec

The dispatch numbered this round 0/5, and that number stays on the sign-on comment because the comment is posted before the thread is read. The review list is empty, so this is the thread's first review and the header counts it as 1/5.

Recommendation: merge

Spec source: Paperclip THE-122 (fetched live 2026-12-02T21:56Z, status blocked). Its measured-gap list names this defect verbatim: "The vendored scripts/env.sh actor table is tracker|cockpit|forge|secrets|silo; media is not an actor." This change is the infra-agents half of the round whose other halves are olympus/infra-secrets#68 (head 0a8a589a) and infra-media's deploy change.

Spec

  • ADVISORY — the body understates its own diff. scripts/env.sh:2. The body says "one word changes in classify() and nothing else does", but the diff is 12 added / 11 removed lines: the pin line (scripts/env.sh:2) and two comment blocks (scripts/env.sh:4, :12, and :386-388) move as well. The behavioural claim is true — the only behaviour change is media joining the CI case at scripts/env.sh:166 — so this is the sentence, not the change. Smallest clearing change: one clause in the body, saying the pin line and two comments move verbatim from the origin.

Everything else the spec asks of this repository is present, and the probes under Verified show it: media is admitted as a CI actor at head and refused at base.

Standards

Standards read at the head worktree: AGENTS.md (the rules), README.md:6-12, env.map:1-27 (the check's contract), docs/, and the org records at olympus/workshop docs/adr, read from the forge at main (the 0002 approval clause as amended by 0013, plus 0011 and 0015).

  • scripts/env.sh — passed. AGENTS.md:26-27 requires the file to be vendored verbatim and never edited, with a changed byte a red make env-check. It is byte-identical to the origin: cmp against infra-secrets#68 head 0a8a589a:scripts/env.sh is identical, both sha256 477f36c6…, and the pin recomputes by the script's own rule to the value it records. This is the only sanctioned way to move the file.
  • No baseline smell applies to a 23-line verbatim copy. The origin's two listings of the actor table (classify() at :166 and its prose twin at :386-388) are both updated here, which is the right shape for that duplication.

No blocker and no advisory on this axis.

Named, not charged

  • scripts/env.sh:4 and :12 now say the interface is "identical in every repository that vendors it", and three of the six other vendoring repositories do not currently hold that body: infra-cockpit is on 5dacf361…, and infra-secrets and infra-media are still on dc5a0e58… (measured at each origin/main, 2026-12-02). The sentence is the origin's, and AGENTS.md:26-27 forbids this repository editing it — it belongs to infra-secrets#68, not to this review.
  • env.map:33 still says "the five sibling repositories". That count was already stale at the base revision — six siblings vendored the interface at 928fe6e, infra-media among them — and the line is not in this diff.
  • env.map:100 documents that agents is not an actor classify() knows. That deferral stands after this change, and infra-secrets' own docs/env-fetch.md names it as another ticket's.
  • Merge order: the pin at scripts/env.sh:2 names a body infra-secrets publishes only when #68 merges; until then that repository's main still carries dc5a0e58…. Nothing here breaks on either order — the pin is a self-hash and env-check compares the copy to itself — but a reader looking for ae9c7061 on infra-secrets main today will not find it.

Verified

Claim How
Head is the dispatched revision git ls-remote origin refs/pull/8/head = c1d7bf85…, re-read after the probe waves
mise exec -- make check green rc 0 at head: env-check, env tests, service tests, plan tests, plan-check tests (AGENTS.md:36 requires the mise wrapper)
Pin and map scripts/env.sh check → matches infra-secrets@ae9c7061…, env.map: 18 names, all declared in .env.example
The pin is that body's hash the script's own pin_body rule (line 79) recomputes ae9c7061…, equal to the recorded line
Byte-identical to the origin cmp vs infra-secrets#68 head 0a8a589a:scripts/env.sh → identical, both 477f36c6…
The guard can fail one line appended → env-check rc 1 naming both hashes; restored from a saved copy → rc 0, git status --porcelain empty, blob equal to HEAD:scripts/env.sh
media is now an actor ACTOR=media scripts/env.sh fetch at base 928fe6e → "media is not an actor in the store's identity table"; at head → passes classify() and refuses only later (no map row serves it, no age class). Control ACTOR=pit behaves identically at both revisions
Nothing fetches as media here no ACTOR=media anywhere in the tree; env.map has no row serving media; the head run writes nothing
media is a real store actor infra-secrets#68 adds the media JWT role (ci-media, bound to olympus/infra-media refs/heads/main, push) — the openbao_jwt_roles the comment cites
Gate unchanged (charter, the four) workflow file .forgejo/workflows/pr-checks.yml is not in the diff; required context pr-checks / check (pull_request) read live from branch protection; job name check; target mise exec -- make check. All four in place, so this is a content change, not a gate change
CI at head all three contexts success: pr-checks / check (pull_request), plan / hermes-guest-plan-check, plan / paperclip-guest-plan-check
No secret in the diff 23 lines: two comments, one case alternative, one pin line

Could not verify

  • A live media JWT role in the store: it lands when infra-secrets#68 merges and its service layer runs. The sibling is open and review/waiting, which the change states and does not claim otherwise.
  • infra-media's deploy workflow and Semaphore project: the other repositories' halves of THE-122.

Counts: standards 0 findings, spec 1 advisory, 0 blockers. Worst finding: standards — none; spec — the body's summary overstates how little moved (ADVISORY, scripts/env.sh:2). One advisory is under the three that would trip the volume rule, so the recommendation is merge.

<!-- minos review-loop: repo=olympus/infra-agents pr=8 head=c1d7bf8543862d510656da8a91ea45ec75e24712 round=1/5 axes=standards,spec --> **olympus/infra-agents#8** · head `c1d7bf8543862d510656da8a91ea45ec75e24712` · round **1/5** · axes: standards, spec The dispatch numbered this round 0/5, and that number stays on the sign-on comment because the comment is posted before the thread is read. The review list is empty, so this is the thread's first review and the header counts it as 1/5. Recommendation: merge **Spec source:** Paperclip `THE-122` (fetched live 2026-12-02T21:56Z, status `blocked`). Its measured-gap list names this defect verbatim: *"The vendored `scripts/env.sh` actor table is `tracker|cockpit|forge|secrets|silo`; `media` is not an actor."* This change is the infra-agents half of the round whose other halves are `olympus/infra-secrets#68` (head `0a8a589a`) and infra-media's deploy change. ## Spec - **ADVISORY — the body understates its own diff.** `scripts/env.sh:2`. The body says *"one word changes in `classify()` and nothing else does"*, but the diff is 12 added / 11 removed lines: the pin line (`scripts/env.sh:2`) and two comment blocks (`scripts/env.sh:4`, `:12`, and `:386-388`) move as well. The behavioural claim is true — the only behaviour change is `media` joining the CI case at `scripts/env.sh:166` — so this is the sentence, not the change. Smallest clearing change: one clause in the body, saying the pin line and two comments move verbatim from the origin. Everything else the spec asks of this repository is present, and the probes under *Verified* show it: `media` is admitted as a CI actor at head and refused at base. ## Standards Standards read at the head worktree: `AGENTS.md` (the rules), `README.md:6-12`, `env.map:1-27` (the check's contract), `docs/`, and the org records at `olympus/workshop` `docs/adr`, read from the forge at `main` (the 0002 approval clause as amended by 0013, plus 0011 and 0015). - **`scripts/env.sh` — passed.** `AGENTS.md:26-27` requires the file to be vendored verbatim and never edited, with a changed byte a red `make env-check`. It is byte-identical to the origin: `cmp` against `infra-secrets#68` head `0a8a589a:scripts/env.sh` is identical, both `sha256 477f36c6…`, and the pin recomputes by the script's own rule to the value it records. This is the only sanctioned way to move the file. - No baseline smell applies to a 23-line verbatim copy. The origin's two listings of the actor table (`classify()` at `:166` and its prose twin at `:386-388`) are both updated here, which is the right shape for that duplication. No blocker and no advisory on this axis. ## Named, not charged - `scripts/env.sh:4` and `:12` now say the interface is *"identical in every repository that vendors it"*, and three of the six other vendoring repositories do not currently hold that body: `infra-cockpit` is on `5dacf361…`, and `infra-secrets` and `infra-media` are still on `dc5a0e58…` (measured at each `origin/main`, 2026-12-02). The sentence is the origin's, and `AGENTS.md:26-27` forbids this repository editing it — it belongs to `infra-secrets#68`, not to this review. - `env.map:33` still says *"the five sibling repositories"*. That count was already stale at the base revision — six siblings vendored the interface at `928fe6e`, `infra-media` among them — and the line is not in this diff. - `env.map:100` documents that `agents` is not an actor `classify()` knows. That deferral stands after this change, and `infra-secrets`' own `docs/env-fetch.md` names it as another ticket's. - **Merge order:** the pin at `scripts/env.sh:2` names a body `infra-secrets` publishes only when `#68` merges; until then that repository's `main` still carries `dc5a0e58…`. Nothing here breaks on either order — the pin is a self-hash and `env-check` compares the copy to itself — but a reader looking for `ae9c7061` on `infra-secrets` `main` today will not find it. ## Verified | Claim | How | | --- | --- | | Head is the dispatched revision | `git ls-remote origin refs/pull/8/head` = `c1d7bf85…`, re-read after the probe waves | | `mise exec -- make check` green | rc 0 at head: env-check, env tests, service tests, plan tests, plan-check tests (`AGENTS.md:36` requires the mise wrapper) | | Pin and map | `scripts/env.sh check` → `matches infra-secrets@ae9c7061…`, `env.map: 18 names, all declared in .env.example` | | The pin is that body's hash | the script's own `pin_body` rule (line 79) recomputes `ae9c7061…`, equal to the recorded line | | Byte-identical to the origin | `cmp` vs `infra-secrets#68` head `0a8a589a:scripts/env.sh` → identical, both `477f36c6…` | | The guard can fail | one line appended → `env-check` rc 1 naming both hashes; restored from a saved copy → rc 0, `git status --porcelain` empty, blob equal to `HEAD:scripts/env.sh` | | `media` is now an actor | `ACTOR=media scripts/env.sh fetch` at base `928fe6e` → *"media is not an actor in the store's identity table"*; at head → passes `classify()` and refuses only later (no map row serves it, no age class). Control `ACTOR=pit` behaves identically at both revisions | | Nothing fetches as `media` here | no `ACTOR=media` anywhere in the tree; `env.map` has no row serving `media`; the head run writes nothing | | `media` is a real store actor | `infra-secrets#68` adds the `media` JWT role (`ci-media`, bound to `olympus/infra-media` `refs/heads/main`, `push`) — the `openbao_jwt_roles` the comment cites | | Gate unchanged (charter, the four) | workflow file `.forgejo/workflows/pr-checks.yml` is not in the diff; required context `pr-checks / check (pull_request)` read live from branch protection; job name `check`; target `mise exec -- make check`. All four in place, so this is a content change, not a gate change | | CI at head | all three contexts `success`: `pr-checks / check (pull_request)`, `plan / hermes-guest-plan-check`, `plan / paperclip-guest-plan-check` | | No secret in the diff | 23 lines: two comments, one case alternative, one pin line | ## Could not verify - A live `media` JWT role in the store: it lands when `infra-secrets#68` merges and its service layer runs. The sibling is open and `review/waiting`, which the change states and does not claim otherwise. - infra-media's deploy workflow and Semaphore project: the other repositories' halves of THE-122. **Counts:** standards 0 findings, spec 1 advisory, 0 blockers. Worst finding: standards — none; spec — the body's summary overstates how little moved (ADVISORY, `scripts/env.sh:2`). One advisory is under the three that would trip the volume rule, so the recommendation is **merge**.
pit merged commit 56632e3bfc into main 2026-12-02 22:00:41 +00:00
pit deleted branch paperclip/THE-122-env-pin 2026-12-02 22:00:41 +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-agents!8
No description provided.