spec: the page renderer out of the instance (design note rev 2)
dd66ff0c's instance artifact is 374 MB because it embeds renderer.tar.gz; CARLOS caps a ship at 256 MiB. Ruling (a): the runner gets the renderer separately. The note proposes a forge release asset addressed by the archive digest (URL built from a runner constant and a linked tag, redirects refused), checks by size, archive SHA-256, linked tree pin and full tree, provenance for the archive and manifest, a publish step that staging requires, and copies of an unchanged tree. Astra reviewed rev 1 once (NOT READY, 4 Important, 2 Minor); rev 2 folds the findings in. Not built: waiting for the coordinating session.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+224
−0
docs/superpowers/specs/2026-11-30-renderer-out-of-instance.md+224 −0
CI cancelled — superseded by a newer push — 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/renderer-out-of-instance: Type Size Avail | ext4 96G 85G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type Size Avail | ext4 96G 85G
ci-box: bwrap: fetched and verified in 0.4s
ci-box: claude: fetched and verified in 1.4s
ci-box: codex: fetched and verified in 3.5s
ci-box: codex-code-mode-host: fetched and verified in 1.5s
ci-box: libwrap: fetched and verified in 0.4s
ci-box: socat: fetched and verified in 0.4s
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.3s
ci-box: opencode: installed and verified in 2.4s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 9.4s
ci-box: clone deepened in 6.4s
ci-box: file times set from content: 3744 files, 243 directories
ci-box: ready in 20.2s
=== copy ===
EQUIPO_RELEASE_COPY_CHECK=1 CGO_ENABLED=0 go test ./internal/equipotest -run '^TestReleaseCopyReviewed$' -count=1
ok amadan.net/oficina/equipo/internal/equipotest 0.238s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
1.6s
+ go list -export -test -tags testbuild -f ./...
0.8s
+ go list -export -test -tags browser,testbuild -f ./internal/equipo ./internal/equipotest ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
0.4s
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -version
staticcheck 2026.1 (v0.7.0)
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 -version
Go: go1.26.11
Scanner: govulncheck@v1.8.0
DB: https://vuln.go.dev
DB updated: 2026-11-24 15:56:00 +0000 UTC
go run github.com/zricethezav/gitleaks/v8@v8.30.1 version
version is set by build process
=== check ===
--- shard 0 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-work: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadless$/^4c_rebase$|^TestHeadless$/^4b_ask$|^TestHeadless$/^4c_checks_card$|^TestHeadless$/^4_step_crash$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed
receipt: test step 1m13.083s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m11.28s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m11.28s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 44.67, cpu waiting 25.12%, memory waiting 0.00%, io waiting 1.04%
--- shard 1 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-review: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed
receipt: test step 1m9.81s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m7.915s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m7.91s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 44.56, cpu waiting 25.02%, memory waiting 0.00%, io waiting 1.11%
--- shard 2 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-connections: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed
receipt: test step 1m14.269s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m12.038s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m2.88s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.06s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.09s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 44.67, cpu waiting 25.12%, memory waiting 0.00%, io waiting 1.04%
--- shard 3 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-mac: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed
receipt: test step 2m35.396s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 2m33.451s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m59.57s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 15.61s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.33s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 8.94s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 19.36, cpu waiting 7.97%, memory waiting 0.00%, io waiting 0.26%
--- shard 4 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-guards: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_step_refused$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed
receipt: test step 1m28.85s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m26.932s amadan.net/oficina/equipo/internal/headless
receipt: slow test 57.01s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.19s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 8.14s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 7.63s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 4.96s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 41.05, cpu waiting 22.62%, memory waiting 0.00%, io waiting 0.79%
--- shard 5 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-rest: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestHeadless$/^4c_rebase$|^TestHeadless$/^4b_ask$|^TestHeadless$/^4c_checks_card$|^TestHeadless$/^4_step_crash$|^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$|^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$|^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$|^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_step_refused$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed
receipt: test step 3m19.758s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 3m17.298s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m33.19s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 23.33s amadan.net/oficina/equipo/internal/headless TestMacMixedVersions
receipt: slow test 20.83s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.41s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 7.05s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistantAttachments
machine: 32 CPUs, load 10.53, cpu waiting 3.82%, memory waiting 0.00%, io waiting 0.12%
--- shard 6 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane thintest: ./internal/thintest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test([^C]|C[^o]|Co[^n]|Con[^t])|^TestContract(Assistant|Outcome|Team|Handoff|HostAllowlist|HostIsPerPerson|Look|Use[A-Z]|RemoteCall|LanesRunAtOnce|NoMergeQuestionWhenGateMerges|PreviewHeldUntilPublishAnswer|PreviewNotHeldBelow19|PublishNeedsOwnerAnswer)' ./internal/thintest
receipt: test step 469ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 3m29.673s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 15.67s amadan.net/oficina/equipo/internal/thintest TestTasklessHoldResumes
receipt: slow test 11.51s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.68s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 5.45s amadan.net/oficina/equipo/internal/thintest TestNudgeResumesHeldJob
receipt: slow test 5.44s amadan.net/oficina/equipo/internal/thintest TestResumeBeforeRefusalReported
machine: 32 CPUs, load 2.54, cpu waiting 0.52%, memory waiting 0.00%, io waiting 3.47%
--- shard 7 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane thintest-contract: ./internal/thintest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^Test([^C]|C[^o]|Co[^n]|Con[^t])|^TestContract(Assistant|Outcome|Team|Handoff|HostAllowlist|HostIsPerPerson|Look|Use[A-Z]|RemoteCall|LanesRunAtOnce|NoMergeQuestionWhenGateMerges|PreviewHeldUntilPublishAnswer|PreviewNotHeldBelow19|PublishNeedsOwnerAnswer)' ./internal/thintest
receipt: test step 461ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 2m25.505s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.49s amadan.net/oficina/equipo/internal/thintest TestContractRetryPreviewUnverifiedMerge
receipt: slow test 9.14s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.05s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 4.96s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 3.06s amadan.net/oficina/equipo/internal/thintest TestContractPausedJob
machine: 32 CPUs, load 2.54, cpu waiting 0.52%, memory waiting 0.00%, io waiting 3.47%
--- shard 8 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-thin: ./internal/runner/thin
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/runner/thin
cache miss: amadan.net/oficina/equipo/internal/runner/thin: its inputs changed
amadan: job cancelled — a newer push superseded it
--- shard 9 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-bug: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed
receipt: test step 48.662s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 47.523s amadan.net/oficina/equipo/internal/runner
receipt: slow test 27.49s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.03s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 42.52, cpu waiting 23.93%, memory waiting 0.00%, io waiting 1.56%
--- shard 10 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-plans: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed
receipt: test step 50.137s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 48.21s amadan.net/oficina/equipo/internal/runner
receipt: slow test 38.25s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 33.65s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.38s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.57s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 42.52, cpu waiting 23.93%, memory waiting 0.00%, io waiting 1.56%
--- shard 11 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-rest: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$|^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed
receipt: test step 40.762s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 39.799s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.13s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 5s amadan.net/oficina/equipo/internal/runner TestEnrolCommitsTheCredentialLast
receipt: slow test 3.16s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.12s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.79s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
machine: 32 CPUs, load 40.56, cpu waiting 20.01%, memory waiting 0.00%, io waiting 1.78%
--- shard 12 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-a started 30s late; cpu waiting 32.3%, load 28.42
test lane equipotest-a: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test[A-D]|^TestQ' ./internal/equipotest
cache miss: amadan.net/oficina/equipo/internal/equipotest: its inputs changed
--- FAIL amadan.net/oficina/equipo/internal/equipotest TestDirectDeadReferencesRepository
=== RUN TestDirectDeadReferencesRepository
direct_cutover_test.go:221: repository reference inventory: exit status 1
docs/superpowers/specs/2026-11-30-renderer-out-of-instance.md:21:52: unclassified equipo-runner
docs/superpowers/specs/2026-11-30-renderer-out-of-instance.md:30:2: unclassified equipo-runner
reference scan: 3456 text files, 3963 matches, 2 failures
--- FAIL: TestDirectDeadReferencesRepository (2.70s)
--- FAIL amadan.net/oficina/equipo/internal/equipotest (package output)
FAIL
rastrillo-budget/v1 ran 1m12.717s
FAIL amadan.net/oficina/equipo/internal/equipotest 72.988s
receipt: test step 1m14.754s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 1m12.717s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 33.77s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 33.72s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 31.27s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 28.19s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 27.93s amadan.net/oficina/equipo/internal/equipotest TestAuthorityReadsOneSnapshot
rastrillo: budget test: go test failed
exit status 1
+ go test -tags testbuild -timeout 15m -run '^Test[A-D]|^TestQ' -v -run '^TestDirectDeadReferencesRepository$' -count=1 ./internal/equipotest (retry, once)
FAILED TWICE ./internal/equipotest:TestDirectDeadReferencesRepository equipotest-a
=== RUN TestDirectDeadReferencesRepository
direct_cutover_test.go:221: repository reference inventory: exit status 1
docs/superpowers/specs/2026-11-30-renderer-out-of-instance.md:21:52: unclassified equipo-runner
docs/superpowers/specs/2026-11-30-renderer-out-of-instance.md:30:2: unclassified equipo-runner
reference scan: 3456 text files, 3963 matches, 2 failures
--- FAIL: TestDirectDeadReferencesRepository (2.66s)
FAIL
rastrillo-budget/v1 ran 2.665s
FAIL amadan.net/oficina/equipo/internal/equipotest 2.836s
FAIL
machine: 32 CPUs, load 33.94, cpu waiting 16.75%, memory waiting 0.00%, io waiting 0.57%
make: *** [Makefile:113: ci-shard] Error 1
amadan: step check shard 12 of 29 failed: exit status 2
--- shard 13 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-e started 30s late; cpu waiting 32.6%, load 28.42
test lane equipotest-e: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test[E-P]' ./internal/equipotest
receipt: test step 556ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 2m23.81s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 24.03s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 24.01s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 23.99s amadan.net/oficina/equipo/internal/equipotest TestProjectsAccountRevisionAndValidation
receipt: slow test 23.95s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 23.92s amadan.net/oficina/equipo/internal/equipotest TestProjectOwnersAreMembers
machine: 32 CPUs, load 31.43, cpu waiting 13.29%, memory waiting 0.00%, io waiting 2.10%
--- shard 14 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-r started 30s late; cpu waiting 32.3%, load 28.42
test lane equipotest-r: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestR' ./internal/equipotest
cache miss: amadan.net/oficina/equipo/internal/equipotest: its inputs changed
amadan: job cancelled — a newer push superseded it
--- shard 15 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-rest started 30s late; cpu waiting 32.3%, load 28.42
test lane equipotest-rest: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^Test[A-D]|^TestQ|^Test[E-P]|^TestR' ./internal/equipotest
receipt: test step 491ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m12.905s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 30.94s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 30.88s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 30.84s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 28.26s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedAuditRollback
receipt: slow test 28.17s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedOnce
machine: 32 CPUs, load 31.43, cpu waiting 13.29%, memory waiting 0.00%, io waiting 2.10%
--- shard 16 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: plan3test started 30s late; cpu waiting 32.3%, load 28.42
test lane plan3test: ./internal/plan3test
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/plan3test
receipt: test step 637ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 59.849s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 4.52s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.65s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.92s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.66s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.58s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorMessageSourcesUpgrade
machine: 32 CPUs, load 31.43, cpu waiting 13.29%, memory waiting 0.00%, io waiting 2.10%
--- shard 17 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: rest started 30s late; cpu waiting 32.6%, load 28.42
test lane rest: ./cmd/equipo ./cmd/equipo-hosted-controller ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/diffscan ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/door ./internal/equipo/github ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/hostedclient ./internal/hostedctl ./internal/hostedwire ./internal/idtest ./internal/isolatedjob ./internal/isolatedjob/awsjob ./internal/isolatedjob/guardfixture ./internal/isolatedjob/isolatedjobtest ./internal/ownermodetest ./internal/release ./internal/release/renderertest ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/designstep ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mac/creds ./internal/runner/mac/denylist ./internal/runner/mac/fprobe ./internal/runner/mac/proc ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/pause ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/claude/realcli ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/render ./internal/runner/renderpage ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websearch ./internal/websearch/websearchtest ./internal/websource ./internal/websource/guard ./internal/websource/hostaddrs ./internal/wire ./internal/wire/forgekey ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./cmd/equipo ./cmd/equipo-hosted-controller ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/diffscan ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/door ./internal/equipo/github ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/hostedclient ./internal/hostedctl ./internal/hostedwire ./internal/idtest ./internal/isolatedjob ./internal/isolatedjob/awsjob ./internal/isolatedjob/guardfixture ./internal/isolatedjob/isolatedjobtest ./internal/ownermodetest ./internal/release ./internal/release/renderertest ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/designstep ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mac/creds ./internal/runner/mac/denylist ./internal/runner/mac/fprobe ./internal/runner/mac/proc ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/pause ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/claude/realcli ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/render ./internal/runner/renderpage ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websearch ./internal/websearch/websearchtest ./internal/websource ./internal/websource/guard ./internal/websource/hostaddrs ./internal/wire ./internal/wire/forgekey ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/idtest: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/isolatedjob: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude/realcli: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/release: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/render: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/testci: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
budget: amadan.net/oficina/equipo/internal/runner/pause ran tests but printed no time: add func TestMain(m *testing.M) { os.Exit(budget.Main(m)) }
budget note: internal/equipo took 2m54.824s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/chat took 49.809s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/github took 40.217s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/setup took 13.579s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/hostedctl took 31.81s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/idtest took 1m55.442s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 28.462s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/containment took 40.714s, over the 15s its record on line 40 allows; reported only, timing fails on CI
budget note: internal/runner/mac took 46.024s, over the 45s its record on line 43 allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/runner/mac/fprobe took 14.761s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/runner/render took 1m27.038s, over the 10s the default allows; reported only, timing fails on CI
receipt: test step 2m20.735s against a 60s target (the gate's other steps are not in this figure)
receipt: 17 packages ran, 68 cached, 21 without tests, 0 failed
receipt: slow package 2m54.824s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 1m55.442s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 1m27.038s amadan.net/oficina/equipo/internal/runner/render
receipt: slow package 55.877s amadan.net/oficina/equipo/cmd/equipo-runner
receipt: slow package 55.39s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow test 1m4.42s amadan.net/oficina/equipo/internal/idtest TestDoorRemembersOficinaID
receipt: slow test 56.3s amadan.net/oficina/equipo/internal/idtest TestDoorOficinaSettingsUnreadableIsNoLoop
receipt: slow test 55.78s amadan.net/oficina/equipo/internal/idtest TestDoorStepUpIsLocal
rastrillo: budget test: 1 problem(s)
receipt: slow test 55.71s amadan.net/oficina/equipo/internal/idtest TestDoorForgetsOficinaIDForARefusedSession
receipt: slow test 55.26s amadan.net/oficina/equipo/internal/idtest TestDoorNeverJudgesANativeSession
exit status 1
not retried: go test failed without naming a failed test (a build, a budget)
machine: 32 CPUs, load 14.84, cpu waiting 5.90%, memory waiting 0.00%, io waiting 0.19%
make: *** [Makefile:113: ci-shard] Error 1
amadan: step check shard 17 of 29 failed: exit status 2
--- shard 18 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-chat: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed
receipt: test step 1m22.438s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m20.715s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.35s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 14.92s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 9.65s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.71s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 5.6s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 42.36, cpu waiting 23.66%, memory waiting 0.00%, io waiting 0.85%
--- shard 19 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-work: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' ./internal/headless
receipt: test step 1m24.247s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m22.635s amadan.net/oficina/equipo/internal/headless
receipt: slow test 24.58s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 19.82s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 13.16s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 8.76s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 7.29s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 42.36, cpu waiting 23.66%, memory waiting 0.00%, io waiting 0.85%
--- shard 20 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-connections: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed
receipt: test step 1m49.183s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m47.411s amadan.net/oficina/equipo/internal/headless
receipt: slow test 13.46s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 12.29s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 12.14s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 11.12s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsSignInEmail
receipt: slow test 10.49s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
machine: 32 CPUs, load 32.10, cpu waiting 16.20%, memory waiting 0.00%, io waiting 0.55%
--- shard 21 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-rest: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserCardAnswerSettlesAtBottom|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInEmail|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
receipt: test step 1m31.992s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m30.315s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.01s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 11.12s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 10.18s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 9.26s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.38s amadan.net/oficina/equipo/internal/headless TestBrowserRefreshRace
machine: 32 CPUs, load 39.20, cpu waiting 21.32%, memory waiting 0.00%, io waiting 0.74%
--- shard 22 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-rest: ./internal/equipo
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserPreviewBlocksNavigation|TestBrowserPreviewPassExchange)$' ./internal/equipo
receipt: test step 396ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 2.663s amadan.net/oficina/equipo/internal/equipo
receipt: slow test 2.03s amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewPassExchange
receipt: slow test 630ms amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewBlocksNavigation
browser lane browser-rest: ./internal/equipotest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserGitHubManifestCSP)$' ./internal/equipotest
receipt: test step 247ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 6.387s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 6.39s amadan.net/oficina/equipo/internal/equipotest TestBrowserGitHubManifestCSP
browser lane browser-rest: ./internal/idtest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserOficinaIDDoor|TestBrowserSmartDoor)$' ./internal/idtest
budget note: internal/idtest took 11.936s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
receipt: test step 202ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 11.936s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 9.5s amadan.net/oficina/equipo/internal/idtest TestBrowserSmartDoor
receipt: slow test 2.44s amadan.net/oficina/equipo/internal/idtest TestBrowserOficinaIDDoor
browser lane browser-rest: ./internal/plan3test
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestTeamsHierarchyBrowser)$' ./internal/plan3test
receipt: test step 280ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 2.8s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 2.8s amadan.net/oficina/equipo/internal/plan3test TestTeamsHierarchyBrowser
browser lane browser-rest: ./internal/thintest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAccessEmojiByline|TestBrowserAccessFinalOutcomes|TestBrowserAccessRequest|TestBrowserAccessReview|TestBrowserActivitySubjects|TestBrowserAskMacOffline|TestBrowserAutonomySettings|TestBrowserCoordinatorQueue|TestBrowserEmptyConversation|TestBrowserEndedNoteStaysGone|TestBrowserHousekeeping|TestBrowserInnerGallery|TestBrowserInnerScreens|TestBrowserInstantThinking|TestBrowserInstantThinkingQueued|TestBrowserMachines|TestBrowserPausedWork|TestBrowserPhoneIndex|TestBrowserPlacementQuestionAndPending|TestBrowserProjectPlacement|TestBrowserProjectsList|TestBrowserReportActionFeedback|TestBrowserReportNextSteps|TestBrowserReportThread|TestBrowserRhythm|TestBrowserRollup|TestBrowserRosterAlignment|TestBrowserRosterDecisionStates|TestBrowserRosterQuietDay|TestBrowserRosterReports|TestBrowserRosterSetAside|TestBrowserRosterSubchat|TestBrowserRosterThinking|TestBrowserRosterVisual|TestBrowserSettingsHousekeepingGroups|TestBrowserSettingsMenu|TestBrowserSettingsRail|TestBrowserSettingsSaveBar|TestBrowserSettingsShots|TestBrowserSettingsStayOnPage|TestBrowserSettingsTeams|TestBrowserShipsButtons|TestBrowserSpecialistRows|TestBrowserSpendFollowsAnswers|TestBrowserTaskRows|TestBrowserTeamPanel|TestBrowserThinkingCycles|TestBrowserThinkingLinesClear|TestBrowserThinkingSteady|TestBrowserThinkingWords|TestBrowserTokenRowEmail|TestBrowserTrackPulse|TestBrowserTrackStarCentre|TestBrowserTryAgain)$' ./internal/thintest
receipt: test step 508ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 3m44.121s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 28.53s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.42s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.11s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.86s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.47s amadan.net/oficina/equipo/internal/thintest TestBrowserRhythm
machine: 32 CPUs, load 9.55, cpu waiting 2.21%, memory waiting 0.00%, io waiting 3.25%
--- shard 23 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 23: make test-quarantine
python3 scripts/ci-test.py quarantine
quarantine: 12 tests from scripts/ci-quarantine.txt; a failure is retried once, and a pass on the retry is reported as a flake
+ go test -tags testbuild -timeout 15m -v -run '^TestHeadlessConnections$/^A5_cancel_and_sign_out$|^TestHeadlessConnections$/^C4_claude_sign_in$|^TestHeadlessConnections$/^C5_engineering_failover$|^TestHeadlessConnections$/^C5_engineering_to_codex$|^TestHeadlessConnections$/^C5_engineering_waits$' ./internal/headless (50s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 4.91s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.37s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 7.71s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 8.69s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 24.70s
+ go test -tags testbuild -timeout 15m -v -run '^TestHeadlessConnections$/^C5_review_auth$|^TestHeadlessConnections$/^C5_review_failover$|^TestHeadlessConnections$/^C5_review_on_codex$|^TestHeadlessConnections$/^C5_review_other_family_first$' ./internal/headless (49s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 11.07s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 10.88s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 10.46s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 14.57s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless (20s)
ok ./internal/headless TestMixedVersions 18.11s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.77s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin (1s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.06s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 42.52, cpu waiting 23.93%, memory waiting 0.00%, io waiting 1.56%
--- shard 24 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 24: make runner-host
python3 scripts/runner-prerequisites.py
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks
receipt: test step 8.907s against a 60s target (the gate's other steps are not in this figure)
receipt: 4 packages ran, 0 cached, 4 without tests, 0 failed
receipt: slow package 7.413s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 279ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 125ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 3ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/claude/realcli
receipt: slow test 5.26s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.73s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 300ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 280ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/provider/codex TestDirectJournalAdapterBarrier
CGO_ENABLED=0 EQUIPO_REQUIRE_USER_SESSION=1 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run '^TestNamespace' -count=1 ./internal/runner/containment
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run '^TestNamespace' -count=1 ./internal/runner/containment
receipt: test step 3.595s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 3.23s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 290ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 210ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 130ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 130ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryReusedPID
machine: 32 CPUs, load 20.02, cpu waiting 5.56%, memory waiting 0.00%, io waiting 2.84%
--- shard 25 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: runner-dead-references started 30s late; cpu waiting 32.3%, load 28.42
shard 25: make runner-dead-references lanes-check build vet fmt-check spacing budget migration-check
python3 scripts/runner-dead-references.py
docs/superpowers/specs/2026-11-30-renderer-out-of-instance.md:21:52: unclassified equipo-runner
docs/superpowers/specs/2026-11-30-renderer-out-of-instance.md:30:2: unclassified equipo-runner
reference scan: 3456 text files, 3963 matches, 2 failures
make[1]: *** [Makefile:238: runner-dead-references] Error 1
machine: 32 CPUs, load 31.43, cpu waiting 14.49%, memory waiting 0.00%, io waiting 2.03%
make: *** [Makefile:113: ci-shard] Error 2
amadan: step check shard 25 of 29 failed: exit status 2
--- shard 26 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: staticcheck started 30s late; cpu waiting 32.6%, load 28.42
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 31.43, cpu waiting 14.49%, memory waiting 0.00%, io waiting 2.03%
--- shard 27 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: govulncheck started 30s late; cpu waiting 32.3%, load 28.42
shard 27: make govulncheck
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./...
=== Symbol Results ===
No vulnerabilities found.
Your code is affected by 0 vulnerabilities.
This scan also found 1 vulnerability in packages you import and 10
vulnerabilities in modules you require, but your code doesn't appear to call
these vulnerabilities.
Use '-show verbose' for more details.
machine: 32 CPUs, load 46.95, cpu waiting 25.55%, memory waiting 0.00%, io waiting 1.23%
--- shard 28 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: gitleaks started 30s late; cpu waiting 32.3%, load 28.42
shard 28: make gitleaks
[90m1:51PM[0m [32mINF[0m [1mUnknown SCM platform. Use --platform to include links in findings.[0m [36mhost=[0mamadan.net
[90m1:51PM[0m [32mINF[0m [1m1319 commits scanned.[0m
[90m1:51PM[0m [32mINF[0m [1mscanned ~74789877 bytes (74.79 MB) in 15.5s[0m
[90m1:51PM[0m [32mINF[0m [1mno leaks found[0m
machine: 32 CPUs, load 40.56, cpu waiting 22.59%, memory waiting 0.00%, io waiting 1.66%
diff --git a/docs/superpowers/specs/2026-11-30-renderer-out-of-instance.md b/docs/superpowers/specs/2026-11-30-renderer-out-of-instance.md| new file mode 100644 |
| index 00000000..bb4feabc |
| --- /dev/null |
| +++ b/docs/superpowers/specs/2026-11-30-renderer-out-of-instance.md |
| @@ -0,0 +1,224 @@ |
| +# The page renderer out of the instance (design note) |
| + |
| +Status: rev 2, for the coordinating session, before any build. Branch |
| +`renderer-out-of-instance` off main dd66ff0c. Rev 1 had one Astra review |
| +(NOT READY, 4 Important, 2 Minor). Its findings are folded in below and |
| +listed at the end. It was not reviewed again. |
| + |
| +## Problem |
| + |
| +dd66ff0c's instance artifact is 374 MB. `scripts/build-instance-release.sh` |
| +copies the Linux runner's `renderer.tar.gz` (230,650,088 bytes) into |
| +`internal/release/bundled`, which `//go:embed bundled/*` links into the |
| +instance so it can serve `/releases/<version>/renderer.tar.gz`. CARLOS caps |
| +one ship at 256 MiB (carlos/platform `internal/console/apicli.go:1827`), so |
| +`carlos deploy` answers 413. Ruling (a): the renderer stops riding inside |
| +the instance binary, and the runner gets it separately, verified as install |
| +verifies it today. No chunked deploys, no split binary. |
| + |
| +## Who reads the instance's copy today |
| + |
| +Only the self-serve install: `install-v1.sh` runs `equipo-runner`'s |
| +`setup.installUser` (`internal/runner/setup/install.go`). It fetches |
| +`<origin>/releases/<v>/renderer.tar.gz` when no verified tree for the |
| +linked pin is on disk, and requires the archive's MANIFEST digest to equal |
| +both the pin linked into the runner (`release.rendererSHA256`) and the |
| +install manifest's `targets.linux.renderer_sha256`. |
| + |
| +The operator paths never touch it. `scripts/upgrade-thin.sh`, |
| +`cutover-thin.sh`, `cutover-finish-thin.sh` and `staging-thin.py` run |
| +`equipo-runner install-renderer <kit>/renderer.tar.gz` from the release |
| +kit, after `renderer_linked` checks the MANIFEST digest against the runner. |
| +The Mac updater (`thin/mac.go`) fetches only darwin assets, and a Mac has no |
| +renderer. `verify-installed` reads the tree on disk and renders the fixture. |
| + |
| +So the change is confined to where the self-serve install gets the archive, |
| +and to what the instance embeds and serves. |
| + |
| +## Decision: a release asset on the forge, addressed by the archive |
| + |
| +Each renderer archive is published once as a release on the amadan forge, |
| +in oficina/equipo, and the runner knows exactly which one: |
| + |
| +- The archive digest `rendererArchiveSHA256` is linked into the Linux |
| + runner beside the tree pin (`rendererSHA256`), from the same kit file |
| + (Makefile `release-runner`). |
| +- So is a release tag `rendererTag`: `renderer-<first 12 of the archive |
| + digest>`, or `renderer-<12>-r<n>` if an earlier publication of the same |
| + bytes was withdrawn (see below). |
| +- The forge origin and repository path are constants in the runner |
| + (`https://amadan.net/oficina/equipo/-/releases/`), not data. The runner |
| + builds the URL itself: origin + tag + `/renderer.tar.gz`. Nothing the |
| + instance or the install manifest says can point it elsewhere. |
| + |
| +The asset is the kit's `renderer.tar.gz`, byte for byte. The forge says |
| +"anyone who can see the repo can download a file", and the repo is public. |
| + |
| +The addressing is by archive bytes, not by tree pin. A builder or |
| +compression change can keep the MANIFEST and change the archive. It then |
| +gets its own tag rather than colliding with the published one. Most |
| +releases change neither, link the same tag and publish nothing. |
| + |
| +### What the install manifest records |
| + |
| +`targets.linux` gains `renderer_archive_sha256` and |
| +`renderer_archive_size` beside `renderer_sha256` (the tree pin, |
| +unchanged). They are informational for the instance and for operators. The |
| +runner checks them against its own linked values and refuses a |
| +disagreement (`runner.install.checksum`). No URL is recorded. |
| + |
| +### Trust does not move |
| + |
| +The runner checks, in order, before anything of the runner is written: |
| + |
| +1. the download is exactly `renderer_archive_size` bytes (bounded by |
| + `RendererArchiveMax`, 384 MiB) and its SHA-256 is the linked archive |
| + digest |
| +2. the archive's MANIFEST digest is the linked tree pin |
| + (`RendererArchivePin`, as today) |
| +3. the unpacked tree verifies in full before it is renamed into place |
| + (`InstallRenderer` and `VerifyRenderer`, as today). The MANIFEST check |
| + alone does not cover payload bytes. |
| + |
| +Redirects are refused (any 3xx is `runner.install.release`). If the forge |
| +ever serves assets through a CDN, that becomes a reviewed change to the |
| +constant, not a redirect followed at run time. |
| + |
| +### The download |
| + |
| +One private scratch file (`O_TMPFILE`, or a 0600 file in the install's own |
| +scratch directory) keeps a single descriptor throughout. The response body |
| +is copied through a hash, bounded at size + 1. A short read, an overlong |
| +read, a cancelled context or a failed check deletes the scratch and stops. |
| +After step 1 the descriptor is rewound for step 2, then again for |
| +unpacking. The deadline is per transfer, with a long overall bound (for |
| +example 20 minutes) and a stall timeout, not `fetchRelease`'s 2 minutes. No |
| +230 MB buffer stays in memory, as one does today. |
| + |
| +## What changes, by path |
| + |
| +**Instance.** `build-instance-release.sh` stops copying `renderer.tar.gz` |
| +into the bundle. `install_assets.go` stops requiring it, checking its pin |
| +and serving it, so `/releases/<v>/renderer.tar.gz` is a 404, as any unknown |
| +name is. `TestBundledInstallAssets` and the bundle tests drop it. Expected |
| +artifact size is back near 152 MB. A test bounds the bundle (for example |
| +the sum of embedded files under 200 MiB) so this cannot regress silently. |
| + |
| +**Self-serve install** (`setup/install.go`): |
| + |
| +- A tree already verified for the pin is kept and nothing is fetched (as |
| + today). |
| +- Otherwise, if the previous release directory beside it has a tree that |
| + verifies for the same pin, it is copied (not hardlinked: |
| + `VerifyRenderer` refuses files with more than one link) into a scratch |
| + directory, verified and renamed into place. Nothing is fetched. |
| +- Otherwise the runner fetches its own URL (above), streams to scratch and |
| + checks 1-3. |
| +- Failure keys stay as they are, with no new copy: unreachable means |
| + `runner.install.release`, a wrong digest, size or pin means |
| + `runner.install.checksum`, and nothing of the runner is written (the |
| + order today: renderer unpacked and verified before any runner file). |
| + |
| +**Upgrade, cutover, staging** (operator, agent-run): no change. They |
| +already install from the kit's `renderer.tar.gz` and verify it against the |
| +runner. |
| + |
| +**verify-installed:** no change. The tree is beside the runner, as today. |
| + |
| +**Mac:** no change. |
| + |
| +## Offline, outage, mismatch |
| + |
| +- A runner that already has the tree for its pin needs nothing. Its |
| + restarts and Design work never fetch. |
| +- A new install, or a new pin, while amadan.net is unreachable fails |
| + closed, as an install fails today when the instance is unreachable |
| + (`runner.install.release`). The old tree and the old release stay. |
| +- A mismatch at any of 1-3 refuses (`runner.install.checksum`), writes |
| + nothing, and the scratch is removed. |
| +- A runner whose tree is missing or wrong still runs Engineering. Its |
| + renderer health says so, and Design waits (`design_renderer`, the |
| + existing copy), as today. |
| +- A withdrawn asset (forge `release withdraw`) makes new installs of that |
| + pin fail closed. The fix is a new renderer pin and release, as for any |
| + bad build. |
| + |
| +## The release kit and the release step |
| + |
| +- `make release-runner` keeps building `renderer.tar.gz` into the kit (the |
| + operator scripts need it). It links the tree pin, the archive digest and |
| + `rendererTag` into the Linux runner. |
| +- Provenance: `scripts/staged-artifacts.py` records the hashes of |
| + `renderer.tar.gz` and of `install-manifest.json` in its `artifacts()` |
| + when the kit is staged, and verifies them on every later use. Then the |
| + kit's archive and manifest cannot both be swapped after staging while |
| + the instance embeds the originals. |
| +- New step `scripts/publish-renderer.sh <kit>`. It reads the tag linked |
| + into the kit's runner. If that release exists, it downloads the asset |
| + unauthenticated and requires its SHA-256 to equal the kit's. Otherwise it |
| + tags the current commit, runs `amadan release create <tag> |
| + <kit>/renderer.tar.gz` and checks the upload the same way. It needs |
| + writer access (an agent account's token, or a PAT in CI). |
| +- Ordering: `staging-thin.py` runs the same check (the published asset |
| + matches the staged provenance) as a prerequisite, before it installs |
| + anything. Staging installs from the kit, so without this an unpublished |
| + asset would only show at a user's install. Production promotion goes |
| + through staging, so it cannot ship before the asset exists. |
| +- Withdrawal: if a published asset must be withdrawn, the same bytes are |
| + republished as `renderer-<12>-r<n+1>`. A new runner build links that tag, |
| + and an Equipo release follows. Runners already installed keep their |
| + verified trees. |
| + |
| +## Alternatives considered |
| + |
| +- **Build the tree on the runner from the pinned debs** (98 packages, |
| + 171 MB, from snapshot.debian.org by sha256). It needs no new hosting, |
| + and `ulikunitz/xz` is already a dependency. But it means a Go port of |
| + `build-renderer-tree.py` whose MANIFEST must match byte for byte (or |
| + replacing the Python with it). It also means 98 requests per install to |
| + a service that asks not to be used as a mirror, and regular mirrors drop |
| + pinned Chromium builds within weeks. Kept as a possible later fallback. |
| +- **A separate CARLOS ship for the archive.** 230.6 MB is 90% of the |
| + 256 MiB cap, so a Chromium update could cross it. That is the same limit |
| + again. |
| +- **Object storage outside CARLOS** (an S3 bucket, like the platform's CI |
| + mirror). New infrastructure, and it steps around the platform. |
| + |
| +## Before building |
| + |
| +1. Prove the host. Publish one full-size asset (a throwaway tag), download |
| + it unauthenticated, and compare its SHA-256. There is no documented size |
| + limit. This creates a public release on the forge, so it waits for your |
| + go-ahead. |
| + |
| +## Astra rev 1 findings and what changed |
| + |
| +- Important, URL policy: an https URL from data permits any destination. |
| + Now the URL is built from a runner constant and a linked tag, and |
| + redirects are refused. |
| +- Important, provenance: staged artifacts did not record the archive or |
| + the manifest. Both are now recorded and re-verified. |
| +- Important, identity: a tree pin does not identify the compressed bytes. |
| + Now addressed by the archive digest, with a revision suffix after a |
| + withdrawal. |
| +- Important, ordering and hosting: now a full-size upload is proven first, |
| + and staging requires the published asset as a prerequisite. |
| +- Minor, download lifecycle: specified (one descriptor, bounded, rewound, |
| + scratch removed on any failure), and the full-tree check is kept. |
| +- Minor, hardlinks: tree reuse copies. |
| + |
| +## Tests the build would add |
| + |
| +- install builds the URL from the linked tag only, refuses a redirect, and |
| + refuses a wrong size, archive digest or tree pin, and a truncated or |
| + cancelled download, with nothing written and the scratch gone. It keeps |
| + a verified tree without fetching, and copies one from the previous |
| + release. |
| +- the instance bundle has no renderer and stays under its bound; the |
| + instance answers 404 for it. |
| +- manifest validation requires the archive digest and size on Linux, and |
| + install refuses a manifest that disagrees with the linked values. |
| +- `staged-artifacts.py` refuses a kit whose archive or manifest changed |
| + after staging. |
| +- `publish-renderer.sh` refuses a published asset that differs from the |
| + kit. |