The vendored env.sh knows the media actor, at the new pin (THE-122) #70
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wontfix
needs-info
needs-triage
ready-for-agent
ready-for-human
review
merge-ready
review
needs-fix
review
needs-human
review
needs-operator
review
needs-review
review
waiting
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-tracker!70
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "paperclip/THE-122-env-pin"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Brings this repository's vendored
scripts/env.shtoinfra-secrets@ae9c7061…,the revision that classifies
mediaas a CI actor (THE-122). The file isbyte-identical to the origin; one word changes in
classify()and nothing elsedoes.
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
mediatoinfra-secretsand toinfra-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.shequals the same hash ininfra-secrets' copy; the pinis 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 asmedia; 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.
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.
Review started (round 0/5) on
cf34bca863— reading the diff now.olympus/infra-tracker#70· headcf34bca· round 1/5 · verdict mergeThe 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.shmoves to the pininfra-secrets@ae9c7061…so thatclassify()knows themediaCI 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-checkis green; no target in this repository fetches asmedia.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 atREADME.md:49("the interface once, for all five repos"). Census at every repository's liveorigin/main, body hash beside its pin line:dc5a0e58…(self-consistent)5dacf361…(self-consistent)classifyknowstracker|cockpitonly)Seven repositories vendor the file, not five, and the bodies are not identical in every one: cockpit trails by several revisions. The
fivewas 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 aninfra-secretspin" — inREADME.md:49, and the same clause upstream ininfra-secretsforscripts/env.sh:4, sinceAGENTS.md:39-40makes 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-122throughscripts/fetch-paperclip-issue.sh THE-122at 22:41 CET on 2026-12-02 (GET /api/issues/THE-122→ 200, 14134 bytes; statusblocked), then the PR description. The ticket's measured bullet is this change word for word: "The vendoredscripts/env.shactor table istracker|cockpit|forge|secrets|silo;mediais not an actor."scripts/env.sh:166addsmediato the CI branch; the ticket's bullet is the whole requirement, and it is met.classifyrow,git diff … | grep '^[+-][^+-]' | grep -v '^[+-]\s*#'→ 2). The comment rewrites are the upstream body's own, and the file is byte-identical to it.mediajoins the same JWT arm as its five siblings, and its JWT role is its own name — the same shapedocs/store-identity.mdrecords for the sibling atinfra-secretsPR #68.mediatoinfra-secretsand toinfra-media":olympus/infra-secrets#68(head0a8a589) carries this exact file at this exact pin, andolympus/infra-media#10(head04baa36) re-vendors the same 23-line diff and runsACTOR=media mise exec -- make envat.forgejo/workflows/deploy.yml:72.Verified
sed 's/^# vendored from infra-secrets@.*$/# vendored from infra-secrets@/'over the head copy hashes toae9c7061c791…589b5, equal to the recorded pin. The base copy is equally self-consistent atdc5a0e58…, so the body's revert claim ("the check stays green either way") holds.cmpbetween the head copy andinfra-secretsPR #68's head is silent; both aresha256 477f36c62c23…aba8a. That is the body'ssha256sumclaim, reproduced.make env-checkat 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.mise exec -- make checkatcf34bca: rc 0 —env-check,env-test("every assertion holds"), the plan-check and gate and deploy suites,tofu fmt -check, three Stack validations, andSuccess! 5 passed, 0 failed.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.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.media."grep -rniE '\bmedia\b'over the head tree returns two lines, both insidescripts/env.sh(the table row and its comment). NoACTOR=mediaanywhere.scripts/tests/run.sh:mediadeleted from the table → green;mediareclassified as a Regular agent → green. The entry is invisible to this repo's suite because no row in this repo'senv.mapnamesmedia— see below.Could not verify
auth/jwt/role/mediaandci-mediapolicy were not read: a review agent's class is refused bymake env, and the store's own read is the Operator's. What is read live is the sibling page's row (infra-secretsPR #68 head,docs/store-identity.md) and the policy filebao/policies/ci-media.hclpresent in that revision.Named, not charged
mediarow here);infra-secretsPR #68's suite ships nomediacase either, where thesiloprecedent has one. That is that PR's ledger, not this diff's — this file is byte-identical to its origin and never edited here.media, and the pin is a content hash rather than a commit id, so this copy is self-verifying whether or notinfra-secrets#68lands 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.blocked— it is theinfra-mediadeploy-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
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.