oficina / equipo Public

Own a job repository only when the hub created it

Review fixes for starting main at repository creation.

Ownership: fileForge.Create returns ErrAdopted unless the hub answered
that it created the repository (200/201). "Already exists" (409), or an
answer that never came while the repository exists afterwards, is
adopted and not this runner's. create_project records "made" only after
a real creation, so a retry never starts main in a repository another
writer created between Exists and Create.

Peeled tags: ls-remote's refs/tags/v1^{} lines are skipped (lsRefs), so
an annotated tag on main is one ref, not unrelated work.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev cfc6a4d9508d9325767e413e3764c5c33eb9d937 parent 5899ccd
5 files changed, +174 −23
  • .rastrillo/budgets.txt +1 −1
  • internal/runner/thin/bridge.go +15 −11
  • internal/runner/thin/forge.go +33 −10
  • internal/runner/thin/start_default_test.go +124 −0
  • internal/runner/thin/state.go +1 −1

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/job-repo-main-first: Type  Size Avail | ext4   96G   86G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   86G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 1.4s
ci-box: codex: fetched and verified in 3.4s
ci-box: codex-code-mode-host: fetched and verified in 1.3s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.3s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 10.0s
ci-box: pi: installed and verified in 7.4s
ci-box: opencode: installed and verified in 1.9s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.7s
ci-box: clone deepened in 3.0s
ci-box: file times set from content: 2727 files, 174 directories
ci-box: ready in 15.9s
=== copy ===
EQUIPO_RELEASE_COPY_CHECK=1 CGO_ENABLED=0 go test ./internal/equipotest -run '^TestReleaseCopyReviewed$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipotest	0.240s
=== 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 1m20.334s 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.881s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m18.88s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 33.64, cpu waiting 21.00%, memory waiting 0.00%, io waiting 1.01%
--- 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 1m21.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 1m19.886s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m19.89s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 33.64, cpu waiting 21.00%, memory waiting 0.00%, io waiting 1.01%
--- 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 1m22.03s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m20.252s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m9.9s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.66s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.69s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 33.64, cpu waiting 21.00%, memory waiting 0.00%, io waiting 1.01%
--- 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 1m17.439s 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.936s amadan.net/oficina/equipo/internal/headless
receipt: slow test 36.74s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 19.8s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.95s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.44s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 34.91, cpu waiting 21.55%, memory waiting 0.00%, io waiting 1.08%
--- 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 1m34.625s 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.125s amadan.net/oficina/equipo/internal/headless
receipt: slow test 58.42s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.88s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 9.62s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 8.49s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 5.71s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 28.74, cpu waiting 17.10%, memory waiting 0.00%, io waiting 0.80%
--- 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 3m4.809s 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.345s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m42.84s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 23.56s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.27s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 7.96s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.26s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 8.23, cpu waiting 3.86%, memory waiting 0.00%, io waiting 0.17%
--- 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 321ms 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 1m55.436s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 7.74s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.72s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 3.66s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 3.42s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 2.42s amadan.net/oficina/equipo/internal/thintest TestResearchDoneFallsBack
machine: 32 CPUs, load 1.04, cpu waiting 0.00%, memory waiting 0.00%, io waiting 3.83%
--- 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 346ms 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 1m21.593s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.09s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.35s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.35s amadan.net/oficina/equipo/internal/thintest TestContractPublishNameTaken
receipt: slow test 2.34s amadan.net/oficina/equipo/internal/thintest TestContractPreview
machine: 32 CPUs, load 1.04, cpu waiting 0.45%, memory waiting 0.00%, io waiting 3.87%
--- 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 4m28.866s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m33.88s 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.866s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 36.97s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.94s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.75s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.46s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 6.8s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 2.51, cpu waiting 0.88%, memory waiting 0.00%, io waiting 0.03%
--- 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.765s 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.656s amadan.net/oficina/equipo/internal/runner
receipt: slow test 25.63s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.03s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 31.87, cpu waiting 20.90%, memory waiting 0.00%, io waiting 1.80%
--- 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.186s 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.244s amadan.net/oficina/equipo/internal/runner
receipt: slow test 35.18s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 30.47s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.4s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.65s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 31.87, cpu waiting 20.90%, memory waiting 0.00%, io waiting 1.80%
--- 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.763s 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.785s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.11s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.37s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.12s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.11s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 22.50, cpu waiting 14.47%, memory waiting 0.00%, io waiting 2.19%
--- shard 12 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-a started 30s late; cpu waiting 27.0%, load 14.19
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 1m3.607s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m1.878s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 26.3s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 26.19s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 24.31s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 21.82s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 21.67s amadan.net/oficina/equipo/internal/equipotest TestBudgetLoweringBelowUsage
machine: 32 CPUs, load 28.74, cpu waiting 17.64%, memory waiting 0.00%, io waiting 0.83%
--- 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 29.1%, load 14.19
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 558ms 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.003s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 19.04s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 19.02s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 18.97s amadan.net/oficina/equipo/internal/equipotest TestProjectsAccountRevisionAndValidation
receipt: slow test 18.97s amadan.net/oficina/equipo/internal/equipotest TestProjectRequestActorAndUpdate
receipt: slow test 18.92s amadan.net/oficina/equipo/internal/equipotest TestProjectRetryAndRevision
machine: 32 CPUs, load 14.19, cpu waiting 11.55%, memory waiting 0.00%, io waiting 2.35%
--- shard 14 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-r started 30s late; cpu waiting 27.0%, load 14.19
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 1m13.956s 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.778s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 14.19s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 12.84s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 9.8s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 9.76s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 6.72s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 24.78, cpu waiting 15.03%, memory waiting 0.00%, io waiting 0.70%
--- 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.0%, load 14.19
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 408ms 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.204s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 24.23s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 23.74s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 23.61s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 21.96s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsCurrentOwner
receipt: slow test 21.92s amadan.net/oficina/equipo/internal/equipotest TestSigninBackgroundSweep
machine: 32 CPUs, load 14.19, cpu waiting 11.55%, memory waiting 0.00%, io waiting 2.35%
--- 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.0%, load 14.19
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 489ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 48.507s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.47s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.46s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.52s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.4s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.22s amadan.net/oficina/equipo/internal/plan3test TestPlanMigrationUpgrade
machine: 32 CPUs, load 14.19, cpu waiting 11.55%, memory waiting 0.00%, io waiting 2.35%
--- shard 17 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: rest started 30s late; cpu waiting 27.0%, load 14.19
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/testci: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/copydesk: 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/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/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
--- FAIL amadan.net/oficina/equipo/internal/runner/containment TestNamespaceParentDeath
=== RUN   TestNamespaceParentDeath
    linux_test.go:404: exact process has not exited: poll=-1,interrupted system call
--- FAIL: TestNamespaceParentDeath (0.07s)

--- FAIL amadan.net/oficina/equipo/internal/runner/containment (package output)
FAIL
rastrillo-budget/v1 ran 39.51s
FAIL	amadan.net/oficina/equipo/internal/runner/containment	39.521s

budget note: internal/equipo took 19.269s, 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/idtest took 38.1s, 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 22.788s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI

receipt: test step 2m14.538s against a 60s target (the gate's other steps are not in this figure)
receipt: 13 packages ran, 46 cached, 18 without tests, 1 failed
receipt: slow package 53.255s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 51.652s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 39.51s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow package 38.1s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 37.698s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow test 21.66s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 15.65s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 10.58s amadan.net/oficina/equipo/internal/idtest TestIDCallbackGuardAndPendingNonce
receipt: slow test 9.03s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringMissingModuleCache
receipt: slow test 8.62s amadan.net/oficina/equipo/internal/runner/checks TestCheckNamespaceGoRootInsideModuleCache
rastrillo: budget test: go test failed
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestNamespaceParentDeath$' -count=1 ./internal/runner/containment   (retry, once)
##############################################################################
FLAKE ./internal/runner/containment:TestNamespaceParentDeath rest cfc6a4d9508d9325767e413e3764c5c33eb9d937 0.07s 11.19
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 11.19, cpu waiting 5.39%, memory waiting 0.00%, io waiting 0.24%
--- 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 1m21.859s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m20.303s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.43s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 15.03s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 10.07s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.48s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 5.9s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 33.64, cpu waiting 20.51%, memory waiting 0.00%, io waiting 0.98%
--- 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 1m31.031s 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 1m29.398s amadan.net/oficina/equipo/internal/headless
receipt: slow test 26s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 22.12s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 13.97s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 10.03s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 7.86s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 30.46, cpu waiting 18.20%, memory waiting 0.00%, io waiting 0.86%
--- 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 1m38.74s 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.226s amadan.net/oficina/equipo/internal/headless
receipt: slow test 13.54s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 12.98s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 12.82s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 10.27s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.11s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 26.76, cpu waiting 16.03%, memory waiting 0.00%, io waiting 0.75%
--- 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 TestBrowserCopyContinue
=== RUN   TestBrowserCopyContinue
time=2026-11-20T08:35:13.320Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T08:35:13.320Z level=INFO msg="startup phase done" phase=state_lock took=61µs
time=2026-11-20T08:35:13.320Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T08:35:13.320Z level=INFO msg="startup phase done" phase=claim_roots took=88µs
time=2026-11-20T08:35:13.320Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T08:35:13.352Z level=INFO msg="startup phase done" phase=sweep took=32.456ms
time=2026-11-20T08:35:13.352Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T08:35:13.353Z level=INFO msg="startup phase done" phase=credentials took=367µs
time=2026-11-20T08:35:13.353Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T08:35:13.398Z level=INFO msg="startup phase done" phase=open_state took=45.596ms
time=2026-11-20T08:35:13.399Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T08:35:13.401Z level=INFO msg=connecting host=127.0.0.1:35701 protocol=28
time=2026-11-20T08:35:13.404Z level=INFO msg=connected host=127.0.0.1:35701 took=1.445ms
time=2026-11-20T08:35:13.404Z level=INFO msg="capabilities gathering"
time=2026-11-20T08:35:13.404Z level=INFO msg="capabilities gathered" took=382µs tags=linux,claude,go
time=2026-11-20T08:35:13.405Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T08:35:13.410Z level=INFO msg=welcome protocol=28 role=primary generation=1
    browser_copy_test.go:90: waiting for !document.querySelector('[data-copy-continue]'): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserCopyContinue (6.16s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-20T08:35:47.782Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T08:35:47.782Z level=INFO msg="startup phase done" phase=state_lock took=69µs
time=2026-11-20T08:35:47.782Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T08:35:47.782Z level=INFO msg="startup phase done" phase=claim_roots took=83µs
time=2026-11-20T08:35:47.782Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T08:35:47.809Z level=INFO msg="startup phase done" phase=sweep took=26.894ms
time=2026-11-20T08:35:47.809Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T08:35:47.809Z level=INFO msg="startup phase done" phase=credentials took=142µs
time=2026-11-20T08:35:47.809Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T08:35:47.848Z level=INFO msg="startup phase done" phase=open_state took=38.576ms
time=2026-11-20T08:35:47.848Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T08:35:47.849Z level=INFO msg=connecting host=127.0.0.1:33205 protocol=28
time=2026-11-20T08:35:47.850Z level=INFO msg=connected host=127.0.0.1:33205 took=822µs
time=2026-11-20T08:35:47.850Z level=INFO msg="capabilities gathering"
time=2026-11-20T08:35:47.851Z level=INFO msg="capabilities gathered" took=355µs tags=linux,claude,go
time=2026-11-20T08:35:47.851Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T08:35:47.855Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T08:35:48.839Z 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.75s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m29.265s
FAIL	amadan.net/oficina/equipo/internal/headless	89.536s


receipt: test step 1m30.506s 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 1m29.265s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.98s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 11.01s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 10.42s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.14s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
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 '^TestBrowserCopyContinue$|^TestBrowserEmptyExplore$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserCopyContinue browser-headless-rest cfc6a4d9508d9325767e413e3764c5c33eb9d937 6.16s 30.46
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest cfc6a4d9508d9325767e413e3764c5c33eb9d937 5.75s 30.46
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 26.76, cpu waiting 15.03%, memory waiting 0.00%, io waiting 0.70%
--- 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 326ms 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 507ms amadan.net/oficina/equipo/internal/equipo
receipt: slow test 510ms 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 268ms 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.676s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 1.68s 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 270ms 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.883s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 1.88s amadan.net/oficina/equipo/internal/plan3test TestTeamsHierarchyBrowser
browser lane browser-rest: ./internal/thintest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAccessEmojiByline|TestBrowserAccessFinalOutcomes|TestBrowserAccessRequest|TestBrowserAccessReview|TestBrowserActivitySubjects|TestBrowserAutonomySettings|TestBrowserCoordinatorQueue|TestBrowserEmptyConversation|TestBrowserHousekeeping|TestBrowserInnerGallery|TestBrowserInnerScreens|TestBrowserInstantThinking|TestBrowserInstantThinkingQueued|TestBrowserMachines|TestBrowserPhoneIndex|TestBrowserPlacementQuestionAndPending|TestBrowserProjectPlacement|TestBrowserProjectsList|TestBrowserReportActionFeedback|TestBrowserReportNextSteps|TestBrowserReportThread|TestBrowserRollup|TestBrowserRosterAlignment|TestBrowserRosterDecisionStates|TestBrowserRosterQuietDay|TestBrowserRosterReports|TestBrowserRosterSetAside|TestBrowserRosterSubchat|TestBrowserRosterThinking|TestBrowserRosterVisual|TestBrowserSettingsHousekeepingGroups|TestBrowserSettingsMenu|TestBrowserSettingsRail|TestBrowserSettingsSaveBar|TestBrowserSettingsShots|TestBrowserSettingsStayOnPage|TestBrowserSettingsTeams|TestBrowserShipsButtons|TestBrowserSpecialistRows|TestBrowserSpendFollowsAnswers|TestBrowserTaskRows|TestBrowserTeamPanel|TestBrowserThinkingCycles|TestBrowserThinkingLinesClear|TestBrowserThinkingWords|TestBrowserTokenRowEmail|TestBrowserTrackStarCentre)$' ./internal/thintest

receipt: test step 272ms 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 3m0.772s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 17.28s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.33s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 10.45s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.06s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 7.9s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
machine: 32 CPUs, load 1.04, cpu waiting 1.49%, memory waiting 0.00%, io waiting 3.75%
--- 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   (51s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 5.08s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.29s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 9.13s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 9.69s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 24.69s
+ 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.70s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 13.59s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 20.16s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 12.81s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (21s)
ok ./internal/headless TestMixedVersions 19.39s
+ 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 35.87, cpu waiting 21.82%, memory waiting 0.00%, io waiting 1.42%
--- 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 7.895s 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 6.894s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 153ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 62ms 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 4.89s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.63s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 280ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 150ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 70ms 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.071s 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.717s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 280ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 170ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicy
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReapsOrphans
machine: 32 CPUs, load 4.08, cpu waiting 4.07%, memory waiting 0.00%, io waiting 3.28%
--- shard 25 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: runner-dead-references started 30s late; cpu waiting 27.0%, load 14.19
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2441 text files, 2842 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.420s
machine: 32 CPUs, load 31.87, cpu waiting 20.90%, memory waiting 0.00%, io waiting 1.80%
--- 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 29.1%, load 14.19
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 22.50, cpu waiting 14.47%, memory waiting 0.00%, io waiting 2.19%
--- 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 29.1%, load 14.19
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 22.50, cpu waiting 15.80%, memory waiting 0.00%, io waiting 2.12%
--- 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 29.1%, load 14.19
shard 28: make gitleaks
8:35AM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
8:35AM INF 1033 commits scanned.
8:35AM INF scanned ~60038368 bytes (60.04 MB) in 13.6s
8:35AM INF no leaks found
machine: 32 CPUs, load 31.87, cpu waiting 19.46%, memory waiting 0.00%, io waiting 1.92%
=== 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.085ms, worst 1.111ms, budget 150ms
perf: GET /api/runner/protocol: median 81µs, worst 116µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 596µs, worst 688µs, budget 150ms
perf: GET /api/v1/accounts: median 410µs, worst 439µs, budget 150ms
perf: GET /api/v1/auth/devices: median 462µs, worst 533µs, budget 150ms
perf: GET /api/v1/budgets: median 491µs, worst 509µs, budget 150ms
perf: GET /api/v1/capabilities: median 254µs, worst 283µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.243ms, worst 1.275ms, budget 150ms
perf: GET /api/v1/connections: median 593µs, worst 612µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 548µs, worst 571µs, budget 150ms
perf: GET /api/v1/conversation: median 973µs, worst 2.642ms, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.467ms, worst 1.587ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.718ms, worst 1.791ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 449µs, worst 486µs, budget 150ms
perf: GET /api/v1/journey: median 8.859ms, worst 9.146ms, budget 150ms
perf: GET /api/v1/me: median 486µs, worst 541µs, budget 150ms
perf: GET /api/v1/me/settings: median 574µs, worst 633µs, budget 150ms
perf: GET /api/v1/needs-you: median 8.764ms, worst 8.848ms, budget 150ms
perf: GET /api/v1/notifications: median 1.633ms, worst 1.718ms, budget 150ms
perf: GET /api/v1/onboarding: median 401µs, worst 434µs, budget 150ms
perf: GET /api/v1/people: median 442µs, worst 460µs, budget 150ms
perf: GET /api/v1/playbooks: median 577µs, worst 632µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 513µs, worst 546µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 812µs, worst 890µs, budget 150ms
perf: GET /api/v1/preferences: median 743µs, worst 821µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 443µs, worst 483µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 556µs, worst 613µs, budget 150ms
perf: GET /api/v1/roster: median 460µs, worst 490µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 424µs, worst 471µs, budget 150ms
perf: GET /api/v1/specialists: median 7.969ms, worst 8.124ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 7.851ms, worst 8.015ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 824µs, worst 930µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.085ms, worst 1.151ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 711µs, worst 750µs, budget 150ms
perf: GET /api/v1/teams: median 397µs, worst 402µs, budget 150ms
perf: GET /api/v1/templates: median 580µs, worst 615µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 442µs, worst 503µs, budget 150ms
perf: GET /auth/callback: median 88µs, worst 106µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.18ms, worst 3.219ms, budget 150ms
perf: GET /auth/verify: median 81µs, worst 109µs, budget 150ms
perf: GET /connections: median 3.522ms, worst 3.687ms, budget 150ms
perf: GET /conversation: median 7.534ms, worst 8.038ms, budget 150ms
perf: GET /conversation/connections: median 255µs, worst 287µs, budget 150ms
perf: GET /conversation/notebook: median 241µs, worst 278µs, budget 150ms
perf: GET /conversation/settings: median 3.827ms, worst 3.942ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 3.528ms, worst 3.569ms, budget 150ms
perf: GET /conversation/settings/connections: median 6.12ms, worst 6.294ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 6.276ms, worst 6.381ms, budget 150ms
perf: GET /conversation/settings/copy: median 3.48ms, worst 3.57ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 4.003ms, worst 4.137ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.553ms, worst 6.656ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.395ms, worst 4.605ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.234ms, worst 3.294ms, budget 150ms
perf: GET /conversation/settings/thinking: median 3.748ms, worst 3.851ms, budget 150ms
perf: GET /housekeeping: median 3.556ms, worst 3.675ms, budget 150ms
perf: GET /invites/new: median 566µs, worst 603µs, budget 150ms
perf: GET /invites/{id}: median 604µs, worst 631µs, budget 150ms
perf: GET /jobs: median 3.128ms, worst 3.205ms, budget 150ms
perf: GET /jobs/{id}: median 4.168ms, worst 4.246ms, budget 150ms
perf: GET /journey: median 9.779ms, worst 9.935ms, budget 150ms
perf: GET /nav/rail: median 2.77ms, worst 2.85ms, budget 150ms
perf: GET /needs-you: median 10.167ms, worst 13.203ms, budget 150ms
perf: GET /onboarding: median 3.808ms, worst 3.891ms, budget 150ms
perf: GET /people: median 3.192ms, worst 3.285ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 4.419ms, worst 4.544ms, budget 150ms
perf: GET /playbooks: median 3.951ms, worst 4.078ms, budget 150ms
perf: GET /playbooks/new: median 4.057ms, worst 4.154ms, budget 150ms
perf: GET /playbooks/{id}: median 4.544ms, worst 4.604ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 4.536ms, worst 4.66ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 3.807ms, worst 3.943ms, budget 150ms
perf: GET /preferences: median 4.003ms, worst 4.097ms, budget 150ms
perf: GET /preferences/sources/{source}: median 4.085ms, worst 6.571ms, budget 150ms
perf: GET /projects: median 5.275ms, worst 5.551ms, budget 150ms
perf: GET /projects/accounts: median 3.526ms, worst 3.613ms, budget 150ms
perf: GET /projects/new: median 3.508ms, worst 3.623ms, budget 150ms
perf: GET /projects/{id}: median 9.987ms, worst 10.253ms, budget 150ms
perf: GET /projects/{id}/edit: median 3.581ms, worst 3.668ms, budget 150ms
perf: GET /runners/enrol: median 4.212ms, worst 4.413ms, budget 150ms
perf: GET /settings: median 3.326ms, worst 3.441ms, budget 150ms
perf: GET /settings/coordinator: median 5.24ms, worst 5.319ms, budget 150ms
perf: GET /settings/devices: median 3.103ms, worst 3.241ms, budget 150ms
perf: GET /settings/recovery: median 3.388ms, worst 5.619ms, budget 150ms
perf: GET /settings/recovery/release: median 3.446ms, worst 3.522ms, budget 150ms
perf: GET /settings/thinking: median 260µs, worst 289µs, budget 150ms
perf: GET /signin: median 324µs, worst 345µs, budget 150ms
perf: GET /specialists/new: median 3.269ms, worst 3.28ms, budget 150ms
perf: GET /specialists/{key}: median 12.4ms, worst 12.573ms, budget 150ms
perf: GET /specialists/{key}/edit: median 3.838ms, worst 3.892ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 3.94ms, worst 4.028ms, budget 150ms
perf: GET /tasks: median 5.431ms, worst 5.568ms, budget 150ms
perf: GET /tasks/new: median 3.351ms, worst 3.392ms, budget 150ms
perf: GET /tasks/{id}: median 5.938ms, worst 6.06ms, budget 150ms
perf: GET /tasks/{id}/merge: median 5.361ms, worst 8.159ms, budget 150ms
perf: GET /tasks/{id}/move: median 5.097ms, worst 5.196ms, budget 150ms
perf: GET /tasks/{id}/plan: median 5.615ms, worst 5.744ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.499ms, worst 1.56ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.034ms, worst 5.126ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 4.584ms, worst 4.646ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.159ms, worst 4.262ms, budget 150ms
perf: GET /tasks/{id}/thread: median 7.601ms, worst 7.871ms, budget 150ms
perf: GET /team/{specialist}: median 4.158ms, worst 4.205ms, budget 150ms
perf: GET /teams: median 11.454ms, worst 14.248ms, budget 150ms
perf: GET /templates: median 3.76ms, worst 3.89ms, budget 150ms
perf: GET /usage: median 4.427ms, worst 4.482ms, budget 150ms
perf: GET /work: median 3.276ms, worst 3.327ms, budget 150ms
perf: cold boot: median 256ms of [253.831163ms 256.241745ms 256.992301ms], budget 500ms

receipt: test step 32.302s 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 8.814s 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 8s amadan.net/oficina/equipo/internal/equipotest TestPerfScreens
receipt: slow test 820ms amadan.net/oficina/equipo/internal/equipotest TestPerfBoot
=== cache ===
ci-box: build cache /home/ci/work/repos/oficina__equipo/cache/go-build: 3.34 GiB in 21961 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 0.84 GiB in 27329 files
diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt
index 213566c4..89953f26 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 27986 21283 Fable follow-up gates and guards, then main started at repo creation; measured 27986/21283 source/test lines.
+size internal/runner/thin 28013 21407 Fable follow-up gates and guards, then main started at repo creation; measured 28013/21407 source/test lines.
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/bridge.go b/internal/runner/thin/bridge.go
index 8f7f5974..8ca8919e 100644
--- a/internal/runner/thin/bridge.go
+++ b/internal/runner/thin/bridge.go
@@ -100,22 +100,26 @@ func (b *bridge) call(ctx context.Context, person, turn string, attempt int64, n
}
// Creation progress is kept with the call: a resent call never
// creates twice, and a repository that already exists (an earlier
- // answer was lost) is adopted as it is. "creating" is recorded
- // before the forge creates the repository, so only a repository
- // this call made gets main started, also when a resent call
- // finishes a start that failed.
+ // answer was lost, or another writer made it) is adopted as it is.
+ // "made" is recorded only once the hub answered that this call
+ // created it, so only such a repository gets main started, also
+ // when a resent call finishes a start that failed.
state, err := b.State.creation(ctx, base, repo)
if err != nil {
return toolCreateError, true
}
- if state == "" || state == "creating" {
- ours := state == "creating"
- exists, err := b.Forge.Exists(ctx, repo)
- if err == nil && !exists {
- if err = b.State.setCreation(ctx, base, repo, "creating"); err == nil {
- err = b.Forge.Create(ctx, repo)
+ if state == "" || state == "made" {
+ ours := state == "made"
+ if !ours {
+ var exists bool
+ if exists, err = b.Forge.Exists(ctx, repo); err == nil && !exists {
+ switch err = b.Forge.Create(ctx, repo); {
+ case err == nil:
+ ours, err = true, b.State.setCreation(ctx, base, repo, "made")
+ case errors.Is(err, ErrAdopted):
+ err = nil
+ }
}
- ours = true
}
if err == nil && ours && b.Clones != nil {
// main first, so task branches start from it and merge into it.
diff --git a/internal/runner/thin/forge.go b/internal/runner/thin/forge.go
index bd35731f..2baf2817 100644
--- a/internal/runner/thin/forge.go
+++ b/internal/runner/thin/forge.go
@@ -35,7 +35,8 @@ type Forge interface {
Remote(ctx context.Context, repo string) (workspace.Remote, error)
// CreateIn lists namespaces the runner's agent may create repositories in.
CreateIn(ctx context.Context) []string
- // Create makes a new private repository and adds it to Repos.
+ // Create makes a new private repository and adds it to Repos. One that
+ // exists already is added too, with ErrAdopted: it is not this runner's.
Create(ctx context.Context, repo string) error
// Reachable lists every repository the agent can reach, for the
// context index. It includes Repos.
@@ -54,6 +55,11 @@ type Forge interface {
// ErrNoCreate means repositories cannot be created in that namespace.
var ErrNoCreate = errors.New("repository creation is not available here")
+// ErrAdopted means Create did not make the repository: it existed, or the
+// hub's answer was lost and it exists now. It is adopted, and is not this
+// runner's to start.
+var ErrAdopted = errors.New("the repository already exists; adopted")
+
// ErrEmptyRepo means the forge serves the repository and it has no
// commits yet: no branch, nothing to read. It is not an access failure.
var ErrEmptyRepo = errors.New("the repository has no commits yet")
@@ -263,6 +269,8 @@ func (f *fileForge) Exists(ctx context.Context, repo string) (bool, error) {
// Create makes repo once: an existing one (an earlier answer was lost) is
// adopted, and after any failure the hub is asked again before giving up.
+// Only the hub's own "created" answer makes it this runner's; an adopted
+// one returns ErrAdopted.
func (f *fileForge) Create(ctx context.Context, repo string) error {
parts := strings.Split(strings.TrimPrefix(repo, nsPrefix), "/")
if !ValidNewRepo(repo) || !slices.Contains(f.CreateIn(ctx), parts[0]) {
@@ -271,7 +279,7 @@ func (f *fileForge) Create(ctx context.Context, repo string) error {
if ok, err := f.Exists(ctx, repo); err != nil {
return err
} else if ok {
- return f.record(repo)
+ return f.adopt(repo)
}
c, err := f.agent(ctx)
if err != nil {
@@ -288,12 +296,20 @@ func (f *fileForge) Create(ctx context.Context, repo string) error {
return f.record(repo)
}
}
+ // "Already exists", or no answer: someone else's, or not known to be ours.
if ok, xerr := f.Exists(ctx, repo); xerr == nil && ok {
- return f.record(repo)
+ return f.adopt(repo)
}
return ErrNoCreate
}
+func (f *fileForge) adopt(repo string) error {
+ if err := f.record(repo); err != nil {
+ return err
+ }
+ return ErrAdopted
+}
+
// Merge sends the hub the merge request with the agent's credential for
// repo (its own entry, or the agent-wide one).
func (f *fileForge) Merge(ctx context.Context, repo, branch string, req forge.HubMergeRequest) (forge.HubMergeResult, error) {
@@ -492,6 +508,19 @@ var startDefaultGap = func() {}
// startDate makes the start commit the same bytes every time.
const startDate = "2026-01-01T00:00:00+0000"
+// lsRefs reads ls-remote's lines: each ref once, without HEAD and without
+// the peeled lines of annotated tags (refs/tags/v1^{}), which are no refs
+// of their own.
+func lsRefs(out string) map[string]string {
+ got := map[string]string{}
+ for _, line := range strings.Split(out, "\n") {
+ if sha, ref, ok := strings.Cut(line, "\t"); ok && ref != "HEAD" && !strings.HasSuffix(ref, "^{}") {
+ got[ref] = sha
+ }
+ }
+ return got
+}
+
// StartDefault gives a repository this runner just created its default
// branch before any task branch exists: main, at an empty first commit
// with no parent. Task branches then start from main, and every merge
@@ -519,13 +548,7 @@ func (c *Clones) StartDefault(ctx context.Context, repo string) error {
if err != nil {
return nil, err
}
- got := map[string]string{}
- for _, line := range strings.Split(string(out), "\n") {
- if sha, ref, ok := strings.Cut(line, "\t"); ok && ref != "HEAD" {
- got[ref] = sha
- }
- }
- return got, nil
+ return lsRefs(string(out)), nil
}
env, protocol, err := remoteEnv(remote)
if err != nil {
diff --git a/internal/runner/thin/start_default_test.go b/internal/runner/thin/start_default_test.go
index 0aa52d9c..7557bc28 100644
--- a/internal/runner/thin/start_default_test.go
+++ b/internal/runner/thin/start_default_test.go
@@ -4,6 +4,7 @@ import (
"context"
"encoding/json"
"errors"
+ "net/http"
"os"
"path/filepath"
"strings"
@@ -258,3 +259,126 @@ func TestStartDefaultConcurrentWriter(t *testing.T) {
})
}
}
+
+// Create owns a repository only when the hub answered that it created
+// it. "Already exists", or an answer that never came while the
+// repository turns out to exist, is adopted and not this runner's.
+func TestFileForgeCreateOwnsOnlyWhatTheHubCreated(t *testing.T) {
+ for _, c := range []struct {
+ name string
+ before bool // the repository exists before the request
+ status int // the hub's answer to the create; 0 drops it
+ afterward bool // it exists when asked again
+ want error
+ }{
+ {"created", false, http.StatusOK, true, nil},
+ {"exists already", true, 0, true, ErrAdopted},
+ {"another writer won", false, http.StatusConflict, true, ErrAdopted},
+ {"answer lost", false, 0, true, ErrAdopted},
+ {"refused", false, http.StatusForbidden, false, ErrNoCreate},
+ } {
+ t.Run(c.name, func(t *testing.T) {
+ exists, posts := c.before, 0
+ f := accessForge(t, func(w http.ResponseWriter, r *http.Request) {
+ switch {
+ case r.Method == http.MethodGet && r.URL.Path == "/api/v1/repos":
+ repos := `{"ns":"oficina","name":"other"}`
+ if exists {
+ repos += `,{"ns":"oficina","name":"site"}`
+ }
+ w.Write([]byte(`{"repos":[` + repos + `]}`))
+ case r.Method == http.MethodPost && r.URL.Path == "/api/v1/repos":
+ posts++
+ exists = c.afterward
+ if c.status == 0 {
+ hj, _ := w.(http.Hijacker)
+ conn, _, _ := hj.Hijack()
+ conn.Close()
+ return
+ }
+ w.WriteHeader(c.status)
+ default:
+ w.WriteHeader(http.StatusNotFound)
+ }
+ })
+ err := f.Create(context.Background(), "amadan.net/oficina/site")
+ if !errors.Is(err, c.want) || c.want == nil && err != nil {
+ t.Fatalf("Create = %v, want %v", err, c.want)
+ }
+ if c.before && posts != 0 {
+ t.Fatal("asked the hub to create a repository that exists")
+ }
+ })
+ }
+}
+
+// Another writer creates the repository between Exists and Create:
+// create_project adopts it and never starts main in it, then or on retry.
+func TestCreateProjectNeverStartsARepositoryItDidNotMake(t *testing.T) {
+ state, err := OpenState(context.Background(), t.TempDir())
+ if err != nil {
+ t.Fatal(err)
+ }
+ defer state.Close()
+ f, c := startRig(t)
+ lost := &adoptingForge{creatingForge: f}
+ b := &bridge{State: state, Forge: lost, Clones: c, speaks: wire.ProtocolCurrent, trip: func(_ context.Context, call wire.ToolCall) wire.ToolResult {
+ var in struct{ Repo string }
+ _ = json.Unmarshal(call.Args, &in)
+ if call.Name == wire.ToolCreateProject {
+ return wire.ToolResult{Code: "create", Repo: in.Repo}
+ }
+ return wire.ToolResult{Code: "created", Repo: in.Repo, Text: "Created."}
+ }}
+ args := json.RawMessage(`{"namespace":"oficina","name":"site"}`)
+ for range 2 {
+ if text, isErr := b.Call(context.Background(), "p", "t4", 1, wire.ToolCreateProject, "toolu_4", args); isErr {
+ t.Fatalf("adopt: %s", text)
+ }
+ if refs := gitT(t, f.path("amadan.net/oficina/site"), "for-each-ref"); refs != "" {
+ t.Fatalf("main started in someone else's repository: %q", refs)
+ }
+ }
+}
+
+// adoptingForge loses the race: the repository is made, by someone else.
+type adoptingForge struct{ *creatingForge }
+
+func (f *adoptingForge) Create(ctx context.Context, repo string) error {
+ if err := f.creatingForge.Create(ctx, repo); err != nil {
+ return err
+ }
+ return ErrAdopted
+}
+
+// An annotated tag on the start commit: ls-remote lists it peeled too
+// (refs/tags/v1^{}), and neither line is someone else's unrelated work.
+func TestStartDefaultAnnotatedTagOnMain(t *testing.T) {
+ f, c := startRig(t)
+ const repo = "amadan.net/oficina/tagged-main"
+ ctx := context.Background()
+ if err := f.Create(ctx, repo); err != nil {
+ t.Fatal(err)
+ }
+ if err := c.StartDefault(ctx, repo); err != nil {
+ t.Fatal(err)
+ }
+ main := gitT(t, f.path(repo), "rev-parse", "refs/heads/main")
+ gitT(t, f.path(repo), "tag", "-a", "-m", "first", "v1", main)
+ if err := c.StartDefault(ctx, repo); err != nil {
+ t.Fatalf("an annotated tag on main failed the start: %v", err)
+ }
+ if again := gitT(t, f.path(repo), "rev-parse", "refs/heads/main"); again != main {
+ t.Fatalf("main changed: %s -> %s", main, again)
+ }
+}
+
+// lsRefs keeps each ref once: HEAD and the peeled lines of annotated tags
+// (refs/tags/v1^{}) are not refs of their own.
+func TestLsRefsSkipsHeadAndPeeledTags(t *testing.T) {
+ a, b := strings.Repeat("a", 40), strings.Repeat("b", 40)
+ got := lsRefs(a + "\tHEAD\n" + a + "\trefs/heads/main\n" + b + "\trefs/tags/v1\n" + a + "\trefs/tags/v1^{}\n")
+ if len(got) != 2 || got["refs/heads/main"] != a || got["refs/tags/v1"] != b {
+ t.Fatalf("lsRefs = %v", got)
+ }
+}
diff --git a/internal/runner/thin/state.go b/internal/runner/thin/state.go
index 612b57fb..e215ddc2 100644
--- a/internal/runner/thin/state.go
+++ b/internal/runner/thin/state.go
@@ -303,7 +303,7 @@ type run struct {
}
// creation is how far a create_project call got: "" (not started),
-// "creating" (this call asked the forge to create it, so it is ours to
+// "made" (the hub answered that this call created it, so it is ours to
// start), "created" (the repository exists, started) or "done" (the
// instance has it).
func (s *State) creation(ctx context.Context, callID, repo string) (string, error) {