oficina / equipo Public

hosted: fill the upstream release pins

release-pins.json: HostAMI eu-west-1 ami-045c7b3c3ad6e4cc1 (the AL2023
arm64 SSM parameter, read once in kass) and BaseImageVersion 4 (the
newest x86_64 al2023-1 version both slice 1 live runs listed).

image/pins.json: git-core, tar, gzip, shadow-utils and their closure
over the al2023-minimal base (23 RPMs from AL2023 2023.12.20261102,
each checked against the repository digest and Amazon's signature),
GitSHA256 of /usr/bin/git from git-core, and resolver 169.254.169.253
(Task 34 confirms). Bubblewrap and codex keep no URL: no upstream URL
serves the pinned member bytes, so a release passes them with
--image-inputs. TestAssembleThenBuildFromBundle now checks that gap.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev ada99ffd008b7693e2b00e17f6d1a7207d0685ef parent 8ed317b
4 files changed, +138 −6
  • cmd/equipo-hosted-image/main_test.go +9 −1
  • docs/superpowers/plans/HOSTED-SLICE2-PROGRESS.md +6 −0
  • infra/hosted/image/pins.json +121 −3
  • infra/hosted/release-pins.json +2 −2

CI failed — run details

CI log
=== prepare ===
ci-box: machine: aarch64, 32 CPUs, 62 GiB memory, kernel 7.0.0-1017-aws
ci-box: python 3.12.3; Docker version 29.1.3, build 29.1.3-0ubuntu3~24.04.2
ci-box: user namespaces allowed: 233151
ci-box: cgroup: cgroup2fs
ci-box: disk /home/ci/work/repos/oficina__equipo/wt/hosted-runners-2: Type  Size Avail | ext4   96G   84G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   84G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 2.1s
ci-box: codex: fetched and verified in 4.8s
ci-box: codex-code-mode-host: fetched and verified in 1.7s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.3s
ci-box: tofu: fetched and verified in 1.8s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.8s
ci-box: pi: installed and verified in 7.5s
ci-box: opencode: installed and verified in 2.3s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.9s
ci-box: clone deepened in 6.4s
ci-box: file times set from content: 4045 files, 303 directories
ci-box: ready in 21.5s
=== copy ===
EQUIPO_RELEASE_COPY_CHECK=1 CGO_ENABLED=0 go test ./internal/equipotest -run '^TestReleaseCopyReviewed$' -count=1
--- FAIL: TestReleaseCopyReviewed (0.09s)
    task_pages_test.go:236: COPY REVIEW REQUIRED: copy-status.py verify found copy pending review or stale bookkeeping
FAIL
rastrillo-budget/v1 ran 89ms
FAIL	amadan.net/oficina/equipo/internal/equipotest	0.240s
FAIL
make: *** [Makefile:322: copy-release-check] Error 1

amadan: step copy failed: exit status 2

amadan: job failed at step copy — its output is above, not at the tail of this log
diff --git a/cmd/equipo-hosted-image/main_test.go b/cmd/equipo-hosted-image/main_test.go
index 8dbf3f0a..9a804f66 100644
--- a/cmd/equipo-hosted-image/main_test.go
+++ b/cmd/equipo-hosted-image/main_test.go
@@ -345,9 +345,17 @@ func TestAssembleThenBuildFromBundle(t *testing.T) {
t.Fatal("assemble or build resolved credentials")
}
+ // The checked-in pins.json names no URL for bubblewrap or codex (no
+ // upstream URL serves the pinned binaries themselves): a release
+ // supplies them with -have, so without it they refuse as incomplete.
args[4] = "../../infra/hosted/image/pins.json"
args[16] = filepath.Join(dir, "other.tar")
- if code, _, stderr := runCmd(t, noConnect(t), args...); code == 0 || !strings.Contains(stderr, "incomplete") {
+ if args[9] != "-have" {
+ t.Fatalf("args[9] = %q, want -have", args[9])
+ }
+ args = append(args[:9], args[11:]...)
+ if code, _, stderr := runCmd(t, noConnect(t), args...); code == 0 || !strings.Contains(stderr, "incomplete") ||
+ !strings.Contains(stderr, "bubblewrap has no URL") || !strings.Contains(stderr, "codex has no URL") {
t.Fatalf("assemble with the checked-in pins = %d %s; want the pins refused as incomplete", code, stderr)
}
}
diff --git a/docs/superpowers/plans/HOSTED-SLICE2-PROGRESS.md b/docs/superpowers/plans/HOSTED-SLICE2-PROGRESS.md
index 3622ee97..c0728a72 100644
--- a/docs/superpowers/plans/HOSTED-SLICE2-PROGRESS.md
+++ b/docs/superpowers/plans/HOSTED-SLICE2-PROGRESS.md
@@ -3202,3 +3202,9 @@ The controller's local `make -k ci` on 032e04f8 failed outside the copy step. Ea
Mutation checks (`CGO_ENABLED=0 go test ./<pkg> -run <Test> -count=1`, restored with git checkout):
- V1 hosted-chain-test dropped from `ci:` in the Makefile. `TestCIGateSteps`: exit 1 | foundation_test.go:194: make ci targets = [...], want [...] | restored
- V2 the uncertified prefix in checkrun/run.go renamed. `TestChecksRunBaseChecksSHAOnlyOnBasePass` (with MAKELEVEL=1 set): exit 1 | run_test.go:164: uncertified {Checks:passed ... Output:Candidate gate output: ...} | restored
+
+## Release pins (2026-12-01)
+
+Upstream pins filled in infra/hosted/release-pins.json (HostAMI eu-west-1, BaseImageVersion 4) and infra/hosted/image/pins.json (23 AL2023 2023.12.20261102 RPMs, GitSHA256, resolver 169.254.169.253); bubblewrap and codex keep no URL (no URL serves the pinned member bytes; a release passes them with `--image-inputs`). Full sources and verification: .superpowers/sdd/2026-11-30-hosted-runners-slice-2/pins-report.md.
+
+- `TestAssembleThenBuildFromBundle` now runs the checked-in pins without `-have` and requires "bubblewrap has no URL" and "codex has no URL". Mutation: Codex.URL set to the GitHub tarball URL in pins.json; `go test ./cmd/equipo-hosted-image -run TestAssembleThenBuildFromBundle -count=1` FAILED at main_test.go "assemble with the checked-in pins = 1 ...; want the pins refused as incomplete". Restored from a copy; passes.
diff --git a/infra/hosted/image/pins.json b/infra/hosted/image/pins.json
index 55035cbd..497bdb32 100644
--- a/infra/hosted/image/pins.json
+++ b/infra/hosted/image/pins.json
@@ -11,7 +11,125 @@
"URL": "",
"SHA256": "c06a67fd8ac76508dc78bd99ce20c9f317b8d568beda59485f3f4134df9962d5"
},
- "Packages": [],
- "GitSHA256": "",
- "Resolvers": []
+ "Packages": [
+ {
+ "Name": "cracklib-2.9.6-27.amzn2023.0.2.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/bb8447d1a37def80351dd016cf2f57889c14de1e0096467eeba921e9e1a84307/cracklib-2.9.6-27.amzn2023.0.2.x86_64.rpm",
+ "SHA256": "bb8447d1a37def80351dd016cf2f57889c14de1e0096467eeba921e9e1a84307"
+ },
+ {
+ "Name": "expat-2.8.3-1.amzn2023.0.1.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/16f4c8e1fe525d9d3e8c8ef5387448d2587d5a34ad062efb6513a6250eda3778/expat-2.8.3-1.amzn2023.0.1.x86_64.rpm",
+ "SHA256": "16f4c8e1fe525d9d3e8c8ef5387448d2587d5a34ad062efb6513a6250eda3778"
+ },
+ {
+ "Name": "git-core-2.50.1-1.amzn2023.0.1.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/1a266c41e66b0dca131ea2cb616588d75b580d2bfbb8b67a6504280ee90d640c/git-core-2.50.1-1.amzn2023.0.1.x86_64.rpm",
+ "SHA256": "1a266c41e66b0dca131ea2cb616588d75b580d2bfbb8b67a6504280ee90d640c"
+ },
+ {
+ "Name": "gzip-1.12-1.amzn2023.0.1.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/9fa69b95d6404145efb642e88fd09b09f3c5addc74dcd87a7980d245abdc0d60/gzip-1.12-1.amzn2023.0.1.x86_64.rpm",
+ "SHA256": "9fa69b95d6404145efb642e88fd09b09f3c5addc74dcd87a7980d245abdc0d60"
+ },
+ {
+ "Name": "less-608-2.amzn2023.0.2.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/2020c283aab8789ae5ccb743966e0670366a6dd23f8c14b9b6ea0a4f518bd1c2/less-608-2.amzn2023.0.2.x86_64.rpm",
+ "SHA256": "2020c283aab8789ae5ccb743966e0670366a6dd23f8c14b9b6ea0a4f518bd1c2"
+ },
+ {
+ "Name": "libcbor-0.7.0-3.amzn2023.0.2.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/7806603ced381458bd3af5376193deab9fce5a4e0afe349425533388a41648e6/libcbor-0.7.0-3.amzn2023.0.2.x86_64.rpm",
+ "SHA256": "7806603ced381458bd3af5376193deab9fce5a4e0afe349425533388a41648e6"
+ },
+ {
+ "Name": "libdb-5.3.28-49.amzn2023.0.2.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/4a3cb4434afe2c672eb3dfd214d0004c0e3e262446317d19ec4a4adc18fd182d/libdb-5.3.28-49.amzn2023.0.2.x86_64.rpm",
+ "SHA256": "4a3cb4434afe2c672eb3dfd214d0004c0e3e262446317d19ec4a4adc18fd182d"
+ },
+ {
+ "Name": "libeconf-0.7.9-1.amzn2023.0.1.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/a4cb17b3a374cb11dbb06565cace720d0223be76185676b9e41f5b21a4f7fdd3/libeconf-0.7.9-1.amzn2023.0.1.x86_64.rpm",
+ "SHA256": "a4cb17b3a374cb11dbb06565cace720d0223be76185676b9e41f5b21a4f7fdd3"
+ },
+ {
+ "Name": "libedit-3.1-38.20210714cvs.amzn2023.0.2.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/b6a143dcd3b961516066cba842b3bebb460ce0d7304d42f0aa6fbcb195cc2e77/libedit-3.1-38.20210714cvs.amzn2023.0.2.x86_64.rpm",
+ "SHA256": "b6a143dcd3b961516066cba842b3bebb460ce0d7304d42f0aa6fbcb195cc2e77"
+ },
+ {
+ "Name": "libfdisk-2.37.4-1.amzn2023.0.7.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/c2e2431e9786b2890f8145d9d7477b916b109cb87d4d870382cbd0837e1892ff/libfdisk-2.37.4-1.amzn2023.0.7.x86_64.rpm",
+ "SHA256": "c2e2431e9786b2890f8145d9d7477b916b109cb87d4d870382cbd0837e1892ff"
+ },
+ {
+ "Name": "libfido2-1.10.0-2.amzn2023.0.2.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/1ff0e890e5703e8e96202ddfa669256371ee6ddeef078da1798c71bf51665089/libfido2-1.10.0-2.amzn2023.0.2.x86_64.rpm",
+ "SHA256": "1ff0e890e5703e8e96202ddfa669256371ee6ddeef078da1798c71bf51665089"
+ },
+ {
+ "Name": "libpwquality-1.4.4-6.amzn2023.0.2.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/b52306ac15341be5e2e4cc1ae20cd4c5c29017f29887b4eb88544823d1019c6e/libpwquality-1.4.4-6.amzn2023.0.2.x86_64.rpm",
+ "SHA256": "b52306ac15341be5e2e4cc1ae20cd4c5c29017f29887b4eb88544823d1019c6e"
+ },
+ {
+ "Name": "libsemanage-3.4-5.amzn2023.0.2.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/42921b0f73636651a559711e9a316618b0070d157fcc5f4f8bf9c6852e2a439b/libsemanage-3.4-5.amzn2023.0.2.x86_64.rpm",
+ "SHA256": "42921b0f73636651a559711e9a316618b0070d157fcc5f4f8bf9c6852e2a439b"
+ },
+ {
+ "Name": "libutempter-1.2.1-4.amzn2023.0.2.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/afeccec96532b832b8c5f62052a11dc2e16e6774eb0c6fa2f243de329472c108/libutempter-1.2.1-4.amzn2023.0.2.x86_64.rpm",
+ "SHA256": "afeccec96532b832b8c5f62052a11dc2e16e6774eb0c6fa2f243de329472c108"
+ },
+ {
+ "Name": "libxcrypt-4.4.33-7.amzn2023.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/a8bb4e999ec52c43c3d200f43089bed6cede2ae8c05fa6833e77c7e3959f7e23/libxcrypt-4.4.33-7.amzn2023.x86_64.rpm",
+ "SHA256": "a8bb4e999ec52c43c3d200f43089bed6cede2ae8c05fa6833e77c7e3959f7e23"
+ },
+ {
+ "Name": "openssh-9.9p1-16.amzn2023.0.1.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/f4fff884445b3197dbf147471bbf094a3b1e05ebe255fc5f638b4a88580ea626/openssh-9.9p1-16.amzn2023.0.1.x86_64.rpm",
+ "SHA256": "f4fff884445b3197dbf147471bbf094a3b1e05ebe255fc5f638b4a88580ea626"
+ },
+ {
+ "Name": "openssh-clients-9.9p1-16.amzn2023.0.1.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/91de7d47036923aed85b205caf43f22c36376e4e947b8f2d53a38448e82a4593/openssh-clients-9.9p1-16.amzn2023.0.1.x86_64.rpm",
+ "SHA256": "91de7d47036923aed85b205caf43f22c36376e4e947b8f2d53a38448e82a4593"
+ },
+ {
+ "Name": "pam-1.5.1-8.amzn2023.0.8.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/3664efb5954a1c8c01c3600da2418cd5c8fa1f2323bc1200aa3a13edcee64540/pam-1.5.1-8.amzn2023.0.8.x86_64.rpm",
+ "SHA256": "3664efb5954a1c8c01c3600da2418cd5c8fa1f2323bc1200aa3a13edcee64540"
+ },
+ {
+ "Name": "shadow-utils-4.9-12.amzn2023.0.4.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/bf29c6750bc92a3ca2eb0857ae91c3d28b935f744ee808d1b4517f74f8397ae1/shadow-utils-4.9-12.amzn2023.0.4.x86_64.rpm",
+ "SHA256": "bf29c6750bc92a3ca2eb0857ae91c3d28b935f744ee808d1b4517f74f8397ae1"
+ },
+ {
+ "Name": "systemd-libs-252.23-15.amzn2023.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/9fc709911626144a7f0f4d11ad83277d8ffcdb6ce85068fd5a2b116f52cd22f1/systemd-libs-252.23-15.amzn2023.x86_64.rpm",
+ "SHA256": "9fc709911626144a7f0f4d11ad83277d8ffcdb6ce85068fd5a2b116f52cd22f1"
+ },
+ {
+ "Name": "tar-1.34-1.amzn2023.0.4.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/06d66285ecaec0f943b4dc24290c6dfefd291f1d2d6e0a3fb26b966ee7c27f55/tar-1.34-1.amzn2023.0.4.x86_64.rpm",
+ "SHA256": "06d66285ecaec0f943b4dc24290c6dfefd291f1d2d6e0a3fb26b966ee7c27f55"
+ },
+ {
+ "Name": "util-linux-2.37.4-1.amzn2023.0.7.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/062aa972066ca3898c0ecdf8ff111f2827f6aaa589d7efb1b424f5ee8a74c7f9/util-linux-2.37.4-1.amzn2023.0.7.x86_64.rpm",
+ "SHA256": "062aa972066ca3898c0ecdf8ff111f2827f6aaa589d7efb1b424f5ee8a74c7f9"
+ },
+ {
+ "Name": "util-linux-core-2.37.4-1.amzn2023.0.7.x86_64.rpm",
+ "URL": "https://cdn.amazonlinux.com/al2023/blobstore/1613467e88e681dfe73d2bc823cd1b212d3f551ef088bb1f2859e7fb9cb673de/util-linux-core-2.37.4-1.amzn2023.0.7.x86_64.rpm",
+ "SHA256": "1613467e88e681dfe73d2bc823cd1b212d3f551ef088bb1f2859e7fb9cb673de"
+ }
+ ],
+ "GitSHA256": "7868f63309367aed4330fd3da5841634acc1c9b51f3e090451ac02c95090e202",
+ "Resolvers": [
+ "169.254.169.253"
+ ]
}
diff --git a/infra/hosted/release-pins.json b/infra/hosted/release-pins.json
index 83257e8e..24423332 100644
--- a/infra/hosted/release-pins.json
+++ b/infra/hosted/release-pins.json
@@ -1,7 +1,7 @@
{
- "BaseImageVersion": "",
+ "BaseImageVersion": "4",
"HostAMI": {
- "eu-west-1": ""
+ "eu-west-1": "ami-045c7b3c3ad6e4cc1"
},
"Litestream": {
"Version": "0.5.18",