oficina / equipo Public

Merge branch 'coordinator-copy-containment' into main

Merge coordinator-copy-containment: allow Claude scrub-mode stubs

Token connections create empty scrub-mode stub files in the runtime home; the second turn's check refused them. Exactly those, empty, are allowed. Astra approved.
claude agent, operated by paul@keymail.dev 43e3dd6d774c16a93f3ffe3c770b66eaf07ed4b3 parent 1943f5cparent 9965ee9
5 files changed, +162 −3
  • .rastrillo/budgets.txt +1 −1
  • internal/runner/provider/runtime_claude.go +22 −1
  • internal/runner/provider/runtime_home.go +14 −1
  • internal/runner/provider/runtime_scrub_test.go +104 −0
  • scripts/runner-reference-allowlist.json +21 −0

CI failed — run details

CI log
=== prepare ===
ci-box: machine: aarch64, 32 CPUs, 62 GiB memory, kernel 7.0.0-1017-aws
ci-box: python 3.12.3; Docker version 29.1.3, build 29.1.3-0ubuntu3~24.04.2
ci-box: user namespaces allowed: 233151
ci-box: cgroup: cgroup2fs
ci-box: disk /home/ci/work/repos/oficina__equipo/wt/main: 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 2.8s
ci-box: codex: fetched and verified in 3.4s
ci-box: codex-code-mode-host: fetched and verified in 1.2s
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.6s
ci-box: opencode: installed and verified in 2.3s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.7s
ci-box: clone deepened in 3.6s
ci-box: file times set from content: 2819 files, 185 directories
ci-box: ready in 17.3s
=== 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.252s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  5.6s
+ go list -export -test -tags testbuild -f  ./...
  5.2s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  3.1s
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-11 02:51:11 +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

receipt: test step 1m34.293s 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 1m31.205s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m31.2s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 70.69, cpu waiting 43.64%, memory waiting 0.00%, io waiting 0.43%
--- 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

receipt: test step 1m37.205s 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 1m34.485s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m34.48s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 67.03, cpu waiting 42.65%, memory waiting 0.00%, io waiting 0.40%
--- 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

receipt: test step 1m39.101s 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 1m36.275s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m24.71s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 6.24s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 5.33s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 67.03, cpu waiting 42.65%, memory waiting 0.00%, io waiting 0.40%
--- 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

receipt: test step 1m32.39s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m30.361s amadan.net/oficina/equipo/internal/headless
receipt: slow test 46.52s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 23.02s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.96s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.86s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 70.69, cpu waiting 43.64%, memory waiting 0.00%, io waiting 0.43%
--- 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

receipt: test step 1m51.922s 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 1m49.035s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m8.89s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 14.11s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 10.71s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 9.18s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 6.15s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 58.75, cpu waiting 34.94%, memory waiting 0.00%, io waiting 0.31%
--- 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

receipt: test step 3m23.988s 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 3m21.295s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m57.55s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 24.63s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.77s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 8.28s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.43s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 14.08, cpu waiting 7.61%, memory waiting 0.00%, io waiting 0.06%
--- 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 2m4.042s 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 2m1.503s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 7.83s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.76s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 3.82s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 3.54s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 3.4s amadan.net/oficina/equipo/internal/thintest TestContractTeamUpdatePersonNeeds
machine: 32 CPUs, load 46.86, cpu waiting 28.83%, memory waiting 0.00%, io waiting 0.25%
--- 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 1m27.492s 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 1m24.432s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.07s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.43s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.37s amadan.net/oficina/equipo/internal/thintest TestContractPreview
receipt: slow test 2.36s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotNow
machine: 32 CPUs, load 73.01, cpu waiting 43.60%, memory waiting 0.00%, io waiting 0.47%
--- shard 8 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-thin: ./internal/runner/thin
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/runner/thin
budget note: internal/runner/thin took 4m40.446s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m46.167s 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 4m40.446s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 37.02s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.97s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.79s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.5s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 7.07s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 4.37, cpu waiting 1.94%, 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

receipt: test step 51.003s 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 49.787s amadan.net/oficina/equipo/internal/runner
receipt: slow test 29.75s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.03s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 55.47, cpu waiting 33.24%, memory waiting 0.00%, io waiting 0.90%
--- 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

receipt: test step 1m2.983s 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 1m1.608s amadan.net/oficina/equipo/internal/runner
receipt: slow test 51.6s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 46.41s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.4s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.58s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 75.20, cpu waiting 40.65%, memory waiting 0.00%, io waiting 0.71%
--- 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

receipt: test step 36.306s 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 35.234s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.14s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.71s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.15s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.55s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 34.06, cpu waiting 21.35%, memory waiting 0.00%, io waiting 1.14%
--- 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 37.0%, load 25.70
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

receipt: test step 1m7.922s 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 1m6.111s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 28.16s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 28.06s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 25.9s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 23.18s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfiguration
receipt: slow test 22.93s amadan.net/oficina/equipo/internal/equipotest TestAuthorityReadsOneSnapshot
machine: 32 CPUs, load 67.03, cpu waiting 42.65%, memory waiting 0.00%, io waiting 0.40%
--- 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 37.0%, load 25.70
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 1m16.413s 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 1m14.62s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 19.75s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 19.64s amadan.net/oficina/equipo/internal/equipotest TestProjectRetryAndRevision
receipt: slow test 19.59s amadan.net/oficina/equipo/internal/equipotest TestProjectKindsAndDefaultBranch
receipt: slow test 19.56s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 19.52s amadan.net/oficina/equipo/internal/equipotest TestProjectBindingUniqueness
machine: 32 CPUs, load 63.34, cpu waiting 38.40%, memory waiting 0.00%, io waiting 0.35%
--- 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 37.0%, load 25.70
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

receipt: test step 1m14.514s 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 1m9.676s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 15.67s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.26s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.28s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 10.21s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 7.2s amadan.net/oficina/equipo/internal/equipotest TestRosterProtectsLastOwner
machine: 32 CPUs, load 63.34, cpu waiting 39.63%, memory waiting 0.00%, io waiting 0.36%
--- 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 37.0%, load 25.70
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 1m8.072s 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 1m6.169s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 25.25s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 24.59s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 24.55s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 22.84s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
receipt: slow test 22.7s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettings
machine: 32 CPUs, load 67.03, cpu waiting 42.65%, memory waiting 0.00%, io waiting 0.40%
--- 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 37.0%, load 25.70
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 54.471s 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 52.114s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.69s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.59s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.63s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.49s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.22s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorMessageSourcesUpgrade
machine: 32 CPUs, load 75.36, cpu waiting 43.92%, memory waiting 0.00%, io waiting 0.49%
--- 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 37.0%, load 25.70
test lane rest: ./cmd/equipo ./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/idtest ./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-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/idtest ./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
budget note: internal/equipo took 55.802s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 15.154s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/setup took 11.329s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/idtest took 49.984s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 38.525s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/containment took 1m6.563s, over the 15s its record on line 40 allows; reported only, timing fails on CI
budget note: internal/runner/forge took 27.405s, over the 20s its record on line 35 allows; reported only, timing fails on CI
budget note: internal/runner/provider/pi took 1m27.141s, over the 1m0s its record on line 27 allows; reported only, timing fails on CI
budget note: internal/runner/workspace took 14.893s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 2m0.879s against a 60s target (the gate's other steps are not in this figure)
receipt: 38 packages ran, 23 cached, 18 without tests, 0 failed
receipt: slow package 1m27.141s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 1m14.107s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 1m6.563s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow package 1m1.728s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 55.802s amadan.net/oficina/equipo/internal/equipo
receipt: slow test 32.96s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 27.01s amadan.net/oficina/equipo/cmd/equipo-runner TestReleaseRunnerHasNoFakeWorker
receipt: slow test 25.8s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 18.48s amadan.net/oficina/equipo/internal/runner/provider/pi TestPiGoBinaryIsolation
receipt: slow test 16.14s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeP1OnlyOpenCodeReachable
machine: 32 CPUs, load 32.24, cpu waiting 18.09%, memory waiting 0.00%, io waiting 0.16%
--- 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
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserChat
=== RUN   TestBrowserChat
time=2026-11-21T11:31:50.396Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-21T11:31:50.397Z level=INFO msg="startup phase done" phase=state_lock took=85µs
time=2026-11-21T11:31:50.397Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-21T11:31:50.397Z level=INFO msg="startup phase done" phase=claim_roots took=102µs
time=2026-11-21T11:31:50.397Z level=INFO msg="startup phase" phase=sweep
time=2026-11-21T11:31:50.450Z level=INFO msg="startup phase done" phase=sweep took=53.146ms
time=2026-11-21T11:31:50.450Z level=INFO msg="startup phase" phase=credentials
time=2026-11-21T11:31:50.450Z level=INFO msg="startup phase done" phase=credentials took=169µs
time=2026-11-21T11:31:50.450Z level=INFO msg="startup phase" phase=open_state
time=2026-11-21T11:31:50.507Z level=INFO msg="startup phase done" phase=open_state took=56.429ms
rastrillo: budget test: go test failed
time=2026-11-21T11:31:50.507Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-21T11:31:50.508Z level=INFO msg=connecting host=127.0.0.1:34247 protocol=28
time=2026-11-21T11:31:50.510Z level=INFO msg=connected host=127.0.0.1:34247 took=1.988ms
time=2026-11-21T11:31:50.514Z level=INFO msg="capabilities gathering"
time=2026-11-21T11:31:50.515Z level=INFO msg="capabilities gathered" took=1.694ms tags=linux,claude,go
time=2026-11-21T11:31:50.517Z level=INFO msg="hello sent" protocol=28
time=2026-11-21T11:31:50.522Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-21T11:31:52.485Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_test.go:46: waiting for [...document.querySelectorAll('[equipo-message="incoming"] [equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes('fake coordinator')): context deadline exceeded (last evaluation: <nil>)
--- FAIL: TestBrowserChat (6.26s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
=== RUN   TestBrowserChatSendStaysOnPage
time=2026-11-21T11:31:56.692Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-21T11:31:56.692Z level=INFO msg="startup phase done" phase=state_lock took=217µs
time=2026-11-21T11:31:56.692Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-21T11:31:56.693Z level=INFO msg="startup phase done" phase=claim_roots took=184µs
time=2026-11-21T11:31:56.693Z level=INFO msg="startup phase" phase=sweep
time=2026-11-21T11:31:56.738Z level=INFO msg="startup phase done" phase=sweep took=45.305ms
time=2026-11-21T11:31:56.738Z level=INFO msg="startup phase" phase=credentials
time=2026-11-21T11:31:56.738Z level=INFO msg="startup phase done" phase=credentials took=203µs
time=2026-11-21T11:31:56.739Z level=INFO msg="startup phase" phase=open_state
time=2026-11-21T11:31:56.798Z level=INFO msg="startup phase done" phase=open_state took=59.361ms
time=2026-11-21T11:31:56.800Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-21T11:31:56.801Z level=INFO msg=connecting host=127.0.0.1:32909 protocol=28
time=2026-11-21T11:31:56.803Z level=INFO msg=connected host=127.0.0.1:32909 took=2.035ms
time=2026-11-21T11:31:56.803Z level=INFO msg="capabilities gathering"
time=2026-11-21T11:31:56.804Z level=INFO msg="capabilities gathered" took=452µs tags=linux,claude,go
time=2026-11-21T11:31:56.804Z level=INFO msg="hello sent" protocol=28
time=2026-11-21T11:31:56.825Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-21T11:31:58.919Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_test.go:108: waiting for [...document.querySelectorAll('[equipo-message="incoming"] [equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes('fake coordinator')): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserChatSendStaysOnPage (6.29s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
=== RUN   TestBrowserDraftIsTheMessage
time=2026-11-21T11:32:02.977Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-21T11:32:02.977Z level=INFO msg="startup phase done" phase=state_lock took=187µs
time=2026-11-21T11:32:02.977Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-21T11:32:02.978Z level=INFO msg="startup phase done" phase=claim_roots took=144µs
time=2026-11-21T11:32:02.978Z level=INFO msg="startup phase" phase=sweep
time=2026-11-21T11:32:03.019Z level=INFO msg="startup phase done" phase=sweep took=41.547ms
time=2026-11-21T11:32:03.019Z level=INFO msg="startup phase" phase=credentials
time=2026-11-21T11:32:03.019Z level=INFO msg="startup phase done" phase=credentials took=132µs
time=2026-11-21T11:32:03.019Z level=INFO msg="startup phase" phase=open_state
time=2026-11-21T11:32:03.075Z level=INFO msg="startup phase done" phase=open_state took=55.668ms
time=2026-11-21T11:32:03.076Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-21T11:32:03.077Z level=INFO msg=connecting host=127.0.0.1:36819 protocol=28
time=2026-11-21T11:32:03.079Z level=INFO msg=connected host=127.0.0.1:36819 took=1.226ms
time=2026-11-21T11:32:03.080Z level=INFO msg="capabilities gathering"
time=2026-11-21T11:32:03.082Z level=INFO msg="capabilities gathered" took=1.989ms tags=linux,claude,go
time=2026-11-21T11:32:03.082Z level=INFO msg="hello sent" protocol=28
time=2026-11-21T11:32:03.091Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-21T11:32:05.484Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_thinking_test.go:106: waiting for !!window.__m: context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserDraftIsTheMessage (8.25s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 49.785s
FAIL	amadan.net/oficina/equipo/internal/headless	50.080s


receipt: test step 51.404s 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 49.785s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.7s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 8.25s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 8.09s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 6.29s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
receipt: slow test 6.26s amadan.net/oficina/equipo/internal/headless TestBrowserChat
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' -v -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserDraftIsTheMessage$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserChat browser-headless-chat 43e3dd6d774c16a93f3ffe3c770b66eaf07ed4b3 6.26s 64.08
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserChatSendStaysOnPage browser-headless-chat 43e3dd6d774c16a93f3ffe3c770b66eaf07ed4b3 6.29s 64.08
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserDraftIsTheMessage browser-headless-chat 43e3dd6d774c16a93f3ffe3c770b66eaf07ed4b3 8.25s 64.08
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 54.85, cpu waiting 34.94%, memory waiting 0.00%, io waiting 0.31%
--- 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
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
=== RUN   TestBrowserRailFollowsWork
time=2026-11-21T11:31:45.762Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-21T11:31:45.762Z level=INFO msg="startup phase done" phase=state_lock took=64µs
time=2026-11-21T11:31:45.762Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-21T11:31:45.762Z level=INFO msg="startup phase done" phase=claim_roots took=81µs
time=2026-11-21T11:31:45.762Z level=INFO msg="startup phase" phase=sweep
time=2026-11-21T11:31:45.796Z level=INFO msg="startup phase done" phase=sweep took=33.357ms
time=2026-11-21T11:31:45.796Z level=INFO msg="startup phase" phase=credentials
time=2026-11-21T11:31:45.796Z level=INFO msg="startup phase done" phase=credentials took=176µs
time=2026-11-21T11:31:45.796Z level=INFO msg="startup phase" phase=open_state
time=2026-11-21T11:31:45.841Z level=INFO msg="startup phase done" phase=open_state took=45.106ms
time=2026-11-21T11:31:45.842Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-21T11:31:45.843Z level=INFO msg=connecting host=127.0.0.1:45793 protocol=28
time=2026-11-21T11:31:45.845Z level=INFO msg=connected host=127.0.0.1:45793 took=1.074ms
time=2026-11-21T11:31:45.846Z level=INFO msg="capabilities gathering"
time=2026-11-21T11:31:45.846Z level=INFO msg="capabilities gathered" took=652µs tags=linux,claude,go
time=2026-11-21T11:31:45.848Z level=INFO msg="hello sent" protocol=28
time=2026-11-21T11:31:45.854Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-21T11:31:47.144Z level=INFO msg="connection checked" connection=claude-1 state=healthy
time=2026-11-21T11:31:57.063Z level=INFO msg="kept sessions" kept=1 bytes=2770 expired=0
time=2026-11-21T11:32:01.963Z level=INFO msg="kept sessions" kept=2 bytes=4922 expired=0
time=2026-11-21T11:32:02.796Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-21T11:32:02.796Z level=INFO msg="startup phase done" phase=state_lock took=186µs
time=2026-11-21T11:32:02.796Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-21T11:32:02.796Z level=INFO msg="startup phase done" phase=claim_roots took=299µs
time=2026-11-21T11:32:02.796Z level=INFO msg="startup phase" phase=sweep
time=2026-11-21T11:32:02.829Z level=INFO msg="startup phase done" phase=sweep took=33.336ms
time=2026-11-21T11:32:02.830Z level=INFO msg="startup phase" phase=credentials
time=2026-11-21T11:32:02.830Z level=INFO msg="startup phase done" phase=credentials took=198µs
time=2026-11-21T11:32:02.830Z level=INFO msg="startup phase" phase=open_state
time=2026-11-21T11:32:02.876Z level=INFO msg="startup phase done" phase=open_state took=46.338ms
time=2026-11-21T11:32:02.877Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-21T11:32:02.878Z level=INFO msg=connecting host=127.0.0.1:42999 protocol=28
time=2026-11-21T11:32:02.880Z level=INFO msg=connected host=127.0.0.1:42999 took=1.047ms
time=2026-11-21T11:32:02.881Z level=INFO msg="capabilities gathering"
time=2026-11-21T11:32:02.882Z level=INFO msg="capabilities gathered" took=895µs tags=linux,claude,go
time=2026-11-21T11:32:02.882Z level=INFO msg="hello sent" protocol=28
time=2026-11-21T11:32:02.888Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-21T11:32:05.128Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_review_test.go:57: waiting for document.querySelector('#rail [data-specialist="engineering"]')?.dataset.state==='working' && document.querySelector('#rail [data-specialist="engineering"]').querySelector('[equipo-nav-task]')?.textContent==='Slow sidebar change' && document.querySelector('#nav-tasks [data-count]')?.textContent==='1': context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserRailFollowsWork (23.70s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m40.216s
FAIL	amadan.net/oficina/equipo/internal/headless	100.550s


receipt: test step 1m42.283s 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 1m40.216s amadan.net/oficina/equipo/internal/headless
receipt: slow test 28.5s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 23.7s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 14.96s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 11.48s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
receipt: slow test 11.36s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' -v -run '^TestBrowserRailFollowsWork$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserRailFollowsWork browser-headless-work 43e3dd6d774c16a93f3ffe3c770b66eaf07ed4b3 23.70s 63.34
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 46.86, cpu waiting 27.89%, memory waiting 0.00%, io waiting 0.25%
--- 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

receipt: test step 1m49.333s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m47.122s amadan.net/oficina/equipo/internal/headless
receipt: slow test 17s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 14.84s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 13.17s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 10.86s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.71s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 58.75, cpu waiting 36.09%, memory waiting 0.00%, io waiting 0.32%
--- 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 TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-21T11:32:39.738Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-21T11:32:39.738Z level=INFO msg="startup phase done" phase=state_lock took=69µs
time=2026-11-21T11:32:39.738Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-21T11:32:39.738Z level=INFO msg="startup phase done" phase=claim_roots took=86µs
time=2026-11-21T11:32:39.738Z level=INFO msg="startup phase" phase=sweep
time=2026-11-21T11:32:39.769Z level=INFO msg="startup phase done" phase=sweep took=31.108ms
time=2026-11-21T11:32:39.769Z level=INFO msg="startup phase" phase=credentials
time=2026-11-21T11:32:39.769Z level=INFO msg="startup phase done" phase=credentials took=151µs
time=2026-11-21T11:32:39.769Z level=INFO msg="startup phase" phase=open_state
time=2026-11-21T11:32:39.811Z level=INFO msg="startup phase done" phase=open_state took=41.714ms
time=2026-11-21T11:32:39.812Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-21T11:32:39.813Z level=INFO msg=connecting host=127.0.0.1:33271 protocol=28
time=2026-11-21T11:32:39.815Z level=INFO msg=connected host=127.0.0.1:33271 took=1.359ms
time=2026-11-21T11:32:39.815Z level=INFO msg="capabilities gathering"
time=2026-11-21T11:32:39.817Z level=INFO msg="capabilities gathered" took=2.011ms tags=linux,claude,go
time=2026-11-21T11:32:39.818Z level=INFO msg="hello sent" protocol=28
time=2026-11-21T11:32:39.826Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-21T11:32:40.930Z 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: context deadline exceeded)
--- FAIL: TestBrowserEmptyExplore (5.86s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m38.856s
FAIL	amadan.net/oficina/equipo/internal/headless	99.184s


receipt: test step 1m40.912s 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 1m38.856s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.27s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 13.3s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 12.59s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 11.44s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 8.43s amadan.net/oficina/equipo/internal/headless TestBrowserNotebook
rastrillo: budget test: go test failed
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 '^TestBrowserEmptyExplore$' -count=1 ./internal/headless   (retry, once)
FAILED TWICE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest
=== RUN   TestBrowserEmptyExplore
time=2026-11-21T11:33:02.053Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-21T11:33:02.053Z level=INFO msg="startup phase done" phase=state_lock took=66µs
time=2026-11-21T11:33:02.053Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-21T11:33:02.053Z level=INFO msg="startup phase done" phase=claim_roots took=82µs
time=2026-11-21T11:33:02.053Z level=INFO msg="startup phase" phase=sweep
time=2026-11-21T11:33:02.085Z level=INFO msg="startup phase done" phase=sweep took=31.611ms
time=2026-11-21T11:33:02.085Z level=INFO msg="startup phase" phase=credentials
time=2026-11-21T11:33:02.085Z level=INFO msg="startup phase done" phase=credentials took=106µs
time=2026-11-21T11:33:02.085Z level=INFO msg="startup phase" phase=open_state
time=2026-11-21T11:33:02.124Z level=INFO msg="startup phase done" phase=open_state took=39.034ms
time=2026-11-21T11:33:02.124Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-21T11:33:02.125Z level=INFO msg=connecting host=127.0.0.1:35085 protocol=28
time=2026-11-21T11:33:02.126Z level=INFO msg=connected host=127.0.0.1:35085 took=932µs
time=2026-11-21T11:33:02.126Z level=INFO msg="capabilities gathering"
time=2026-11-21T11:33:02.127Z level=INFO msg="capabilities gathered" took=377µs tags=linux,claude,go
time=2026-11-21T11:33:02.127Z level=INFO msg="hello sent" protocol=28
time=2026-11-21T11:33:02.132Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-21T11:33:03.016Z 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: context deadline exceeded)
--- FAIL: TestBrowserEmptyExplore (6.80s)
FAIL
rastrillo-budget/v1 ran 6.803s
FAIL	amadan.net/oficina/equipo/internal/headless	7.075s
FAIL
machine: 32 CPUs, load 58.75, cpu waiting 36.09%, memory waiting 0.00%, io waiting 0.32%
make: *** [Makefile:113: ci-shard] Error 1

amadan: step check shard 21 of 29 failed: exit status 2
--- 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 2.263s 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 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 3.047s 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 1.588s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 1.59s 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 3.309s 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 1.926s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 1.93s 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|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)$' ./internal/thintest

receipt: test step 3m24.619s 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 3m22.728s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 18.2s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.38s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.53s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 7.83s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
machine: 32 CPUs, load 12.55, cpu waiting 6.23%, memory waiting 0.00%, io waiting 0.05%
--- 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   (63s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 5.33s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.43s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 11.10s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 12.67s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 28.96s
+ 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   (70s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 20.83s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 14.20s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 12.50s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 19.07s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (26s)
ok ./internal/headless TestMixedVersions 22.86s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (3s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.89s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (3s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.05s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 76.39, cpu waiting 41.91%, memory waiting 0.00%, io waiting 0.64%
--- 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 14.182s 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 8.011s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 228ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 86ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/gotoolchain
receipt: slow test 5.8s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.76s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 340ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 230ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxToolchain
CGO_ENABLED=0 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 4.082s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 3.086s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 310ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 190ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 130ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReapsOrphans
machine: 32 CPUs, load 21.25, cpu waiting 11.39%, memory waiting 0.00%, io waiting 1.55%
--- 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 37.0%, load 25.70
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2532 text files, 2849 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: 88 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.487s
machine: 32 CPUs, load 75.36, cpu waiting 44.47%, memory waiting 0.00%, io waiting 0.53%
--- 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 37.0%, load 25.70
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 70.00, cpu waiting 36.98%, memory waiting 0.00%, io waiting 0.82%
--- 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 37.0%, load 25.70
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 44.70, cpu waiting 23.17%, memory waiting 0.00%, io waiting 1.11%
--- 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 37.0%, load 25.70
shard 28: make gitleaks
11:31AM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
11:32AM INF 1075 commits scanned.
11:32AM INF scanned ~60824671 bytes (60.82 MB) in 23.5s
11:32AM INF no leaks found
machine: 32 CPUs, load 64.08, cpu waiting 35.90%, memory waiting 0.00%, io waiting 0.85%

amadan: job failed at step check shard 21 of 29 — its output is above, not at the tail of this log
diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt
index f57353e9..6cd7c4e5 100644
--- a/.rastrillo/budgets.txt
+++ b/.rastrillo/budgets.txt
@@ -26,7 +26,7 @@ time internal/runner/provider/claude 45s Task 5 measured 32.430s for fake CLI se
time internal/runner/provider/codex 35s Plan 3 CI repair measured 24.464s for the full package (controller CI 27.908s).
time internal/runner/provider/pi 60s The real pinned Pi in bubblewrap against a fake TensorX: probes P1 to P5 (a hundred RPC turns), the hostile repository, and the pinned tree checked whole (about 160 MB); measured 22s locally.
time internal/runner/provider/opencode 90s The real pinned OpenCode in bubblewrap against a fake Go: probes, the hostile repository per source, termination, resume; the 260 MB binary hashed per launch. Measured 40s.
-size internal/runner/provider 5603 - Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; measured 5603/4363 source/test lines (containment reasons logged).
+size internal/runner/provider 5637 - Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; measured 5637/4467 source/test lines (Claude scrub-mode stubs on token copies).
time internal/plan3test 300s Initial cap for combined browser and runner acceptance; measure at both usable stops.
diff --git a/internal/runner/provider/runtime_claude.go b/internal/runner/provider/runtime_claude.go
index 1ef23a67..743893c7 100644
--- a/internal/runner/provider/runtime_claude.go
+++ b/internal/runner/provider/runtime_claude.go
@@ -23,6 +23,9 @@ var claudeSessionFile = regexp.MustCompile(`^session-env/[0-9a-f]{8}-[0-9a-f]{4}
// do not authorize SSH, config, mod or seed files.
func (l *AccountLease) claudeRuntimeEntry(rel string, info os.FileInfo) (bool, error) {
top := strings.SplitN(rel, "/", 2)[0]
+ if l.source.Token && l.source.Expected.ProviderVersion == ClaudeVersion && (claudeScrubStub[rel] != 0 || top == ".pip") {
+ return true, claudeScrubEntry(rel, info)
+ }
category := ""
switch top {
case ".cc-writes":
@@ -52,7 +55,7 @@ func (l *AccountLease) claudeRuntimeEntry(rel string, info os.FileInfo) (bool, e
return true, accountContainment("runtime_claude_" + category)
}
if rel == ".config/git" || rel == ".config/git/ignore" {
- valid := rel == ".config/git" && info.IsDir() && (info.Mode().Perm() == 0775 || info.Mode().Perm() == 0700) || rel == ".config/git/ignore" && l.claudeGitIgnore(info)
+ valid := rel == ".config/git" && info.IsDir() && claudeStubDir(info.Mode().Perm()) || rel == ".config/git/ignore" && l.claudeGitIgnore(info)
if !valid {
return true, accountContainment("runtime_claude_git_ignore")
}
@@ -93,6 +96,24 @@ func (l *AccountLease) claudeRuntimeEntry(rel string, info os.FileInfo) (bool, e
return true, nil
}
+// 2.1.312 in scrub mode (CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1, set for
+// token launches only: LaunchSecretEnv) creates these in its home at
+// startup, empty, for its Bash sandbox to cover ("claude-code scrub-mode
+// stubs"; observed with a throwaway home 2026-11-21). Empty is all it
+// writes; content, another kind or a child is refused.
+var claudeScrubStub = map[string]byte{".gitconfig": 'f', ".bash_profile": 'f', ".bashrc": 'f', ".bash_aliases": 'f', ".profile": 'f', ".zshrc": 'f', ".bunfig.toml": 'f', ".netrc": 'f', ".npmrc": 'f', ".yarnrc": 'f', ".yarnrc.yml": 'f', ".pip": 'd', ".config/gh": 'd', ".config/glab-cli": 'd', ".config/pip": 'd'}
+
+func claudeScrubEntry(rel string, info os.FileInfo) error {
+ perm, kind := info.Mode().Perm(), claudeScrubStub[rel]
+ if kind == 'f' && info.Mode().IsRegular() && info.Size() == 0 && (perm == 0600 || perm == 0644 || perm == 0664) || kind == 'd' && info.IsDir() && claudeStubDir(perm) {
+ return nil
+ }
+ return accountContainment("runtime_claude_scrub_stub")
+}
+
+// claudeStubDir is a directory mode the CLI makes under umask 077, 022 or 002.
+func claudeStubDir(perm os.FileMode) bool { return perm == 0700 || perm == 0755 || perm == 0775 }
+
func (l *AccountLease) claudeGitIgnore(info os.FileInfo) bool {
const observed = "**/.claude/.cc-writes/\n"
if !info.Mode().IsRegular() || (info.Mode().Perm() != 0664 && info.Mode().Perm() != 0600) || info.Size() != int64(len(observed)) {
diff --git a/internal/runner/provider/runtime_home.go b/internal/runner/provider/runtime_home.go
index 43ad5b3e..2305e5ea 100644
--- a/internal/runner/provider/runtime_home.go
+++ b/internal/runner/provider/runtime_home.go
@@ -5,6 +5,7 @@ import (
"os"
"path/filepath"
"regexp"
+ "slices"
"strings"
"syscall"
)
@@ -99,12 +100,24 @@ func (l *AccountLease) validateRuntimeEntries() error {
}
}
if filepath.Dir(path) == l.runtime && !allowed[name] && !strings.HasPrefix(name, "state_") && !strings.HasPrefix(name, "logs_") {
- return entryReason("unexpected_entry")
+ return entryReason("unexpected_entry:" + knownEntry(name))
}
return nil
})
}
+// knownEntries are names the pinned CLIs are known to write in a home
+// (2.1.312's own list and its sandbox's protected dotfiles). A refusal
+// names only these: any other name could be text the session chose.
+var knownEntries = strings.Fields(`.claude.json.backup .session_ingress_token ide hfi-auth.json daemon jobs teams usage-data shares state uploads feedback feedback-bundles cache mcp-discovery-cache mcp-needs-auth-cache.json gh-pr-status-cache.json local antproto.json ccr bridge-spawn active-time.json loop.md server-sessions.json image-cache file-transfers mcp-skill-archives computer-use.lock server.lock api-dumps chrome local-settings project-settings remote remote-control scratch storage-v2 systemd agent-memory cowork_plugins dump-prompts traces startup-perf keybindings.json .gitmodules .zprofile .zshenv .zlogin .zlogout .bash_login .bash_logout .envrc .ripgreprc .git-credentials .pypirc .pgpass .bash_history .zsh_history .python_history .node_repl_history`)
+
+func knownEntry(name string) string {
+ if slices.Contains(knownEntries, name) || claudeScrubStub[name] != 0 {
+ return name
+ }
+ return "unlisted"
+}
+
// These are startup state in the staged home, never source-home inputs.
func codexRuntimeState(name string) bool {
switch name {
diff --git a/internal/runner/provider/runtime_scrub_test.go b/internal/runner/provider/runtime_scrub_test.go
new file mode 100644
index 00000000..53eb9cec
--- /dev/null
+++ b/internal/runner/provider/runtime_scrub_test.go
@@ -0,0 +1,104 @@
+package provider
+
+import (
+ "context"
+ "errors"
+ "os"
+ "path/filepath"
+ "strings"
+ "testing"
+)
+
+var scrubFiles = []string{".gitconfig", ".bash_profile", ".bashrc", ".bash_aliases", ".profile", ".zshrc", ".bunfig.toml", ".netrc", ".npmrc", ".yarnrc", ".yarnrc.yml"}
+
+// scrubStubs makes what the pinned CLI makes in its home at startup in
+// scrub mode (a throwaway home, 2026-11-21): empty files and directories.
+func scrubStubs(t *testing.T, home string, file, dir os.FileMode) {
+ t.Helper()
+ for _, name := range []string{".pip", ".config", ".config/gh", ".config/glab-cli", ".config/git", ".config/pip"} {
+ if err := os.MkdirAll(filepath.Join(home, name), dir); err != nil || os.Chmod(filepath.Join(home, name), dir) != nil {
+ t.Fatal(err)
+ }
+ }
+ for _, name := range scrubFiles {
+ writeFake(t, filepath.Join(home, name), "")
+ if err := os.Chmod(filepath.Join(home, name), file); err != nil {
+ t.Fatal(err)
+ }
+ }
+}
+
+// Production 2026-11-21: a token connection's second turn on one
+// process was refused, runtime_claude_unexpected_entry. A token launch
+// sets CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1, and in that mode the pinned
+// CLI stubs these out for its Bash sandbox after the copy's first check.
+func TestTokenCopyAllowsScrubStubs(t *testing.T) {
+ for _, m := range [][2]os.FileMode{{0644, 0755}, {0664, 0775}, {0600, 0700}} {
+ l := openTokenCopy(t, tokenFixture(t))
+ scrubStubs(t, l.Binding().Home, m[0], m[1])
+ if err := l.CheckCopy(context.Background()); err != nil {
+ t.Fatalf("modes %o/%o: %v", m[0], m[1], err)
+ }
+ }
+}
+
+// Only those names, empty, of that kind, on a token copy pass; the
+// refusal names an entry only when it is one the CLI is known to write.
+func TestScrubStubsOtherwiseRefused(t *testing.T) {
+ for _, tc := range []struct{ name, want string }{
+ {"content", "runtime_claude_scrub_stub"}, {"directory", "runtime_claude_scrub_stub"},
+ {"exec", "runtime_claude_scrub_stub"}, {"wide", "runtime_claude_scrub_stub"},
+ {"link", "runtime_claude_special_entry"}, {"hardlink", "runtime_claude_metadata"},
+ {"pip-child", "runtime_claude_scrub_stub"}, {"gh-child", "runtime_claude_config"},
+ {"envrc", "runtime_claude_unexpected_entry:.envrc"}, {"unlisted", "runtime_claude_unexpected_entry:unlisted"},
+ {"login", "runtime_claude_unexpected_entry:.bash_aliases"},
+ } {
+ t.Run(tc.name, func(t *testing.T) {
+ var l *AccountLease
+ if tc.name == "login" {
+ l = claudeRuntimeFixture(t)
+ } else {
+ l = openTokenCopy(t, tokenFixture(t))
+ }
+ home := l.Binding().Home
+ scrubStubs(t, home, 0644, 0755)
+ bashrc := filepath.Join(home, ".bashrc")
+ var err error
+ switch tc.name {
+ case "content":
+ err = os.WriteFile(bashrc, []byte("x"), 0644)
+ case "directory":
+ if err = os.Remove(bashrc); err == nil {
+ err = os.Mkdir(bashrc, 0755)
+ }
+ case "exec":
+ err = os.Chmod(bashrc, 0755)
+ case "wide":
+ err = os.Chmod(bashrc, 0666)
+ case "link":
+ if err = os.Remove(bashrc); err == nil {
+ err = os.Symlink("/dev/null", bashrc)
+ }
+ case "hardlink":
+ if err = os.Remove(filepath.Join(home, ".netrc")); err == nil {
+ err = os.Link(bashrc, filepath.Join(home, ".netrc"))
+ }
+ case "pip-child":
+ err = os.WriteFile(filepath.Join(home, ".pip", "pip.conf"), nil, 0644)
+ case "gh-child":
+ err = os.WriteFile(filepath.Join(home, ".config", "gh", "hosts.yml"), nil, 0644)
+ case "envrc":
+ err = os.WriteFile(filepath.Join(home, ".envrc"), nil, 0644)
+ case "unlisted":
+ err = os.WriteFile(filepath.Join(home, ".secret-sentinel"), nil, 0644)
+ }
+ if err != nil {
+ t.Fatal(err)
+ }
+ err = l.validateRuntimeEntries()
+ if !errors.Is(err, ErrContainment) || ContainmentReason(err) != tc.want || strings.Contains(err.Error(), "secret-sentinel") {
+ t.Fatalf("want %s: %v", tc.want, err)
+ }
+ })
+ }
+}
diff --git a/scripts/runner-reference-allowlist.json b/scripts/runner-reference-allowlist.json
index b0cb0946..3b6490f9 100644
--- a/scripts/runner-reference-allowlist.json
+++ b/scripts/runner-reference-allowlist.json
@@ -16448,5 +16448,26 @@
"match": "equipo-runner",
"count": 1,
"reason": "Staging release test: a fake runner release's file names, to check the preview scanner is installed beside the runner and held to its digest."
+ },
+ {
+ "path": "internal/runner/provider/runtime_claude.go",
+ "line_sha256": "c3fba75a3450e5fb2620839b1bb8b3fe815931baa2a9673e50dfa7832deb1f45",
+ "match": "npm",
+ "count": 1,
+ "reason": "Claude Code scrub-mode stub names (.npmrc and similar) a token copy may hold, and the runtime-home entry list; names only, no execution."
+ },
+ {
+ "path": "internal/runner/provider/runtime_home.go",
+ "line_sha256": "c7e667c43b9d7d7b43d660d26518ec853838e11e71fdec3e2fe4dcd6a8b40937",
+ "match": "node",
+ "count": 1,
+ "reason": "Claude Code scrub-mode stub names (.npmrc and similar) a token copy may hold, and the runtime-home entry list; names only, no execution."
+ },
+ {
+ "path": "internal/runner/provider/runtime_scrub_test.go",
+ "line_sha256": "e45c746590e77e5264492ea27604ec02fcf74b343faa74c5b4464e33f7507d06",
+ "match": "npm",
+ "count": 1,
+ "reason": "Claude Code scrub-mode stub names (.npmrc and similar) a token copy may hold, and the runtime-home entry list; names only, no execution."
}
]