oficina / equipo Public

runner: bind the coordinator tool socket by directory fd

A long runner state dir pushed <StateDir>/coord-tool-<n>/equipo.sock
past the 107-byte sun_path limit, so the coordinator start failed with a
plain error and the turn ended account_unavailable. Staging's suite hit
it with a long TMPDIR (2b_move_in, 2026-11-22, three of four starts).

On Linux the socket is now bound through its directory's descriptor, as
the egress proxy does, at the same path. A failed coordinator start logs
a fixed step name and only error types or fixed codes (cancelled,
deadline), never error text, for wrapped and joined errors too.

Astra: READY AFTER FIXES (sanitizer leak, evidence), APPROVED round 2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Squashed from codex-start-fix into main.
Paul Campbell pushed by claude agent, operated by paul@keymail.dev a883072e10e875ce7d539daad3d599dc166f7e39 parent 60c5885
8 files changed, +346 −27
  • .rastrillo/budgets.txt +1 −1
  • internal/runner/thin/claude.go +38 −7
  • internal/runner/thin/codex.go +22 −14
  • internal/runner/thin/codex_start_log_test.go +199 −0
  • internal/runner/thin/mcp.go +1 −5
  • internal/runner/thin/toolsocket_linux.go +24 −0
  • internal/runner/thin/toolsocket_linux_test.go +42 −0
  • internal/runner/thin/toolsocket_other.go +19 −0

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/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.9s
ci-box: codex: fetched and verified in 3.5s
ci-box: codex-code-mode-host: fetched and verified in 1.3s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.3s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.8s
ci-box: pi: installed and verified in 7.5s
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.6s
ci-box: clone deepened in 3.7s
ci-box: file times set from content: 2832 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.248s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  2.3s
+ go list -export -test -tags testbuild -f  ./...
  2.8s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  1.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 1m21.057s 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.559s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m19.56s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 43.13, cpu waiting 21.76%, memory waiting 0.00%, io waiting 0.44%
--- 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 1m23.32s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m21.721s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m21.72s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 41.36, cpu waiting 21.37%, memory waiting 0.00%, io waiting 0.42%
--- 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 1m24.292s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m22.642s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m12.08s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.81s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.74s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 41.36, cpu waiting 20.80%, memory waiting 0.00%, io waiting 0.41%
--- 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 1m35.343s 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.808s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.72s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 36.32s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.27s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.5s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 38.03, cpu waiting 18.01%, memory waiting 0.00%, io waiting 0.35%
--- 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 1m37.598s 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.01s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m0.3s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.06s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 10.12s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 8.64s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 5.88s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 35.71, cpu waiting 17.42%, memory waiting 0.00%, io waiting 0.33%
--- 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 3m7.735s 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 3m6.089s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m44.34s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 24.13s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.56s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 8.11s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.34s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 9.19, cpu waiting 3.91%, 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 330ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 2m1.624s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 7.84s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.74s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.31s amadan.net/oficina/equipo/internal/thintest TestContractTeamUpdatePersonNeeds
receipt: slow test 3.81s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 3.52s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
machine: 32 CPUs, load 1.48, cpu waiting 0.00%, memory waiting 0.00%, io waiting 1.55%
--- 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 441ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m26.784s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.08s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.03s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.41s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.4s amadan.net/oficina/equipo/internal/thintest TestContractPreview
receipt: slow test 2.34s amadan.net/oficina/equipo/internal/thintest TestContractPublishNameTaken
machine: 32 CPUs, load 1.48, cpu waiting 0.00%, memory waiting 0.00%, io waiting 1.55%
--- 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 4m29.461s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m34.494s 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 4m29.461s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 36.97s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.86s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.77s 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.75s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 2.91, cpu waiting 0.90%, 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 46.942s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 45.773s amadan.net/oficina/equipo/internal/runner
receipt: slow test 25.74s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.03s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 43.85, cpu waiting 21.40%, memory waiting 0.00%, io waiting 0.78%
--- shard 10 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-plans: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

receipt: test step 47.618s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 45.745s amadan.net/oficina/equipo/internal/runner
receipt: slow test 35.79s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 31.93s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.38s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.57s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 43.85, cpu waiting 21.40%, memory waiting 0.00%, io waiting 0.78%
--- 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.961s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 34.056s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.12s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.55s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.11s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.19s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 27.54, cpu waiting 14.88%, memory waiting 0.00%, io waiting 0.96%
--- 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 26.7%, load 20.97
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 1m5.033s 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.973s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 27.34s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 27.26s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 25.29s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 22.62s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 22.6s amadan.net/oficina/equipo/internal/equipotest TestAuthProductionConfig
machine: 32 CPUs, load 35.71, cpu waiting 18.01%, memory waiting 0.00%, io waiting 0.35%
--- 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 26.7%, load 20.97
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 496ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m12.809s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 19.04s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 18.97s amadan.net/oficina/equipo/internal/equipotest TestProjectRejectsUnsafeBinding
receipt: slow test 18.96s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 18.9s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 18.83s amadan.net/oficina/equipo/internal/equipotest TestProjectBindingUniqueness
machine: 32 CPUs, load 27.54, cpu waiting 11.74%, memory waiting 0.00%, io waiting 1.02%
--- 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 26.7%, load 20.97
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.602s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m3.896s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 14.94s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 12.87s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 9.8s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 9.77s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 6.74s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 33.25, cpu waiting 15.28%, memory waiting 0.00%, io waiting 0.29%
--- 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 26.7%, load 20.97
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 585ms 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 1m5.394s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 24.73s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 23.97s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 23.93s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 22.16s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
receipt: slow test 21.99s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettings
machine: 32 CPUs, load 27.54, cpu waiting 11.74%, memory waiting 0.00%, io waiting 1.02%
--- 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 26.7%, load 20.97
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 450ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 51.065s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.56s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.47s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.54s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.45s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.25s amadan.net/oficina/equipo/internal/plan3test TestInviteMigration
machine: 32 CPUs, load 20.97, cpu waiting 10.79%, memory waiting 0.00%, io waiting 1.06%
--- 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 26.7%, load 20.97
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
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/runnerproto: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/testci: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/codex: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
budget note: internal/equipo took 45.275s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/chat took 12.529s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/idtest took 39.84s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/release took 34.981s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/runner/containment took 39.737s, over the 15s its record on line 40 allows; reported only, timing fails on CI

receipt: test step 2m15.042s against a 60s target (the gate's other steps are not in this figure)
receipt: 14 packages ran, 47 cached, 18 without tests, 0 failed
receipt: slow package 54.276s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 51.521s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 45.275s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 39.84s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 39.737s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 22.34s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 14.76s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 10.89s amadan.net/oficina/equipo/internal/idtest TestIDCallbackGuardAndPendingNonce
receipt: slow test 10.82s amadan.net/oficina/equipo/internal/equipo TestAgentReadRechecksIdentity
receipt: slow test 9.94s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringMissingModuleCache
machine: 32 CPUs, load 13.40, cpu waiting 5.65%, memory waiting 0.00%, io waiting 0.10%
--- 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

receipt: test step 1m22.906s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m21.437s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.54s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 15.21s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 10.59s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.82s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 5.92s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 41.36, cpu waiting 21.37%, memory waiting 0.00%, io waiting 0.42%
--- shard 19 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-work: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' ./internal/headless

receipt: test step 1m32.787s 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.295s amadan.net/oficina/equipo/internal/headless
receipt: slow test 26.3s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 22.82s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 14.19s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 10.3s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 7.91s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 38.03, cpu waiting 18.56%, memory waiting 0.00%, io waiting 0.36%
--- 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 1m40.428s 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 1m38.915s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.25s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 13.13s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 12.88s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 10.23s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.07s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 33.25, cpu waiting 16.33%, memory waiting 0.00%, io waiting 0.31%
--- 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-22T13:38:12.166Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-22T13:38:12.166Z level=INFO msg="startup phase done" phase=state_lock took=69µs
time=2026-11-22T13:38:12.166Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-22T13:38:12.166Z level=INFO msg="startup phase done" phase=claim_roots took=88µs
time=2026-11-22T13:38:12.166Z level=INFO msg="startup phase" phase=sweep
time=2026-11-22T13:38:12.195Z level=INFO msg="startup phase done" phase=sweep took=29.138ms
time=2026-11-22T13:38:12.195Z level=INFO msg="startup phase" phase=credentials
time=2026-11-22T13:38:12.195Z level=INFO msg="startup phase done" phase=credentials took=105µs
time=2026-11-22T13:38:12.195Z level=INFO msg="startup phase" phase=open_state
time=2026-11-22T13:38:12.235Z level=INFO msg="startup phase done" phase=open_state took=39.825ms
time=2026-11-22T13:38:12.236Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-22T13:38:12.237Z level=INFO msg=connecting host=127.0.0.1:45217 protocol=28
time=2026-11-22T13:38:12.239Z level=INFO msg=connected host=127.0.0.1:45217 took=1.973ms
time=2026-11-22T13:38:12.239Z level=INFO msg="capabilities gathering"
time=2026-11-22T13:38:12.240Z level=INFO msg="capabilities gathered" took=493µs tags=linux,claude,go
time=2026-11-22T13:38:12.240Z level=INFO msg="hello sent" protocol=28
time=2026-11-22T13:38:12.245Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-22T13:38:13.315Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_receipts_test.go:169: waiting for [...document.querySelectorAll('[equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes("I'm your coordinator")): context deadline exceeded (last evaluation: <nil>)
--- FAIL: TestBrowserEmptyExplore (5.84s)

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


receipt: test step 1m28.884s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 1m27.372s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.96s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 11.38s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 10.51s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.42s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 8.12s 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 a883072e10e875ce7d539daad3d599dc166f7e39 5.84s 40.13
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 35.71, cpu waiting 16.85%, memory waiting 0.00%, io waiting 0.32%
--- 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 308ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 573ms amadan.net/oficina/equipo/internal/equipo
receipt: slow test 570ms amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewBlocksNavigation
browser lane browser-rest: ./internal/idtest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserOficinaIDDoor)$' ./internal/idtest

receipt: test step 282ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1.673s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 1.67s amadan.net/oficina/equipo/internal/idtest TestBrowserOficinaIDDoor
browser lane browser-rest: ./internal/plan3test
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestTeamsHierarchyBrowser)$' ./internal/plan3test

receipt: test step 240ms 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.969s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 1.97s amadan.net/oficina/equipo/internal/plan3test TestTeamsHierarchyBrowser
browser lane browser-rest: ./internal/thintest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAccessEmojiByline|TestBrowserAccessFinalOutcomes|TestBrowserAccessRequest|TestBrowserAccessReview|TestBrowserActivitySubjects|TestBrowserAutonomySettings|TestBrowserCoordinatorQueue|TestBrowserEmptyConversation|TestBrowserEndedNoteStaysGone|TestBrowserHousekeeping|TestBrowserInnerGallery|TestBrowserInnerScreens|TestBrowserInstantThinking|TestBrowserInstantThinkingQueued|TestBrowserMachines|TestBrowserPhoneIndex|TestBrowserPlacementQuestionAndPending|TestBrowserProjectPlacement|TestBrowserProjectsList|TestBrowserReportActionFeedback|TestBrowserReportNextSteps|TestBrowserReportThread|TestBrowserRollup|TestBrowserRosterAlignment|TestBrowserRosterDecisionStates|TestBrowserRosterQuietDay|TestBrowserRosterReports|TestBrowserRosterSetAside|TestBrowserRosterSubchat|TestBrowserRosterThinking|TestBrowserRosterVisual|TestBrowserSettingsHousekeepingGroups|TestBrowserSettingsMenu|TestBrowserSettingsRail|TestBrowserSettingsSaveBar|TestBrowserSettingsShots|TestBrowserSettingsStayOnPage|TestBrowserSettingsTeams|TestBrowserShipsButtons|TestBrowserSpecialistRows|TestBrowserSpendFollowsAnswers|TestBrowserTaskRows|TestBrowserTeamPanel|TestBrowserThinkingCycles|TestBrowserThinkingLinesClear|TestBrowserThinkingSteady|TestBrowserThinkingWords|TestBrowserTokenRowEmail|TestBrowserTrackPulse|TestBrowserTrackStarCentre|TestBrowserTryAgain)$' ./internal/thintest

receipt: test step 262ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 3m20.199s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 17.52s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.35s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.02s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.55s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 7.93s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
machine: 32 CPUs, load 7.60, cpu waiting 1.67%, memory waiting 0.00%, io waiting 1.64%
--- 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.29s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.27s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 9.26s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 9.88s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 24.79s
+ 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   (71s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 11.83s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 23.38s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 20.35s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 13.32s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (22s)
ok ./internal/headless TestMixedVersions 20.14s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (1s)
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 44.01, cpu waiting 23.11%, memory waiting 0.00%, io waiting 0.52%
--- 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.095s 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.049s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 167ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 72ms 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 4.95s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.67s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 320ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 170ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 90ms 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.045s 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.714s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 270ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 180ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReapsOrphans
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
machine: 32 CPUs, load 13.10, cpu waiting 4.39%, memory waiting 0.00%, io waiting 1.43%
--- 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 26.7%, load 20.97
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2545 text files, 2850 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.460s
machine: 32 CPUs, load 43.85, cpu waiting 21.52%, memory waiting 0.00%, io waiting 0.76%
--- 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 26.7%, load 20.97
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 29.74, cpu waiting 14.88%, memory waiting 0.00%, io waiting 0.96%
--- 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 26.7%, load 20.97
shard 27: make govulncheck
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./...
=== Symbol Results ===

No vulnerabilities found.

Your code is affected by 0 vulnerabilities.
This scan also found 0 vulnerabilities in packages you import and 5
vulnerabilities in modules you require, but your code doesn't appear to call
these vulnerabilities.
Use '-show verbose' for more details.
machine: 32 CPUs, load 29.74, cpu waiting 16.22%, memory waiting 0.00%, io waiting 0.93%
--- 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 26.7%, load 20.97
shard 28: make gitleaks
1:37PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
1:37PM INF 1083 commits scanned.
1:37PM INF scanned ~60927463 bytes (60.93 MB) in 14.4s
1:37PM INF no leaks found
machine: 32 CPUs, load 40.01, cpu waiting 19.92%, memory waiting 0.00%, io waiting 0.84%
=== 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.041ms, worst 1.068ms, budget 150ms
perf: GET /api/runner/protocol: median 81µs, worst 129µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 574µs, worst 620µs, budget 150ms
perf: GET /api/v1/accounts: median 410µs, worst 439µs, budget 150ms
perf: GET /api/v1/auth/devices: median 432µs, worst 457µs, budget 150ms
perf: GET /api/v1/budgets: median 481µs, worst 544µs, budget 150ms
perf: GET /api/v1/capabilities: median 234µs, worst 265µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.192ms, worst 1.268ms, budget 150ms
perf: GET /api/v1/connections: median 617µs, worst 637µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 584µs, worst 600µs, budget 150ms
perf: GET /api/v1/conversation: median 942µs, worst 996µs, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.552ms, worst 1.612ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.867ms, worst 1.91ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 465µs, worst 482µs, budget 150ms
perf: GET /api/v1/journey: median 7.85ms, worst 8.002ms, budget 150ms
perf: GET /api/v1/me: median 434µs, worst 477µs, budget 150ms
perf: GET /api/v1/me/settings: median 531µs, worst 610µs, budget 150ms
perf: GET /api/v1/needs-you: median 7.756ms, worst 7.843ms, budget 150ms
perf: GET /api/v1/notifications: median 1.72ms, worst 4.759ms, budget 150ms
perf: GET /api/v1/onboarding: median 408µs, worst 434µs, budget 150ms
perf: GET /api/v1/people: median 447µs, worst 463µs, budget 150ms
perf: GET /api/v1/playbooks: median 598µs, worst 622µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 524µs, worst 555µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 854µs, worst 923µs, budget 150ms
perf: GET /api/v1/preferences: median 774µs, worst 821µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 463µs, worst 471µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 599µs, worst 619µs, budget 150ms
perf: GET /api/v1/roster: median 474µs, worst 498µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 413µs, worst 442µs, budget 150ms
perf: GET /api/v1/specialists: median 8.063ms, worst 8.112ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 7.822ms, worst 8.031ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 822µs, worst 857µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.095ms, worst 1.129ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 718µs, worst 743µs, budget 150ms
perf: GET /api/v1/teams: median 413µs, worst 452µs, budget 150ms
perf: GET /api/v1/templates: median 572µs, worst 595µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 424µs, worst 451µs, budget 150ms
perf: GET /auth/callback: median 70µs, worst 96µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.227ms, worst 3.263ms, budget 150ms
perf: GET /auth/verify: median 77µs, worst 89µs, budget 150ms
perf: GET /connections: median 3.503ms, worst 3.578ms, budget 150ms
perf: GET /conversation: median 7.252ms, worst 7.323ms, budget 150ms
perf: GET /conversation/connections: median 240µs, worst 270µs, budget 150ms
perf: GET /conversation/notebook: median 240µs, worst 249µs, budget 150ms
perf: GET /conversation/settings: median 3.851ms, worst 4.01ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 3.461ms, worst 3.563ms, budget 150ms
perf: GET /conversation/settings/connections: median 6.268ms, worst 8.856ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 6.278ms, worst 6.392ms, budget 150ms
perf: GET /conversation/settings/copy: median 3.508ms, worst 3.537ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 3.903ms, worst 4.046ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.226ms, worst 4.331ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.278ms, worst 4.342ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.226ms, worst 3.325ms, budget 150ms
perf: GET /conversation/settings/thinking: median 3.737ms, worst 3.88ms, budget 150ms
perf: GET /housekeeping: median 3.689ms, worst 3.768ms, budget 150ms
perf: GET /invites/new: median 601µs, worst 628µs, budget 150ms
perf: GET /invites/{id}: median 646µs, worst 682µs, budget 150ms
perf: GET /jobs: median 3.428ms, worst 5.358ms, budget 150ms
perf: GET /jobs/{id}: median 4.394ms, worst 4.539ms, budget 150ms
perf: GET /journey: median 11.769ms, worst 12.217ms, budget 150ms
perf: GET /nav/rail: median 3.088ms, worst 3.176ms, budget 150ms
perf: GET /needs-you: median 11.483ms, worst 11.786ms, budget 150ms
perf: GET /onboarding: median 4.116ms, worst 4.233ms, budget 150ms
perf: GET /people: median 3.446ms, worst 3.597ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 4.899ms, worst 5.139ms, budget 150ms
perf: GET /playbooks: median 4.622ms, worst 7.121ms, budget 150ms
perf: GET /playbooks/new: median 4.81ms, worst 5.021ms, budget 150ms
perf: GET /playbooks/{id}: median 4.496ms, worst 4.621ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 4.443ms, worst 4.565ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 3.661ms, worst 3.72ms, budget 150ms
perf: GET /preferences: median 4.069ms, worst 4.132ms, budget 150ms
perf: GET /preferences/sources/{source}: median 3.847ms, worst 3.925ms, budget 150ms
perf: GET /projects: median 5.05ms, worst 5.204ms, budget 150ms
perf: GET /projects/accounts: median 3.465ms, worst 3.493ms, budget 150ms
perf: GET /projects/new: median 3.47ms, worst 3.495ms, budget 150ms
perf: GET /projects/{id}: median 10.411ms, worst 12.941ms, budget 150ms
perf: GET /projects/{id}/edit: median 3.67ms, worst 3.822ms, budget 150ms
perf: GET /runners/enrol: median 4.204ms, worst 4.284ms, budget 150ms
perf: GET /settings: median 3.279ms, worst 3.431ms, budget 150ms
perf: GET /settings/coordinator: median 5.162ms, worst 5.378ms, budget 150ms
perf: GET /settings/devices: median 3.114ms, worst 3.234ms, budget 150ms
perf: GET /settings/recovery: median 3.249ms, worst 3.404ms, budget 150ms
perf: GET /settings/recovery/release: median 3.329ms, worst 3.385ms, budget 150ms
perf: GET /settings/thinking: median 245µs, worst 282µs, budget 150ms
perf: GET /signin: median 309µs, worst 331µs, budget 150ms
perf: GET /specialists/new: median 3.188ms, worst 3.427ms, budget 150ms
perf: GET /specialists/{key}: median 10.527ms, worst 10.752ms, budget 150ms
perf: GET /specialists/{key}/edit: median 3.507ms, worst 5.832ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 3.72ms, worst 3.813ms, budget 150ms
perf: GET /tasks: median 5.072ms, worst 5.181ms, budget 150ms
perf: GET /tasks/new: median 3.15ms, worst 3.232ms, budget 150ms
perf: GET /tasks/{id}: median 5.275ms, worst 5.455ms, budget 150ms
perf: GET /tasks/{id}/merge: median 4.651ms, worst 4.772ms, budget 150ms
perf: GET /tasks/{id}/move: median 4.393ms, worst 4.482ms, budget 150ms
perf: GET /tasks/{id}/plan: median 5.457ms, worst 5.573ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.502ms, worst 1.544ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 4.923ms, worst 4.998ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 4.508ms, worst 4.619ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.262ms, worst 6.511ms, budget 150ms
perf: GET /tasks/{id}/thread: median 7.757ms, worst 7.858ms, budget 150ms
perf: GET /team/{specialist}: median 4.18ms, worst 4.312ms, budget 150ms
perf: GET /teams: median 9.7ms, worst 9.821ms, budget 150ms
perf: GET /templates: median 3.27ms, worst 3.336ms, budget 150ms
perf: GET /usage: median 3.963ms, worst 4.056ms, budget 150ms
perf: GET /work: median 2.903ms, worst 2.96ms, budget 150ms
perf: cold boot: median 261ms of [260.269987ms 260.734027ms 261.461696ms], budget 500ms

receipt: test step 33.597s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 84 without tests, 0 failed
receipt: slow package 8.789s 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 7.96s 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: 3.08 GiB in 22071 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 0.87 GiB in 28256 files

landed from codex-start-fix

diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt
index ce2d50d6..f9569776 100644
--- a/.rastrillo/budgets.txt
+++ b/.rastrillo/budgets.txt
@@ -38,7 +38,7 @@ time internal/runner/provider 15s Plan 3 CI repair measured 10.346s for the full
perf GET /releases/* skip Verified runner release file downloads, not browser GET screens.
perf GET /install.sh skip Mac runners: the one-line bootstrap a terminal pipes to sh, not a browser screen.
time internal/runner/containment 15s Plan 3 loaded CI measured 10.817s;
-size internal/runner/thin 28062 21605 Fable follow-up gates and guards, then main started at repo creation; measured 28062/21605 source/test lines (containment reasons logged; carlos's stderr read, never logged clipped).
+size internal/runner/thin 28140 21846 Fable follow-up gates and guards, then main started at repo creation; measured 28140/21846 source/test lines (start steps logged as fixed codes; tool socket bound by descriptor).
time internal/thintest 240s Thin contract and page tests, the Assistant's and the models' included, share one harness. Measured 202s on a shared 16 CPU box (2026-11-13); CI runs two lanes.
time internal/runner/mac 30s Mac runners (Darwin worker): real process groups killed after a grace and proven gone (SIGTERM, SIGKILL, the marker sweep), and the probes run end to end with fake srt and xcodebuild, P6 killing.
time internal/runner/thin 45s Thin v1 slice 4 review: real git repositories for the merge and squash checks, a stalled fetch, and a 16 MiB candidate streamed through the review diff and the checks pack (about 5s).
diff --git a/internal/runner/thin/claude.go b/internal/runner/thin/claude.go
index 11604f7a..fd3d0b92 100644
--- a/internal/runner/thin/claude.go
+++ b/internal/runner/thin/claude.go
@@ -276,10 +276,37 @@ func (c *coordBase) log(msg string, err error) {
}
}
-// sanitize keeps only provider error codes: no paths or provider output.
-// A joined error is each of its errors, sanitized; an exit status is
-// itself (a number, nothing a process said).
+// startStep names the step of a harness start that failed, so a log can
+// say where even when the error itself is only its type.
+type startStep struct {
+ step string
+ err error
+}
+
+func (e *startStep) Error() string { return e.step + ": " + e.err.Error() }
+func (e *startStep) Unwrap() error { return e.err }
+
+// atStep tags err with the start step it came from; an error already
+// tagged (a refresh inside the copy) keeps its own, narrower step.
+func atStep(step string, err error) error {
+ var known *startStep
+ if err == nil || errors.As(err, &known) {
+ return err
+ }
+ return &startStep{step, err}
+}
+
+// sanitize keeps only fixed codes and types: never an error's own text,
+// which can hold paths, provider output or a credential. A joined error,
+// wrapped or not, is each of its errors, sanitized; a cancellation or a
+// deadline is "cancelled" or "deadline"; an exit status is itself (a
+// number, nothing a process said). A start step is its fixed name before
+// the rest.
func sanitize(err error) string {
+ var step *startStep
+ if errors.As(err, &step) {
+ return step.step + ": " + sanitize(step.err)
+ }
if reason := provider.ContainmentReason(err); reason != "" {
return string(provider.ErrContainment) + ": " + reason
}
@@ -287,16 +314,20 @@ func sanitize(err error) string {
if errors.As(err, &p) {
return string(p)
}
- if errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) {
- return err.Error()
- }
- if joined, ok := err.(interface{ Unwrap() []error }); ok {
+ var joined interface{ Unwrap() []error }
+ if errors.As(err, &joined) {
var each []string
for _, inner := range joined.Unwrap() {
each = append(each, sanitize(inner))
}
return strings.Join(each, "; ")
}
+ if errors.Is(err, context.Canceled) {
+ return "cancelled"
+ }
+ if errors.Is(err, context.DeadlineExceeded) {
+ return "deadline"
+ }
var exit *exec.ExitError
if errors.As(err, &exit) && errors.Unwrap(err) == nil {
return exit.Error()
diff --git a/internal/runner/thin/codex.go b/internal/runner/thin/codex.go
index 241b33a5..6070ff6f 100644
--- a/internal/runner/thin/codex.go
+++ b/internal/runner/thin/codex.go
@@ -407,11 +407,19 @@ func (c *codexCoordinator) start(ctx context.Context) (err error) {
o := c.o
direct, err := o.Runner.DirectBinding(c.account)
if err != nil {
- return err
+ return atStep("binding", err)
+ }
+ // The refresh's failures are told apart from the copy's own checks.
+ refresh := o.Refresh
+ if refresh != nil {
+ refresh = func(ctx context.Context, b provider.Binding) (provider.Identity, error) {
+ id, err := o.Refresh(ctx, b)
+ return id, atStep("refresh", err)
+ }
}
- lease, err := provider.OpenRuntimeCopy(ctx, direct, o.Refresh, o.LockWait)
+ lease, err := provider.OpenRuntimeCopy(ctx, direct, refresh, o.LockWait)
if err != nil {
- return err
+ return atStep("copy", err)
}
p := &codexProcess{access: c.accessProtocol() >= wire.ProtocolAccess, lease: lease, exited: make(chan struct{})}
defer func() {
@@ -424,7 +432,7 @@ func (c *codexCoordinator) start(ctx context.Context) (err error) {
found := false
if !c.profile.ephemeral {
if row, found, err = o.State.session(ctx, c.person, c.lane, "codex"); err != nil {
- return err
+ return atStep("session", err)
}
}
y1, m1, d1 := row.Updated.UTC().Date()
@@ -437,35 +445,35 @@ func (c *codexCoordinator) start(ctx context.Context) (err error) {
pruneRollouts(c.home)
}
if p.scratch, err = os.MkdirTemp(o.Runner.ScratchRoot, "policy-"); err != nil {
- return err
+ return atStep("policy_scratch", err)
}
var call ToolFunc
if o.Tools != nil {
call = c.toolCall
}
if p.tool, err = openToolSet(context.Background(), o.Runner.StateDir, c.accessToolSet(call != nil), call); err != nil {
- return err
+ return atStep("tool_socket", err)
}
sel := provider.Selection{ConnectionID: c.account.LocalID, Provider: "codex", Family: c.account.Family, Model: c.account.Model, AccountID: c.account.AccountID}
in, err := runner.PolicyInputs(ctx, o.Runner, sel, binding, c.workspace(), c.profile.action, p.scratch, c.accessProtocol() < wire.ProtocolAccess)
if err != nil {
- return err
+ return atStep("policy_inputs", err)
}
if p.policy, err = provider.BuildPolicy(binding, in); err != nil {
- return err
+ return atStep("policy_build", err)
}
if err = codex.ValidateThinPolicy(binding, p.policy, c.x.Digest, c.x.HostDigest); err != nil {
- return err
+ return atStep("policy_pin", err)
}
if err = lease.CheckCopy(ctx); err != nil {
- return err
+ return atStep("copy_check", err)
}
personKey := sha256.Sum256([]byte(c.person))
launch := provider.Launch{ToolSocket: p.tool.Path, AttemptKey: c.profile.action + "/" + hex.EncodeToString(personKey[:8]) + "/" + uuid(), Workspace: c.workspace(), Selection: sel, Binding: binding, Policy: p.policy}
pctx, cancel := context.WithCancel(context.Background())
p.cancel = cancel
if p.process, err = o.Manager.StartRecorded(pctx, launch, in.Argv, nil); err != nil {
- return err
+ return atStep("namespace", err)
}
p.rpc = connect.NewAppServer(p.process.Stdout(), p.process.Stdin())
go func() { _, _ = io.Copy(io.Discard, io.LimitReader(p.process.Stderr(), 1<<20)) }()
@@ -502,7 +510,7 @@ func (c *codexCoordinator) start(ctx context.Context) (err error) {
if err != nil {
c.proc = p
c.stop(false)
- return errors.Join(provider.ErrPolicy, err)
+ return atStep("handshake", errors.Join(provider.ErrPolicy, err))
}
p.fresh = !resume
if resume {
@@ -513,7 +521,7 @@ func (c *codexCoordinator) start(ctx context.Context) (err error) {
if errors.Is(err, provider.ErrPolicy) {
c.proc = p
c.stop(false)
- return err
+ return atStep("thread", err)
}
// A thread Codex cannot resume starts afresh, seeded like any new
// session from the notebook and the tail.
@@ -527,7 +535,7 @@ func (c *codexCoordinator) start(ctx context.Context) (err error) {
if err != nil {
c.proc = p
c.stop(false)
- return errors.Join(provider.ErrPolicy, err)
+ return atStep("thread", errors.Join(provider.ErrPolicy, err))
}
}
p.tally = connect.NewCodexTally(p.thread, p.fresh)
diff --git a/internal/runner/thin/codex_start_log_test.go b/internal/runner/thin/codex_start_log_test.go
new file mode 100644
index 00000000..e1869031
--- /dev/null
+++ b/internal/runner/thin/codex_start_log_test.go
@@ -0,0 +1,199 @@
+package thin
+
+import (
+ "bytes"
+ "context"
+ "encoding/json"
+ "errors"
+ "fmt"
+ "log/slog"
+ "os"
+ "path/filepath"
+ "strconv"
+ "strings"
+ "testing"
+
+ "amadan.net/oficina/equipo/internal/runner"
+ "amadan.net/oficina/equipo/internal/runner/provider"
+ "amadan.net/oficina/equipo/internal/runner/provider/codex"
+ "amadan.net/oficina/equipo/internal/wire"
+)
+
+// codexStartFixture is a Codex source home and a coordinator on it whose
+// start fails before any process: refresh is the test's.
+func codexStartFixture(t *testing.T, stateDir string, refresh func(context.Context, provider.Binding) (provider.Identity, error)) (Coordinator, *bytes.Buffer) {
+ t.Helper()
+ root := t.TempDir()
+ home := filepath.Join(root, "codex-1")
+ id := provider.Identity{AccountID: "person@example.com", HomeID: "home-1", ProviderVersion: codex.Version}
+ raw, _ := json.Marshal(id)
+ if os.Mkdir(home, 0700) != nil || os.WriteFile(filepath.Join(home, provider.IdentityFile), raw, 0600) != nil || os.WriteFile(filepath.Join(home, "auth.json"), []byte(`{"tokens":{}}`), 0600) != nil {
+ t.Fatal("home")
+ }
+ db := filepath.Join(root, "state")
+ if stateDir == "" {
+ stateDir = db
+ }
+ scratch := filepath.Join(root, "scratch")
+ for _, d := range []string{db, scratch} {
+ if err := os.MkdirAll(d, 0700); err != nil {
+ t.Fatal(err)
+ }
+ }
+ state, err := OpenState(context.Background(), db)
+ if err != nil {
+ t.Fatal(err)
+ }
+ t.Cleanup(func() { state.Close() })
+ var logs bytes.Buffer
+ o := ClaudeOptions{Runner: runner.Config{StateDir: stateDir, ScratchRoot: scratch}, State: state, SessionRoot: filepath.Join(root, "sessions"), Refresh: refresh, Logger: slog.New(slog.NewTextHandler(&logs, nil))}
+ b := runner.AccountBinding{ID: "codex-1", LocalID: "codex-1", Provider: "codex", Family: "gpt", Model: "gpt-test", PersonID: "p@example.com", ProviderHome: home, AccountID: id.AccountID, ExpectedIdentity: id, Kind: "subscription"}
+ c, err := OpenCodex(o, CodexOptions{}, "p@example.com", b)
+ if err != nil {
+ t.Fatal(err)
+ }
+ t.Cleanup(c.Close)
+ return c, &logs
+}
+
+func codexTurn(c Coordinator) TurnResult {
+ return c.Turn(context.Background(), TurnInput{Person: "p@example.com", Lane: wire.LaneCoordinator, TurnID: "t1", Attempt: 1, Text: "hello"}, func(string) {})
+}
+
+// A failed start says where it failed, as a fixed step name beside the
+// sanitized error (2026-11-22: staging logged only *errors.errorString).
+func TestCodexStartLogsItsStep(t *testing.T) {
+ ok := func(_ context.Context, b provider.Binding) (provider.Identity, error) { return b.Expected, nil }
+ cases := []struct {
+ name, want, reason string
+ stateDir string
+ refresh func(context.Context, provider.Binding) (provider.Identity, error)
+ }{
+ {name: "refresh refused", want: `err="refresh: provider_identity_mismatch"`, reason: "account_unavailable",
+ refresh: func(context.Context, provider.Binding) (provider.Identity, error) {
+ return provider.Identity{}, provider.ErrIdentity
+ }},
+ {name: "sign in again", want: `err="refresh: account.sign_in_again"`, reason: "sign_in_again",
+ refresh: func(context.Context, provider.Binding) (provider.Identity, error) {
+ return provider.Identity{}, provider.ErrLoginRequired
+ }},
+ // Any other error is still only its type, now with its step.
+ {name: "tool socket", want: `err="tool_socket: *fs.PathError"`, reason: "account_unavailable", refresh: ok,
+ stateDir: filepath.Join(t.TempDir(), "missing")},
+ }
+ for _, tc := range cases {
+ t.Run(tc.name, func(t *testing.T) {
+ c, logs := codexStartFixture(t, tc.stateDir, tc.refresh)
+ res := codexTurn(c)
+ if res.Reason != tc.reason {
+ t.Fatalf("reason %q, want %q", res.Reason, tc.reason)
+ }
+ if !strings.Contains(logs.String(), `msg="codex coordinator start" `+tc.want) {
+ t.Fatalf("log %q, want %s", logs.String(), tc.want)
+ }
+ })
+ }
+}
+
+var errSecretWords = errors.New("secret words /home/someone")
+
+// A step name never carries the error's own words.
+func TestSanitizeStepKeepsOnlyTheCode(t *testing.T) {
+ err := atStep("tool_socket", errSecretWords)
+ if got := sanitize(err); got != "tool_socket: *errors.errorString" {
+ t.Fatalf("logged %q", got)
+ }
+ if got := sanitize(atStep("copy", atStep("refresh", provider.ErrIdentity))); got != "refresh: provider_identity_mismatch" {
+ t.Fatalf("logged %q", got)
+ }
+}
+
+const secretCanary = "secret-canary-sk-0000"
+
+// secretErrors carry the canary in their own text: wrapped around a
+// cancellation, a deadline or a provider code, and joined.
+func secretErrors() []struct {
+ err error
+ want string
+} {
+ return []struct {
+ err error
+ want string
+ }{
+ {fmt.Errorf("%s: %w", secretCanary, context.Canceled), "cancelled"},
+ {fmt.Errorf("%s: %w", secretCanary, context.DeadlineExceeded), "deadline"},
+ {errors.Join(errors.New(secretCanary), context.Canceled), "*errors.errorString; cancelled"},
+ {errors.Join(fmt.Errorf("%s: %w", secretCanary, context.DeadlineExceeded), errors.New(secretCanary)), "deadline; *errors.errorString"},
+ {fmt.Errorf("%s: %w", secretCanary, errors.Join(errors.New(secretCanary), context.Canceled)), "*errors.errorString; cancelled"},
+ }
+}
+
+// The sanitizer emits fixed codes and types only, never an error's own
+// text, wrapped or joined (Astra review of bf4c4ff4).
+func TestSanitizeNeverPrintsErrorText(t *testing.T) {
+ for _, tc := range secretErrors() {
+ got := sanitize(atStep("refresh", tc.err))
+ if strings.Contains(got, secretCanary) || got != "refresh: "+tc.want {
+ t.Errorf("sanitize(%q) = %q, want %q", tc.err, got, "refresh: "+tc.want)
+ }
+ }
+}
+
+// Both coordinators' start logs share the sanitizer: a secret in a
+// refresh error never reaches either log.
+func TestStartLogsNeverPrintErrorText(t *testing.T) {
+ for _, tc := range secretErrors() {
+ refresh := func(context.Context, provider.Binding) (provider.Identity, error) { return provider.Identity{}, tc.err }
+ c, logs := codexStartFixture(t, "", refresh)
+ codexTurn(c)
+ if strings.Contains(logs.String(), secretCanary) || !strings.Contains(logs.String(), `msg="codex coordinator start" err=`+slogValue("refresh: "+tc.want)) {
+ t.Errorf("codex log %q, want refresh: %s", logs.String(), tc.want)
+ }
+ c, logs = claudeStartFixture(t, refresh)
+ codexTurn(c)
+ if strings.Contains(logs.String(), secretCanary) || !strings.Contains(logs.String(), `msg="coordinator start" err=`+slogValue(tc.want)) {
+ t.Errorf("claude log %q, want %s", logs.String(), tc.want)
+ }
+ }
+}
+
+// slogValue is v as the text handler writes it: quoted when it must be.
+func slogValue(v string) string {
+ if strings.ContainsAny(v, " ;\"=") {
+ return strconv.Quote(v)
+ }
+ return v
+}
+
+// claudeStartFixture is a Claude source home and a coordinator on it whose
+// start fails at the test's refresh.
+func claudeStartFixture(t *testing.T, refresh func(context.Context, provider.Binding) (provider.Identity, error)) (Coordinator, *bytes.Buffer) {
+ t.Helper()
+ root := t.TempDir()
+ home := filepath.Join(root, "claude-a")
+ id := provider.Identity{AccountID: "person@example.com", HomeID: "home-a", ProviderVersion: provider.ClaudeVersion}
+ raw, _ := json.Marshal(id)
+ if os.Mkdir(home, 0700) != nil || os.WriteFile(filepath.Join(home, provider.IdentityFile), raw, 0600) != nil || os.WriteFile(filepath.Join(home, ".credentials.json"), []byte(`{}`), 0600) != nil {
+ t.Fatal("home")
+ }
+ db, scratch := filepath.Join(root, "state"), filepath.Join(root, "scratch")
+ for _, d := range []string{db, scratch} {
+ if err := os.MkdirAll(d, 0700); err != nil {
+ t.Fatal(err)
+ }
+ }
+ state, err := OpenState(context.Background(), db)
+ if err != nil {
+ t.Fatal(err)
+ }
+ t.Cleanup(func() { state.Close() })
+ var logs bytes.Buffer
+ o := ClaudeOptions{Runner: runner.Config{StateDir: db, ScratchRoot: scratch}, State: state, SessionRoot: filepath.Join(root, "sessions"), Refresh: refresh, Logger: slog.New(slog.NewTextHandler(&logs, nil))}
+ b := runner.AccountBinding{ID: "claude-a", LocalID: "claude-a", Provider: "claude", Family: "claude", Model: "claude-test", PersonID: "p@example.com", ProviderHome: home, AccountID: id.AccountID, ExpectedIdentity: id, Kind: "subscription"}
+ c, err := OpenClaude(o, "p@example.com", b)
+ if err != nil {
+ t.Fatal(err)
+ }
+ t.Cleanup(c.Close)
+ return c, &logs
+}
diff --git a/internal/runner/thin/mcp.go b/internal/runner/thin/mcp.go
index 6f4c0f08..1fcea1c0 100644
--- a/internal/runner/thin/mcp.go
+++ b/internal/runner/thin/mcp.go
@@ -4,7 +4,6 @@ import (
"bufio"
"context"
"encoding/json"
- "fmt"
"net"
"os"
"path/filepath"
@@ -77,10 +76,7 @@ func openToolSet(ctx context.Context, root string, set toolSet, call ToolFunc) (
return fail(err)
}
path := filepath.Join(dir, "equipo.sock")
- if len(path) > 107 {
- return fail(fmt.Errorf("tool socket path too long"))
- }
- l, err := net.ListenUnix("unix", &net.UnixAddr{Name: path, Net: "unix"})
+ l, err := listenToolSocket(dir, path)
if err != nil {
return fail(err)
}
diff --git a/internal/runner/thin/toolsocket_linux.go b/internal/runner/thin/toolsocket_linux.go
new file mode 100644
index 00000000..cb619714
--- /dev/null
+++ b/internal/runner/thin/toolsocket_linux.go
@@ -0,0 +1,24 @@
+package thin
+
+import (
+ "net"
+ "os"
+ "path/filepath"
+ "strconv"
+
+ "golang.org/x/sys/unix"
+)
+
+// listenToolSocket binds the socket through its directory's descriptor,
+// as the egress proxy does: a Unix socket's path holds 107 bytes, and a
+// runner's state directory can leave less room than that (2026-11-22,
+// the staging suite under a long TMPDIR failed most coordinator starts).
+// The socket is still created at path.
+func listenToolSocket(dir, path string) (*net.UnixListener, error) {
+ fd, err := unix.Open(dir, unix.O_RDONLY|unix.O_DIRECTORY|unix.O_NOFOLLOW|unix.O_CLOEXEC, 0)
+ if err != nil {
+ return nil, &os.PathError{Op: "open", Path: dir, Err: err}
+ }
+ defer unix.Close(fd)
+ return net.ListenUnix("unix", &net.UnixAddr{Name: "/proc/self/fd/" + strconv.Itoa(fd) + "/" + filepath.Base(path), Net: "unix"})
+}
diff --git a/internal/runner/thin/toolsocket_linux_test.go b/internal/runner/thin/toolsocket_linux_test.go
new file mode 100644
index 00000000..e96324f6
--- /dev/null
+++ b/internal/runner/thin/toolsocket_linux_test.go
@@ -0,0 +1,42 @@
+package thin
+
+import (
+ "context"
+ "fmt"
+ "net"
+ "os"
+ "path/filepath"
+ "strings"
+ "testing"
+)
+
+// The coordinator's tool socket opens whatever the state directory's
+// length: a Unix socket path holds 107 bytes, and the staging suite's
+// state under a long TMPDIR failed most coordinator starts (2026-11-22).
+func TestToolSocketUnderLongStateDir(t *testing.T) {
+ root := filepath.Join(t.TempDir(), strings.Repeat("s", 100))
+ if err := os.Mkdir(root, 0700); err != nil {
+ t.Fatal(err)
+ }
+ for i := 0; i < 20; i++ {
+ s, err := openToolSet(context.Background(), root, converseSet(false), nil)
+ if err != nil {
+ t.Fatalf("open %d: %v", i, err)
+ }
+ info, err := os.Lstat(s.Path)
+ if err != nil || info.Mode()&os.ModeSocket == 0 || info.Mode().Perm() != 0600 || filepath.Base(s.Path) != "equipo.sock" || filepath.Dir(filepath.Dir(s.Path)) != root {
+ t.Fatalf("socket %s: %v %v", s.Path, info, err)
+ }
+ dir, err := os.Open(filepath.Dir(s.Path))
+ if err != nil {
+ t.Fatal(err)
+ }
+ conn, err := net.Dial("unix", fmt.Sprintf("/proc/self/fd/%d/equipo.sock", dir.Fd()))
+ dir.Close()
+ if err != nil {
+ t.Fatalf("dial %d: %v", i, err)
+ }
+ conn.Close()
+ s.Close()
+ }
+}
diff --git a/internal/runner/thin/toolsocket_other.go b/internal/runner/thin/toolsocket_other.go
new file mode 100644
index 00000000..4418d832
--- /dev/null
+++ b/internal/runner/thin/toolsocket_other.go
@@ -0,0 +1,19 @@
+//go:build !linux
+
+package thin
+
+import (
+ "errors"
+ "net"
+)
+
+var errToolSocketPath = errors.New("tool socket path too long")
+
+// listenToolSocket binds the socket at path, which must fit a Unix
+// socket's path.
+func listenToolSocket(_, path string) (*net.UnixListener, error) {
+ if len(path) > 103 {
+ return nil, errToolSocketPath
+ }
+ return net.ListenUnix("unix", &net.UnixAddr{Name: path, Net: "unix"})
+}