oficina / equipo Public

Staging runner: install gitleaks; agent-wide forge credential

Since the 11-19 runner deploy every staging preview failed with
preview_scanner. The runner looks for gitleaks beside its own binary,
but staging-thin.py build copied only equipo-runner and
equipo-tool-proxy into the staging release. build now copies the
pinned gitleaks too, and provenance holds it to the release manifest's
digest, so an install without it fails.

Since 11-13 every merge into a repository made for a job failed with
"merge refused by validation". Both staging runners read production's
forge credential file, which has per-repository entries only, so the
runner had no credential for new repositories and refused the merge
before it reached the hub. The owner's runner now gets its own
agent-wide file (amadan.json under the staging root, 0600) at each
install, made from the same agent bearer and git PAT. The hub already
grants the agent its namespaces, so it decides the reach. Production's
file and the suite's runner are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev 8757df0999efcc6b235eb4e7ea759ed0c1f31dec parent 76bc4fb
3 files changed, +191 −13
  • scripts/runner-reference-allowlist.json +30 −2
  • scripts/staging-thin-test.py +117 −0
  • scripts/staging-thin.py +44 −11

CI passed — 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/staging-runner-gitleaks: Type  Size Avail | ext4   96G   85G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   85G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 1.4s
ci-box: codex: fetched and verified in 3.5s
ci-box: codex-code-mode-host: fetched and verified in 1.4s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.3s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.9s
ci-box: pi: installed and verified in 7.4s
ci-box: opencode: installed and verified in 2.2s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.8s
ci-box: clone deepened in 3.1s
ci-box: file times set from content: 2724 files, 174 directories
ci-box: ready in 16.6s
=== 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.245s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  1.1s
+ 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.2s
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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m20.324s 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.77s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m18.77s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 33.52, cpu waiting 20.68%, memory waiting 0.00%, io waiting 0.62%
--- 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 1m20.693s 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 1m19.185s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m19.18s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 33.52, cpu waiting 20.68%, memory waiting 0.00%, io waiting 0.62%
--- 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 1m21.738s 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 1m19.711s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m9.37s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.7s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.64s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 33.52, cpu waiting 20.23%, memory waiting 0.00%, io waiting 0.60%
--- 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 1m17.46s 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 1m15.859s amadan.net/oficina/equipo/internal/headless
receipt: slow test 36.25s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.12s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.46s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 35.14, cpu waiting 20.81%, memory waiting 0.00%, io waiting 0.64%
--- 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 1m34.726s 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 1m33.128s amadan.net/oficina/equipo/internal/headless
receipt: slow test 58.5s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.83s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 9.62s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 8.54s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 5.63s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 28.64, cpu waiting 16.49%, memory waiting 0.00%, io waiting 0.47%
--- 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 3m5.259s 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 3m3.343s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m42.24s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 23.68s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.33s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 7.99s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.28s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 7.94, cpu waiting 3.72%, memory waiting 0.00%, io waiting 0.10%
--- 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 331ms 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 2m0.883s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 7.82s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.8s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.38s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 3.88s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 2.42s amadan.net/oficina/equipo/internal/thintest TestResearchDoneFallsBack
machine: 32 CPUs, load 1.69, cpu waiting 0.00%, memory waiting 0.00%, io waiting 2.22%
--- 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 296ms 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 1m22.798s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.09s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.23s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.41s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.37s amadan.net/oficina/equipo/internal/thintest TestContractPublishNameTaken
receipt: slow test 2.35s amadan.net/oficina/equipo/internal/thintest TestContractPreview
machine: 32 CPUs, load 1.69, cpu waiting 0.00%, memory waiting 0.00%, io waiting 2.22%
--- 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 4m28.378s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m41.345s 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 4m28.378s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 36.96s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.9s 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.47s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 6.93s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 2.08, cpu waiting 0.74%, 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.366s 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.274s amadan.net/oficina/equipo/internal/runner
receipt: slow test 26.24s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.03s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 28.72, cpu waiting 19.66%, 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 45.669s 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 43.803s amadan.net/oficina/equipo/internal/runner
receipt: slow test 33.88s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 29.41s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.38s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.53s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 28.72, cpu waiting 19.58%, memory waiting 0.00%, io waiting 1.11%
--- 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 34.545s 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 33.712s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.13s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.15s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.1s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 1.96s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 20.91, cpu waiting 14.34%, memory waiting 0.00%, io waiting 1.31%
--- 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 28.3%, load 17.68
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.391s 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 1m2.555s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 26.9s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 26.81s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 24.89s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 22.47s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 22.29s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfiguration
machine: 32 CPUs, load 28.64, cpu waiting 16.49%, memory waiting 0.00%, io waiting 0.47%
--- 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.5%, load 17.68
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 294ms 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 1m14.081s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 19.43s amadan.net/oficina/equipo/internal/equipotest TestProjectsSharedAndGrouped
receipt: slow test 19.43s amadan.net/oficina/equipo/internal/equipotest TestProjectRejectsUnsafeBinding
receipt: slow test 19.41s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 19.38s amadan.net/oficina/equipo/internal/equipotest TestProjectOwnersAreMembers
receipt: slow test 19.3s amadan.net/oficina/equipo/internal/equipotest TestProjectKindsAndDefaultBranch
machine: 32 CPUs, load 17.68, cpu waiting 10.78%, memory waiting 0.00%, io waiting 1.45%
--- 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 28.3%, load 17.68
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 1m15.27s 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.102s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 15.26s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.12s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.08s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 10.03s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 6.98s amadan.net/oficina/equipo/internal/equipotest TestRosterProtectsLastOwner
machine: 32 CPUs, load 24.70, cpu waiting 13.99%, 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.5%, load 17.68
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 370ms 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 1m6.433s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 25.51s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 24.68s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 24.62s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 22.72s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedOnce
receipt: slow test 22.66s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsRollbackAndUnavailable
machine: 32 CPUs, load 17.68, cpu waiting 11.47%, memory waiting 0.00%, io waiting 1.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 27.5%, load 17.68
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 414ms 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 47.181s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.5s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.44s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.42s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.32s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.18s amadan.net/oficina/equipo/internal/plan3test TestPlanMigrationUpgrade
machine: 32 CPUs, load 17.68, cpu waiting 10.78%, memory waiting 0.00%, io waiting 1.45%
--- 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 28.3%, load 17.68
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/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/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
cache miss: amadan.net/oficina/equipo/internal/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/release: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/codex: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
--- FAIL amadan.net/oficina/equipo/internal/runner/provider/claude TestClaudeInitPolicy
=== RUN   TestClaudeInitPolicy
--- FAIL: TestClaudeInitPolicy (0.82s)

--- FAIL amadan.net/oficina/equipo/internal/runner/provider/claude TestClaudeInitPolicy/tools
=== RUN   TestClaudeInitPolicy/tools
    launcher_test.go:793: claude_turn_uncertain
--- FAIL: TestClaudeInitPolicy/tools (0.13s)

--- FAIL amadan.net/oficina/equipo/internal/runner/provider/claude (package output)
FAIL
rastrillo-budget/v1 ran 16.729s
FAIL	amadan.net/oficina/equipo/internal/runner/provider/claude	17.454s

budget note: internal/equipo took 25.955s, 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 13.726s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/setup took 10.311s, 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 47.583s, 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 18.088s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/containment took 38.726s, over the 15s its record on line 40 allows; reported only, timing fails on CI

receipt: test step 2m13.779s against a 60s target (the gate's other steps are not in this figure)
receipt: 11 packages ran, 48 cached, 18 without tests, 1 failed
receipt: slow package 52.83s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 52.117s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 47.583s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 38.726s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow package 36.492s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow test 30.51s amadan.net/oficina/equipo/cmd/equipo-runner TestReleaseRunnerHasNoFakeWorker
receipt: slow test 21.56s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 15.95s amadan.net/oficina/equipo/internal/idtest TestIDCallbackGuardAndPendingNonce
receipt: slow test 15.16s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 9.17s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringMissingModuleCache
rastrillo: budget test: go test failed
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestClaudeInitPolicy$/^tools$' -count=1 ./internal/runner/provider/claude   (retry, once)
##############################################################################
FLAKE ./internal/runner/provider/claude:TestClaudeInitPolicy/tools rest 8757df0999efcc6b235eb4e7ea759ed0c1f31dec 0.13s 10.58
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 10.58, cpu waiting 5.19%, memory waiting 0.00%, io waiting 0.14%
--- shard 18 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-chat: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m21.404s 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 1m19.942s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.3s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 14.97s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 9.94s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.67s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 5.79s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 33.52, cpu waiting 20.23%, memory waiting 0.00%, io waiting 0.60%
--- 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 1m30.339s 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 1m28.735s amadan.net/oficina/equipo/internal/headless
receipt: slow test 25.18s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 22.01s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 13.95s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 9.96s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 7.97s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 30.44, cpu waiting 17.59%, memory waiting 0.00%, io waiting 0.51%
--- 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 1m39.18s 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.603s amadan.net/oficina/equipo/internal/headless
receipt: slow test 13.84s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 12.85s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 12.77s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 10.31s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.27s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 26.51, cpu waiting 15.43%, memory waiting 0.00%, io waiting 0.44%
--- 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
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-20T06:50:37.041Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T06:50:37.041Z level=INFO msg="startup phase done" phase=state_lock took=65µs
time=2026-11-20T06:50:37.042Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T06:50:37.042Z level=INFO msg="startup phase done" phase=claim_roots took=85µs
time=2026-11-20T06:50:37.042Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T06:50:37.069Z level=INFO msg="startup phase done" phase=sweep took=27.536ms
time=2026-11-20T06:50:37.069Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T06:50:37.069Z level=INFO msg="startup phase done" phase=credentials took=103µs
time=2026-11-20T06:50:37.069Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T06:50:37.115Z level=INFO msg="startup phase done" phase=open_state took=45.485ms
time=2026-11-20T06:50:37.115Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T06:50:37.116Z level=INFO msg=connecting host=127.0.0.1:38573 protocol=28
time=2026-11-20T06:50:37.117Z level=INFO msg=connected host=127.0.0.1:38573 took=899µs
time=2026-11-20T06:50:37.117Z level=INFO msg="capabilities gathering"
time=2026-11-20T06:50:37.118Z level=INFO msg="capabilities gathered" took=370µs tags=linux,claude,go
time=2026-11-20T06:50:37.118Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T06:50:37.129Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T06:50:38.159Z 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.83s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m25.459s
FAIL	amadan.net/oficina/equipo/internal/headless	85.756s


receipt: test step 1m26.773s 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 1m25.459s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.96s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 10.66s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 10.41s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 10.39s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 7.85s 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 '^TestBrowserEmptyExplore$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest 8757df0999efcc6b235eb4e7ea759ed0c1f31dec 5.83s 32.04
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 28.64, cpu waiting 15.95%, memory waiting 0.00%, io waiting 0.46%
--- 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 214ms 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 701ms amadan.net/oficina/equipo/internal/equipo
receipt: slow test 700ms 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 189ms 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.631s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 1.63s 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 213ms 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.794s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 1.79s 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|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|TestBrowserThinkingWords|TestBrowserTokenRowEmail|TestBrowserTrackStarCentre)$' ./internal/thintest

receipt: test step 273ms 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 3m4.809s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 17.42s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.34s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 10.61s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.34s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
receipt: slow test 9.15s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
machine: 32 CPUs, load 1.69, cpu waiting 1.39%, memory waiting 0.00%, io waiting 2.24%
--- 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   (52s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 5.38s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.31s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 9.09s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 9.65s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 24.76s
+ 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   (61s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 12.75s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 12.90s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 20.30s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 12.90s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (21s)
ok ./internal/headless TestMixedVersions 19.67s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.77s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (1s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.05s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 33.12, cpu waiting 21.21%, memory waiting 0.00%, io waiting 0.85%
--- 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.159s 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.131s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 175ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 63ms 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.12s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 300ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 170ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 80ms 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 3.158s 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.805s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 280ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 180ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReapsOrphans
machine: 32 CPUs, load 10.06, cpu waiting 4.17%, memory waiting 0.00%, io waiting 1.96%
--- 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 28.3%, load 17.68
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2438 text files, 2846 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: 87 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.434s
machine: 32 CPUs, load 26.52, cpu waiting 18.85%, 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.5%, load 17.68
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 17.68, cpu waiting 11.47%, memory waiting 0.00%, io waiting 1.40%
--- 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.5%, load 17.68
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 20.91, cpu waiting 15.31%, memory waiting 0.00%, io waiting 1.27%
--- 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 28.3%, load 17.68
shard 28: make gitleaks
6:49AM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
6:50AM INF 1029 commits scanned.
6:50AM INF scanned ~60001762 bytes (60 MB) in 12.8s
6:50AM INF no leaks found
machine: 32 CPUs, load 26.52, cpu waiting 18.85%, 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' ./...
perf: GET /: median 1.075ms, worst 1.171ms, budget 150ms
perf: GET /api/runner/protocol: median 66µs, worst 106µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 905µs, worst 1.651ms, budget 150ms
perf: GET /api/v1/accounts: median 420µs, worst 457µs, budget 150ms
perf: GET /api/v1/auth/devices: median 448µs, worst 525µs, budget 150ms
perf: GET /api/v1/budgets: median 489µs, worst 520µs, budget 150ms
perf: GET /api/v1/capabilities: median 258µs, worst 287µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.233ms, worst 1.316ms, budget 150ms
perf: GET /api/v1/connections: median 599µs, worst 651µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 537µs, worst 554µs, budget 150ms
perf: GET /api/v1/conversation: median 912µs, worst 1.006ms, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.453ms, worst 1.544ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.696ms, worst 1.741ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 445µs, worst 471µs, budget 150ms
perf: GET /api/v1/journey: median 9.264ms, worst 9.657ms, budget 150ms
perf: GET /api/v1/me: median 495µs, worst 529µs, budget 150ms
perf: GET /api/v1/me/settings: median 592µs, worst 634µs, budget 150ms
perf: GET /api/v1/needs-you: median 9.236ms, worst 9.588ms, budget 150ms
perf: GET /api/v1/notifications: median 1.737ms, worst 1.795ms, budget 150ms
perf: GET /api/v1/onboarding: median 391µs, worst 407µs, budget 150ms
perf: GET /api/v1/people: median 446µs, worst 476µs, budget 150ms
perf: GET /api/v1/playbooks: median 596µs, worst 636µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 542µs, worst 584µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 854µs, worst 912µs, budget 150ms
perf: GET /api/v1/preferences: median 781µs, worst 845µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 465µs, worst 507µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 594µs, worst 625µs, budget 150ms
perf: GET /api/v1/roster: median 485µs, worst 524µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 446µs, worst 465µs, budget 150ms
perf: GET /api/v1/specialists: median 8.217ms, worst 8.437ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 8.105ms, worst 8.335ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 885µs, worst 951µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.186ms, worst 1.23ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 741µs, worst 754µs, budget 150ms
perf: GET /api/v1/teams: median 437µs, worst 508µs, budget 150ms
perf: GET /api/v1/templates: median 641µs, worst 672µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 494µs, worst 529µs, budget 150ms
perf: GET /auth/callback: median 78µs, worst 144µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.513ms, worst 3.76ms, budget 150ms
perf: GET /auth/verify: median 94µs, worst 133µs, budget 150ms
perf: GET /connections: median 3.959ms, worst 6.913ms, budget 150ms
perf: GET /conversation: median 7.716ms, worst 8.175ms, budget 150ms
perf: GET /conversation/connections: median 252µs, worst 269µs, budget 150ms
perf: GET /conversation/notebook: median 235µs, worst 256µs, budget 150ms
perf: GET /conversation/settings: median 3.897ms, worst 3.933ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 3.624ms, worst 3.674ms, budget 150ms
perf: GET /conversation/settings/connections: median 6.264ms, worst 6.475ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 6.61ms, worst 6.726ms, budget 150ms
perf: GET /conversation/settings/copy: median 3.71ms, worst 3.983ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 4.521ms, worst 6.578ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.697ms, worst 4.746ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.593ms, worst 4.865ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.41ms, worst 3.575ms, budget 150ms
perf: GET /conversation/settings/thinking: median 4.096ms, worst 4.241ms, budget 150ms
perf: GET /housekeeping: median 3.792ms, worst 3.863ms, budget 150ms
perf: GET /invites/new: median 600µs, worst 621µs, budget 150ms
perf: GET /invites/{id}: median 625µs, worst 647µs, budget 150ms
perf: GET /jobs: median 3.326ms, worst 3.42ms, budget 150ms
perf: GET /jobs/{id}: median 4.516ms, worst 4.637ms, budget 150ms
perf: GET /journey: median 10.624ms, worst 13.879ms, budget 150ms
perf: GET /nav/rail: median 3.086ms, worst 3.165ms, budget 150ms
perf: GET /needs-you: median 10.31ms, worst 10.669ms, budget 150ms
perf: GET /onboarding: median 3.93ms, worst 4.01ms, budget 150ms
perf: GET /people: median 3.331ms, worst 3.432ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 4.516ms, worst 4.615ms, budget 150ms
perf: GET /playbooks: median 4.14ms, worst 4.249ms, budget 150ms
perf: GET /playbooks/new: median 4.181ms, worst 4.281ms, budget 150ms
perf: GET /playbooks/{id}: median 4.819ms, worst 4.926ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 4.702ms, worst 4.85ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 4.088ms, worst 6.796ms, budget 150ms
perf: GET /preferences: median 4.497ms, worst 4.761ms, budget 150ms
perf: GET /preferences/sources/{source}: median 4.213ms, worst 4.535ms, budget 150ms
perf: GET /projects: median 5.209ms, worst 5.38ms, budget 150ms
perf: GET /projects/accounts: median 3.594ms, worst 3.748ms, budget 150ms
perf: GET /projects/new: median 3.639ms, worst 3.766ms, budget 150ms
perf: GET /projects/{id}: median 10.362ms, worst 11.043ms, budget 150ms
perf: GET /projects/{id}/edit: median 3.62ms, worst 3.817ms, budget 150ms
perf: GET /runners/enrol: median 4.268ms, worst 4.455ms, budget 150ms
perf: GET /settings: median 3.356ms, worst 3.409ms, budget 150ms
perf: GET /settings/coordinator: median 5.706ms, worst 8.283ms, budget 150ms
perf: GET /settings/devices: median 3.374ms, worst 3.582ms, budget 150ms
perf: GET /settings/recovery: median 3.437ms, worst 3.588ms, budget 150ms
perf: GET /settings/recovery/release: median 3.556ms, worst 3.69ms, budget 150ms
perf: GET /settings/thinking: median 260µs, worst 299µs, budget 150ms
perf: GET /signin: median 310µs, worst 344µs, budget 150ms
perf: GET /specialists/new: median 3.37ms, worst 3.473ms, budget 150ms
perf: GET /specialists/{key}: median 12.971ms, worst 13.343ms, budget 150ms
perf: GET /specialists/{key}/edit: median 3.948ms, worst 4.167ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 4.105ms, worst 4.23ms, budget 150ms
perf: GET /tasks: median 5.792ms, worst 5.927ms, budget 150ms
perf: GET /tasks/new: median 3.474ms, worst 3.776ms, budget 150ms
perf: GET /tasks/{id}: median 6.654ms, worst 6.843ms, budget 150ms
perf: GET /tasks/{id}/merge: median 5.661ms, worst 5.856ms, budget 150ms
perf: GET /tasks/{id}/move: median 5.053ms, worst 5.102ms, budget 150ms
perf: GET /tasks/{id}/plan: median 5.689ms, worst 5.871ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.487ms, worst 1.535ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.027ms, worst 5.106ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 4.643ms, worst 4.84ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.22ms, worst 4.303ms, budget 150ms
perf: GET /tasks/{id}/thread: median 7.98ms, worst 8.179ms, budget 150ms
perf: GET /team/{specialist}: median 4.345ms, worst 7.315ms, budget 150ms
perf: GET /teams: median 12.073ms, worst 12.856ms, budget 150ms
perf: GET /templates: median 3.642ms, worst 3.861ms, budget 150ms
perf: GET /usage: median 4.503ms, worst 4.656ms, budget 150ms
perf: GET /work: median 3.338ms, worst 3.417ms, budget 150ms
perf: cold boot: median 259ms of [257.277559ms 259.101515ms 260.666678ms], budget 500ms

receipt: test step 29.66s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 83 without tests, 0 failed
receipt: slow package 9.007s amadan.net/oficina/equipo/internal/equipotest
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-runner
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-tool-proxy
receipt: slow package 0s amadan.net/oficina/equipo/internal/advice
receipt: slow package 0s amadan.net/oficina/equipo/internal/attach
receipt: slow test 8.18s amadan.net/oficina/equipo/internal/equipotest TestPerfScreens
receipt: slow test 830ms amadan.net/oficina/equipo/internal/equipotest TestPerfBoot
=== cache ===
ci-box: build cache /home/ci/work/repos/oficina__equipo/cache/go-build: 4.05 GiB in 23937 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 0.84 GiB in 27329 files
ci-box: build cache over 4.0 GiB: dropped 1.69 GiB this job did not read, kept 2.37 GiB
diff --git a/scripts/runner-reference-allowlist.json b/scripts/runner-reference-allowlist.json
index dada24a4..b0cb0946 100644
--- a/scripts/runner-reference-allowlist.json
+++ b/scripts/runner-reference-allowlist.json
@@ -8380,7 +8380,7 @@
},
{
"path": "scripts/staging-thin.py",
- "line_sha256": "3c38bd4ed0d65a09156c798d5f78b20a3ea0a43de310a2858eddce2c3eecb7ed",
+ "line_sha256": "4d7e00688f0ec2675072e83b2c2b5edd9ca7999516fcd93815ff194b5774f910",
"match": "equipo-runner",
"count": 1,
"reason": "Thin v1 staging gate: the staging runner unit, its state root, the production runner config it reads binary paths from, and the runner binary it builds (spec 7)."
@@ -10781,7 +10781,7 @@
},
{
"path": "scripts/staging-thin.py",
- "line_sha256": "a49ce06a450f90914fc9fe850620b0ea1b32fb6bb2eb78a25972a7689b2724f1",
+ "line_sha256": "bd7569ed6e32776a518b356c725dc2d0d67685a7ef41de289376f53abdee2f45",
"match": "equipo-runner",
"count": 1,
"reason": "Retained runner executable, versioned package or user-service path in release tooling, tests or operator steps."
@@ -16420,5 +16420,33 @@
"match": "equipo-runner",
"count": 1,
"reason": "Test of the cutover finish script: a stub runner release, runner unit and runner paths under a temporary HOME."
+ },
+ {
+ "path": "scripts/staging-thin-test.py",
+ "line_sha256": "99b79586c4d1c052acee032b83484c87e24096a161c7ec863a7e2a6af4ab6341",
+ "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": "scripts/staging-thin-test.py",
+ "line_sha256": "e683763173a5e4463595dac49fe4c5e6f16ddf9559dff0e2aa499aefa523e6d0",
+ "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": "scripts/staging-thin-test.py",
+ "line_sha256": "abed1ff1daded87dbb8553964c992df0bbdc7e2dc204001b66112fcf5c5bd88b",
+ "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": "scripts/staging-thin-test.py",
+ "line_sha256": "c00578fc60a5233a8188db0cdb769fe1221da82e2a5d3e3c5558d05ef9e307df",
+ "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."
}
]
diff --git a/scripts/staging-thin-test.py b/scripts/staging-thin-test.py
index 95aab605..972ba282 100644
--- a/scripts/staging-thin-test.py
+++ b/scripts/staging-thin-test.py
@@ -176,5 +176,122 @@ class SuiteTest(unittest.TestCase):
self.assertEqual(staging.signin_links(logs, 'a@example.com', before), [new])
self.assertEqual(staging.signin_links(logs.split('\n')[0], 'a@example.com', before), [])
+def scratch():
+ return tempfile.TemporaryDirectory(dir=os.environ.get('TMPDIR', str(Path.home() / '.cache')))
+
+
+class ReleaseTest(unittest.TestCase):
+ """What the staging runner is installed with."""
+
+ def release(self, repo, sha):
+ built = repo / 'releases' / f'equipo-runner-linux-amd64-{sha}'
+ built.mkdir(parents=True)
+ for name in ('equipo-runner', 'equipo-tool-proxy', 'gitleaks'):
+ (built / name).write_bytes(name.encode() + b' bytes')
+ (built / name).chmod(0o700)
+ made = {k: staging.sha256(built / n) for k, n in (('runner', 'equipo-runner'), ('tool_proxy', 'equipo-tool-proxy'), ('gitleaks', 'gitleaks'))}
+ (repo / 'releases' / f'equipo-linux-arm64-{sha}.manifest.json').write_text(json.dumps({'sha256': made}))
+ return built
+
+ def test_build_installs_the_preview_scanner_beside_the_runner(self):
+ # The runner looks for gitleaks next to its own executable; without
+ # it every preview fails with preview_scanner.
+ with scratch() as folder:
+ repo, root = Path(folder) / 'repo', Path(folder) / 'root'
+ built = self.release(repo, 'abc1234')
+ prod = Path(folder) / 'prod.env'
+ prod.write_text('EQUIPO_CLAUDE_PATH="/bin/claude"\n')
+ with patch.multiple(staging, REPO=repo, ROOT=root, PROD_ENV=prod), \
+ patch.object(staging, 'head', return_value='abc1234'), \
+ patch.object(staging, 'run', return_value=''):
+ staging.build()
+ scanner = root / 'releases/abc1234/gitleaks'
+ self.assertEqual(scanner.read_bytes(), (built / 'gitleaks').read_bytes())
+ self.assertTrue(os.access(scanner, os.X_OK))
+
+ def test_provenance_holds_the_scanner_to_the_release(self):
+ with scratch() as folder:
+ repo, root = Path(folder) / 'repo', Path(folder) / 'root'
+ built = self.release(repo, 'abc1234')
+ installed = root / 'releases/abc1234'
+ installed.mkdir(parents=True)
+ for name in ('equipo-runner', 'equipo-tool-proxy', 'gitleaks'):
+ (installed / name).write_bytes((built / name).read_bytes())
+ with patch.multiple(staging, REPO=repo, ROOT=root), patch.object(staging, 'run', return_value=''):
+ self.assertIn('gitleaks', staging.provenance('abc1234'))
+ (installed / 'gitleaks').write_bytes(b'another scanner')
+ with self.assertRaisesRegex(RuntimeError, 'gitleaks'):
+ staging.provenance('abc1234')
+ (installed / 'gitleaks').unlink()
+ with self.assertRaisesRegex(RuntimeError, 'gitleaks'):
+ staging.provenance('abc1234')
+
+
+class CredentialTest(unittest.TestCase):
+ """The owner's runner merges into repositories it creates for jobs."""
+
+ API, GIT = 'agent-bearer-not-for-print', 'agent-pat-not-for-print'
+
+ def production(self, folder, repositories):
+ path = Path(folder) / 'prod/amadan.json'
+ staging.private(path, json.dumps({'agent': 'equipo-docs-t1~paul@example.com', 'repositories': repositories}))
+ prod = Path(folder) / 'prod/service.env'
+ prod.write_text(f'EQUIPO_AMADAN_CREDENTIAL_PATH="{path}"\nEQUIPO_GIT_PATH="/usr/bin/git"\n')
+ return path, prod
+
+ def test_owner_runner_gets_an_agent_wide_credential_and_production_keeps_its_own(self):
+ with scratch() as folder:
+ shared = {'api': self.API, 'git': self.GIT}
+ source, prod = self.production(folder, {'amadan.net/oficina/equipo': shared, 'amadan.net/oficina/docs': shared})
+ before = source.read_bytes()
+ root, home = Path(folder) / 'root', Path(folder) / 'home'
+ release = Path(folder) / 'release'
+ release.mkdir()
+ for r in (root, root / 'suite'):
+ (r / 'state').mkdir(parents=True)
+ (r / 'state/credentials.json').write_text('{}')
+ out = []
+ with patch.multiple(staging, ROOT=root, SUITE_ROOT=root / 'suite', PROD_ENV=prod), \
+ patch.object(staging.Path, 'home', return_value=home), \
+ patch.object(staging, 'run', return_value=''), \
+ patch.object(staging, 'instance_id', return_value='INSTANCE'), \
+ patch.object(staging, 'claude_a', return_value={'local_id': 'claude-a'}), \
+ patch.object(staging, 'added_in_app', return_value=[]), \
+ patch.object(staging, 'sha256', return_value='digest'), \
+ patch('builtins.print', side_effect=lambda *a, **k: out.append(' '.join(map(str, a)))):
+ staging.install('abc1234', release, root, staging.UNIT, 'owner@example.com', root / 'cookie', create=True)
+ staging.install('abc1234', release, root / 'suite', staging.SUITE_UNIT, staging.SUITE, root / 'suite/cookie', create=False)
+ owner = Path(staging.read_env(root / 'service.env')['EQUIPO_AMADAN_CREDENTIAL_PATH'])
+ self.assertEqual(owner, root / 'amadan.json')
+ self.assertEqual(owner.stat().st_mode & 0o777, 0o600)
+ self.assertEqual(json.loads(owner.read_text()),
+ {'agent': 'equipo-docs-t1~paul@example.com', 'api': self.API, 'git': self.GIT})
+ self.assertEqual(staging.read_env(root / 'suite/service.env')['EQUIPO_AMADAN_CREDENTIAL_PATH'], str(source))
+ self.assertEqual(source.read_bytes(), before)
+ self.assertFalse(any(self.API in line or self.GIT in line for line in out))
+
+ def test_refuses_without_one_bearer_and_one_git_pat(self):
+ for name, repositories in (('two bearers', {'amadan.net/a/b': {'api': 'one', 'git': 'pat'}, 'amadan.net/a/c': {'api': 'two', 'git': 'pat'}}),
+ ('legacy, no git', {'amadan.net/a/b': 'bearer-only'}),
+ ('empty', {})):
+ with self.subTest(name), scratch() as folder:
+ source, _ = self.production(folder, repositories)
+ root = Path(folder) / 'root'
+ with patch.object(staging, 'ROOT', root):
+ with self.assertRaisesRegex(RuntimeError, 'agent bearer'):
+ staging.agent_credential(source)
+ self.assertFalse((root / 'amadan.json').exists())
+
+ def test_keeps_an_agent_wide_entry_production_already_has(self):
+ with scratch() as folder:
+ source = Path(folder) / 'amadan.json'
+ staging.private(source, json.dumps({'agent': 'a~p@example.com', 'api': self.API, 'git': self.GIT,
+ 'repositories': {'amadan.net/a/b': {'api': 'old', 'git': 'old'}}}))
+ root = Path(folder) / 'root'
+ with patch.object(staging, 'ROOT', root):
+ written = staging.agent_credential(source)
+ self.assertEqual(json.loads(written.read_text()), {'agent': 'a~p@example.com', 'api': self.API, 'git': self.GIT})
+
+
if __name__ == '__main__':
unittest.main()
diff --git a/scripts/staging-thin.py b/scripts/staging-thin.py
index 97baf04b..89d32152 100755
--- a/scripts/staging-thin.py
+++ b/scripts/staging-thin.py
@@ -14,9 +14,13 @@ Two people use staging. The owner (the claude-a binding's person) chats
there and has the owner's runner unit, which stays running. The headless
suite signs in as its own owner (SUITE, added by the owner's session) with
its own runner unit, so the suite never writes into the owner's
-conversation. Both runners read the production runner's forge credential
-file in place (never copied) for the repositories they advertise; only
-the owner's may create repositories.
+conversation. Only the owner's runner may create repositories. The
+suite's runner reads the production runner's forge credential file in
+place for the repositories it advertises. The owner's runner has its own
+agent-wide file, amadan.json under the staging root, made at each install
+from the same agent bearer and git PAT: it merges into every repository
+the hub lets the agent reach, including the ones it creates for jobs.
+Production's file is never changed.
Only equipo-staging in Oficina on the flagship console, and only the
staging runner units, are ever touched. Cookies, bearers and sign-in links
@@ -145,7 +149,8 @@ def build():
release = REPO / 'releases' / f'equipo-runner-linux-amd64-{sha}'
runner = ROOT / 'releases' / sha
runner.mkdir(parents=True, exist_ok=True, mode=0o700)
- for name in ('equipo-runner', 'equipo-tool-proxy'):
+ # The preview scanner sits beside the runner, which looks for it there.
+ for name in ('equipo-runner', 'equipo-tool-proxy', 'gitleaks'):
shutil.copy2(release / name, runner / name)
provenance(sha)
print(f'built {sha}: {instance_binary(sha)} and {runner}')
@@ -154,12 +159,14 @@ def build():
def provenance(sha):
"""The digests the release build recorded, after checking that the
- release artifacts, and staging's copies of the runner and tool proxy,
- are still those bytes. Nothing is deployed or installed without it."""
+ release artifacts, and staging's copies of the runner, tool proxy and
+ preview scanner, are still those bytes. Nothing is deployed or
+ installed without it."""
run(['python3', 'scripts/staged-artifacts.py', 'verify', sha])
made = json.loads((REPO / 'releases' / f'equipo-linux-arm64-{sha}.manifest.json').read_text())['sha256']
- for name, key in (('equipo-runner', 'runner'), ('equipo-tool-proxy', 'tool_proxy')):
- if sha256(ROOT / 'releases' / sha / name) != made[key]:
+ for name, key in (('equipo-runner', 'runner'), ('equipo-tool-proxy', 'tool_proxy'), ('gitleaks', 'gitleaks')):
+ path = ROOT / 'releases' / sha / name
+ if not path.is_file() or sha256(path) != made[key]:
raise RuntimeError(f'staging holds another {name} than the {sha} release built')
return made
@@ -357,12 +364,16 @@ def install(sha, release, root, unit_name, person, cookie_path, create):
env = {k: v for k, v in source.items() if k in {
'EQUIPO_CLAUDE_PATH', 'EQUIPO_CODEX_PATH', 'EQUIPO_CODEX_CODE_MODE_HOST_PATH', 'EQUIPO_BWRAP_PATH',
'EQUIPO_GIT_PATH', 'EQUIPO_AMADAN_PATH', 'EQUIPO_GO_BINARY', 'EQUIPO_GO_ROOT', 'EQUIPO_CLAUDE_MODEL'}}
- # The forge credential file is read in place, never copied: only its
- # repository names and the agent's reach leave the runner.
+ # Only the forge credential's repository names and the agent's reach
+ # leave the runner. The suite reads production's file in place; the
+ # owner's runner, which creates repositories, has the agent-wide one.
+ credential = source['EQUIPO_AMADAN_CREDENTIAL_PATH']
+ if root == ROOT:
+ credential = str(agent_credential(credential))
env.update(EQUIPO_ORIGIN=ORIGIN, EQUIPO_INSTANCE_ID=instance_id(), EQUIPO_MACHINE_LABEL='docs-t1 staging',
EQUIPO_RUNNER_STATE_DIR=str(root / 'state'), EQUIPO_WORKSPACE_ROOT=str(root / 'work'),
EQUIPO_SCRATCH_ROOT=str(root / 'scratch'), EQUIPO_ACCOUNT_BINDINGS_PATH=str(root / 'config/bindings.json'),
- EQUIPO_AMADAN_CREDENTIAL_PATH=source['EQUIPO_AMADAN_CREDENTIAL_PATH'],
+ EQUIPO_AMADAN_CREDENTIAL_PATH=credential,
EQUIPO_TOOL_PROXY_PATH=str(release / 'equipo-tool-proxy'),
EQUIPO_ACCOUNTS_ROOT=str(root / 'accounts'),
EQUIPO_RUNNER_CREATE_REPOS='1' if create else '0')
@@ -409,6 +420,28 @@ def install(sha, release, root, unit_name, person, cookie_path, create):
print(unit_name, sha, 'started')
+def agent_credential(source):
+ """Staging's own forge credential file: production's agent, bearer and
+ git PAT as one agent-wide entry, mode 0600. The hub decides which
+ repositories that reaches. A file of per-repository entries only lets
+ the runner merge into those repositories: a merge into one it created
+ for a job was refused before it reached the hub. Values are never
+ printed."""
+ data = json.loads(Path(source).read_text())
+ if data.get('api'):
+ pairs = {(data.get('api'), data.get('git'))}
+ else:
+ pairs = {(e.get('api'), e.get('git')) if isinstance(e, dict) else (e, None)
+ for e in (data.get('repositories') or {}).values()}
+ agent = data.get('agent')
+ if len(pairs) != 1 or not all(isinstance(v, str) and v for v in [agent, *next(iter(pairs))]):
+ raise RuntimeError('the production forge credential has no single agent bearer and git PAT')
+ api, git = next(iter(pairs))
+ path = ROOT / 'amadan.json'
+ private(path, json.dumps({'agent': agent, 'api': api, 'git': git}))
+ return path
+
+
def added_in_app(root, person):
"""Connections added in the app (Connections slice 1) live in the
staging root's own accounts directory and survive a restage. The