oficina / equipo Public

plans: Task 17 live plan, revision 4

Paul's 2026-11-25 ruling after attempt 2: 60 s IAM waits; connector
retry after 120 s, then the managed operator policy plus a scoped
inline delete, a third refusal stops; image create retried once on a
role refusal; skip-never-created rule for teardown and the safe stop;
10.8 matches records by full value; 10.3 records VPC defaults deleted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev d8ed9d7a2f43ecf97c1d5de7e89efd0f23686cda parent cbbe79f
1 file changed, +224 −83
  • docs/superpowers/plans/2026-11-23-hosted-1a-task17-live-plan.md +224 −83

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-1a: Type  Size Avail | ext4   96G   86G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   86G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 1.5s
ci-box: codex: fetched and verified in 3.4s
ci-box: codex-code-mode-host: fetched and verified in 1.3s
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 10.0s
ci-box: pi: installed and verified in 7.5s
ci-box: opencode: installed and verified in 2.0s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.9s
ci-box: clone deepened in 3.5s
ci-box: file times set from content: 2908 files, 194 directories
ci-box: ready in 16.8s
=== 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.253s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  1.2s
+ go list -export -test -tags testbuild -f  ./...
  0.6s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  0.3s
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 1m22.779s 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 1m21.248s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m21.25s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 34.89, cpu waiting 21.33%, memory waiting 0.00%, io waiting 0.58%
--- 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 1m24.283s 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.622s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m22.62s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 34.89, cpu waiting 21.33%, memory waiting 0.00%, io waiting 0.58%
--- 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 1m25.034s 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.904s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m12.16s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.9s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.85s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 34.89, cpu waiting 21.33%, memory waiting 0.00%, io waiting 0.58%
--- 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 1m20.388s 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 1m18.757s amadan.net/oficina/equipo/internal/headless
receipt: slow test 38.02s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 20.58s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.54s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.61s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 36.36, cpu waiting 22.11%, memory waiting 0.00%, io waiting 0.62%
--- 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_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 1m38.893s 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 1m37.183s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m0.83s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.21s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 10.15s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 9.01s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 5.98s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 29.52, cpu waiting 17.33%, memory waiting 0.00%, io waiting 0.46%
--- 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_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 3m12.546s 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 3m10.405s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m46.09s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 24.86s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.87s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 8.34s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.42s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 7.64, cpu waiting 3.63%, memory waiting 0.00%, io waiting 0.09%
--- 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 1.163s 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 2m1.624s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 7.84s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.74s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.31s amadan.net/oficina/equipo/internal/thintest TestContractTeamUpdatePersonNeeds
receipt: slow test 3.81s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 3.52s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
machine: 32 CPUs, load 8.15, cpu waiting 1.24%, memory waiting 0.00%, io waiting 2.30%
--- 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 1.061s 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 1m26.784s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.08s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.03s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.41s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.4s amadan.net/oficina/equipo/internal/thintest TestContractPreview
receipt: slow test 2.34s amadan.net/oficina/equipo/internal/thintest TestContractPublishNameTaken
machine: 32 CPUs, load 1.72, cpu waiting 0.03%, memory waiting 0.00%, io waiting 2.35%
--- 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
budget note: internal/runner/thin took 4m32.476s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m45.465s 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 4m32.476s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 36.99s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.94s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.8s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.46s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 7.11s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 2.18, cpu waiting 0.78%, memory waiting 0.00%, io waiting 0.01%
--- 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 47.898s 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 46.822s amadan.net/oficina/equipo/internal/runner
receipt: slow test 26.79s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.03s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 34.63, cpu waiting 21.07%, memory waiting 0.00%, io waiting 1.07%
--- 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 47.839s 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 45.914s amadan.net/oficina/equipo/internal/runner
receipt: slow test 35.91s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 32.78s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.37s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 34.63, cpu waiting 21.07%, memory waiting 0.00%, io waiting 1.07%
--- 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 35.032s 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 34.12s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.13s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.35s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.12s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.38s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 29.15, cpu waiting 15.82%, memory waiting 0.00%, io waiting 1.30%
--- 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 27.7%, load 20.85
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

receipt: test step 1m4.859s 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 1m3.13s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 26.78s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 26.7s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 24.68s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 22.2s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 21.97s amadan.net/oficina/equipo/internal/equipotest TestAuthorityProjectKinds
machine: 32 CPUs, load 31.30, cpu waiting 18.49%, memory waiting 0.00%, io waiting 0.49%
--- 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 27.7%, load 20.85
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 1.259s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m12.399s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 19.2s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 19.12s amadan.net/oficina/equipo/internal/equipotest TestProjectOwnersAreMembers
receipt: slow test 19.11s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 19.11s amadan.net/oficina/equipo/internal/equipotest TestProjectRetryAndRevision
receipt: slow test 19.08s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
machine: 32 CPUs, load 26.55, cpu waiting 11.30%, memory waiting 0.00%, io waiting 1.44%
--- 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 27.7%, load 20.85
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

receipt: test step 1m16.416s 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 1m4.233s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 14.34s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 12.76s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 9.75s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 9.71s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 6.67s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 25.52, cpu waiting 15.17%, memory waiting 0.00%, io waiting 0.40%
--- 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 27.7%, load 20.85
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 531ms 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 1m4.903s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 24.52s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 23.66s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 23.64s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 22.02s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsRollbackAndUnavailable
receipt: slow test 21.99s amadan.net/oficina/equipo/internal/equipotest TestSigninBackgroundSweep
machine: 32 CPUs, load 26.55, cpu waiting 12.50%, memory waiting 0.00%, io waiting 1.39%
--- 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 27.7%, load 20.85
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 570ms 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 48.756s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.61s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.41s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.5s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.47s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.21s amadan.net/oficina/equipo/internal/plan3test TestPlanMigrationUpgrade
machine: 32 CPUs, load 26.55, cpu waiting 11.30%, memory waiting 0.00%, io waiting 1.44%
--- 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 27.7%, load 20.85
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/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./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/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/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./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/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./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/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/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/isolatedjob: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: 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 45.275s, 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 12.529s, 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 15.452s, 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 39.84s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/release took 34.981s, 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/containment took 40.678s, over the 15s its record on line 40 allows; reported only, timing fails on CI

receipt: test step 2m19.353s against a 60s target (the gate's other steps are not in this figure)
receipt: 12 packages ran, 55 cached, 20 without tests, 0 failed
receipt: slow package 54.945s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 53.19s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 45.275s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 40.678s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow package 39.84s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 32.06s amadan.net/oficina/equipo/cmd/equipo-runner TestReleaseRunnerHasNoFakeWorker
receipt: slow test 22.56s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 15.49s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 13.95s amadan.net/oficina/equipo/internal/hostedctl TestLifecycleSimulation
receipt: slow test 10.89s amadan.net/oficina/equipo/internal/idtest TestIDCallbackGuardAndPendingNonce
machine: 32 CPUs, load 10.77, cpu waiting 5.24%, memory waiting 0.00%, io waiting 0.13%
--- 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 1m23.723s 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.192s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.48s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 15.28s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 10.68s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.93s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 6.17s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 34.89, cpu waiting 21.33%, memory waiting 0.00%, io waiting 0.58%
--- 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 1m34.298s 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 1m32.546s amadan.net/oficina/equipo/internal/headless
receipt: slow test 26.44s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 23.26s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 14.44s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 10.37s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 8.21s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 31.30, cpu waiting 18.49%, memory waiting 0.00%, io waiting 0.49%
--- 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 1m40.819s 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 1m39.203s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.06s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 13.41s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 13.09s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 10.22s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.2s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 27.39, cpu waiting 16.21%, memory waiting 0.00%, io waiting 0.43%
--- 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|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|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
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserCopyContinue
=== RUN   TestBrowserCopyContinue
time=2026-11-25T19:33:15.203Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-25T19:33:15.203Z level=INFO msg="startup phase done" phase=state_lock took=83µs
time=2026-11-25T19:33:15.203Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-25T19:33:15.203Z level=INFO msg="startup phase done" phase=claim_roots took=86µs
time=2026-11-25T19:33:15.203Z level=INFO msg="startup phase" phase=sweep
time=2026-11-25T19:33:15.233Z level=INFO msg="startup phase done" phase=sweep took=30.336ms
time=2026-11-25T19:33:15.234Z level=INFO msg="startup phase" phase=credentials
time=2026-11-25T19:33:15.234Z level=INFO msg="startup phase done" phase=credentials took=122µs
time=2026-11-25T19:33:15.234Z level=INFO msg="startup phase" phase=open_state
time=2026-11-25T19:33:15.278Z level=INFO msg="startup phase done" phase=open_state took=44.331ms
time=2026-11-25T19:33:15.279Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-25T19:33:15.281Z level=INFO msg=connecting host=127.0.0.1:33089 protocol=28
time=2026-11-25T19:33:15.283Z level=INFO msg=connected host=127.0.0.1:33089 took=1.034ms
time=2026-11-25T19:33:15.284Z level=INFO msg="capabilities gathering"
time=2026-11-25T19:33:15.284Z level=INFO msg="capabilities gathered" took=433µs tags=linux,claude,go
time=2026-11-25T19:33:15.285Z level=INFO msg="hello sent" protocol=28
time=2026-11-25T19:33:15.292Z level=INFO msg=welcome protocol=28 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 TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-25T19:33:46.736Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-25T19:33:46.736Z level=INFO msg="startup phase done" phase=state_lock took=70µs
time=2026-11-25T19:33:46.736Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-25T19:33:46.736Z level=INFO msg="startup phase done" phase=claim_roots took=90µs
time=2026-11-25T19:33:46.736Z level=INFO msg="startup phase" phase=sweep
time=2026-11-25T19:33:46.764Z level=INFO msg="startup phase done" phase=sweep took=28.582ms
time=2026-11-25T19:33:46.764Z level=INFO msg="startup phase" phase=credentials
time=2026-11-25T19:33:46.764Z level=INFO msg="startup phase done" phase=credentials took=117µs
time=2026-11-25T19:33:46.764Z level=INFO msg="startup phase" phase=open_state
time=2026-11-25T19:33:46.806Z level=INFO msg="startup phase done" phase=open_state took=41.544ms
time=2026-11-25T19:33:46.806Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-25T19:33:46.807Z level=INFO msg=connecting host=127.0.0.1:34777 protocol=28
time=2026-11-25T19:33:46.808Z level=INFO msg=connected host=127.0.0.1:34777 took=897µs
time=2026-11-25T19:33:46.809Z level=INFO msg="capabilities gathering"
time=2026-11-25T19:33:46.809Z level=INFO msg="capabilities gathered" took=353µs tags=linux,claude,go
time=2026-11-25T19:33:46.809Z level=INFO msg="hello sent" protocol=28
time=2026-11-25T19:33:46.814Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-25T19:33:47.855Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_receipts_test.go:169: waiting for [...document.querySelectorAll('[equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes("I'm your coordinator")): context deadline exceeded (last evaluation: <nil>)
--- FAIL: TestBrowserEmptyExplore (5.84s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m27.818s
FAIL	amadan.net/oficina/equipo/internal/headless	88.113s

rastrillo: budget test: go test failed

receipt: test step 1m29.233s 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 1m27.818s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.19s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 11.26s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 10.69s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 10.41s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 8.07s amadan.net/oficina/equipo/internal/headless TestBrowserRefreshRace
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|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$|^TestBrowserEmptyExplore$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserCopyContinue browser-headless-rest d8ed9d7a2f43ecf97c1d5de7e89efd0f23686cda 1.88s 32.90
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest d8ed9d7a2f43ecf97c1d5de7e89efd0f23686cda 5.84s 32.90
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 27.39, cpu waiting 16.21%, memory waiting 0.00%, io waiting 0.43%
--- 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)$' ./internal/equipo

receipt: test step 1.032s 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 573ms amadan.net/oficina/equipo/internal/equipo
receipt: slow test 570ms amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewBlocksNavigation
browser lane browser-rest: ./internal/idtest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserOficinaIDDoor)$' ./internal/idtest

receipt: test step 842ms 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 1.673s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 1.67s 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 348ms 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 1.856s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 1.86s 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|TestBrowserAutonomySettings|TestBrowserCoordinatorQueue|TestBrowserEmptyConversation|TestBrowserEndedNoteStaysGone|TestBrowserHousekeeping|TestBrowserInnerGallery|TestBrowserInnerScreens|TestBrowserInstantThinking|TestBrowserInstantThinkingQueued|TestBrowserMachines|TestBrowserPhoneIndex|TestBrowserPlacementQuestionAndPending|TestBrowserProjectPlacement|TestBrowserProjectsList|TestBrowserReportActionFeedback|TestBrowserReportNextSteps|TestBrowserReportThread|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 1.164s 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 3m20.199s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 17.52s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.35s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.02s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.55s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 7.93s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
machine: 32 CPUs, load 8.15, cpu waiting 1.79%, memory waiting 0.00%, io waiting 2.23%
--- 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   (53s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 5.44s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.40s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 9.47s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 10.20s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 24.98s
+ 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   (64s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 13.06s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 14.66s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 20.80s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 13.24s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (22s)
ok ./internal/headless TestMixedVersions 20.63s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (1s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.80s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (0s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.05s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 37.46, cpu waiting 22.26%, memory waiting 0.00%, io waiting 0.81%
--- 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.38s against a 60s target (the gate's other steps are not in this figure)
receipt: 4 packages ran, 0 cached, 3 without tests, 0 failed
receipt: slow package 7.19s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 191ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 119ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 2ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/gotoolchain
receipt: slow test 5.16s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.67s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 270ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 190ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/provider/codex TestDirectJournalAdapterBarrier
CGO_ENABLED=0 EQUIPO_REQUIRE_USER_SESSION=1 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run '^TestNamespace' -count=1 ./internal/runner/containment
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run '^TestNamespace' -count=1 ./internal/runner/containment

receipt: test step 3.179s 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 2.846s 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 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicy
machine: 32 CPUs, load 11.70, cpu waiting 4.78%, memory waiting 0.00%, io waiting 1.95%
--- 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 27.7%, load 20.85
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2621 text files, 2854 matches, 0 failures
python3 scripts/ci-test.py check
lanes: 18 lanes and 5 browser lanes run every test once; 20-check@29
CGO_ENABLED=0 go build ./...
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o /dev/null ./cmd/equipo-runner
go vet ./...
go vet -tags testbuild ./internal/runner/thin ./internal/headless
GOOS=darwin GOARCH=arm64 go vet ./cmd/equipo-runner/... ./internal/runner/... ./internal/wire/... ./internal/release/...
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
budget size: 96 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.568s
machine: 32 CPUs, load 32.34, cpu waiting 20.18%, memory waiting 0.00%, io waiting 1.14%
--- 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 27.7%, load 20.85
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 26.55, cpu waiting 12.50%, memory waiting 0.00%, io waiting 1.39%
--- 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 27.7%, load 20.85
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 0 vulnerabilities in packages you import and 5
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 29.15, cpu waiting 16.74%, memory waiting 0.00%, io waiting 1.26%
--- 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 27.7%, load 20.85
shard 28: make gitleaks
7:33PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
7:33PM INF 1160 commits scanned.
7:33PM INF scanned ~62541257 bytes (62.54 MB) in 14s
7:33PM INF no leaks found
machine: 32 CPUs, load 32.34, cpu waiting 20.18%, memory waiting 0.00%, io waiting 1.14%
=== perf ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -require TestPerfScreens,TestPerfBoot -tags perf -count=1 -p 1 -parallel 1 -run '^TestPerf' ./...

amadan: job cancelled — a newer push superseded it
diff --git a/docs/superpowers/plans/2026-11-23-hosted-1a-task17-live-plan.md b/docs/superpowers/plans/2026-11-23-hosted-1a-task17-live-plan.md
index 95632fe7..8e74daf3 100644
--- a/docs/superpowers/plans/2026-11-23-hosted-1a-task17-live-plan.md
+++ b/docs/superpowers/plans/2026-11-23-hosted-1a-task17-live-plan.md
@@ -1,33 +1,38 @@
# Hosted runners 1a, Task 17: live check plan (for Paul's approval)
-**Revision:** 3 (2026-11-23), after attempt 1 stopped safely at 0.4 (nothing created, $0).
-Revision 2 (`a11cf43b`) was the approved one. **Status:** draft for re-approval of the changes
-below; no AWS command or SDK call of any kind was made while writing it.
-
-## Changes since the approved revision
-
-1. **Image lookups by name.** `get-microvm-image` takes an ARN or ID, not a name (attempt 1:
- `ValidationException`, "Invalid ARN format"). 0.4 and S.2 now find the image by listing
- (`list-microvm-images`, every page) and matching the exact name, so no error code is guessed.
- The plan's other `lambda-microvms` calls already pass ARNs or VM IDs.
-2. **Journal lines are single lines.** `jw` replaces newlines and tabs in recorded text, and 11.2
- aborts with a clear message on a malformed journal or VM ledger line instead of a traceback.
-3. **Every block runs with the agent sandbox off** (attempt 1: the sandbox proxy blocks AWS,
- `allowed_domains` is ignored, and `$TMPDIR` differs inside and outside the sandbox). The
- "Sandbox network" rule is removed.
-4. **Error-code sweep (U18).** Branches that relied on a model-derived not-found code now list and
- match instead: the S3 bucket (`list-buckets`) and object (`list-objects-v2`), the SNS topic
- (`list-topics`), the image during teardown (`list-microvm-images`), and the EC2 deletion checks
- (`describe-*` with an ID filter must list nothing). The two codes attempt 1 observed are
- settled; the rest are recorded in section 12.
-5. **New step 0.1a** removes attempt 1's scratch, only if its journal records no creation and its
- ledgers are empty, keeping the journal under `~/.cache/tmp/equipo-t17-attempt1/`. A `grep`
- that cannot read the journal is an abort, not a pass.
-6. **Paginated lists are counted once.** Every count or match over a paginated list (0.4, 10.1 to
- 10.7, S.2) reads JSON output, which the CLI builds from all pages, so a second page cannot turn
- a single answer into two lines.
-7. **11.2 rejects timestamps without a time zone and empty VM IDs** with the same line-numbered
- `ABORT:` message.
+**Revision:** 4 (2026-11-25), after attempt 2 stopped safely at 2.2 (the connector was refused;
+nothing billable created; its network and role are being torn down separately). Revision 3
+(`30d21b0a`) was the approved one. **Status:** draft for re-approval of the changes below, which
+follow Paul's ruling of 2026-11-25; no AWS command or SDK call of any kind was made while writing it.
+
+## Changes since the approved revision (`30d21b0a`)
+
+1. **Longer IAM propagation waits (2.1, 3.3).** Both blocks now wait 60 s after the role and its
+ policy exist, instead of 15 s. IAM is eventually consistent, and the role is used by another
+ service (Lambda) assuming it; attempt 2's connector call came about 21 s after the role was
+ created and was refused.
+2. **Connector retry and fallback (2.2).** On the exact refusal attempt 2 saw
+ (`InvalidParameterValueException`, "invalid ConnectorOperatorRole permissions"), the block
+ checks no connector exists, waits 120 s and retries once with the same narrow policy. If that
+ is refused too, it switches the role, for this throwaway dev run only, to the AWS-managed
+ `AWSLambdaNetworkConnectorOperatorPolicy` plus an inline `ec2:DeleteNetworkInterface`
+ permission limited to this account, region and Lambda-connector-managed interfaces, waits
+ 120 s and tries once more. A third refusal is a safe stop. The policy that worked is recorded
+ (`CONN_OPERATOR_POLICY`). 2.2 now runs as a long block (bound 15 minutes).
+3. **Image create retry (3.7).** The build role is used straight after 3.3, so a synchronous
+ refusal from `create-microvm-image` that names a role gets the same treatment: check no image
+ exists, wait 120 s, retry once; a second refusal is a safe stop. No other error is retried.
+4. **Skip-never-created rule (section 10 and S.3).** Each teardown and safe-stop step acts only on
+ resources with a confirmed creation record and journals a `SKIP` for the rest, so teardown runs
+ as written after an early stop. 10.8 no longer requires an image.
+5. **10.4 removes whatever the operator role holds:** the narrow inline policy, the fallback's
+ inline policy and the managed attachment, each accepted as already absent (`NoSuchEntity`).
+6. **The IAM exception in the summary** now names the fallback's attach, put and detach calls.
+7. **10.8 matches records by their full value.** A deletion is now recorded under the same value
+ as its creation: roles by ARN (they were recorded by name), and the fallback's inline policy and
+ managed attachment when present. 10.8 compares whole values, so a multi-ID record matches.
+8. **10.3 records the VPC defaults as deleted,** including the default group's rules, after a
+ filtered `describe` confirms each is gone with the VPC.
## What Paul approves with one GO
@@ -39,7 +44,9 @@ below; no AWS command or SDK call of any kind was made while writing it.
spend is estimated from rates and the recorded lifetimes of what the run created, and Paul reads
the bill himself. IAM is global, with no regional endpoint, so the IAM calls for the two roles
(the image build role and the connector's network-interface role: create, attach inline policy,
- read back, tag during S.2 reconciliation if needed, delete) are the one exception to eu-west-1-only. They run behind the same `kass`
+ read back, tag during S.2 reconciliation if needed, on 2.2's fallback replace the inline policy
+ and attach the AWS-managed connector operator policy, detach and delete) are the one exception
+ to eu-west-1-only. They run behind the same `kass`
account check as every other call, and Paul's one approval covers them.
- **Tags (R34).** Every taggable resource gets `purpose=equipo-hosted-dev` and `run=<RUN>` (a
random run ID chosen in 0.2): the VPC, its default security group (and that group's two default
@@ -105,8 +112,12 @@ and Elastic IP setting, which the installed CLI cannot show, are checked before
MicroVM ID that appears anywhere is added to the VM ledger with `vmrec`. A deletion is recorded
with `deleted` only after a direct read shows it gone. Teardown and the safe stop work only from
these records; nothing is ever adopted or deleted because its name looks right.
+- **Skip-never-created rule.** Teardown (section 10) and the safe stop act only on resources with
+ a confirmed creation record, that is, a ledger variable set by `rec` (`VPC`, `CONN_ARN`,
+ `IMAGE_ARN`, `BUCKET_CREATED` and so on; the names in `run.env` alone do not count). The `have`
+ helper journals `SKIP <variable>` and prints the skip for every resource that was never created.
- **Long blocks, one mechanism.** These blocks can run past the Bash tool's 10-minute limit for one
- call: 2.3, 3.8, 3.9, 6.1, 7.2, 7.3, 7.4, 8.2, 9.A, 9.C, 10.1 and 10.2 (bounds below). Each is
+ call: 2.2, 2.3, 3.8, 3.9, 6.1, 7.2, 7.3, 7.4, 8.2, 9.A, 9.C, 10.1 and 10.2 (bounds below). Each is
written to a script file and run detached from a sandbox-off shell, and its exit status is read
from a status file. Every one of them starts with the sandbox-off header, so it runs the same way
detached. The agent never uses another background mechanism.
@@ -142,7 +153,7 @@ and Elastic IP setting, which the installed CLI cannot show, are checked before
```
An exit status other than 0, or the bound passing, is an abort (safe stop). Bounds in minutes:
- 2.3: 20; 3.8: 25; 3.9: 25; 6.1: 75; 7.2: 40; 7.3: 15; 7.4: 25; 8.2: 25; 9.A: 15; 9.C: 15;
+ 2.2: 15; 2.3: 20; 3.8: 25; 3.9: 25; 6.1: 75; 7.2: 40; 7.3: 15; 7.4: 25; 8.2: 25; 9.A: 15; 9.C: 15;
10.1: 30; 10.2: 60.
- **The controller, with the sandbox off (R37).** A sandboxed Bash call kills its child processes
when it returns, so every block that starts, checks or stops the controller runs with the agent's
@@ -267,6 +278,9 @@ arn_ok() {
# jw TEXT: one journal line; a failed write is an abort.
jw() { local t="$*"; t=${t//$'\r'/}; t=${t//$'\n'/ | }; t=${t//$'\t'/ }
printf '%s\t%s\n' "$(date -u +%FT%T.%3NZ)" "$t" >> "$JOURNAL" || { echo "ABORT: journal write failed" >&2; exit 1; }; }
+# have VAR: 0 if VAR holds a confirmed creation from the ledger; otherwise journal the skip and
+# return 1 (the skip-never-created rule for teardown and the safe stop).
+have() { if [ -n "${!1:-}" ]; then return 0; fi; jw "SKIP $1 has no confirmed creation"; echo "skip: $1 was never created (no confirmed record)"; return 1; }
# gone0 WHAT CMD...: a list read that must succeed and count 0 (no error code is guessed).
gone0() { local w=$1; shift; get _g "$@"; [ "$_g" = 0 ] || die "$w is still listed ($_g)"; }
# intent KIND KEY DETAIL...: written BEFORE a create call.
@@ -661,7 +675,10 @@ replace the broad managed policy `AWSLambdaNetworkConnectorOperatorPolicy` (whic
interfaces in any subnet with any group) with statements scoped to this subnet and this group. The
pinned SDK says the role also needs `ec2:DeleteNetworkInterface` and describe calls; delete is
limited to interfaces in this subnet. EC2 `Describe*` calls have no resource-level scoping, so they
-are a separate statement on `*`, read-only.
+are a separate statement on `*`, read-only. After the role and its policy exist, the block waits
+60 s: IAM changes are eventually consistent, and Lambda must be able to assume the new role from
+its own service (attempt 2's connector call came 21 s after creation and was refused). If 2.2 is
+still refused, it retries and then falls back as Paul ruled on 2026-11-25 (see 2.2).
```sh
set -euo pipefail; . "${TMPDIR:?}/equipo-t17/env.sh"; guard
@@ -694,31 +711,94 @@ aws iam put-role-policy --role-name "$OPERATOR_ROLE" --policy-name t17-connector
aws iam wait role-exists --role-name "$OPERATOR_ROLE"
get _v aws iam list-role-policies --role-name "$OPERATOR_ROLE" --query 'PolicyNames' --output text; [ "$_v" = t17-connector-eni ] || die "inline policy missing"
get _v aws iam list-attached-role-policies --role-name "$OPERATOR_ROLE" --query 'length(AttachedPolicies)' --output text; [ "$_v" = 0 ] || die "managed policy attached"
-sleep 15
+sleep 60
echo "operator role $OPERATOR_ROLE_ARN ready"
```
-- Abort if: any call fails. A connector that later fails with `InsufficientRolePermissions` is a stop
- (U2); the policy is not widened without approval.
+- Abort if: any call fails. A connector refused or failing on the role's permissions follows
+ 2.2's retry and fallback; nothing else widens the policy.
-### 2.2 Create the VPC_EGRESS connector for MicroVMs
+### 2.2 Create the VPC_EGRESS connector for MicroVMs (retry, then fallback)
+
+Attempt 2 saw `CreateNetworkConnector` refuse synchronously with `InvalidParameterValueException`,
+"Encountered unauthorized operation while calling EC2 due to invalid ConnectorOperatorRole
+permissions", about 21 s after the role was created; no connector was created. Paul ruled
+(2026-11-25), for this throwaway dev run only:
+
+1. Try with the narrow policy from 2.1.
+2. On that exact refusal: confirm no connector exists, wait 120 s for IAM propagation, retry once
+ with the same narrow policy.
+3. If refused again: replace the role's inline policy with the AWS-managed
+ `AWSLambdaNetworkConnectorOperatorPolicy` plus an inline `ec2:DeleteNetworkInterface`, wait
+ 120 s, and try once more. The managed policy has no delete; the delete is scoped as narrowly as
+ EC2 allows before the interfaces exist: this account and region, network-interface resources
+ only, and only interfaces whose `ec2:ManagedResourceOperator` is the Lambda connector service
+ (the condition AWS's own networking guide uses to limit permissions to the connector's own
+ interfaces).
+4. A third refusal is a safe stop. Any other error at any step is a safe stop.
+
+The policy that worked is recorded as a fact (`CONN_OPERATOR_POLICY`). This block can run about
+5 minutes, so it runs as a long block.
```sh
-set -euo pipefail; . "${TMPDIR:?}/equipo-t17/env.sh"; guard
-need SUBNET SG OPERATOR_ROLE_ARN CONN_NAME RUN
-intent connector "$CONN_NAME" "token=$CONN_NAME-1"
-try aws lambda-core create-network-connector --name "$CONN_NAME" \
- --configuration "{\"VpcEgressConfiguration\":{\"SubnetIds\":[\"$SUBNET\"],\"SecurityGroupIds\":[\"$SG\"],\"NetworkProtocol\":\"IPv4\",\"AssociatedComputeResourceTypes\":[\"MicroVm\"]}}" \
- --operator-role "$OPERATOR_ROLE_ARN" --tags purpose=$TAGV,run=$RUN --client-token "$CONN_NAME-1" --output json; must
+set -euo pipefail; T17='<T17 printed by 0.2>'; . "$T17/env.sh"; guard
+need SUBNET SG OPERATOR_ROLE OPERATOR_ROLE_ARN CONN_NAME RUN
+CFG="{\"VpcEgressConfiguration\":{\"SubnetIds\":[\"$SUBNET\"],\"SecurityGroupIds\":[\"$SG\"],\"NetworkProtocol\":\"IPv4\",\"AssociatedComputeResourceTypes\":[\"MicroVm\"]}}"
+REFUSAL='invalid ConnectorOperatorRole permissions'
+# create_conn N: one attempt with client token $CONN_NAME-N. CONN_RC=0 created; CONN_RC=1 the
+# role refusal, with no connector created; any other result aborts.
+create_conn() {
+ intent connector "$CONN_NAME" "token=$CONN_NAME-$1"
+ try aws lambda-core create-network-connector --name "$CONN_NAME" --configuration "$CFG" \
+ --operator-role "$OPERATOR_ROLE_ARN" --tags purpose=$TAGV,run=$RUN --client-token "$CONN_NAME-$1" --output json
+ if [ "$RC" = 0 ]; then CONN_RC=0; return 0; fi
+ if [ "$ECODE" = InvalidParameterValueException ] && grep -qF "$REFUSAL" <<<"$ERR"; then
+ jw "REFUSED connector attempt $1: $ERR"; echo "attempt $1 refused: operator role permissions"
+ try aws lambda-core get-network-connector --identifier "$CONN_NAME"; expect_err ResourceNotFoundException
+ jw "NOTCREATED connector attempt $1"; CONN_RC=1; return 0
+ fi
+ die "create-network-connector attempt $1: ${ECODE:-rc$RC} $ERR"
+}
+create_conn 1; policy="narrow, first try"
+if [ "$CONN_RC" = 1 ]; then
+ echo "waiting 120 s for IAM propagation, then one retry with the same narrow policy"; sleep 120
+ create_conn 2; policy="narrow, after a 120 s wait"
+fi
+if [ "$CONN_RC" = 1 ]; then
+ A=arn:aws:ec2:eu-west-1:640012953448
+ cat > "$T17/iam/operator-delete.json" <<EOF
+{"Version":"2012-10-17","Statement":[
+ {"Sid":"DeleteLambdaConnectorEniOnly","Effect":"Allow","Action":"ec2:DeleteNetworkInterface","Resource":"$A:network-interface/*",
+ "Condition":{"StringEquals":{"ec2:ManagedResourceOperator":"network-connectors.lambda.amazonaws.com"}}}]}
+EOF
+ jq -e . "$T17/iam/operator-delete.json" >/dev/null
+ jw "FALLBACK operator role: AWSLambdaNetworkConnectorOperatorPolicy plus inline delete (Paul, 2026-11-25)"
+ aws iam delete-role-policy --role-name "$OPERATOR_ROLE" --policy-name t17-connector-eni
+ aws iam attach-role-policy --role-name "$OPERATOR_ROLE" --policy-arn arn:aws:iam::aws:policy/AWSLambdaNetworkConnectorOperatorPolicy
+ rec OPERATOR_MANAGED_POLICY arn:aws:iam::aws:policy/AWSLambdaNetworkConnectorOperatorPolicy
+ aws iam put-role-policy --role-name "$OPERATOR_ROLE" --policy-name t17-connector-eni-delete --policy-document "file://$T17/iam/operator-delete.json"
+ rec OPERATOR_INLINE_POLICY t17-connector-eni-delete
+ get _v aws iam list-role-policies --role-name "$OPERATOR_ROLE" --query 'PolicyNames' --output json
+ [ "$(jq -r 'join(" ")' <<<"$_v")" = t17-connector-eni-delete ] || die "operator inline policies are [$_v]"
+ get _v aws iam list-attached-role-policies --role-name "$OPERATOR_ROLE" --query 'AttachedPolicies[].PolicyName' --output json
+ [ "$(jq -r 'join(" ")' <<<"$_v")" = AWSLambdaNetworkConnectorOperatorPolicy ] || die "operator managed policies are [$_v]"
+ echo "waiting 120 s for IAM propagation, then the last try"; sleep 120
+ create_conn 3; policy="managed AWSLambdaNetworkConnectorOperatorPolicy plus inline delete"
+ [ "$CONN_RC" = 0 ] || die "the connector was refused a third time, with the managed policy: safe stop"
+fi
+rec CONN_OPERATOR_POLICY "$policy"
printf '%s\n' "$OUT" > "$T17/out/2.2-connector.json"
arn_ok "$(jq -r .Arn "$T17/out/2.2-connector.json")"
rec CONN_ARN "$(jq -r .Arn "$T17/out/2.2-connector.json")"; rec CONN_ID "$(jq -r .Id "$T17/out/2.2-connector.json")"
[ "$CONN_ARN" = "arn:aws:lambda:eu-west-1:$ACCOUNT:network-connector:$CONN_ID" ] || die "connector ARN has an unexpected form: $CONN_ARN"
jq '{Arn,Id,State}' "$T17/out/2.2-connector.json"
+echo "connector created with: $policy"
```
-- Expected: state `PENDING`. No `ElasticIpConfiguration` is sent, so the connector gets none; 5.6
- confirms that through the SDK.
+- Expected: state `PENDING`, and the policy that worked. No `ElasticIpConfiguration` is sent, so the
+ connector gets none; 5.6 confirms that through the SDK.
+- Abort if: any error other than the exact refusal, a refusal after the fallback, or any failed IAM
+ call or readback in the fallback.
### 2.3 Wait for ACTIVE (spike: about 4.5 min; bound 15 min)
@@ -818,7 +898,7 @@ arn_ok "$OUT"; rec BUILD_ROLE_ARN "$OUT"
aws iam put-role-policy --role-name "$BUILD_ROLE" --policy-name t17-build --policy-document "file://$T17/iam/build.json"
aws iam wait role-exists --role-name "$BUILD_ROLE"
get _v aws iam list-role-policies --role-name "$BUILD_ROLE" --query 'PolicyNames' --output text; [ "$_v" = t17-build ] || die "inline policy missing"
-sleep 15
+echo "waiting 60 s for IAM propagation before Lambda assumes the build role"; sleep 60
```
### 3.4 Hook binary, Dockerfile, hooks and zip (no AWS call)
@@ -910,16 +990,39 @@ rec BASE_VER "$v"
### 3.7 Create the image: Small version
+The build role was created in 3.3, so a synchronous refusal that names a role (codes
+`ValidationException`, `AccessDeniedException` or `InvalidParameterValueException` with "role" in
+the message) gets the same propagation treatment as the connector: confirm no image exists, wait
+120 s, retry once. A second refusal, or any other error, is a safe stop.
+
```sh
set -euo pipefail; . "${TMPDIR:?}/equipo-t17/env.sh"; guard
need IMAGE_NAME ARTIFACT BASE_ARN BASE_VER BUILD_ROLE_ARN LOG_GROUP RUN
-intent microvm-image "$IMAGE_NAME" "token=$IMAGE_NAME-create-1"
-try aws lambda-microvms create-microvm-image --name "$IMAGE_NAME" --description "Task 17 minimal hook image, small, run $RUN" \
- --code-artifact "uri=$ARTIFACT" --base-image-arn "$BASE_ARN" --base-image-version "$BASE_VER" \
- --build-role-arn "$BUILD_ROLE_ARN" --cpu-configurations '[{"architecture":"X86_64"}]' \
- --resources '[{"minimumMemoryInMiB":2048}]' --additional-os-capabilities '["ALL"]' \
- --hooks "file://$T17/image/hooks.json" --logging "{\"cloudWatch\":{\"logGroup\":\"$LOG_GROUP\"}}" \
- --tags purpose=$TAGV,run=$RUN --client-token "$IMAGE_NAME-create-1" --output json; must
+# create_image N: one attempt with client token $IMAGE_NAME-create-N. IMG_RC=0 created; IMG_RC=1 a
+# role refusal with no image created; anything else aborts.
+create_image() {
+ intent microvm-image "$IMAGE_NAME" "token=$IMAGE_NAME-create-$1"
+ try aws lambda-microvms create-microvm-image --name "$IMAGE_NAME" --description "Task 17 minimal hook image, small, run $RUN" \
+ --code-artifact "uri=$ARTIFACT" --base-image-arn "$BASE_ARN" --base-image-version "$BASE_VER" \
+ --build-role-arn "$BUILD_ROLE_ARN" --cpu-configurations '[{"architecture":"X86_64"}]' \
+ --resources '[{"minimumMemoryInMiB":2048}]' --additional-os-capabilities '["ALL"]' \
+ --hooks "file://$T17/image/hooks.json" --logging "{\"cloudWatch\":{\"logGroup\":\"$LOG_GROUP\"}}" \
+ --tags purpose=$TAGV,run=$RUN --client-token "$IMAGE_NAME-create-$1" --output json
+ if [ "$RC" = 0 ]; then IMG_RC=0; return 0; fi
+ if code_in ValidationException AccessDeniedException InvalidParameterValueException && grep -qi 'role' <<<"$ERR"; then
+ jw "REFUSED image attempt $1: $ERR"; echo "attempt $1 refused, naming a role"
+ get _v aws lambda-microvms list-microvm-images --query "length(items[?name=='$IMAGE_NAME'])" --output json
+ [ "$_v" = 0 ] || die "the refused create left an image named $IMAGE_NAME"
+ jw "NOTCREATED image attempt $1"; IMG_RC=1; return 0
+ fi
+ die "create-microvm-image attempt $1: ${ECODE:-rc$RC} $ERR"
+}
+create_image 1
+if [ "$IMG_RC" = 1 ]; then
+ echo "waiting 120 s for IAM propagation, then one retry"; sleep 120
+ create_image 2
+ [ "$IMG_RC" = 0 ] || die "create-microvm-image was refused twice: safe stop"
+fi
printf '%s\n' "$OUT" > "$T17/out/3.7-image.json"
arn_ok "$(jq -r .imageArn "$T17/out/3.7-image.json")"
rec IMAGE_ARN "$(jq -r .imageArn "$T17/out/3.7-image.json")"; rec VER_SMALL "$(jq -r .imageVersion "$T17/out/3.7-image.json")"
@@ -1552,8 +1655,8 @@ a direct read before the next dependency is touched, and recorded with `deleted`
```sh
set -euo pipefail; T17='<T17 printed by 0.2>'; . "$T17/env.sh"; guard
-need IMAGE_ARN VER_SMALL VER_LARGE
stop_ctl
+if have IMAGE_ARN; then
settle_all
try aws lambda-microvms delete-microvm-image --image-identifier "$IMAGE_ARN" --output json
[ "$RC" = 0 ] || die "delete image: ${ECODE:-rc$RC} $ERR (a ConflictException is a stop: U8)"
@@ -1561,7 +1664,8 @@ _img() { try aws lambda-microvms list-microvm-images --query "items[?imageArn=='
[ "$RC" = 0 ] || return 3; OUT=$(jq -r 'join(" ")' <<<"$OUT") || return 3; echo "$(date -u +%T) listed state: [${OUT}]"
case "$OUT" in ""|DELETED) return 0;; DELETING) return 1;; esac; return 2; }
poll 900 15 "image deleted" _img
-for v in "$VER_SMALL" "$VER_LARGE"; do
+for vv in VER_SMALL VER_LARGE; do
+ have "$vv" || continue; v=${!vv}
try aws lambda-microvms get-microvm-image-version --image-identifier "$IMAGE_ARN" --image-version "$v" --query state --output text
if [ "$RC" = 0 ]; then [ "$OUT" = DELETED ] || die "version $v is $OUT"; else expect_err ResourceNotFoundException; fi
deleted microvm-image-version "$IMAGE_ARN:$v"
@@ -1569,13 +1673,15 @@ done
deleted microvm-image "$IMAGE_ARN"
try aws lambda-microvms list-microvms --output json; must
printf '%s' "$OUT" | jq -e --arg a "$IMAGE_ARN" '[.items[] | select(.imageArn == $a and .state != "TERMINATED")] | length == 0' >/dev/null || die "a live VM of the deleted image"
+fi
```
### 10.2 Connector, then its network interfaces
```sh
set -euo pipefail; T17='<T17 printed by 0.2>'; . "$T17/env.sh"; guard
-need CONN_ARN VPC
+if have CONN_ARN; then
+need VPC
try aws lambda-core delete-network-connector --identifier "$CONN_ARN"; must
_conn() { try aws lambda-core get-network-connector --identifier "$CONN_ARN" --query State --output text
if [ "$RC" = 0 ]; then echo "$(date -u +%T) $OUT"; case "$OUT" in DELETING|ACTIVE|INACTIVE) return 1;; esac; return 2; fi
@@ -1589,6 +1695,7 @@ for e in $(awk -F'\t' '$2 ~ /^SERVICE-ENI / {split($2, a, " "); print a[2]}' "$J
gone0 "interface $e" aws ec2 describe-network-interfaces --filters Name=network-interface-id,Values="$e" --query 'length(NetworkInterfaces)' --output json
deleted service-eni "$e"
done
+fi
```
- Abort if: `DELETE_FAILED`, or interfaces remain after 40 minutes. Lambda's interfaces are never
@@ -1598,19 +1705,27 @@ done
```sh
set -euo pipefail; . "${TMPDIR:?}/equipo-t17/env.sh"; guard
-need SG RTB RTB_ASSOC SUBNET VPC DEF_SG MAIN_RTB DEF_ACL
-get _v aws ec2 delete-security-group --group-id "$SG" --query Return --output text; [ "$_v" = True ] || die "delete group"
-gone0 "group $SG" aws ec2 describe-security-groups --filters Name=group-id,Values="$SG" --query 'length(SecurityGroups)' --output json; deleted security-group "$SG"
-aws ec2 disassociate-route-table --association-id "$RTB_ASSOC"; deleted route-table-association "$RTB_ASSOC"
-aws ec2 delete-route-table --route-table-id "$RTB"
-gone0 "route table $RTB" aws ec2 describe-route-tables --filters Name=route-table-id,Values="$RTB" --query 'length(RouteTables)' --output json; deleted route-table "$RTB"
-aws ec2 delete-subnet --subnet-id "$SUBNET"
-gone0 "subnet $SUBNET" aws ec2 describe-subnets --filters Name=subnet-id,Values="$SUBNET" --query 'length(Subnets)' --output json; deleted subnet "$SUBNET"
-aws ec2 delete-vpc --vpc-id "$VPC"
-gone0 "VPC $VPC" aws ec2 describe-vpcs --filters Name=vpc-id,Values="$VPC" --query 'length(Vpcs)' --output json; deleted vpc "$VPC"
-gone0 "default group $DEF_SG" aws ec2 describe-security-groups --filters Name=group-id,Values="$DEF_SG" --query 'length(SecurityGroups)' --output json; deleted vpc-default-security-group "$DEF_SG"
-gone0 "main route table $MAIN_RTB" aws ec2 describe-route-tables --filters Name=route-table-id,Values="$MAIN_RTB" --query 'length(RouteTables)' --output json; deleted vpc-main-route-table "$MAIN_RTB"
-gone0 "default network ACL $DEF_ACL" aws ec2 describe-network-acls --filters Name=network-acl-id,Values="$DEF_ACL" --query 'length(NetworkAcls)' --output json; deleted vpc-default-network-acl "$DEF_ACL"
+if have SG; then
+ get _v aws ec2 delete-security-group --group-id "$SG" --query Return --output text; [ "$_v" = True ] || die "delete group"
+ gone0 "group $SG" aws ec2 describe-security-groups --filters Name=group-id,Values="$SG" --query 'length(SecurityGroups)' --output json; deleted security-group "$SG"
+fi
+if have RTB_ASSOC; then aws ec2 disassociate-route-table --association-id "$RTB_ASSOC"; deleted route-table-association "$RTB_ASSOC"; fi
+if have RTB; then
+ aws ec2 delete-route-table --route-table-id "$RTB"
+ gone0 "route table $RTB" aws ec2 describe-route-tables --filters Name=route-table-id,Values="$RTB" --query 'length(RouteTables)' --output json; deleted route-table "$RTB"
+fi
+if have SUBNET; then
+ aws ec2 delete-subnet --subnet-id "$SUBNET"
+ gone0 "subnet $SUBNET" aws ec2 describe-subnets --filters Name=subnet-id,Values="$SUBNET" --query 'length(Subnets)' --output json; deleted subnet "$SUBNET"
+fi
+if have VPC; then
+ aws ec2 delete-vpc --vpc-id "$VPC"
+ gone0 "VPC $VPC" aws ec2 describe-vpcs --filters Name=vpc-id,Values="$VPC" --query 'length(Vpcs)' --output json; deleted vpc "$VPC"
+ if have DEF_SG_RULES; then gone0 "default group rules $DEF_SG_RULES" aws ec2 describe-security-group-rules --filters Name=security-group-rule-id,Values="$(tr '\t ' ',,' <<<"$DEF_SG_RULES")" --query 'length(SecurityGroupRules)' --output json; deleted vpc-default-security-group-rules "$DEF_SG_RULES"; fi
+ if have DEF_SG; then gone0 "default group $DEF_SG" aws ec2 describe-security-groups --filters Name=group-id,Values="$DEF_SG" --query 'length(SecurityGroups)' --output json; deleted vpc-default-security-group "$DEF_SG"; fi
+ if have MAIN_RTB; then gone0 "main route table $MAIN_RTB" aws ec2 describe-route-tables --filters Name=route-table-id,Values="$MAIN_RTB" --query 'length(RouteTables)' --output json; deleted vpc-main-route-table "$MAIN_RTB"; fi
+ if have DEF_ACL; then gone0 "default network ACL $DEF_ACL" aws ec2 describe-network-acls --filters Name=network-acl-id,Values="$DEF_ACL" --query 'length(NetworkAcls)' --output json; deleted vpc-default-network-acl "$DEF_ACL"; fi
+fi
```
- Abort if: a `DependencyViolation`, a failed read, or a filtered `describe` that still lists the
@@ -1618,15 +1733,28 @@ gone0 "default network ACL $DEF_ACL" aws ec2 describe-network-acls --filters Nam
### 10.4 IAM roles
+The operator role may hold the narrow inline policy (2.1), or, after 2.2's fallback, the fallback's
+inline policy and the managed attachment. Each is removed if present; `NoSuchEntity` means it was
+never added.
+
```sh
set -euo pipefail; . "${TMPDIR:?}/equipo-t17/env.sh"; guard
need OPERATOR_ROLE BUILD_ROLE
-try aws iam delete-role-policy --role-name "$OPERATOR_ROLE" --policy-name t17-connector-eni; [ "$RC" = 0 ] || expect_err NoSuchEntity
-aws iam delete-role --role-name "$OPERATOR_ROLE"
-try aws iam get-role --role-name "$OPERATOR_ROLE"; expect_err NoSuchEntity; deleted iam-role "$OPERATOR_ROLE"
-try aws iam delete-role-policy --role-name "$BUILD_ROLE" --policy-name t17-build; [ "$RC" = 0 ] || expect_err NoSuchEntity
-aws iam delete-role --role-name "$BUILD_ROLE"
-try aws iam get-role --role-name "$BUILD_ROLE"; expect_err NoSuchEntity; deleted iam-role "$BUILD_ROLE"
+if have OPERATOR_ROLE_ARN; then
+ for pn in t17-connector-eni t17-connector-eni-delete; do
+ try aws iam delete-role-policy --role-name "$OPERATOR_ROLE" --policy-name "$pn"; [ "$RC" = 0 ] || expect_err NoSuchEntity
+ done
+ try aws iam detach-role-policy --role-name "$OPERATOR_ROLE" --policy-arn arn:aws:iam::aws:policy/AWSLambdaNetworkConnectorOperatorPolicy; [ "$RC" = 0 ] || expect_err NoSuchEntity
+ aws iam delete-role --role-name "$OPERATOR_ROLE"
+ try aws iam get-role --role-name "$OPERATOR_ROLE"; expect_err NoSuchEntity; deleted iam-role "$OPERATOR_ROLE_ARN"
+ if [ -n "${OPERATOR_INLINE_POLICY:-}" ]; then deleted iam-inline-policy "$OPERATOR_INLINE_POLICY"; fi
+ if [ -n "${OPERATOR_MANAGED_POLICY:-}" ]; then deleted iam-managed-attachment "$OPERATOR_MANAGED_POLICY"; fi
+fi
+if have BUILD_ROLE_ARN; then
+ try aws iam delete-role-policy --role-name "$BUILD_ROLE" --policy-name t17-build; [ "$RC" = 0 ] || expect_err NoSuchEntity
+ aws iam delete-role --role-name "$BUILD_ROLE"
+ try aws iam get-role --role-name "$BUILD_ROLE"; expect_err NoSuchEntity; deleted iam-role "$BUILD_ROLE_ARN"
+fi
```
### 10.5 S3
@@ -1634,13 +1762,17 @@ try aws iam get-role --role-name "$BUILD_ROLE"; expect_err NoSuchEntity; deleted
```sh
set -euo pipefail; . "${TMPDIR:?}/equipo-t17/env.sh"; guard
need BUCKET
+if have BUCKET_CREATED; then
+if have ARTIFACT; then
aws s3api delete-object --bucket "$BUCKET" --key t17/app.zip
gone0 "object t17/app.zip" aws s3api list-objects-v2 --bucket "$BUCKET" --prefix t17/app.zip --query 'length((Contents || `[]`)[?Key==`t17/app.zip`])' --output json; deleted s3-object "s3://$BUCKET/t17/app.zip"
+fi
get _v aws s3api list-object-versions --bucket "$BUCKET" --output json
[ "$(jq '((.Versions // []) + (.DeleteMarkers // [])) | length' <<<"$_v")" = 0 ] || die "objects left in the bucket"
aws s3api delete-bucket --bucket "$BUCKET"
_bucket() { try aws s3api list-buckets --prefix "$BUCKET" --query "length(Buckets[?Name=='$BUCKET'])" --output json; [ "$RC" = 0 ] || return 3; echo "$(date -u +%T) listed: $OUT"; [ "$OUT" = 0 ] && return 0; return 1; }
poll 300 10 "bucket gone from the list" _bucket; deleted s3-bucket "$BUCKET"
+fi
```
### 10.6 Log group
@@ -1648,31 +1780,37 @@ poll 300 10 "bucket gone from the list" _bucket; deleted s3-bucket "$BUCKET"
```sh
set -euo pipefail; . "${TMPDIR:?}/equipo-t17/env.sh"; guard
need LOG_GROUP
+if have LOG_GROUP_CREATED; then
get got aws logs describe-log-groups --log-group-name-prefix "$LOG_GROUP" --query 'logGroups[].logGroupName' --output text
[ "$got" = "$LOG_GROUP" ] || die "log groups under the prefix: [$got]; any group the run did not create goes to Paul"
aws logs delete-log-group --log-group-name "$LOG_GROUP"
get got aws logs describe-log-groups --log-group-name-prefix "$LOG_GROUP" --query 'logGroups[].logGroupName' --output text
[ -z "$got" ] || die "log group still listed: [$got]"
deleted log-group "$LOG_GROUP"
+fi
```
### 10.7 SNS topic
```sh
set -euo pipefail; . "${TMPDIR:?}/equipo-t17/env.sh"; guard
-need TOPIC_ARN
+if have TOPIC_ARN; then
aws sns delete-topic --topic-arn "$TOPIC_ARN"
_topic() { try aws sns list-topics --query "length(Topics[?TopicArn=='$TOPIC_ARN'])" --output json; [ "$RC" = 0 ] || return 3; echo "$(date -u +%T) listed: $OUT"; [ "$OUT" = 0 ] && return 0; return 1; }
poll 300 10 "topic gone from the list" _topic; deleted sns-topic "$TOPIC_ARN"
+fi
```
### 10.8 Verify: every record classified, then the tag index as a cross-check
```sh
set -euo pipefail; . "${TMPDIR:?}/equipo-t17/env.sh"; guard
-need RUN IMAGE_ARN
+need RUN
echo "== confirmed creations without a confirmed deletion:"
-awk -F'\t' '$2 ~ /^DELETED / {split($2, a, " "); d[a[3]] = 1} $2 ~ /^CONFIRMED / {split($2, a, " "); c[a[3]] = a[2]} END {for (k in c) if (!(k in d)) print c[k], k}' "$JOURNAL" | sort
+awk -F'\t' '
+ $2 ~ /^DELETED / {split($2, a, " "); d[substr($2, length("DELETED " a[2] " ") + 1)] = 1}
+ $2 ~ /^CONFIRMED / {split($2, a, " "); c[substr($2, length("CONFIRMED " a[2] " ") + 1)] = a[2]}
+ END {for (k in c) if (!(k in d)) print c[k], k}' "$JOURNAL" | sort
echo "== VMs: recorded, and how each ended:"
vm_ids
for id in $VIDS; do grep -q "VMGONE $id " "$JOURNAL" || die "VM $id has no confirmed end"; done
@@ -1864,12 +2002,12 @@ fi
The extra IAM call here (`tag-role`, only when a role exists without its tags) is one of the role
calls R37 covers.
-**S.3 VMs.** If the image was never created (no `IMAGE_ARN` and S.2 found no image), no VM can
-exist and this part is skipped. Otherwise:
+**S.3 VMs.** If the image was never created (no `IMAGE_ARN`, even after S.2), no VM can exist; the
+block records the skip and ends (skip-never-created rule).
```sh
set -euo pipefail; T17='<T17 printed by 0.2>'; . "$T17/env.sh"; guard
-need IMAGE_ARN
+if ! have IMAGE_ARN; then echo "no image was ever created, so no VM can exist"; exit 0; fi
! ctl_alive || die "the controller is running"
settle_all
sleep 120
@@ -2018,9 +2156,12 @@ EOF
### Still unconfirmed, 15 (each is a stop point if it goes wrong; nothing is changed live)
-1. **U2. Operator role scoping.** That Lambda needs `ec2:DeleteNetworkInterface` and describe
- calls (the SDK says so; the documented policy lacks them), and that the `ec2:Subnet` condition
- is evaluated for `CreateNetworkInterface` and `DeleteNetworkInterface` on the interface resource.
+1. **U2. Operator role scoping.** Attempt 2: the narrow policy was refused at create time
+ ("invalid ConnectorOperatorRole permissions", 21 s after the role was created); whether that was
+ propagation or a missing permission is not known. 2.2 now retries after 120 s, then falls back to
+ the managed policy plus a scoped inline delete (Paul, 2026-11-25); a third refusal is a stop.
+ Whether the `ec2:ManagedResourceOperator` condition admits Lambda's interface deletions at
+ teardown is unconfirmed: a `DELETE_FAILED` connector in 10.2 is a stop.
2. **U3. Old CLI model.** The installed CLI's models lack `X86_64`, `VersionArn`, connector
versions and two managed-version fields (confirmed); that the CLI passes `X86_64` through
unvalidated is not confirmed. No CLI upgrade or flag change live.