oficina / equipo Public

plan: hosted slice 2 revision 4 after Astra round 3 (last)

Launch horizon bound into the controller contract, per-invocation
credential checks in the run kit, plan-check accepts same-plan
references, compute-only limit stated for Paul, durable estimator.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 5d33d456828fb4db04c8a20ec2c524c16e61f2c0 parent 99e4174
1 file changed, +24 −23
  • docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md +24 −23

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/hosted-runners-slice-2-plan: 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 1.6s
ci-box: codex: fetched and verified in 3.4s
ci-box: codex-code-mode-host: fetched and verified in 1.4s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.3s
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.4s
ci-box: opencode: installed and verified in 2.1s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.7s
ci-box: clone deepened in 6.5s
ci-box: file times set from content: 3753 files, 244 directories
ci-box: ready in 19.9s
=== 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.235s
=== 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.021s 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.143s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m11.14s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 39.55, cpu waiting 25.05%, memory waiting 0.00%, io waiting 1.21%
--- 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.826s 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.938s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m7.94s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 39.86, cpu waiting 24.81%, memory waiting 0.00%, io waiting 1.29%
--- 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.014s 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.717s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m2.49s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.1s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.13s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 39.55, cpu waiting 25.05%, memory waiting 0.00%, io waiting 1.21%
--- 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.483s 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.51s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m59.84s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 15.6s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.19s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 8.87s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 17.24, cpu waiting 7.88%, memory waiting 0.00%, io waiting 0.30%
--- 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.213s 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.307s amadan.net/oficina/equipo/internal/headless
receipt: slow test 57.01s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.31s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 7.81s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 7.5s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 4.68s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 37.68, cpu waiting 22.98%, memory waiting 0.00%, io waiting 0.95%
--- 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 3m20.109s 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.637s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m33.42s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 23.43s amadan.net/oficina/equipo/internal/headless TestMacMixedVersions
receipt: slow test 20.78s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.45s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 7.2s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistantAttachments
machine: 32 CPUs, load 10.01, cpu waiting 3.78%, memory waiting 0.00%, io waiting 0.14%
--- 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 475ms 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 3m27.032s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 15.73s amadan.net/oficina/equipo/internal/thintest TestTasklessHoldResumes
receipt: slow test 10.96s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.68s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 5.46s amadan.net/oficina/equipo/internal/thintest TestNudgeResumesHeldJob
receipt: slow test 5.43s amadan.net/oficina/equipo/internal/thintest TestAbilityHoldResumes
machine: 32 CPUs, load 5.19, cpu waiting 0.05%, memory waiting 0.00%, io waiting 4.06%
--- 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 450ms 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.332s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.44s amadan.net/oficina/equipo/internal/thintest TestContractRetryPreviewUnverifiedMerge
receipt: slow test 9.07s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 4.93s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 4.9s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 3.04s amadan.net/oficina/equipo/internal/thintest TestContractPausedJob
machine: 32 CPUs, load 5.19, cpu waiting 0.90%, memory waiting 0.00%, io waiting 4.03%
--- 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.209s 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.077s amadan.net/oficina/equipo/internal/runner
receipt: slow test 27.05s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 37.42, cpu waiting 23.54%, memory waiting 0.00%, io waiting 1.87%
--- 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 49.237s 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.377s amadan.net/oficina/equipo/internal/runner
receipt: slow test 37.38s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 33.76s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.39s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.58s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 37.42, cpu waiting 24.15%, memory waiting 0.00%, io waiting 1.81%
--- 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 41.105s 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 40.216s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.12s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 5.01s amadan.net/oficina/equipo/internal/runner TestEnrolCommitsTheCredentialLast
receipt: slow test 3.63s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.11s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.78s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
machine: 32 CPUs, load 36.76, cpu waiting 20.26%, memory waiting 0.00%, io waiting 2.06%
--- 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 31.3%, load 27.75
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/plans/2026-11-30-hosted-runners-slice-2.md:9:210: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:234:744: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:234:783: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:285:60: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:294:119: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:316:225: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:380:97: unclassified equipo-runner
        reference scan: 3465 text files, 3991 matches, 7 failures
--- FAIL: TestDirectDeadReferencesRepository (2.69s)

--- FAIL amadan.net/oficina/equipo/internal/equipotest (package output)
FAIL
rastrillo-budget/v1 ran 1m12.94s
FAIL	amadan.net/oficina/equipo/internal/equipotest	73.177s


receipt: test step 1m14.894s 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.94s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 34.25s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 34.25s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 31.61s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 28.64s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 28.34s amadan.net/oficina/equipo/internal/equipotest TestBudgetLoweringBelowUsage
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/plans/2026-11-30-hosted-runners-slice-2.md:9:210: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:234:744: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:234:783: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:285:60: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:294:119: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:316:225: unclassified equipo-runner
        docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:380:97: unclassified equipo-runner
        reference scan: 3465 text files, 3991 matches, 7 failures
--- FAIL: TestDirectDeadReferencesRepository (2.68s)
FAIL
rastrillo-budget/v1 ran 2.677s
FAIL	amadan.net/oficina/equipo/internal/equipotest	2.838s
FAIL
machine: 32 CPUs, load 31.18, cpu waiting 16.61%, memory waiting 0.00%, io waiting 0.66%
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 31.3%, load 25.12
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 485ms 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 2m22.502s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 23.6s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 23.59s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 23.51s amadan.net/oficina/equipo/internal/equipotest TestProjectsAccountRevisionAndValidation
receipt: slow test 23.51s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 23.49s amadan.net/oficina/equipo/internal/equipotest TestProjectRejectsUnsafeBinding
machine: 32 CPUs, load 27.75, cpu waiting 12.52%, memory waiting 0.00%, io waiting 2.52%
--- 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 31.3%, load 27.75
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 31.3%, load 27.75
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 542ms 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 1m11.828s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 30.35s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 29.9s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 29.8s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 27.57s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsRollbackAndUnavailable
receipt: slow test 27.5s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
machine: 32 CPUs, load 27.75, cpu waiting 13.42%, memory waiting 0.00%, io waiting 2.44%
--- 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 31.3%, load 25.12
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 591ms 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 57.81s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 4.51s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.52s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.88s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.53s amadan.net/oficina/equipo/internal/plan3test TestInviteMigration
receipt: slow test 1.52s amadan.net/oficina/equipo/internal/plan3test TestOnboardingAccountMigration
machine: 32 CPUs, load 27.75, cpu waiting 12.52%, memory waiting 0.00%, io waiting 2.52%
--- 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 31.3%, load 27.75
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/teamprobe ./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/teamprobe ./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/runner/provider/claude/realcli: 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/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/equipo/team: 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/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/codex: 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 note: internal/equipo took 2m43.709s, 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 51.898s, 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 15.02s, 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.325s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 33.836s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/containment took 41.078s, over the 15s its record on line 41 allows; reported only, timing fails on CI
budget note: internal/runner/mac took 46.024s, over the 45s its record on line 44 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.134s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 2m20.725s against a 60s target (the gate's other steps are not in this figure)
receipt: 17 packages ran, 68 cached, 22 without tests, 0 failed
receipt: slow package 2m43.709s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 1m55.325s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 1m27.134s amadan.net/oficina/equipo/internal/runner/render
receipt: slow package 55.913s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 53.521s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow test 1m4.14s amadan.net/oficina/equipo/internal/idtest TestDoorRemembersOficinaID
receipt: slow test 55.06s amadan.net/oficina/equipo/internal/idtest TestDoorOficinaSettingsUnreadableIsNoLoop
receipt: slow test 55s amadan.net/oficina/equipo/internal/idtest TestDoorForgetsOficinaIDForARefusedSession
receipt: slow test 54.66s amadan.net/oficina/equipo/internal/idtest TestDoorStepUpIsLocal
receipt: slow test 54.63s amadan.net/oficina/equipo/internal/idtest TestDoorNeverJudgesANativeSession
machine: 32 CPUs, load 14.17, cpu waiting 6.04%, memory waiting 0.00%, io waiting 0.23%
--- 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 1m21.989s 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.27s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.54s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 14.61s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 9.76s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.72s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 5.62s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 38.53, cpu waiting 23.84%, memory waiting 0.00%, io waiting 1.02%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m24.231s 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.306s amadan.net/oficina/equipo/internal/headless
receipt: slow test 24.5s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 19.77s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 12.99s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 8.68s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 7.35s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 37.68, cpu waiting 23.49%, memory waiting 0.00%, io waiting 0.99%
--- 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.367s 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.59s amadan.net/oficina/equipo/internal/headless
receipt: slow test 13.43s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 12.29s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 12.06s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 11.12s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsSignInEmail
receipt: slow test 10.64s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
machine: 32 CPUs, load 29.32, cpu waiting 16.61%, memory waiting 0.00%, io waiting 0.66%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserCopyContinue
=== RUN   TestBrowserCopyContinue
time=2026-11-30T18:04:35.784Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-30T18:04:35.784Z level=INFO msg="startup phase done" phase=state_lock took=82µs
time=2026-11-30T18:04:35.784Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-30T18:04:35.785Z level=INFO msg="startup phase done" phase=claim_roots took=86µs
time=2026-11-30T18:04:35.785Z level=INFO msg="startup phase" phase=sweep
time=2026-11-30T18:04:35.826Z level=INFO msg="startup phase done" phase=sweep took=41.114ms
time=2026-11-30T18:04:35.826Z level=INFO msg="startup phase" phase=credentials
time=2026-11-30T18:04:35.826Z level=INFO msg="startup phase done" phase=credentials took=195µs
time=2026-11-30T18:04:35.826Z level=INFO msg="startup phase" phase=open_state
time=2026-11-30T18:04:35.879Z level=INFO msg="startup phase done" phase=open_state took=52.991ms
time=2026-11-30T18:04:35.880Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-30T18:04:35.881Z level=INFO msg=connecting host=127.0.0.1:35531 protocol=38
time=2026-11-30T18:04:35.884Z level=INFO msg=connected host=127.0.0.1:35531 took=994µs
time=2026-11-30T18:04:35.884Z level=INFO msg="capabilities gathering"
time=2026-11-30T18:04:35.884Z level=INFO msg="capabilities gathered" took=397µs tags=linux,claude,go
time=2026-11-30T18:04:35.888Z level=INFO msg="hello sent" protocol=38
time=2026-11-30T18:04:35.895Z level=INFO msg=welcome protocol=38 role=primary generation=1
    browser_copy_test.go:93: continue did not reach Checks: 0 <nil>
--- FAIL: TestBrowserCopyContinue (1.88s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m30.998s
FAIL	amadan.net/oficina/equipo/internal/headless	91.199s


receipt: test step 1m32.729s 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 1m30.998s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.09s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 11.79s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 10.16s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 9.23s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.51s amadan.net/oficina/equipo/internal/headless TestBrowserRefreshRace
exit status 1
+ go 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$' -v -run '^TestBrowserCopyContinue$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserCopyContinue browser-headless-rest 5d33d456828fb4db04c8a20ec2c524c16e61f2c0 1.88s 35.71
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 34.05, cpu waiting 19.92%, memory waiting 0.00%, io waiting 0.81%
--- 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 391ms 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.586s amadan.net/oficina/equipo/internal/equipo
receipt: slow test 1.99s amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewPassExchange
receipt: slow test 590ms 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 431ms 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.528s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 6.53s 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.229s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI

receipt: test step 215ms 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.229s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 8.98s amadan.net/oficina/equipo/internal/idtest TestBrowserSmartDoor
receipt: slow test 2.25s 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 267ms 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.575s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 2.57s 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 446ms 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 3m38.868s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 27.16s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.37s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.1s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.72s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.42s amadan.net/oficina/equipo/internal/thintest TestBrowserRhythm
machine: 32 CPUs, load 5.19, cpu waiting 1.75%, memory waiting 0.00%, io waiting 3.90%
--- 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   (49s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 4.88s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.36s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 7.91s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 8.66s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 24.48s
+ 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.56s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 11.00s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 10.06s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 14.36s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (20s)
ok ./internal/headless TestMixedVersions 18.05s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.76s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (0s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.06s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 38.27, cpu waiting 24.27%, memory waiting 0.00%, io waiting 1.75%
--- 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.702s 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.344s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 205ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 115ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/claude/realcli
receipt: slow test 5.25s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.7s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 310ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 200ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 110ms 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.535s 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.151s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 300ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 200ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 150ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicy
machine: 32 CPUs, load 12.11, cpu waiting 4.95%, memory waiting 0.00%, io waiting 3.41%
--- 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 31.3%, load 27.75
shard 25: make runner-dead-references lanes-check build vet fmt-check spacing budget migration-check
python3 scripts/runner-dead-references.py
docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:9:210: unclassified equipo-runner
docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:234:744: unclassified equipo-runner
docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:234:783: unclassified equipo-runner
docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:285:60: unclassified equipo-runner
docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:294:119: unclassified equipo-runner
docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:316:225: unclassified equipo-runner
docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md:380:97: unclassified equipo-runner
reference scan: 3465 text files, 3991 matches, 7 failures
make[1]: *** [Makefile:238: runner-dead-references] Error 1
machine: 32 CPUs, load 27.75, cpu waiting 14.85%, memory waiting 0.00%, io waiting 2.36%
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 31.3%, load 27.75
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 27.75, cpu waiting 13.42%, memory waiting 0.00%, io waiting 2.44%
--- 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 31.3%, load 27.75
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 39.67, cpu waiting 25.58%, memory waiting 0.00%, io waiting 1.48%
--- 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 31.3%, load 27.75
shard 28: make gitleaks
6:04PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
6:04PM INF 1331 commits scanned.
6:04PM INF scanned ~75135388 bytes (75.14 MB) in 16.2s
6:04PM INF no leaks found
machine: 32 CPUs, load 37.42, cpu waiting 22.68%, memory waiting 0.00%, io waiting 1.93%
diff --git a/docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md b/docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md
index 1ed273b1..16524f09 100644
--- a/docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md
+++ b/docs/superpowers/plans/2026-11-30-hosted-runners-slice-2.md
@@ -1,6 +1,6 @@
-# Hosted runners, slice 2: hosted checks (plan, 2026-11-30, revision 3)
+# Hosted runners, slice 2: hosted checks (plan, 2026-11-30, revision 4)
-**Status:** revision 3 after Astra round 2 (NOT READY: 1 Critical, 7 Important, 1 Minor, all taken; `plan-r2.md`), and round 1 before it (`plan-r1.md`), both in `.superpowers/sdd/2026-11-30-hosted-slice-2-plan/`. Revision 3 also adds Task 33, the production run kit the account plan's Astra round 1 asked for. Nothing built, nothing run against AWS.
+**Status:** revision 3 after Astra round 2 (NOT READY: 1 Critical, 7 Important, 1 Minor, all taken; `plan-r2.md`), and round 1 before it (`plan-r1.md`), both in `.superpowers/sdd/2026-11-30-hosted-slice-2-plan/`. Revision 3 also added Task 33, the production run kit the account plan's Astra round 1 asked for. Revision 4 applies Astra round 3 (`plan-r3.md`: no Critical; 4 Important blocking, 2 Important and 1 Minor non-blocking), all taken; there is no fourth round (house limit), so revision 4 itself is unreviewed. Nothing built, nothing run against AWS.
> **For agentic workers:** REQUIRED SUB-SKILL: use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task by task. Steps use checkbox (`- [ ]`) syntax. Steps marked **HUMAN** are not agent work: stop and ask Paul.
@@ -28,7 +28,7 @@ Slice 1a built the controller, the adapter and the reaper, with no egress stack:
- **S2-6. No pause or resume in slice 2.** A checks VM is launched, used once and stopped. The slice 1a pause barrier stays unused until slice 4; the VM's `/suspend` and `/resume` hooks answer 409 in one place.
- **S2-7. The proxy speaks HTTP/1.1 only** (ALPN `http/1.1`), including the WebSocket upgrade the runner's link uses. HTTP/2 is refused, which removes `:authority` disagreement by construction.
- **S2-8. The controller is the client CA for proxy certificates.** It mints a 15-minute certificate per VM against the launch record; both proxies trust that CA and the signed feed.
-- **S2-9. Limits are held and settled, conservatively, and count only what a person's jobs can cost.** A job's window is `HostedLaunchWindow` (10 minutes to launch) plus its lifetime, from admission. Admission holds the whole window in seconds against every UTC day the window touches, and its cost at four times the Large baseline rate (AWS bills burst up to 4x and does not report it) plus `HostedJobOverheadMicros` (launch calls and data transfer, $0.01) against every UTC month it touches. A job not launched within its launch window is failed and re-admitted with a fresh hold. Settling replaces the hold with the instance-observed span from admission to stop proof, still at four times the baseline rate plus the overhead, because actual burst is unknown; the person sees it as "at most". A job without stop proof keeps its hold. Fixed account costs (hosts, addresses, image storage) are not per person; the AWS budget covers them. With these numbers a 10-minute check counts $0.22 against the $50, so about 230 short checks a month; an owner can raise a person's limit.
+- **S2-9. Limits are held and settled, conservatively, and count only what a person's jobs can cost.** A job's window is `HostedLaunchWindow` (10 minutes to launch) plus its lifetime, from admission. Admission holds the whole window in seconds against every UTC day the window touches, and its cost at four times the Large baseline rate (AWS bills burst up to 4x and does not report it) against every UTC month it touches. The limit counts VM compute only; the controller's API calls and data transfer are bounded per job by construction (one launch, at most one retry, one stop, a reaper read a minute, and traffic only to the instance) but are not priced into the person's limit, and the AWS budget covers them with the fixed costs. A job not launched within its launch window is failed and re-admitted with a fresh hold. Settling replaces the hold with the instance-observed span from admission to stop proof, still at four times the baseline rate, because actual burst is unknown; the person sees it as "at most". A job without stop proof keeps its hold. Fixed account costs (hosts, addresses, image storage) are not per person; the AWS budget covers them. With these numbers a 10-minute check counts $0.21 against the $50, so about 240 short checks a month; an owner can raise a person's limit.
- **S2-10. No mutation-evidence registry in certification.** Certification judges the probe matrix and the containment suite inside a real VM; guard mutation evidence stays where the house keeps it, in the progress file, checked at review. The 1b outline listed a registry; this drops it.
## Global constraints
@@ -82,8 +82,8 @@ type BootstrapV2 struct {
Services []Service `json:"services"` // the launch's snapshot (Task 2)
}
func (b BootstrapV2) Encode() ([]byte, error) // ASCII JSON; refuses over 4096 bytes (live fact, Task 17)
-// LaunchRequest gains: Person string; Purpose string. Services are not requested: the controller
-// derives them from its manifest (Task 2).
+// LaunchRequest gains: Person string; Purpose string; LaunchByUnixMS int64 (the instance's admitted_at +
+// HostedLaunchWindow, wall clock). Services are not requested: the controller derives them from its manifest (Task 2).
type AdmissionView struct{ AttemptID, LaunchID, State string; VMRef isolatedjob.Ref; Epoch int64; Image isolatedjob.ImageDigest; CertDigest string; CertValid bool; CheckedNS int64 }
type ProxyFeed struct{ Version int; Serial int64; IssuedNS int64; TTLMS int64; Launches []FeedLaunch; Revoked []string }
type FeedLaunch struct{ LaunchID, AttemptID string; VMRef isolatedjob.Ref; Epoch int64; Services []Service; ProxyCodeHash string; DeadlineNS int64 }
@@ -157,10 +157,10 @@ func (*Controller) Admission(ctx context.Context, by hostedwire.KeyID, attemptID
func (*Client) Admission(ctx context.Context, attempt string) (hostedwire.AdmissionView, error) // GET /v1/jobs/{attempt}/admission
```
-`Launch` for `checks` (instance role) requires a certificate from `Set.For` whose snapshot names the image and covers every `instance` host in the snapshot; it records the certificate digest on the intent. `Admission` answers `CertValid` from `Set.Valid` at the moment of the call and stamps `CheckedNS` in controller time.
+`Launch` refuses (`ErrLaunchExpired`) when its wall clock is past `LaunchByUnixMS`, both before saving the intent and before each provider call; `Replay` marks such an intent `abandoned` without a provider call. So a VM's deadline always ends by `LaunchBy + MaxLifetime`, the end of the instance's reserved window. `Launch` for `checks` (instance role) requires a certificate from `Set.For` whose snapshot names the image and covers every `instance` host in the snapshot; it records the certificate digest on the intent. `Admission` answers `CertValid` from `Set.Valid` at the moment of the call and stamps `CheckedNS` in controller time.
-- [ ] **Red:** `TestCertificateCanonical` (every field covered: changing any one breaks `Verify`). `TestLaunchNeedsCertificate` (no certificate, wrong image, host not covered, unknown key, bad signature, purpose mismatch). `TestAdmissionRecordsCertDigest`. `TestAdmissionKeyRemoved` (reload without the key: `CertValid` false on the next call). `TestAdmissionCreatorOnly`. `TestClientAdmissionVerified` (the client checks the signed response against its own nonce).
-- [ ] **Green:** `go test ./internal/hostedcert ./internal/hostedctl/... ./internal/hostedclient -run 'TestCertificate|TestLaunchNeedsCertificate|TestAdmission|TestClientAdmission' -count=1`; the 1a simulation still passes (`-run TestLifecycleSimulation`).
+- [ ] **Red:** `TestCertificateCanonical` (every field covered: changing any one breaks `Verify`). `TestLaunchNeedsCertificate` (no certificate, wrong image, host not covered, unknown key, bad signature, purpose mismatch). `TestAdmissionRecordsCertDigest`. `TestAdmissionKeyRemoved` (reload without the key: `CertValid` false on the next call). `TestAdmissionCreatorOnly`. `TestLaunchByEnforced` (an intent saved before `LaunchBy` whose provider call is throttled past it is abandoned on `Replay`, with no provider call; a lost reply after `LaunchBy` is reconciled, not replayed). `TestClientAdmissionVerified` (the client checks the signed response against its own nonce).
+- [ ] **Green:** `go test ./internal/hostedcert ./internal/hostedctl/... ./internal/hostedclient -run 'TestCertificate|TestLaunchNeedsCertificate|TestAdmission|TestLaunchBy|TestClientAdmission' -count=1`; the 1a simulation still passes (`-run TestLifecycleSimulation`).
- [ ] **Mutations:** leave `Deployment` out of `Canonical`; cache `CertValid` from launch time.
- [ ] **Commit:** `hostedctl: certified images and the admission record`.
@@ -221,7 +221,7 @@ Egress listener: TLS requiring a client certificate from the controller CA; each
**Interfaces:** `proxytest.Harness{Proxy *hostedproxy.Server; Origin, Other *httptest.Server; Controller *FakeController; Clock *FakeMono}`, all on `127.0.0.1`. The client side is the real hosted transport from Task 12 once it exists; until then the harness's `Client(id)` builds the same `http.Transport`, and Task 12 replaces it (this test must still pass).
- [ ] **Red:** `TestFrontingMatrix`: allowed SNI with another `Host`; CONNECT to the allowed host then SNI of another; CONNECT to `127.0.0.1:443`, `[::1]:443`, the host on 8443; no SNI; ALPN `h2` only; `x@host` and `host%2Eexample`; an absolute-form URI naming another host; a WebSocket upgrade with another `Host`; a nested CONNECT. Each refused with its reason; the origin sees nothing. Positive control: the allowed runner path succeeds and a WebSocket round trip works. `TestNoCertificate`, `TestCertFromOtherCA`, `TestReplayedCertAfterRevoke`, `TestWrongEpochCert`. `TestOpenSocketClosesAtCertExpiry` (an upgraded WebSocket open across `NotAfter` is closed at it). `TestPartitionedProxy` (the controller is up but the proxy cannot reach it: open sockets close at the feed's expiry, new requests fail with `stale_feed`). `TestRenewalReplayRefused` (a captured renewal replayed through the bootstrap listener is refused). `TestCertReportThroughProxy` (a report signed by the VM key reaches the fake controller intact; a report with forged identity headers, another serial, or a signature by a different key is refused by the controller).
-- [ ] **Green:** `go test ./internal/hostedproxy -run 'TestFronting|TestNoCertificate|TestCertFromOtherCA|TestReplayedCert|TestWrongEpoch|TestOpenSocket|TestPartitioned|TestRenewalReplay' -count=1` within the 10 s package budget.
+- [ ] **Green:** `go test ./internal/hostedproxy -run 'TestFronting|TestNoCertificate|TestCertFromOtherCA|TestReplayedCert|TestWrongEpoch|TestOpenSocket|TestPartitioned|TestRenewalReplay|TestCertReportThroughProxy' -count=1` within the 10 s package budget.
- [ ] **Mutations:** accept `h2`; skip the tunnel deadline timer. Each fails a named row.
- [ ] **Commit:** `hostedproxy: fronting, expiry and revocation tests over TLS`.
@@ -323,7 +323,7 @@ func (*Session) Token() string
Probes, each from its stage. Root, before the drop: VPC DNS answers nothing at each managed resolver address; the metadata endpoint gives no credential; `resolv.conf` is empty. User: cannot write `resolv.conf`; cannot gain a capability; a used proxy code is refused at the bootstrap listener. Sandbox: direct IPv4 and IPv6 to a public address, each managed resolver, the metadata endpoint, the proxy egress port without a certificate, the proxy bootstrap port, a DNS query, a build script and `go mod download` with an empty cache, all failing. Positive controls: the runner gets `GET /api/runner/protocol` from the instance through the proxy (the certification launch's one service); the containment suite passes in full (`containment.test -test.skip '^TestSource'`); the sandbox reads the Go tree. Expected outcomes live only in `Matrix()`.
- [ ] **Red:** `TestJudgeUsesTrustedMatrix` (a report claiming success for a failing probe still fails). `TestJudgeNeedsEveryProbe`. `TestJudgeNeedsPositiveControls`. `TestEvidenceFromLaunchRecord` (a report naming another image or launch cannot change the evidence's image). `TestReportOncePerLaunch`. `TestReportNeedsVMKeySignature` (right serial, wrong key; a revoked serial; a proxy-supplied identity header: each refused). `TestSignRefusesMeasuredMismatch` (evidence whose measured runner digest differs from the release's: refused). `TestSignHasNoSnapshotInput`. `TestEvidenceSignatureChecked`.
-- [ ] **Green:** `go test ./internal/hostedcert ./internal/hostedctl/... ./cmd/equipo-hosted-certify -run 'TestJudge|TestEvidence|TestReportOnce|TestSign' -count=1`.
+- [ ] **Green:** `go test ./internal/hostedcert ./internal/hostedctl/... ./cmd/equipo-hosted-certify -run 'TestJudge|TestEvidence|TestReportOnce|TestReportNeedsVMKeySignature|TestSign' -count=1`.
- [ ] **Mutations:** take the image from the report; skip the measured-digest comparison; skip one positive control.
- [ ] **Commit:** `hostedcert: certification evidence, trusted matrix and offline signer`.
@@ -423,7 +423,6 @@ type HostedLimits struct{ Running int; DailySeconds int64; MonthlyMicros int64 }
var DefaultHostedLimits = HostedLimits{Running: 2, DailySeconds: 8 * 3600, MonthlyMicros: 50_000_000}
const RateSmallMicrosPerHour, RateLargeMicrosPerHour = 155_000, 310_000 // spec §10, eu-west-1 x86_64 baseline
const BurstHoldFactor = 4
-const HostedJobOverheadMicros = 10_000
const HostedLaunchWindow = 10 * time.Minute
const HostedChecksLifetime = 90 * time.Minute // per purpose; slice 4 adds its own
func (t *txn) hostedAdmit(person string, size isolatedjob.Size, lifetime time.Duration, now time.Time) (ok bool, reason string, err error) // "running" | "daily" | "monthly"
@@ -431,10 +430,10 @@ func Allocate(from, to time.Time) (days map[string]int64, months map[string]int6
func (s *Store) SetHostedLimits(ctx context.Context, owner, person string, l HostedLimits, revision int64) error
```
-Hold, with `window = HostedLaunchWindow + lifetime`: `window` seconds against each UTC day, and `window × rate × BurstHoldFactor + HostedJobOverheadMicros` against each UTC month, that `[now, now+window]` touches (the whole amount in each). Settle (once, with proof): `Allocate(admitted_at, stop proof observed at)` seconds per day, and that span × rate × `BurstHoldFactor` + overhead per month, replacing the hold. Running counts every job not `ended` or `failed`. A count or read error denies and the step keeps waiting.
+Hold, with `window = HostedLaunchWindow + lifetime`: `window` seconds against each UTC day, and `window × rate × BurstHoldFactor` against each UTC month, that `[now, now+window]` touches (the whole amount in each). Settle (once, with proof): `Allocate(admitted_at, stop proof observed at)` seconds per day, and that span × rate × `BurstHoldFactor` per month, replacing the hold. Running counts every job not `ended` or `failed`. A count or read error denies and the step keeps waiting.
-- [ ] **Red:** `TestLimitsHoldAndSettle`. `TestLimitsRace` (20 goroutines, one slot: one admitted). `TestHoldSpansMidnight` (admission at 23:00 UTC holds the whole window against both days; settling at 23:20 frees the second day). `TestDelayedLaunchReadmitted` (a job admitted at 23:55 and not launched by 00:05 is failed and re-admitted against the new day). `TestSettleStaysConservative` (a 10-minute job settles at 4x the baseline plus overhead). `TestHoldSpansMonthEnd`. `TestNoProofKeepsHold`. `TestLimitCountErrorDenies`. `TestOwnerRaisesLimit`.
-- [ ] **Green:** `go test ./internal/equipo/chat -run 'TestLimits|TestHoldSpans|TestNoProofKeepsHold|TestLimitCount|TestOwnerRaises' -count=1`.
+- [ ] **Red:** `TestLimitsHoldAndSettle`. `TestLimitsRace` (20 goroutines, one slot: one admitted). `TestHoldSpansMidnight` (admission at 23:00 UTC holds the whole window against both days; settling at 23:20 frees the second day). `TestDelayedLaunchReadmitted` (a job admitted at 23:55 and not launched by 00:05 is failed, and re-admitted against the new day only after the controller shows the intent abandoned). `TestSettleStaysConservative` (a 10-minute job settles at 4x the baseline). `TestHoldSpansMonthEnd`. `TestNoProofKeepsHold`. `TestLimitCountErrorDenies`. `TestOwnerRaisesLimit`.
+- [ ] **Green:** `go test ./internal/equipo/chat -run 'TestLimits|TestHoldSpans|TestDelayedLaunch|TestSettleStays|TestNoProofKeepsHold|TestLimitCount|TestOwnerRaises' -count=1`.
- [ ] **Mutations:** count only `enrolled` jobs; hold at the baseline rate; treat a count error as zero.
- [ ] **Commit:** `equipo: per-person hosted limits, held then settled`.
@@ -453,7 +452,7 @@ Both placements are in `waitingPlacements`. A step with a live hosted job is exe
`fits`: a runner bound to a hosted job fits only that job's step; `Authorize` refuses any other step and any other attempt for it in its transaction.
-**Dispatcher:** `type Dispatcher struct{ Store *chat.Store; Client *hostedclient.Client; Clock func() time.Time }`; `func (*Dispatcher) Pass(ctx context.Context) error`, every 10 s. At start it asks the controller for the admission of a made-up attempt and logs `hosted_controller_reachable` when the signed not-found answer verifies, or `hosted_controller_unreachable` with the reason. Launch `pending` jobs outside any transaction (`Replaces` set to the predecessor's attempt for a retry; a throttle keeps `pending`, backoff 10 s to 5 min). Refresh `Admission` for every `enrolling` or `enrolled` job each pass and record it (`HostedAdmitted`). Stop a job not enrolled 2 min after the controller reports it running. Fail and re-admit a job still `pending` past its `HostedLaunchWindow`. When the step is terminal, the job failed, or the controller reports the VM gone, call `Stop` until it returns proof, revoke the runner, settle.
+**Dispatcher:** `type Dispatcher struct{ Store *chat.Store; Client *hostedclient.Client; Clock func() time.Time }`; `func (*Dispatcher) Pass(ctx context.Context) error`, every 10 s. At start it asks the controller for the admission of a made-up attempt and logs `hosted_controller_reachable` when the signed not-found answer verifies, or `hosted_controller_unreachable` with the reason. Launch `pending` jobs outside any transaction (`Replaces` set to the predecessor's attempt for a retry; a throttle keeps `pending`, backoff 10 s to 5 min). Refresh `Admission` for every `enrolling` or `enrolled` job each pass and record it (`HostedAdmitted`). Stop a job not enrolled 2 min after the controller reports it running. A job still `pending` or `launching` past `LaunchBy` is failed; it is re-admitted only after the controller shows its intent `abandoned` with no VM, or its VM stopped with proof. When the step is terminal, the job failed, or the controller reports the VM gone, call `Stop` until it returns proof, revoke the runner, settle.
- [ ] **Red:** `TestHostedPlacementBeforeEarlyReturn`, `TestMacChecksNeverHosted`, `TestHostedNeedsCapablePrimary`, `TestRepeatedPlacementOneJob` (ten placement passes: one job, one hold), `TestEnrolledJobDispatches`, `TestHostedWaitsAtLimit`, `TestBoundRunnerFitsOnlyItsStep`, `TestAuthorizeRefusesOtherStep`, `TestHostedExemptFromWithdrawal`, `TestPrimaryLostDuringEnrolment` (the job is kept and the step waits; reconnect continues it; no fallback to the primary), `TestPlacementDuringStopping` (ten passes while `stopping`: no new job until proof), `TestEnrolTimeoutRetriesOnce` (the retry launches only after the first job's proof, with `Replaces`), `TestVMGoneMidStep`, `TestStopUntilProofThenSettle`, `TestThrottleBacksOff`, `TestDispatcherOffWithoutFlag`, `TestReachabilityProbeLogged`, `TestOnlyHostedrunImportsHostedClient`. `TestDispatcherSimulation` (200 seeds; a fake controller with lost replies, throttles, VM deaths, instance restarts and certificate withdrawal; invariants: at most one live VM per step; never more running jobs per person than the limit; holds never exceed limits; every settled job has proof; no step is certified by a VM whose admission was stale or invalid).
- [ ] **Green:** `go test ./internal/equipo/hostedrun ./internal/equipo/chat ./internal/hostedclient -run 'TestHosted|TestMacChecks|TestRepeated|TestEnrolled|TestBoundRunner|TestAuthorizeRefuses|TestPrimaryLost|TestEnrolTimeout|TestVMGone|TestStopUntil|TestThrottle|TestDispatcher|TestOnlyHostedrun' -count=1`.
@@ -552,7 +551,7 @@ var ErrCheckpointMismatch, ErrNoReceipt error
**Shape (S2-4):** as `2026-11-30-hosted-prod-account-plan.md` sections 2 to 4 list them, address by address. Every provider block sets `allowed_account_ids` and `region`. `account` (prod only): CloudTrail (management events in every region, and an advanced selector for `AWS::Lambda::MicrovmImage` data events), the alert topic and email subscription, the monthly budget. Account singletons (S3 public access block, EBS default encryption) are not OpenTofu resources; `equipo-hosted-ops singleton` handles them. No password policy and no cost anomaly monitor. `network`: VM VPC with DNS support and hostnames off and one VM subnet; services VPC with DNS on, two public subnets in two AZs, an internet gateway and a default route to it; one peering with a return route; the VM route table (local plus a `/32` per proxy, at fixed private addresses from variables); the VM security group (egress only to the proxies on 8443 and 8444, no ingress); NACLs; the connector's operator role (`AWSLambdaNetworkConnectorOperatorPolicy` plus the subnet-scoped `ec2:DeleteNetworkInterface`). The connector itself is created by `equipo-hosted-ops connector` (Task 33), not OpenTofu. `config`: the config, Litestream and image-input buckets with owner-enforced policies; the controller, proxy A, proxy B and image-build roles (without instances), the image-build policy and log group. `services`: the controller (`t4g.small`, standard credits, IMDSv2 required, EIP; role: `lambda-microvms` actions on this account's MicroVMs and images in `eu-west-1`, `lambda:GetNetworkConnector` on the one connector, `ec2:Describe*` for the audit, `sns:Publish` on the topic, `cloudwatch:PutMetricData` in the `EquipoHosted` namespace, S3 on its Litestream bucket and on `controller/` and `pins/` in the config bucket; security group 443 from anywhere); proxies A and B (`t4g.micro`, standard credits, IMDSv2, EIPs, fixed private addresses, two AZs; each role `s3:GetObject` on its own `proxy/<name>/` only; listeners on private addresses only); alarms on the controller's `Heartbeat` (missing is breaching), `AuditPassing`, `OrphansSeen`, `ProxySilent`, the topic's failed notifications, and each host's status checks; the budget action (`APPLY_IAM_POLICY`, actual, absolute, automatic, a deny policy for `RunMicrovm` and `ResumeMicrovm` on the controller role) with its execution role, trusted by Budgets and limited to attaching and detaching that one policy on that one role. `plan-check.py --phase P --account A --region R plan.json` passes only the addresses `phases.json` lists for `P`, only `create` actions (and only `delete` for the `destroy-*` phases), and only ARNs in `A` and `R`.
-- [ ] **Red:** `envs/prod/network/tests/network.tftest.hcl`: DNS off on the VM VPC; no route to `0.0.0.0/0` or `::/0` from the VM subnet; only `/32` routes over the peering; the VM security group's egress set equals the proxies'; DNS on in the services VPC. `envs/prod/config/tests/iam.tftest.hcl` and `envs/prod/services/tests/iam.tftest.hcl`: the controller role has no `iam:*` and no MicroVM action outside the account and region; each proxy role allows only `s3:GetObject` on its own prefix; the budget action role can attach only the deny policy to only the controller role. `plan_check_test.py` also refuses a provider without `allowed_account_ids`, a provider alias, a provisioner, `terraform_data`, `null_resource`, and an unknown value in a pinned security attribute. `plan_check_test.py`: an unlisted address, an `update`, a `replace` and a foreign ARN are each refused.
+- [ ] **Red:** `envs/prod/network/tests/network.tftest.hcl`: DNS off on the VM VPC; no route to `0.0.0.0/0` or `::/0` from the VM subnet; only `/32` routes over the peering; the VM security group's egress set equals the proxies'; DNS on in the services VPC. `envs/prod/config/tests/iam.tftest.hcl` and `envs/prod/services/tests/iam.tftest.hcl`: the controller role has no `iam:*` and no MicroVM action outside the account and region; each proxy role allows only `s3:GetObject` on its own prefix; the budget action role can attach only the deny policy to only the controller role. `plan_check_test.py` also refuses a provider without `allowed_account_ids`, a provider alias, a provisioner, `terraform_data`, `null_resource`, and an unknown value in a pinned security attribute unless that value is a reference (in the plan's `configuration` expressions) to an attribute of a resource created in the same plan at an address `phases.json` lists for the phase. It is tested on a genuine fresh-plan JSON fixture of `envs/prod/network` (the routes' unknown peering ID passes) and on substitutions (the same route pointing at a literal peering ID, or at a resource outside the phase: refused). `plan_check_test.py`: an unlisted address, an `update`, a `replace` and a foreign ARN are each refused.
- [ ] **Green:** for each root `R` in `envs/dev/network envs/dev/config envs/dev/services envs/prod/account envs/prod/network envs/prod/config envs/prod/services`: `tofu -chdir=infra/hosted/$R init -backend=false && tofu -chdir=infra/hosted/$R validate && tofu -chdir=infra/hosted/$R test`; `python3 -I infra/hosted/scripts/plan_check_test.py`.
- [ ] **Mutations:** add a default route on the VM subnet; widen the proxy role; let `plan-check.py` pass an `update`. Each fails its test.
- [ ] **Commit:** `infra: OpenTofu for the hosted stack, dev and prod`.
@@ -564,7 +563,7 @@ var ErrCheckpointMismatch, ErrNoReceipt error
**Interfaces:** `release-hosted.sh <version>` builds `equipo-hosted-controller`, `equipo-hosted-proxy`, `equipo-vm-init`, `equipo-hosted-image`, `equipo-hosted-certify` and the runner for the image, records SHA-256 sums, and publishes them on the forge under the release tag, as `publish-renderer.sh` does. Cloud-init downloads by URL and checks the digest before installing; a mismatch, or private keys absent from the config bucket after 15 minutes, leaves the unit off. The controller unit's `ExecStartPre` fetches config and runs `litestream restore -if-replica-exists` before the controller starts; Litestream then replicates continuously to the Litestream bucket, and the controller exports `litestream_lag_seconds`. After a restore that trails live VMs, the 1a reaper treats unknown VMs as orphans and stops them after 10 minutes, which is the intended recovery. The controller publishes `Heartbeat` (only after a clean reaper pass), `AuditPassing`, `OrphansSeen` and `ProxySilent` to CloudWatch every minute. `GET /healthz` on the metrics listener only.
- [ ] **Red:** `TestCloudInitChecksDigest`, `TestControllerReadsManifest`, `TestKeygenWritesPrivate0600`, `TestPinWrittenOnce`, `TestHealthzOnMetricsOnly`, `TestHeartbeatOnlyAfterCleanPass`, `TestRestoreBeforeStart` (the unit order).
-- [ ] **Green:** `go test ./internal/hostedctl ./cmd/equipo-hosted-controller -run 'TestCloudInit|TestControllerReads|TestKeygen|TestPinWritten|TestHealthz' -count=1`; `scripts/release-hosted.sh --dry-run`.
+- [ ] **Green:** `go test ./internal/hostedctl ./cmd/equipo-hosted-controller -run 'TestCloudInit|TestControllerReads|TestKeygen|TestPinWritten|TestHealthz|TestHeartbeat|TestRestoreBeforeStart' -count=1`; `scripts/release-hosted.sh --dry-run`.
- [ ] **Commit:** `hosted: release artifacts and host configuration by digest`.
### Task 30: Whole chain on one machine
@@ -584,6 +583,8 @@ var ErrCheckpointMismatch, ErrNoReceipt error
### Task 32: Whole-branch review
+Runs after Task 33, so the review covers the run kit too.
+
- [ ] `make ci` with every target passing except `copy-release-check`, whose only failures must be the pending keys from Task 31; one whole-branch Astra review, at most three rounds; fix what is clearly right; record what stays open.
- [ ] **Commit:** `hosted slice 2: review fixes`.
@@ -591,12 +592,12 @@ var ErrCheckpointMismatch, ErrNoReceipt error
The account plan's Astra round 1 showed that live-run machinery adapted by hand from Task 17b's shell does not hold for a new account. This task builds it as a tested tool, used by the dev drill first and then by production.
-**Files:** Create `internal/hostedops/{guard.go,ledger.go,estimate.go,vms.go,connector.go,buckets.go,singleton.go,units.go,tf.go,report.go,*_test.go}`, `cmd/equipo-hosted-ops/main.go`. Modify `internal/isolatedjob/providerguard_test.go` (allowed list).
+**Files:** Create `internal/hostedops/{guard.go,ledger.go,estimate.go,vms.go,connector.go,buckets.go,singleton.go,units.go,tf.go,report.go,*_test.go}` (provider-neutral), `internal/isolatedjob/awsjob/opsaws/{*.go,*_test.go}` (the SDK side, faked with SDK middleware in its tests), `cmd/equipo-hosted-ops/main.go`. Modify `internal/isolatedjob/providerguard_test.go` (adds the command to the allowed list).
**Interfaces:** global flags `-dir -run -profile -account -region`; every subcommand exits 99 on a safety failure (a hard stop), 1 on an ordinary failure, 0 on success, and writes one journal line per action.
-- `guard`: STS identity and region equal to the flags, else 99. Credentials are resolved once and fixed for the process (livectl's R41 and R42 rules).
+- Every subcommand that calls AWS resolves credentials once, freezes them for the process, and verifies them through STS (account, role name and region equal to the flags, else 99) before any other call, as livectl's R41 and R42 do. `guard` is that check alone. `tf` passes the same frozen keys to `tofu` as `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` and `AWS_SESSION_TOKEN`, with `AWS_PROFILE`, `AWS_CONFIG_FILE` and `AWS_SHARED_CREDENTIALS_FILE` unset, and re-verifies before `apply`. SDK code lives under `internal/isolatedjob/awsjob/opsaws`; `internal/hostedops` sees only provider-neutral interfaces, so the provider guard is unchanged except for the command.
- `ledger init|intent|rec|deleted|reconcile`: the Task 17b ledger rules (intent before create, `rec` after, skip-never-created, unresolved blocks teardown); `rec` accepts this account's ARNs, the region's, and an explicit list of AWS-owned ARNs, and refuses any other account's.
-- `estimate --stop USD`: hosts' hours since creation at on-demand rates, every VM the provider lists for the run's image at four times the Large rate for its full lifetime, image builds at $1 each, image storage at $8 a month pro rata; 99 at `--stop`.
+- `estimate --stop USD`: hosts' hours since creation at on-demand rates; every VM ever seen for the run's image (accumulated durably in the ledger by ID, so a VM that later drops out of the provider's list keeps its charge) at four times the Large rate for its full lifetime; image builds at $1 each; image storage at $8 a month pro rata; 99 at `--stop`, and 99 when a scan it depends on is incomplete.
- `vms scan|settle --image ARN [--terminate] --max D`: provider-level, image-scoped, every page and state; settle proves no live VM by three scans 30 s apart, terminating with `--terminate`; it never consults the controller.
- `connector create|delete`: create, wait `ACTIVE`, read the `:1` qualified ARN; delete with Task 17b's 10.2 fallback, interfaces verified gone and never deleted by hand.
- `bucket create|empty|delete --expected-owner`: versions and delete markers, paginated.
@@ -606,8 +607,8 @@ The account plan's Astra round 1 showed that live-run machinery adapted by hand
- `assert` (99 on mismatch) and `fact` (a FINDING); `ledger note`; `wait-human NAME --max D [--background]`; `wait object`; `object put`; `keys upload`; `status` (the operator route of Task 5, through the pin); `litestream-check` (restore the latest generation into scratch and open it); `inventory`; `quota`; `tfvars [--add-image --add-connector]`; `verify-gone` (direct reads per recorded type); `report [--stopped]`.
- Each subcommand's exact flags are the ones `2026-11-30-hosted-prod-account-plan.md` uses; that plan is the acceptance list for this tool.
-- [ ] **Red:** `TestGuardRefusesOtherAccount`, `TestLedgerSkipNeverCreated`, `TestLedgerUnresolvedBlocksTeardown`, `TestRecRefusesForeignAccount`, `TestRecAcceptsListedAWSOwned`, `TestEstimateStops` (a ledger whose worst case reaches the stop: 99), `TestSettleNeedsThreeCleanScans`, `TestSettleIgnoresController`, `TestConnectorDeleteFallback` (DELETE_FAILED, then the one retry; a second failure is 99), `TestBucketEmptyPaginates` (versions and markers over several pages), `TestBucketOwnerChecked`, `TestSingletonNeverTurnsOff`, `TestTfRefusesUnsavedApply`, `TestUnitStopOnlyJournalled`. AWS is faked with SDK middleware; no test reaches AWS.
-- [ ] **Green:** `go test ./internal/hostedops ./cmd/equipo-hosted-ops -count=1`; `make build vet govulncheck`.
+- [ ] **Red:** `TestGuardRefusesOtherAccount`, `TestEveryAWSCommandVerifiesItself` (a profile changed between two invocations, and wrong-role credentials, are refused by the second invocation before any mutation), `TestTfPassesFrozenKeys`, `TestLedgerSkipNeverCreated`, `TestLedgerUnresolvedBlocksTeardown`, `TestRecRefusesForeignAccount`, `TestRecAcceptsListedAWSOwned`, `TestEstimateStops` (a ledger whose worst case reaches the stop: 99), `TestEstimateKeepsVanishedVMs`, `TestEstimateIncompleteScanStops`, `TestSettleNeedsThreeCleanScans`, `TestSettleIgnoresController`, `TestConnectorDeleteFallback` (DELETE_FAILED, then the one retry; a second failure is 99), `TestBucketEmptyPaginates` (versions and markers over several pages), `TestBucketOwnerChecked`, `TestSingletonNeverTurnsOff`, `TestTfRefusesUnsavedApply`, `TestUnitStopOnlyJournalled`. AWS is faked with SDK middleware; no test reaches AWS.
+- [ ] **Green:** `go test ./internal/hostedops ./internal/isolatedjob/... ./cmd/equipo-hosted-ops -count=1`; `make build vet govulncheck`.
- [ ] **Mutations:** let `guard` pass on a region mismatch; let `settle` stop after one clean scan; let `rec` accept another account.
- [ ] **Commit:** `hostedops: tested run kit for the dev drill and production`.
@@ -630,7 +631,7 @@ The account plan's Astra round 1 showed that live-run machinery adapted by hand
2. **S2-1, dependencies from the primary, against base pins only, instead of a mirror service.** Spec §16 ruling 4 requires the mirror before hosted code runs; this meets the mirror's properties without the importer, and a candidate that adds a dependency cannot pass hosted checks until a mirror exists. The coordinator's brief quotes the earlier wording of ruling 4 ("the registry leak gap is accepted for a team's own repos in v1"); the spec's later text, written after Fable's H3, says no network for agent code in any project, and this plan follows the spec. *Recommendation:* accept S2-1.
3. **S2-2, S2-3 and S2-10:** no resolver; one expiry rule with no continuation; no mutation-evidence registry in certification. *Recommendation:* accept all three.
4. **S2-4:** two VPCs, peered, with the network audit changed to accept exactly that, and the 1b pinned resolver for proxies dropped. *Recommendation:* accept.
-5. **S2-5 and S2-9:** Large VMs, 90-minute lifetime; holds and settlements at 4x the baseline rate plus $0.01 a job, because AWS does not report burst. A full hold (100-minute window) is $2.08; a 10-minute check settles at $0.22, so about 230 a month within $50. *Recommendation:* accept, and raise a person's limit if it bites; the alternative, settling at baseline, lets real spend reach about 4x the limit.
+5. **S2-5 and S2-9:** Large VMs, 90-minute lifetime; holds and settlements at 4x the baseline rate, because AWS does not report burst. A full hold (100-minute window) is $2.07; a 10-minute check settles at $0.21, so about 240 a month within $50. The per-person limit counts VM compute only: API calls and data transfer are small and bounded per job, and fall under the account budget with the fixed costs. *Recommendation:* accept this compute-based limit, and raise a person's limit if it bites; settling at baseline instead would let real compute spend reach about 4x the limit.
6. **Who holds the certification key.** *Recommendation:* Paul, on a machine that is not docs-t1; each new image needs one signature.
## Open questions carried from slice 1a