oficina / equipo Public

Merge branch 'coordinator-copy-containment' into main

Merge coordinator-copy-containment: log containment reasons

A refused coordinator copy now logs which containment check fired, so the second-turn failures on token connections can be pinned down.
claude agent, operated by paul@keymail.dev a798a59719db02847e259add391071b1119a671e parent c8c4b82parent b3384f0
5 files changed, +71 −6
  • .rastrillo/budgets.txt +2 −2
  • internal/runner/provider/accounts.go +9 −4
  • internal/runner/provider/token_test.go +18 −0
  • internal/runner/thin/claude.go +3 −0
  • internal/runner/thin/copy_reason_test.go +39 −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.0s
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 9.8s
ci-box: pi: installed and verified in 7.4s
ci-box: opencode: installed and verified in 2.3s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.6s
ci-box: clone deepened in 3.1s
ci-box: file times set from content: 2728 files, 174 directories
ci-box: ready in 16.5s
=== copy ===
EQUIPO_RELEASE_COPY_CHECK=1 CGO_ENABLED=0 go test ./internal/equipotest -run '^TestReleaseCopyReviewed$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipotest	0.245s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  5.1s
+ go list -export -test -tags testbuild -f  ./...
  5.0s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  3.0s
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 1m28.621s 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 1m27.075s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m27.07s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 61.23, cpu waiting 40.49%, memory waiting 0.00%, io waiting 0.42%
--- 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 1m33.092s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m30.481s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m30.48s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 59.85, cpu waiting 40.38%, memory waiting 0.00%, io waiting 0.40%
--- shard 2 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-connections: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$' ./internal/headless

receipt: test step 1m33.79s 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.417s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m20.09s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 6.24s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 5.09s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 59.85, cpu waiting 40.10%, memory waiting 0.00%, io waiting 0.39%
--- 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 1m28.473s 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 1m26.598s amadan.net/oficina/equipo/internal/headless
receipt: slow test 44.29s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 21.91s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.61s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.79s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 61.23, cpu waiting 40.41%, memory waiting 0.00%, io waiting 0.43%
--- shard 4 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-guards: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless

receipt: test step 1m46.686s 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 1m43.862s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m6.35s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 12.12s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 10.57s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 8.92s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 5.9s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 53.63, cpu waiting 34.33%, memory waiting 0.00%, io waiting 0.32%
--- 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 3m17.655s 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 3m15.125s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m54.51s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 23.48s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.27s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 7.94s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.29s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 13.35, cpu waiting 7.77%, 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 2m2.726s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 2m0.214s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 7.77s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.74s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 3.65s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 3.53s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 2.46s amadan.net/oficina/equipo/internal/thintest TestResearchDoneFallsBack
machine: 32 CPUs, load 43.08, cpu waiting 26.62%, memory waiting 0.00%, io waiting 0.24%
--- 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
--- FAIL amadan.net/oficina/equipo/internal/thintest TestContractWorkerTaintIsSticky
=== RUN   TestContractWorkerTaintIsSticky
    placement_contract_test.go:558: waiting for send_pack: failed to get reader: context deadline exceeded
--- FAIL: TestContractWorkerTaintIsSticky (45.35s)

--- FAIL amadan.net/oficina/equipo/internal/thintest (package output)
FAIL
rastrillo-budget/v1 ran 2m2.758s
FAIL	amadan.net/oficina/equipo/internal/thintest	123.147s


receipt: test step 2m5.414s 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 2m2.758s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 45.35s amadan.net/oficina/equipo/internal/thintest TestContractWorkerTaintIsSticky
receipt: slow test 8.97s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 4.82s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.41s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.32s amadan.net/oficina/equipo/internal/thintest TestContractPreview
rastrillo: budget test: go test failed
exit status 1
+ go 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)' -v -run '^TestContractWorkerTaintIsSticky$' -count=1 ./internal/thintest   (retry, once)
##############################################################################
FLAKE ./internal/thintest:TestContractWorkerTaintIsSticky thintest-contract a798a59719db02847e259add391071b1119a671e 45.35s 39.87
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 39.87, cpu waiting 24.09%, memory waiting 0.00%, io waiting 0.22%
--- shard 8 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-thin: ./internal/runner/thin
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/runner/thin
budget note: internal/runner/thin took 4m35.797s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m41.295s 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 4m35.797s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 37.11s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.95s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.79s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.47s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 6.79s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 4.13, cpu waiting 1.91%, memory waiting 0.00%, io waiting 0.01%
--- shard 9 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-bug: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$' ./internal/runner

receipt: test step 50.744s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 49.492s amadan.net/oficina/equipo/internal/runner
receipt: slow test 29.46s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 54.78, cpu waiting 33.22%, memory waiting 0.00%, io waiting 0.82%
--- shard 10 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-plans: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner

receipt: test step 59.517s 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 58.056s amadan.net/oficina/equipo/internal/runner
receipt: slow test 48.07s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 42.51s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.43s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.54s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 60.24, cpu waiting 37.27%, memory waiting 0.00%, io waiting 0.72%
--- shard 11 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-rest: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$|^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner

receipt: test step 35.509s 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.646s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.13s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.22s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.15s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.39s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 35.74, cpu waiting 20.13%, memory waiting 0.00%, io waiting 1.08%
--- shard 12 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-a started 30s late; cpu waiting 37.5%, load 26.35
test lane equipotest-a: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test[A-D]|^TestQ' ./internal/equipotest

receipt: test step 1m6.46s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m4.532s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 26.98s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 26.91s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 24.84s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 22.26s amadan.net/oficina/equipo/internal/equipotest TestAccountConcurrentDuplicate
receipt: slow test 22.16s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
machine: 32 CPUs, load 57.94, cpu waiting 39.54%, memory waiting 0.00%, io waiting 0.38%
--- shard 13 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-e started 30s late; cpu waiting 37.5%, load 29.36
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 1m14.848s 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 1m12.98s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 19.1s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 19.03s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 19s amadan.net/oficina/equipo/internal/equipotest TestProjectKindsAndDefaultBranch
receipt: slow test 18.99s amadan.net/oficina/equipo/internal/equipotest TestProjectRequestActorAndUpdate
receipt: slow test 18.88s amadan.net/oficina/equipo/internal/equipotest TestProjectConcurrentRetry
machine: 32 CPUs, load 53.63, cpu waiting 34.33%, memory waiting 0.00%, io waiting 0.32%
--- shard 14 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-r started 30s late; cpu waiting 37.5%, load 29.36
test lane equipotest-r: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestR' ./internal/equipotest

receipt: test step 1m12.083s 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 1m7.103s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 14.93s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.12s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.06s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 9.96s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 7.1s amadan.net/oficina/equipo/internal/equipotest TestRosterProtectsLastOwner
machine: 32 CPUs, load 54.82, cpu waiting 36.45%, memory waiting 0.00%, io waiting 0.34%
--- shard 15 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-rest started 30s late; cpu waiting 37.5%, load 29.36
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 1m7.304s 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 1m5.468s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 24.94s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 23.85s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 23.82s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 22.12s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsCurrentOwner
receipt: slow test 22.05s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettings
machine: 32 CPUs, load 57.94, cpu waiting 39.54%, memory waiting 0.00%, io waiting 0.38%
--- shard 16 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: plan3test started 30s late; cpu waiting 37.5%, load 26.35
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 51.386s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 49.614s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.52s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.5s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.52s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.44s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.2s amadan.net/oficina/equipo/internal/plan3test TestPlanMigrationUpgrade
machine: 32 CPUs, load 61.51, cpu waiting 40.62%, memory waiting 0.00%, io waiting 0.50%
--- shard 17 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: rest started 30s late; cpu waiting 37.5%, load 29.36
test lane rest: ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/testci: its inputs changed
budget note: internal/equipo took 23.149s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 12.027s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/setup took 10.532s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/idtest took 44.631s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 22.778s, 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 1m2.003s, over the 15s its record on line 40 allows; reported only, timing fails on CI
budget note: internal/runner/forge took 23.516s, over the 20s its record on line 35 allows; reported only, timing fails on CI
budget note: internal/runner/provider/pi took 1m23.166s, over the 1m0s its record on line 27 allows; reported only, timing fails on CI
budget note: internal/runner/workspace took 11.907s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 1m55.821s against a 60s target (the gate's other steps are not in this figure)
receipt: 36 packages ran, 24 cached, 18 without tests, 0 failed
receipt: slow package 1m23.166s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 1m12.09s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 1m2.003s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow package 57.182s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 44.631s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 26.88s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 25.54s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 21.49s amadan.net/oficina/equipo/cmd/equipo-runner TestReleaseRunnerHasNoFakeWorker
receipt: slow test 16.08s amadan.net/oficina/equipo/internal/runner/provider/pi TestPiGoBinaryIsolation
receipt: slow test 12.73s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeP1OnlyOpenCodeReachable
machine: 32 CPUs, load 29.40, cpu waiting 17.86%, memory waiting 0.00%, io waiting 0.16%
--- shard 18 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-chat: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' ./internal/headless
rastrillo: budget test: go test failed
exit status 1
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserChat
=== RUN   TestBrowserChat
time=2026-11-20T08:56:41.641Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T08:56:41.641Z level=INFO msg="startup phase done" phase=state_lock took=80µs
time=2026-11-20T08:56:41.641Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T08:56:41.641Z level=INFO msg="startup phase done" phase=claim_roots took=84µs
time=2026-11-20T08:56:41.641Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T08:56:41.683Z level=INFO msg="startup phase done" phase=sweep took=42.026ms
time=2026-11-20T08:56:41.683Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T08:56:41.683Z level=INFO msg="startup phase done" phase=credentials took=102µs
time=2026-11-20T08:56:41.683Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T08:56:41.726Z level=INFO msg="startup phase done" phase=open_state took=42.443ms
time=2026-11-20T08:56:41.727Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T08:56:41.727Z level=INFO msg=connecting host=127.0.0.1:33977 protocol=28
time=2026-11-20T08:56:41.728Z level=INFO msg=connected host=127.0.0.1:33977 took=900µs
time=2026-11-20T08:56:41.728Z level=INFO msg="capabilities gathering"
time=2026-11-20T08:56:41.729Z level=INFO msg="capabilities gathered" took=606µs tags=linux,claude,go
time=2026-11-20T08:56:41.736Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T08:56:41.739Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T08:56:44.040Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_test.go:46: waiting for [...document.querySelectorAll('[equipo-message="incoming"] [equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes('fake coordinator')): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserChat (6.22s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
=== RUN   TestBrowserChatSendStaysOnPage
time=2026-11-20T08:56:47.887Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T08:56:47.887Z level=INFO msg="startup phase done" phase=state_lock took=72µs
time=2026-11-20T08:56:47.887Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T08:56:47.887Z level=INFO msg="startup phase done" phase=claim_roots took=75µs
time=2026-11-20T08:56:47.887Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T08:56:47.935Z level=INFO msg="startup phase done" phase=sweep took=47.787ms
time=2026-11-20T08:56:47.935Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T08:56:47.935Z level=INFO msg="startup phase done" phase=credentials took=104µs
time=2026-11-20T08:56:47.935Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T08:56:47.987Z level=INFO msg="startup phase done" phase=open_state took=51.824ms
time=2026-11-20T08:56:47.988Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T08:56:47.989Z level=INFO msg=connecting host=127.0.0.1:42711 protocol=28
time=2026-11-20T08:56:47.991Z level=INFO msg=connected host=127.0.0.1:42711 took=1.011ms
time=2026-11-20T08:56:47.991Z level=INFO msg="capabilities gathering"
time=2026-11-20T08:56:47.992Z level=INFO msg="capabilities gathered" took=502µs tags=linux,claude,go
time=2026-11-20T08:56:47.993Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T08:56:48.006Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T08:56:50.364Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_test.go:108: waiting for [...document.querySelectorAll('[equipo-message="incoming"] [equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes('fake coordinator')): context deadline exceeded (last evaluation: <nil>)
--- FAIL: TestBrowserChatSendStaysOnPage (6.40s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
=== RUN   TestBrowserDraftIsTheMessage
time=2026-11-20T08:56:54.331Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T08:56:54.331Z level=INFO msg="startup phase done" phase=state_lock took=63µs
time=2026-11-20T08:56:54.331Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T08:56:54.331Z level=INFO msg="startup phase done" phase=claim_roots took=101µs
time=2026-11-20T08:56:54.331Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T08:56:54.366Z level=INFO msg="startup phase done" phase=sweep took=34.885ms
time=2026-11-20T08:56:54.366Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T08:56:54.367Z level=INFO msg="startup phase done" phase=credentials took=895µs
time=2026-11-20T08:56:54.367Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T08:56:54.414Z level=INFO msg="startup phase done" phase=open_state took=47.176ms
time=2026-11-20T08:56:54.414Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T08:56:54.415Z level=INFO msg=connecting host=127.0.0.1:44411 protocol=28
time=2026-11-20T08:56:54.417Z level=INFO msg=connected host=127.0.0.1:44411 took=1.187ms
time=2026-11-20T08:56:54.417Z level=INFO msg="capabilities gathering"
time=2026-11-20T08:56:54.418Z level=INFO msg="capabilities gathered" took=630µs tags=linux,claude,go
time=2026-11-20T08:56:54.418Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T08:56:54.430Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T08:56:56.421Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_thinking_test.go:106: waiting for !!window.__m: context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserDraftIsTheMessage (8.28s)

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


receipt: test step 51.098s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 49.333s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.42s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 8.28s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 7.92s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 6.4s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
receipt: slow test 6.22s amadan.net/oficina/equipo/internal/headless TestBrowserChat
+ go test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' -v -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserDraftIsTheMessage$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserChat browser-headless-chat a798a59719db02847e259add391071b1119a671e 6.22s 54.78
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserChatSendStaysOnPage browser-headless-chat a798a59719db02847e259add391071b1119a671e 6.40s 54.78
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserDraftIsTheMessage browser-headless-chat a798a59719db02847e259add391071b1119a671e 8.28s 54.78
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 53.63, cpu waiting 33.24%, memory waiting 0.00%, io waiting 0.31%
--- shard 19 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-work: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' ./internal/headless
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
=== RUN   TestBrowserRailFollowsWork
time=2026-11-20T08:56:37.767Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T08:56:37.767Z level=INFO msg="startup phase done" phase=state_lock took=82µs
time=2026-11-20T08:56:37.767Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T08:56:37.767Z level=INFO msg="startup phase done" phase=claim_roots took=100µs
time=2026-11-20T08:56:37.767Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T08:56:37.799Z level=INFO msg="startup phase done" phase=sweep took=32.44ms
time=2026-11-20T08:56:37.799Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T08:56:37.799Z level=INFO msg="startup phase done" phase=credentials took=99µs
time=2026-11-20T08:56:37.800Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T08:56:37.839Z level=INFO msg="startup phase done" phase=open_state took=39.567ms
time=2026-11-20T08:56:37.839Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T08:56:37.842Z level=INFO msg=connecting host=127.0.0.1:43029 protocol=28
time=2026-11-20T08:56:37.845Z level=INFO msg=connected host=127.0.0.1:43029 took=2.325ms
time=2026-11-20T08:56:37.845Z level=INFO msg="capabilities gathering"
time=2026-11-20T08:56:37.845Z level=INFO msg="capabilities gathered" took=587µs tags=linux,claude,go
time=2026-11-20T08:56:37.846Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T08:56:37.851Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T08:56:39.133Z level=INFO msg="connection checked" connection=claude-1 state=healthy
time=2026-11-20T08:56:48.202Z level=INFO msg="kept sessions" kept=1 bytes=2770 expired=0
time=2026-11-20T08:56:52.835Z level=INFO msg="kept sessions" kept=2 bytes=4922 expired=0
time=2026-11-20T08:56:53.625Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T08:56:53.625Z level=INFO msg="startup phase done" phase=state_lock took=218µs
time=2026-11-20T08:56:53.625Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T08:56:53.625Z level=INFO msg="startup phase done" phase=claim_roots took=111µs
time=2026-11-20T08:56:53.625Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T08:56:53.659Z level=INFO msg="startup phase done" phase=sweep took=33.6ms
time=2026-11-20T08:56:53.659Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T08:56:53.659Z level=INFO msg="startup phase done" phase=credentials took=141µs
time=2026-11-20T08:56:53.659Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T08:56:53.702Z level=INFO msg="startup phase done" phase=open_state took=42.839ms
time=2026-11-20T08:56:53.702Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T08:56:53.704Z level=INFO msg=connecting host=127.0.0.1:45333 protocol=28
time=2026-11-20T08:56:53.705Z level=INFO msg=connected host=127.0.0.1:45333 took=879µs
time=2026-11-20T08:56:53.706Z level=INFO msg="capabilities gathering"
time=2026-11-20T08:56:53.707Z level=INFO msg="capabilities gathered" took=1.671ms tags=linux,claude,go
time=2026-11-20T08:56:53.708Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T08:56:53.715Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T08:56:55.731Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_review_test.go:57: waiting for document.querySelector('#rail [data-specialist="engineering"]')?.dataset.state==='working' && document.querySelector('#rail [data-specialist="engineering"]').querySelector('[equipo-nav-task]')?.textContent==='Slow sidebar change' && document.querySelector('#nav-tasks [data-count]')?.textContent==='1': context deadline exceeded (last evaluation: <nil>)
time=2026-11-20T08:56:59.338Z level=WARN msg="tool effect" err=*fmt.wrapError
time=2026-11-20T08:56:59.344Z level=WARN msg="tool effect" err=*fmt.wrapError
--- FAIL: TestBrowserRailFollowsWork (22.25s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m36.735s
FAIL	amadan.net/oficina/equipo/internal/headless	97.122s


receipt: test step 1m38.575s 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 1m36.735s amadan.net/oficina/equipo/internal/headless
receipt: slow test 26.91s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 22.25s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
rastrillo: budget test: go test failed
receipt: slow test 14.64s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 11.41s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
receipt: slow test 11.36s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' -v -run '^TestBrowserRailFollowsWork$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserRailFollowsWork browser-headless-work a798a59719db02847e259add391071b1119a671e 22.25s 57.94
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 43.08, cpu waiting 26.62%, memory waiting 0.00%, io waiting 0.24%
--- 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 1m48.346s 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 1m46.391s amadan.net/oficina/equipo/internal/headless
receipt: slow test 17.93s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 14.15s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 12.94s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 10.87s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.61s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 53.63, cpu waiting 33.24%, 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 TestBrowserCopyContinue
=== RUN   TestBrowserCopyContinue
time=2026-11-20T08:56:52.424Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T08:56:52.425Z level=INFO msg="startup phase done" phase=state_lock took=349µs
time=2026-11-20T08:56:52.425Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T08:56:52.425Z level=INFO msg="startup phase done" phase=claim_roots took=198µs
time=2026-11-20T08:56:52.427Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T08:56:52.468Z level=INFO msg="startup phase done" phase=sweep took=41.27ms
time=2026-11-20T08:56:52.468Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T08:56:52.468Z level=INFO msg="startup phase done" phase=credentials took=120µs
time=2026-11-20T08:56:52.468Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T08:56:52.514Z level=INFO msg="startup phase done" phase=open_state took=45.369ms
time=2026-11-20T08:56:52.514Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T08:56:52.516Z level=INFO msg=connecting host=127.0.0.1:34221 protocol=28
time=2026-11-20T08:56:52.517Z level=INFO msg=connected host=127.0.0.1:34221 took=1.043ms
time=2026-11-20T08:56:52.517Z level=INFO msg="capabilities gathering"
time=2026-11-20T08:56:52.518Z level=INFO msg="capabilities gathered" took=977µs tags=linux,claude,go
time=2026-11-20T08:56:52.519Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T08:56:52.531Z 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.47s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-20T08:57:31.824Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T08:57:31.824Z level=INFO msg="startup phase done" phase=state_lock took=63µs
time=2026-11-20T08:57:31.824Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T08:57:31.824Z level=INFO msg="startup phase done" phase=claim_roots took=94µs
time=2026-11-20T08:57:31.824Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T08:57:31.852Z level=INFO msg="startup phase done" phase=sweep took=27.575ms
time=2026-11-20T08:57:31.852Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T08:57:31.852Z level=INFO msg="startup phase done" phase=credentials took=105µs
time=2026-11-20T08:57:31.852Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T08:57:31.891Z level=INFO msg="startup phase done" phase=open_state took=38.816ms
time=2026-11-20T08:57:31.891Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T08:57:31.892Z level=INFO msg=connecting host=127.0.0.1:45861 protocol=28
time=2026-11-20T08:57:31.893Z level=INFO msg=connected host=127.0.0.1:45861 took=1.121ms
time=2026-11-20T08:57:31.894Z level=INFO msg="capabilities gathering"
time=2026-11-20T08:57:31.894Z level=INFO msg="capabilities gathered" took=575µs tags=linux,claude,go
time=2026-11-20T08:57:31.899Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T08:57:31.900Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T08:57:32.985Z 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>)
time=2026-11-20T08:57:37.306Z level=WARN msg="tool effect" err=*fmt.wrapError
--- FAIL: TestBrowserEmptyExplore (5.86s)

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


receipt: test step 1m39.704s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 1m38.015s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.29s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 12.31s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 11.49s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 11.05s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 8.18s 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 a798a59719db02847e259add391071b1119a671e 6.47s 54.82
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest a798a59719db02847e259add391071b1119a671e 5.86s 54.82
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 49.90, cpu waiting 31.16%, memory waiting 0.00%, io waiting 0.29%
--- shard 22 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-rest: ./internal/equipo
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserPreviewBlocksNavigation)$' ./internal/equipo

receipt: test step 2.065s 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 604ms amadan.net/oficina/equipo/internal/equipo
receipt: slow test 600ms 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 2.898s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1.606s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/idtest TestBrowserOficinaIDDoor
browser lane browser-rest: ./internal/plan3test
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestTeamsHierarchyBrowser)$' ./internal/plan3test

receipt: test step 3.029s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1.779s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 1.78s 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 3m6.26s 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 3m4.622s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 17.45s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.35s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 10.48s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.03s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 7.67s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
machine: 32 CPUs, load 13.35, cpu waiting 7.77%, memory waiting 0.00%, io waiting 0.06%
--- 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   (58s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 5.15s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.44s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 10.89s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 10.82s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 27.13s
+ 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   (72s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 18.32s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 22.93s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 12.48s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 15.72s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (25s)
ok ./internal/headless TestMixedVersions 22.47s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.80s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (2s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.06s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 62.53, cpu waiting 39.95%, memory waiting 0.00%, io waiting 0.57%
--- 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 12.89s 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.792s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 218ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 74ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 7ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/gotoolchain
receipt: slow test 5.56s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.69s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 430ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 220ms 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 4.101s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 2.992s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 290ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 190ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 140ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceExitStatus
machine: 32 CPUs, load 22.30, cpu waiting 11.64%, memory waiting 0.00%, io waiting 1.41%
--- shard 25 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: runner-dead-references started 30s late; cpu waiting 37.5%, load 29.36
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2442 text files, 2846 matches, 0 failures
python3 scripts/ci-test.py check
lanes: 18 lanes and 5 browser lanes run every test once; 20-check@29
CGO_ENABLED=0 go build ./...
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o /dev/null ./cmd/equipo-runner
go vet ./...
go vet -tags testbuild ./internal/runner/thin ./internal/headless
GOOS=darwin GOARCH=arm64 go vet ./cmd/equipo-runner/... ./internal/runner/... ./internal/wire/... ./internal/release/...
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
budget size: 87 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.519s
machine: 32 CPUs, load 63.21, cpu waiting 41.05%, memory waiting 0.00%, io waiting 0.53%
--- shard 26 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: staticcheck started 30s late; cpu waiting 37.5%, load 26.35
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 54.78, cpu waiting 34.26%, memory waiting 0.00%, io waiting 0.80%
--- shard 27 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: govulncheck started 30s late; cpu waiting 37.5%, load 26.35
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 35.74, cpu waiting 23.53%, memory waiting 0.00%, io waiting 1.01%
--- shard 28 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: gitleaks started 30s late; cpu waiting 37.5%, load 26.35
shard 28: make gitleaks
8:56AM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
8:57AM INF 1042 commits scanned.
8:57AM INF scanned ~60063248 bytes (60.06 MB) in 22.4s
8:57AM INF no leaks found
machine: 32 CPUs, load 54.78, cpu waiting 34.26%, memory waiting 0.00%, io waiting 0.80%
=== 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.062ms, worst 1.114ms, budget 150ms
perf: GET /api/runner/protocol: median 77µs, worst 107µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 601µs, worst 648µs, budget 150ms
perf: GET /api/v1/accounts: median 424µs, worst 450µs, budget 150ms
perf: GET /api/v1/auth/devices: median 434µs, worst 474µs, budget 150ms
perf: GET /api/v1/budgets: median 493µs, worst 608µs, budget 150ms
perf: GET /api/v1/capabilities: median 258µs, worst 272µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.239ms, worst 1.358ms, budget 150ms
perf: GET /api/v1/connections: median 577µs, worst 631µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 537µs, worst 563µs, budget 150ms
perf: GET /api/v1/conversation: median 927µs, worst 975µs, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.52ms, worst 1.572ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.782ms, worst 1.9ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 462µs, worst 559µs, budget 150ms
perf: GET /api/v1/journey: median 9.142ms, worst 9.41ms, budget 150ms
perf: GET /api/v1/me: median 480µs, worst 584µs, budget 150ms
perf: GET /api/v1/me/settings: median 583µs, worst 666µs, budget 150ms
perf: GET /api/v1/needs-you: median 8.816ms, worst 9.526ms, budget 150ms
perf: GET /api/v1/notifications: median 1.649ms, worst 1.694ms, budget 150ms
perf: GET /api/v1/onboarding: median 413µs, worst 438µs, budget 150ms
perf: GET /api/v1/people: median 444µs, worst 466µs, budget 150ms
perf: GET /api/v1/playbooks: median 583µs, worst 608µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 501µs, worst 532µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 819µs, worst 869µs, budget 150ms
perf: GET /api/v1/preferences: median 766µs, worst 802µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 436µs, worst 455µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 579µs, worst 608µs, budget 150ms
perf: GET /api/v1/roster: median 464µs, worst 488µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 419µs, worst 434µs, budget 150ms
perf: GET /api/v1/specialists: median 7.921ms, worst 8.03ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 7.782ms, worst 7.904ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 815µs, worst 860µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.086ms, worst 1.151ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 692µs, worst 731µs, budget 150ms
perf: GET /api/v1/teams: median 416µs, worst 444µs, budget 150ms
perf: GET /api/v1/templates: median 594µs, worst 604µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 446µs, worst 468µs, budget 150ms
perf: GET /auth/callback: median 79µs, worst 99µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.19ms, worst 3.345ms, budget 150ms
perf: GET /auth/verify: median 74µs, worst 101µs, budget 150ms
perf: GET /connections: median 3.578ms, worst 3.692ms, budget 150ms
perf: GET /conversation: median 7.185ms, worst 7.339ms, budget 150ms
perf: GET /conversation/connections: median 253µs, worst 273µs, budget 150ms
perf: GET /conversation/notebook: median 235µs, worst 266µs, budget 150ms
perf: GET /conversation/settings: median 3.839ms, worst 3.923ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 3.682ms, worst 6.339ms, budget 150ms
perf: GET /conversation/settings/connections: median 6.185ms, worst 6.382ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 6.281ms, worst 6.409ms, budget 150ms
perf: GET /conversation/settings/copy: median 3.459ms, worst 3.542ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 3.964ms, worst 4.054ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.189ms, worst 4.348ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.247ms, worst 4.335ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.233ms, worst 3.381ms, budget 150ms
perf: GET /conversation/settings/thinking: median 3.792ms, worst 3.979ms, budget 150ms
perf: GET /housekeeping: median 3.759ms, worst 5.868ms, budget 150ms
perf: GET /invites/new: median 609µs, worst 646µs, budget 150ms
perf: GET /invites/{id}: median 661µs, worst 698µs, budget 150ms
perf: GET /jobs: median 3.247ms, worst 3.291ms, budget 150ms
perf: GET /jobs/{id}: median 4.341ms, worst 4.407ms, budget 150ms
perf: GET /journey: median 9.983ms, worst 10.237ms, budget 150ms
perf: GET /nav/rail: median 2.85ms, worst 2.888ms, budget 150ms
perf: GET /needs-you: median 9.696ms, worst 9.771ms, budget 150ms
perf: GET /onboarding: median 3.825ms, worst 3.993ms, budget 150ms
perf: GET /people: median 3.261ms, worst 3.357ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 4.645ms, worst 6.439ms, budget 150ms
perf: GET /playbooks: median 4.106ms, worst 4.322ms, budget 150ms
perf: GET /playbooks/new: median 4.107ms, worst 4.191ms, budget 150ms
perf: GET /playbooks/{id}: median 4.614ms, worst 4.738ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 4.593ms, worst 4.679ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 3.884ms, worst 3.925ms, budget 150ms
perf: GET /preferences: median 4.014ms, worst 4.097ms, budget 150ms
perf: GET /preferences/sources/{source}: median 3.829ms, worst 3.868ms, budget 150ms
perf: GET /projects: median 5.005ms, worst 5.177ms, budget 150ms
perf: GET /projects/accounts: median 3.426ms, worst 3.459ms, budget 150ms
perf: GET /projects/new: median 3.448ms, worst 3.601ms, budget 150ms
perf: GET /projects/{id}: median 10.503ms, worst 13.022ms, budget 150ms
perf: GET /projects/{id}/edit: median 3.574ms, worst 3.743ms, budget 150ms
perf: GET /runners/enrol: median 4.224ms, worst 4.32ms, budget 150ms
perf: GET /settings: median 3.315ms, worst 3.361ms, budget 150ms
perf: GET /settings/coordinator: median 5.223ms, worst 5.328ms, budget 150ms
perf: GET /settings/devices: median 3.122ms, worst 3.21ms, budget 150ms
perf: GET /settings/recovery: median 3.284ms, worst 3.37ms, budget 150ms
perf: GET /settings/recovery/release: median 3.258ms, worst 3.298ms, budget 150ms
perf: GET /settings/thinking: median 246µs, worst 257µs, budget 150ms
perf: GET /signin: median 312µs, worst 339µs, budget 150ms
perf: GET /specialists/new: median 3.215ms, worst 3.328ms, budget 150ms
perf: GET /specialists/{key}: median 12.748ms, worst 15.013ms, budget 150ms
perf: GET /specialists/{key}/edit: median 3.973ms, worst 4.085ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 3.985ms, worst 4.065ms, budget 150ms
perf: GET /tasks: median 5.618ms, worst 5.686ms, budget 150ms
perf: GET /tasks/new: median 3.438ms, worst 3.529ms, budget 150ms
perf: GET /tasks/{id}: median 6.005ms, worst 6.104ms, budget 150ms
perf: GET /tasks/{id}/merge: median 5.34ms, worst 5.447ms, budget 150ms
perf: GET /tasks/{id}/move: median 4.996ms, worst 5.016ms, budget 150ms
perf: GET /tasks/{id}/plan: median 5.504ms, worst 5.609ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.469ms, worst 1.525ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.069ms, worst 8.056ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 4.676ms, worst 4.78ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.154ms, worst 4.277ms, budget 150ms
perf: GET /tasks/{id}/thread: median 7.749ms, worst 7.969ms, budget 150ms
perf: GET /team/{specialist}: median 4.251ms, worst 4.365ms, budget 150ms
perf: GET /teams: median 11.55ms, worst 11.853ms, budget 150ms
perf: GET /templates: median 3.707ms, worst 3.774ms, budget 150ms
perf: GET /usage: median 4.428ms, worst 4.465ms, budget 150ms
perf: GET /work: median 3.209ms, worst 3.338ms, budget 150ms
perf: cold boot: median 255ms of [254.546518ms 254.750367ms 256.586778ms], budget 500ms

receipt: test step 46.248s 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.82s 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: 4.22 GiB in 25809 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 0.84 GiB in 27329 files
ci-box: build cache over 4.0 GiB: dropped 1.82 GiB this job did not read, kept 2.41 GiB
diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt
index 8811d71d..5342adda 100644
--- a/.rastrillo/budgets.txt
+++ b/.rastrillo/budgets.txt
@@ -26,7 +26,7 @@ time internal/runner/provider/claude 45s Task 5 measured 32.430s for fake CLI se
time internal/runner/provider/codex 35s Plan 3 CI repair measured 24.464s for the full package (controller CI 27.908s).
time internal/runner/provider/pi 60s The real pinned Pi in bubblewrap against a fake TensorX: probes P1 to P5 (a hundred RPC turns), the hostile repository, and the pinned tree checked whole (about 160 MB); measured 22s locally.
time internal/runner/provider/opencode 90s The real pinned OpenCode in bubblewrap against a fake Go: probes, the hostile repository per source, termination, resume; the 260 MB binary hashed per launch. Measured 40s.
-size internal/runner/provider 5598 - Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; measured 5598/4345 source/test lines.
+size internal/runner/provider 5603 - Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; measured 5603/4363 source/test lines (containment reasons logged).
time internal/plan3test 300s Initial cap for combined browser and runner acceptance; measure at both usable stops.
@@ -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 28013 21407 Fable follow-up gates and guards, then main started at repo creation; measured 28013/21407 source/test lines.
+size internal/runner/thin 28016 21446 Fable follow-up gates and guards, then main started at repo creation; measured 28016/21446 source/test lines (containment reasons logged).
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/provider/accounts.go b/internal/runner/provider/accounts.go
index edd6a829..5ce82146 100644
--- a/internal/runner/provider/accounts.go
+++ b/internal/runner/provider/accounts.go
@@ -8,7 +8,6 @@ import (
"encoding/hex"
"encoding/json"
"errors"
- "fmt"
"io"
"os"
"os/user"
@@ -900,6 +899,12 @@ func (l *AccountLease) PreflightFingerprint(ctx context.Context) (string, error)
return hex.EncodeToString(sum[:]), nil
}
-func accountContainment(reason string) error {
- return fmt.Errorf("%w: %s", ErrContainment, reason)
-}
+// containmentError is ErrContainment with its category, always a literal.
+type containmentError struct{ reason string }
+
+func (e containmentError) Error() string { return string(ErrContainment) + ": " + e.reason }
+func (e containmentError) Unwrap() error { return ErrContainment }
+func accountContainment(reason string) error { return containmentError{reason} }
+
+// ContainmentReason is a containment refusal's category, safe to log; "" otherwise.
+func ContainmentReason(err error) string { var c containmentError; errors.As(err, &c); return c.reason }
diff --git a/internal/runner/provider/token_test.go b/internal/runner/provider/token_test.go
index 8a9a129d..47798190 100644
--- a/internal/runner/provider/token_test.go
+++ b/internal/runner/provider/token_test.go
@@ -118,3 +118,21 @@ func TestClaudeTokenIdentity(t *testing.T) {
t.Fatal(err)
}
}
+
+// A containment refusal keeps its fixed category: the runner's log needs
+// it to say what changed in a copy, and it is never a path.
+func TestContainmentKeepsItsReason(t *testing.T) {
+ l := openTokenCopy(t, tokenFixture(t))
+ // A signed-in CLI records the account in its native config.
+ writeFake(t, filepath.Join(l.Binding().Home, ".claude.json"), `{"oauthAccount":{"emailAddress":"a@example.com","accountUuid":"u1"}}`)
+ err := l.CheckCopy(context.Background())
+ if !errors.Is(err, ErrContainment) {
+ t.Fatalf("changed account metadata accepted: %v", err)
+ }
+ if got := ContainmentReason(err); got != "runtime_claude_identity" {
+ t.Fatalf("reason %q", got)
+ }
+ if got := ContainmentReason(ErrPolicy); got != "" {
+ t.Fatalf("a policy refusal has containment reason %q", got)
+ }
+}
diff --git a/internal/runner/thin/claude.go b/internal/runner/thin/claude.go
index cb80a226..402d40c0 100644
--- a/internal/runner/thin/claude.go
+++ b/internal/runner/thin/claude.go
@@ -277,6 +277,9 @@ func (c *coordBase) log(msg string, err error) {
// sanitize keeps only provider error codes: no paths or provider output.
func sanitize(err error) string {
+ if reason := provider.ContainmentReason(err); reason != "" {
+ return string(provider.ErrContainment) + ": " + reason
+ }
var p provider.Error
if errors.As(err, &p) {
return string(p)
diff --git a/internal/runner/thin/copy_reason_test.go b/internal/runner/thin/copy_reason_test.go
new file mode 100644
index 00000000..5a78e489
--- /dev/null
+++ b/internal/runner/thin/copy_reason_test.go
@@ -0,0 +1,39 @@
+package thin
+
+import (
+ "context"
+ "encoding/json"
+ "os"
+ "path/filepath"
+ "testing"
+ "time"
+
+ "amadan.net/oficina/equipo/internal/runner/provider"
+)
+
+// The log keeps a containment refusal's fixed category (2026-11-20:
+// production logged only provider_account_containment).
+func TestSanitizeKeepsContainmentReason(t *testing.T) {
+ root := t.TempDir()
+ home := filepath.Join(root, "claude-1")
+ id := provider.Identity{AccountID: "token:claude-1", HomeID: "h", 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, provider.TokenFile), []byte("sk-ant-oat01-canary"), 0600) != nil {
+ t.Fatal("home")
+ }
+ b := provider.Binding{ID: "claude-1", Home: home, AccountID: id.AccountID, Provider: "claude", Token: true, Expected: id, RuntimeRoot: filepath.Join(root, "homes")}
+ l, err := provider.OpenRuntimeCopy(context.Background(), b, func(context.Context, provider.Binding) (provider.Identity, error) { return id, nil }, time.Second)
+ if err != nil {
+ t.Fatal(err)
+ }
+ defer l.Close()
+ if err = os.WriteFile(filepath.Join(l.Binding().Home, provider.TokenFile), []byte("x"), 0600); err != nil {
+ t.Fatal(err)
+ }
+ if got := sanitize(l.CheckCopy(context.Background())); got != "provider_account_containment: runtime_token_credential" {
+ t.Fatalf("logged %q", got)
+ }
+ if got := sanitize(provider.ErrPolicy); got != "provider_policy_rejected" {
+ t.Fatalf("logged %q", got)
+ }
+}