oficina / equipo Public

Merge branch 'thinking-line-steady' into main

Merge thinking-line-steady: a steady thinking line

Phrases hold for 1.5 s, old ones fade out before new ones, and refreshes no longer re-mount the line (the overlapping text Paul saw).
claude agent, operated by paul@keymail.dev 92b78dd856cf5673d4c332025b1651218aecad26 parent a15aab9parent e5e5826
4 files changed, +156 −13
  • .rastrillo/budgets.txt +1 −1
  • internal/equipo/static/chat-stream.js +45 −8
  • internal/equipo/static/equipo.css +3 −1
  • internal/thintest/thinking_browser_test.go +107 −3

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.1s
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 1.9s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.8s
ci-box: clone deepened in 3.2s
ci-box: file times set from content: 2730 files, 174 directories
ci-box: ready in 16.4s
=== 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.246s
=== 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  ./...
  3.4s
+ 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 1m26.851s 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 1m25.368s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m25.37s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 51.90, cpu waiting 33.42%, memory waiting 0.00%, io waiting 0.73%
--- 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 1m28.55s 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.16s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m27.16s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 51.90, cpu waiting 33.44%, memory waiting 0.00%, io waiting 0.71%
--- 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 1m30.487s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m28.793s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m17.61s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 6.11s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 5.07s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 50.62, cpu waiting 33.33%, memory waiting 0.00%, io waiting 0.68%
--- 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 1m25.085s 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 1m23.611s amadan.net/oficina/equipo/internal/headless
receipt: slow test 42.28s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 21.05s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.61s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.66s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 53.02, cpu waiting 33.51%, memory waiting 0.00%, io waiting 0.76%
--- 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 1m42.336s 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 1m40.858s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m4.41s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.48s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 10.19s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 8.82s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 5.95s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 46.35, cpu waiting 29.03%, memory waiting 0.00%, io waiting 0.56%
--- shard 5 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-rest: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestHeadless$/^4c_rebase$|^TestHeadless$/^4b_ask$|^TestHeadless$/^4c_checks_card$|^TestHeadless$/^4_step_crash$|^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$|^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$|^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$|^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless

receipt: test step 3m23.371s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 3m21.784s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m51.58s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 23.81s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 20.38s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 8.04s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.3s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 11.07, cpu waiting 5.53%, memory waiting 0.00%, io waiting 0.10%
--- shard 6 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane thintest: ./internal/thintest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test([^C]|C[^o]|Co[^n]|Con[^t])|^TestContract(Assistant|Outcome|Team|Handoff|HostAllowlist|HostIsPerPerson|Look|Use[A-Z]|RemoteCall|LanesRunAtOnce|NoMergeQuestionWhenGateMerges|PreviewHeldUntilPublishAnswer|PreviewNotHeldBelow19|PublishNeedsOwnerAnswer)' ./internal/thintest

receipt: test step 2m4.643s 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 2m3.168s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 7.59s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.71s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.66s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 3.39s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 3.25s amadan.net/oficina/equipo/internal/thintest TestContractTeamUpdatePersonNeeds
machine: 32 CPUs, load 34.14, cpu waiting 20.18%, memory waiting 0.00%, io waiting 0.38%
--- 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 1m21.912s 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.366s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.03s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.05s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.38s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.4s amadan.net/oficina/equipo/internal/thintest TestContractPreview
receipt: slow test 2.35s amadan.net/oficina/equipo/internal/thintest TestContractPublishNameTaken
machine: 32 CPUs, load 53.02, cpu waiting 33.59%, memory waiting 0.00%, io waiting 0.78%
--- shard 8 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-thin: ./internal/runner/thin
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/runner/thin
cache miss: amadan.net/oficina/equipo/internal/runner/thin: its inputs changed
budget note: internal/runner/thin took 4m34.106s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m47.046s 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 4m34.106s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 36.98s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.91s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
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.89s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 3.24, cpu waiting 1.36%, memory waiting 0.00%, io waiting 0.01%
--- shard 9 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-bug: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

receipt: test step 49.966s 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 48.774s amadan.net/oficina/equipo/internal/runner
receipt: slow test 28.74s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 42.52, cpu waiting 29.56%, memory waiting 0.00%, io waiting 1.34%
--- 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 57.013s 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 55.084s amadan.net/oficina/equipo/internal/runner
receipt: slow test 45.12s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 40.31s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.39s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.56s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 45.97, cpu waiting 31.53%, memory waiting 0.00%, io waiting 1.21%
--- 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 36.032s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 35.022s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.12s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.6s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.12s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.46s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 34.02, cpu waiting 19.89%, memory waiting 0.00%, io waiting 1.70%
--- 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 35.6%, load 21.59
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 1m5.574s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m3.613s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 26.7s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 26.66s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 24.61s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 22.12s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 22s amadan.net/oficina/equipo/internal/equipotest TestBudgetLoweringBelowUsage
machine: 32 CPUs, load 50.62, cpu waiting 31.67%, memory waiting 0.00%, io waiting 0.62%
--- 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 35.3%, load 21.59
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.008s 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.348s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 19.29s amadan.net/oficina/equipo/internal/equipotest TestProjectOwnersAreMembers
receipt: slow test 19.28s amadan.net/oficina/equipo/internal/equipotest TestProjectRetryAndRevision
receipt: slow test 19.27s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 19.26s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 19.24s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
machine: 32 CPUs, load 46.35, cpu waiting 28.12%, memory waiting 0.00%, io waiting 0.54%
--- 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 35.3%, load 21.59
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 1m10.82s 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.918s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 14.42s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.13s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.09s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 9.99s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 6.92s amadan.net/oficina/equipo/internal/equipotest TestRosterAuditFailureRollsBack
machine: 32 CPUs, load 49.77, cpu waiting 29.98%, memory waiting 0.00%, io waiting 0.58%
--- 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 35.6%, load 21.59
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 1m6.942s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m5.121s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 24.63s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 23.76s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 23.75s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 21.95s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
receipt: slow test 21.95s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsRollbackAndUnavailable
machine: 32 CPUs, load 49.77, cpu waiting 30.86%, memory waiting 0.00%, io waiting 0.60%
--- 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 35.6%, load 21.59
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 50.455s 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 48.407s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.5s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.45s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.53s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.47s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.19s amadan.net/oficina/equipo/internal/plan3test TestPlanMigrationUpgrade
machine: 32 CPUs, load 51.45, cpu waiting 33.24%, memory waiting 0.00%, io waiting 0.81%
--- 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 35.3%, load 21.59
test lane rest: ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: 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/runnerproto: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/testci: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
budget note: internal/equipo took 19.717s, 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 (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/idtest took 39.317s, 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 46.677s, over the 15s its record on line 40 allows; reported only, timing fails on CI

receipt: test step 2m26.695s against a 60s target (the gate's other steps are not in this figure)
receipt: 19 packages ran, 41 cached, 18 without tests, 0 failed
receipt: slow package 1m3.595s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 52.056s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 47.33s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 46.677s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow package 39.317s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 26.07s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 18.29s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 11.3s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringMissingModuleCache
receipt: slow test 11.19s amadan.net/oficina/equipo/internal/idtest TestIDCallbackGuardAndPendingNonce
receipt: slow test 10.63s amadan.net/oficina/equipo/cmd/equipo-runner TestReleaseRunnerHasNoFakeWorker
machine: 32 CPUs, load 15.41, cpu waiting 8.53%, memory waiting 0.00%, io waiting 0.15%
--- 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
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserChat
=== RUN   TestBrowserChat
time=2026-11-20T09:16:23.614Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T09:16:23.614Z level=INFO msg="startup phase done" phase=state_lock took=66µs
time=2026-11-20T09:16:23.614Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T09:16:23.614Z level=INFO msg="startup phase done" phase=claim_roots took=85µs
time=2026-11-20T09:16:23.614Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T09:16:23.672Z level=INFO msg="startup phase done" phase=sweep took=58.566ms
time=2026-11-20T09:16:23.672Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T09:16:23.673Z level=INFO msg="startup phase done" phase=credentials took=163µs
time=2026-11-20T09:16:23.673Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T09:16:23.761Z level=INFO msg="startup phase done" phase=open_state took=88.2ms
time=2026-11-20T09:16:23.761Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T09:16:23.762Z level=INFO msg=connecting host=127.0.0.1:37569 protocol=28
time=2026-11-20T09:16:23.764Z level=INFO msg=connected host=127.0.0.1:37569 took=1.994ms
time=2026-11-20T09:16:23.764Z level=INFO msg="capabilities gathering"
time=2026-11-20T09:16:23.771Z level=INFO msg="capabilities gathered" took=7.153ms tags=linux,claude,go
time=2026-11-20T09:16:23.778Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T09:16:23.787Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T09:16:26.001Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_test.go:46: waiting for [...document.querySelectorAll('[equipo-message="incoming"] [equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes('fake coordinator')): context deadline exceeded (last evaluation: <nil>)
--- FAIL: TestBrowserChat (6.19s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
=== RUN   TestBrowserChatSendStaysOnPage
time=2026-11-20T09:16:29.827Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T09:16:29.827Z level=INFO msg="startup phase done" phase=state_lock took=159µs
time=2026-11-20T09:16:29.827Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T09:16:29.828Z level=INFO msg="startup phase done" phase=claim_roots took=177µs
time=2026-11-20T09:16:29.828Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T09:16:29.869Z level=INFO msg="startup phase done" phase=sweep took=40.967ms
time=2026-11-20T09:16:29.869Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T09:16:29.869Z level=INFO msg="startup phase done" phase=credentials took=206µs
time=2026-11-20T09:16:29.869Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T09:16:29.941Z level=INFO msg="startup phase done" phase=open_state took=71.704ms
time=2026-11-20T09:16:29.941Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T09:16:29.942Z level=INFO msg=connecting host=127.0.0.1:38283 protocol=28
time=2026-11-20T09:16:29.948Z level=INFO msg=connected host=127.0.0.1:38283 took=6.508ms
time=2026-11-20T09:16:29.948Z level=INFO msg="capabilities gathering"
time=2026-11-20T09:16:29.949Z level=INFO msg="capabilities gathered" took=598µs tags=linux,claude,go
time=2026-11-20T09:16:29.955Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T09:16:29.959Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T09:16:32.024Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_test.go:108: waiting for [...document.querySelectorAll('[equipo-message="incoming"] [equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes('fake coordinator')): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserChatSendStaysOnPage (6.32s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m19.379s
FAIL	amadan.net/oficina/equipo/internal/headless	79.693s


receipt: test step 1m20.785s 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 1m19.379s amadan.net/oficina/equipo/internal/headless
receipt: slow test 38.93s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 15.27s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 8.02s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 6.32s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
receipt: slow test 6.19s amadan.net/oficina/equipo/internal/headless TestBrowserChat
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' -v -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserChat browser-headless-chat 92b78dd856cf5673d4c332025b1651218aecad26 6.19s 53.02
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserChatSendStaysOnPage browser-headless-chat 92b78dd856cf5673d4c332025b1651218aecad26 6.32s 53.02
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 49.77, cpu waiting 30.86%, memory waiting 0.00%, io waiting 0.60%
--- shard 19 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-work: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' ./internal/headless

receipt: test step 1m39.843s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m38.35s amadan.net/oficina/equipo/internal/headless
receipt: slow test 30.53s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 24.23s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 14.63s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 10.37s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 8.53s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 46.35, cpu waiting 29.98%, memory waiting 0.00%, io waiting 0.58%
--- 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 1m45.209s 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.694s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.98s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 13.98s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 13.08s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 10.75s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.24s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 43.12, cpu waiting 27.19%, memory waiting 0.00%, io waiting 0.52%
--- shard 21 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-rest: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserCopyContinue
rastrillo: budget test: go test failed
=== RUN   TestBrowserCopyContinue
time=2026-11-20T09:16:34.560Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T09:16:34.560Z level=INFO msg="startup phase done" phase=state_lock took=81µs
time=2026-11-20T09:16:34.560Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T09:16:34.560Z level=INFO msg="startup phase done" phase=claim_roots took=85µs
time=2026-11-20T09:16:34.560Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T09:16:34.628Z level=INFO msg="startup phase done" phase=sweep took=68.141ms
time=2026-11-20T09:16:34.628Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T09:16:34.628Z level=INFO msg="startup phase done" phase=credentials took=130µs
time=2026-11-20T09:16:34.628Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T09:16:34.732Z level=INFO msg="startup phase done" phase=open_state took=103.232ms
time=2026-11-20T09:16:34.734Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T09:16:34.738Z level=INFO msg=connecting host=127.0.0.1:42481 protocol=28
time=2026-11-20T09:16:34.741Z level=INFO msg=connected host=127.0.0.1:42481 took=2.484ms
time=2026-11-20T09:16:34.741Z level=INFO msg="capabilities gathering"
time=2026-11-20T09:16:34.741Z level=INFO msg="capabilities gathered" took=404µs tags=linux,claude,go
time=2026-11-20T09:16:34.742Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T09:16:34.766Z 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.50s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-20T09:17:12.315Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T09:17:12.315Z level=INFO msg="startup phase done" phase=state_lock took=67µs
time=2026-11-20T09:17:12.315Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T09:17:12.315Z level=INFO msg="startup phase done" phase=claim_roots took=81µs
time=2026-11-20T09:17:12.316Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T09:17:12.344Z level=INFO msg="startup phase done" phase=sweep took=28.632ms
time=2026-11-20T09:17:12.344Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T09:17:12.345Z level=INFO msg="startup phase done" phase=credentials took=241µs
time=2026-11-20T09:17:12.345Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T09:17:12.393Z level=INFO msg="startup phase done" phase=open_state took=48.71ms
time=2026-11-20T09:17:12.394Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T09:17:12.395Z level=INFO msg=connecting host=127.0.0.1:45723 protocol=28
time=2026-11-20T09:17:12.396Z level=INFO msg=connected host=127.0.0.1:45723 took=926µs
time=2026-11-20T09:17:12.396Z level=INFO msg="capabilities gathering"
time=2026-11-20T09:17:12.396Z level=INFO msg="capabilities gathered" took=373µs tags=linux,claude,go
time=2026-11-20T09:17:12.397Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T09:17:12.401Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T09:17:13.618Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_receipts_test.go:169: waiting for [...document.querySelectorAll('[equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes("I'm your coordinator")): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserEmptyExplore (5.93s)

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


receipt: test step 1m37.674s 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.255s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.27s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 12.7s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 11.09s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.65s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 8.14s 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 92b78dd856cf5673d4c332025b1651218aecad26 6.50s 49.77
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest 92b78dd856cf5673d4c332025b1651218aecad26 5.93s 49.77
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 43.12, cpu waiting 25.44%, memory waiting 0.00%, io waiting 0.49%
--- 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.047s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 618ms amadan.net/oficina/equipo/internal/equipo
receipt: slow test 620ms 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.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 1.684s 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 3.197s 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.828s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 1.83s amadan.net/oficina/equipo/internal/plan3test TestTeamsHierarchyBrowser
browser lane browser-rest: ./internal/thintest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAccessEmojiByline|TestBrowserAccessFinalOutcomes|TestBrowserAccessRequest|TestBrowserAccessReview|TestBrowserActivitySubjects|TestBrowserAutonomySettings|TestBrowserCoordinatorQueue|TestBrowserEmptyConversation|TestBrowserHousekeeping|TestBrowserInnerGallery|TestBrowserInnerScreens|TestBrowserInstantThinking|TestBrowserInstantThinkingQueued|TestBrowserMachines|TestBrowserPhoneIndex|TestBrowserPlacementQuestionAndPending|TestBrowserProjectPlacement|TestBrowserProjectsList|TestBrowserReportActionFeedback|TestBrowserReportNextSteps|TestBrowserReportThread|TestBrowserRollup|TestBrowserRosterAlignment|TestBrowserRosterDecisionStates|TestBrowserRosterQuietDay|TestBrowserRosterReports|TestBrowserRosterSetAside|TestBrowserRosterSubchat|TestBrowserRosterThinking|TestBrowserRosterVisual|TestBrowserSettingsHousekeepingGroups|TestBrowserSettingsMenu|TestBrowserSettingsRail|TestBrowserSettingsSaveBar|TestBrowserSettingsShots|TestBrowserSettingsStayOnPage|TestBrowserSettingsTeams|TestBrowserShipsButtons|TestBrowserSpecialistRows|TestBrowserSpendFollowsAnswers|TestBrowserTaskRows|TestBrowserTeamPanel|TestBrowserThinkingCycles|TestBrowserThinkingLinesClear|TestBrowserThinkingSteady|TestBrowserThinkingWords|TestBrowserTokenRowEmail|TestBrowserTrackPulse|TestBrowserTrackStarCentre)$' ./internal/thintest

receipt: test step 3m18.136s 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 3m16.644s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 17.12s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.33s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 11.95s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.51s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 8.2s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
machine: 32 CPUs, load 10.26, cpu waiting 5.18%, memory waiting 0.00%, io waiting 0.09%
--- 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   (56s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 5.42s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.48s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 10.13s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 11.01s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 26.37s
+ 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   (63s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 18.94s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 13.65s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 11.97s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 15.94s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (24s)
ok ./internal/headless TestMixedVersions 21.88s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.81s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (0s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.06s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 46.30, cpu waiting 32.11%, memory waiting 0.00%, io waiting 1.10%
--- 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 10.856s 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.37s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 170ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 68ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 2ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/gotoolchain
receipt: slow test 5.36s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.62s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 290ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 170ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 90ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxToolchain
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run '^TestNamespace' -count=1 ./internal/runner/containment
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run '^TestNamespace' -count=1 ./internal/runner/containment

receipt: test step 3.322s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 3.005s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 280ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 180ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 140ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceExitStatus
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryMalformedRecord
machine: 32 CPUs, load 14.90, cpu waiting 7.22%, memory waiting 0.00%, io waiting 2.45%
--- 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 35.6%, load 21.59
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2444 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.475s
machine: 32 CPUs, load 45.97, cpu waiting 31.81%, memory waiting 0.00%, io waiting 1.17%
--- 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 35.6%, load 21.59
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 38.83, cpu waiting 24.43%, memory waiting 0.00%, io waiting 1.53%
--- 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 35.3%, load 21.59
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 34.02, cpu waiting 19.89%, memory waiting 0.00%, io waiting 1.70%
--- 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 35.3%, load 21.59
shard 28: make gitleaks
9:16AM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
9:16AM INF 1047 commits scanned.
9:16AM INF scanned ~60092026 bytes (60.09 MB) in 19.8s
9:16AM INF no leaks found
machine: 32 CPUs, load 42.52, cpu waiting 28.16%, memory waiting 0.00%, io waiting 1.39%
=== 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.063ms, worst 1.105ms, budget 150ms
perf: GET /api/runner/protocol: median 80µs, worst 101µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 585µs, worst 651µs, budget 150ms
perf: GET /api/v1/accounts: median 442µs, worst 476µs, budget 150ms
perf: GET /api/v1/auth/devices: median 441µs, worst 484µs, budget 150ms
perf: GET /api/v1/budgets: median 514µs, worst 573µs, budget 150ms
perf: GET /api/v1/capabilities: median 246µs, worst 271µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.375ms, worst 1.482ms, budget 150ms
perf: GET /api/v1/connections: median 579µs, worst 686µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 562µs, worst 626µs, budget 150ms
perf: GET /api/v1/conversation: median 956µs, worst 1.035ms, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.603ms, worst 4.928ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.785ms, worst 1.913ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 468µs, worst 494µs, budget 150ms
perf: GET /api/v1/journey: median 9.247ms, worst 9.44ms, budget 150ms
perf: GET /api/v1/me: median 494µs, worst 567µs, budget 150ms
perf: GET /api/v1/me/settings: median 577µs, worst 626µs, budget 150ms
perf: GET /api/v1/needs-you: median 8.766ms, worst 9.081ms, budget 150ms
perf: GET /api/v1/notifications: median 1.672ms, worst 1.764ms, budget 150ms
perf: GET /api/v1/onboarding: median 400µs, worst 429µs, budget 150ms
perf: GET /api/v1/people: median 451µs, worst 499µs, budget 150ms
perf: GET /api/v1/playbooks: median 577µs, worst 610µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 549µs, worst 594µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 852µs, worst 903µs, budget 150ms
perf: GET /api/v1/preferences: median 771µs, worst 809µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 447µs, worst 486µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 583µs, worst 617µs, budget 150ms
perf: GET /api/v1/roster: median 462µs, worst 511µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 498µs, worst 518µs, budget 150ms
perf: GET /api/v1/specialists: median 8.281ms, worst 8.642ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 7.948ms, worst 8.155ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 841µs, worst 884µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.119ms, worst 1.166ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 796µs, worst 838µs, budget 150ms
perf: GET /api/v1/teams: median 476µs, worst 517µs, budget 150ms
perf: GET /api/v1/templates: median 612µs, worst 649µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 441µs, worst 461µs, budget 150ms
perf: GET /auth/callback: median 81µs, worst 96µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.222ms, worst 3.274ms, budget 150ms
perf: GET /auth/verify: median 83µs, worst 110µs, budget 150ms
perf: GET /connections: median 3.594ms, worst 3.703ms, budget 150ms
perf: GET /conversation: median 7.669ms, worst 10.15ms, budget 150ms
perf: GET /conversation/connections: median 244µs, worst 301µs, budget 150ms
perf: GET /conversation/notebook: median 251µs, worst 272µs, budget 150ms
perf: GET /conversation/settings: median 3.98ms, worst 4.131ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 3.614ms, worst 3.642ms, budget 150ms
perf: GET /conversation/settings/connections: median 6.529ms, worst 6.701ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 6.482ms, worst 6.77ms, budget 150ms
perf: GET /conversation/settings/copy: median 3.554ms, worst 3.649ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 4.02ms, worst 4.114ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.309ms, worst 4.546ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.578ms, worst 6.877ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.426ms, worst 3.52ms, budget 150ms
perf: GET /conversation/settings/thinking: median 3.882ms, worst 3.992ms, budget 150ms
perf: GET /housekeeping: median 3.653ms, worst 3.727ms, budget 150ms
perf: GET /invites/new: median 588µs, worst 691µs, budget 150ms
perf: GET /invites/{id}: median 603µs, worst 622µs, budget 150ms
perf: GET /jobs: median 3.203ms, worst 3.422ms, budget 150ms
perf: GET /jobs/{id}: median 4.342ms, worst 4.423ms, budget 150ms
perf: GET /journey: median 10.17ms, worst 10.353ms, budget 150ms
perf: GET /nav/rail: median 2.84ms, worst 2.951ms, budget 150ms
perf: GET /needs-you: median 10.539ms, worst 12.08ms, budget 150ms
perf: GET /onboarding: median 3.941ms, worst 4.265ms, budget 150ms
perf: GET /people: median 3.278ms, worst 3.465ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 4.593ms, worst 4.709ms, budget 150ms
perf: GET /playbooks: median 4.048ms, worst 4.178ms, budget 150ms
perf: GET /playbooks/new: median 4.22ms, worst 4.264ms, budget 150ms
perf: GET /playbooks/{id}: median 4.74ms, worst 4.874ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 4.648ms, worst 4.809ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 3.931ms, worst 4.001ms, budget 150ms
perf: GET /preferences: median 4.107ms, worst 4.287ms, budget 150ms
perf: GET /preferences/sources/{source}: median 3.965ms, worst 6.271ms, budget 150ms
perf: GET /projects: median 5.505ms, worst 5.747ms, budget 150ms
perf: GET /projects/accounts: median 3.724ms, worst 3.878ms, budget 150ms
perf: GET /projects/new: median 3.768ms, worst 4.101ms, budget 150ms
perf: GET /projects/{id}: median 10.363ms, worst 10.643ms, budget 150ms
perf: GET /projects/{id}/edit: median 3.732ms, worst 3.997ms, budget 150ms
perf: GET /runners/enrol: median 4.32ms, worst 4.421ms, budget 150ms
perf: GET /settings: median 3.361ms, worst 3.538ms, budget 150ms
perf: GET /settings/coordinator: median 5.569ms, worst 6.042ms, budget 150ms
perf: GET /settings/devices: median 3.215ms, worst 3.322ms, budget 150ms
perf: GET /settings/recovery: median 3.64ms, worst 5.467ms, budget 150ms
perf: GET /settings/recovery/release: median 3.487ms, worst 3.606ms, budget 150ms
perf: GET /settings/thinking: median 241µs, worst 281µs, budget 150ms
perf: GET /signin: median 325µs, worst 333µs, budget 150ms
perf: GET /specialists/new: median 3.44ms, worst 3.657ms, budget 150ms
perf: GET /specialists/{key}: median 12.818ms, worst 13.723ms, budget 150ms
perf: GET /specialists/{key}/edit: median 3.927ms, worst 4.032ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 4.052ms, worst 4.117ms, budget 150ms
perf: GET /tasks: median 5.688ms, worst 5.777ms, budget 150ms
perf: GET /tasks/new: median 3.431ms, worst 3.532ms, budget 150ms
perf: GET /tasks/{id}: median 6.284ms, worst 6.692ms, budget 150ms
perf: GET /tasks/{id}/merge: median 5.624ms, worst 7.179ms, budget 150ms
perf: GET /tasks/{id}/move: median 5.06ms, worst 5.191ms, budget 150ms
perf: GET /tasks/{id}/plan: median 5.598ms, worst 5.77ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.537ms, worst 1.619ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.108ms, worst 5.208ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 4.741ms, worst 5.006ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.413ms, worst 4.609ms, budget 150ms
perf: GET /tasks/{id}/thread: median 7.696ms, worst 7.94ms, budget 150ms
perf: GET /team/{specialist}: median 4.284ms, worst 4.359ms, budget 150ms
perf: GET /teams: median 11.985ms, worst 14.821ms, budget 150ms
perf: GET /templates: median 3.839ms, worst 3.963ms, budget 150ms
perf: GET /usage: median 4.538ms, worst 4.623ms, budget 150ms
perf: GET /work: median 3.272ms, worst 3.339ms, budget 150ms
perf: cold boot: median 257ms of [256.327427ms 257.100316ms 259.360702ms], budget 500ms

receipt: test step 35.515s 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.948s amadan.net/oficina/equipo/internal/equipotest
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-runner
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-tool-proxy
receipt: slow package 0s amadan.net/oficina/equipo/internal/advice
receipt: slow package 0s amadan.net/oficina/equipo/internal/attach
receipt: slow test 8.12s 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.71 GiB in 23324 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 ae780fe2..50085f19 100644
--- a/.rastrillo/budgets.txt
+++ b/.rastrillo/budgets.txt
@@ -71,7 +71,7 @@ perf GET /tasks/{id}/files/{file} skip Research kept images: the bytes of one im
perf GET /api/v1/runners skip Mac runners person API: bearer-only JSON for devices; the browser shows runners in the Team section.
time cmd/equipo-runner 60s TestReleaseRunnerHasNoFakeWorker builds the release runner and the thin package under testbuild (about 12s locally).
size internal/headless - 11319 Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; live staging witnesses; measured 0/11319 source/test lines (live first-stage check).
-size internal/thintest - 32234 Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; empty conversation page and browser checks; measured 1515/32091 source/test lines.
+size internal/thintest - 32338 Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; empty conversation page and browser checks; measured 1515/32338 source/test lines.
perf GET /api/v1/projects/{id}/merge-policy skip Merge authority person API: bearer-only JSON for devices; the browser reads the policy on /projects/{id}.
perf GET /api/v1/usage skip Thin v1 person API: bearer-only JSON for devices; the browser reads usage through /usage.
diff --git a/internal/equipo/static/chat-stream.js b/internal/equipo/static/chat-stream.js
index 8182acf4..a7e9f0df 100644
--- a/internal/equipo/static/chat-stream.js
+++ b/internal/equipo/static/chat-stream.js
@@ -167,10 +167,29 @@
}
return list[deal(key, list.length) % list.length];
}
+ // Each phrase stays at least DWELL ms (Paul, 2026-11-20: "the
+ // thinking kept flashing quite quickly"): a turn's first moments bring
+ // thinking, a tool's label and then its named one, all within a second.
+ // An activity that comes sooner waits, and only the latest waiting one
+ // is drawn; the accessible label and tooltip follow it at once.
+ var DWELL = 1500;
+ function want(li, label) {
+ li.wanted = label;
+ if (li.waiting) return;
+ var wait = DWELL - (Date.now() - (li.shownAt || 0));
+ if (wait <= 0) return flush(li);
+ li.waiting = setTimeout(function () { flush(li); }, wait);
+ }
+ function flush(li) {
+ var label = li.wanted;
+ li.waiting = 0;
+ li.wanted = null;
+ if (label !== null && label !== undefined) draw(li, themed(li, label), false);
+ }
// The next phrase of the situation, when its time has come.
function cycle(li) {
var list = phrases(li);
- if (list.length < 2 || !li.wordKey || Date.now() - (li.wordAt || 0) < li.wordDelay) return;
+ if (li.waiting || list.length < 2 || !li.wordKey || Date.now() - (li.wordAt || 0) < li.wordDelay) return;
li.wordDelay = nextDelay();
li.wordAt = Date.now();
draw(li, list[deal(li.wordKey, list.length) % list.length], false);
@@ -222,6 +241,7 @@
if (keep < b.length) while (keep > 0 && !/[\s…]/.test(b[keep - 1])) keep--;
}
li.phrase = text;
+ li.shownAt = Date.now();
var measure = phrase.querySelector("[data-measure]");
measure.textContent = text;
var natural = measure.offsetWidth + 1;
@@ -233,6 +253,9 @@
var gap=parseFloat(getComputedStyle(line).columnGap)||0;
room=Math.floor(line.clientWidth-(elapsed?elapsed.offsetWidth:0)-(sep?sep.offsetWidth:0)-gap*3-8);
}
+ // One phrase at a time: the old one fades in .2 s, before the new
+ // one's letters start (equipo.css), and one still fading goes now.
+ phrase.querySelectorAll("[data-out]").forEach(function (old) { old.remove(); });
phrase.querySelectorAll("[data-in]").forEach(function (old) {
old.removeAttribute("data-in");
old.setAttribute("data-out", "");
@@ -240,7 +263,7 @@
if (i < keep) c.style.visibility = "hidden";
else c.style.setProperty("--n", 0);
});
- setTimeout(function () { old.remove(); }, 600);
+ setTimeout(function () { old.remove(); }, 250);
});
var next = letters(text, keep);
next.setAttribute("data-in", "");
@@ -267,7 +290,7 @@
span.textContent = label;
var line = li.querySelector("[equipo-activity-line]");
if (line) line.title = label;
- draw(li, themed(li, label), false);
+ want(li, label);
}
// The line gives way (the first words arrived) or comes back (a tool
// after text).
@@ -842,7 +865,7 @@
card.querySelectorAll("textarea, input:not([type=hidden])").forEach(function (el) { if (values[el.name]) { el.value = values[el.name]; el.closest("form").setAttribute("data-has-content", ""); } });
});
feed.querySelectorAll("[data-message]").forEach(function (el) { shown[el.dataset.message] = true; });
- feed.replaceChildren.apply(feed, Array.from(next.children).map(function (el) {
+ var items = Array.from(next.children).map(function (el) {
var fresh = el.matches('[equipo-message="incoming"][data-turn-id]') && !shown[el.dataset.message];
var turn = el.hasAttribute("equipo-thinking") ? el.dataset.turn : fresh ? el.dataset.turnId : "";
var old = turn && keep[turn];
@@ -875,16 +898,17 @@
return old;
}
return settle(old, el);
- }).filter(Boolean));
+ }).filter(Boolean);
+ // A stale page lacks lines for turns that started since: they stay.
+ if (stale) Object.keys(keep).forEach(function (turn) { if (!ended[turn] && !queued[turn]) items.push(keep[turn]); });
+ // Lines shown since a send that no turn has adopted yet come last.
+ arrange(items.concat(pending));
if (window.equipoPulse) window.equipoPulse(feed);
if(cardFocus) {
var target=feed.querySelector('[data-card="'+CSS.escape(cardFocus.id)+'"] [name="'+CSS.escape(cardFocus.name)+'"]');
if(target) {target.focus({preventScroll:true});if(target.setSelectionRange)target.setSelectionRange(cardFocus.start,cardFocus.end);}
}
- // A stale page lacks lines for turns that started since: they stay.
- if (stale) Object.keys(keep).forEach(function (turn) { if (!ended[turn] && !queued[turn]) feed.append(keep[turn]); });
local.forEach(function (el) { place(el); });
- pending.forEach(function (el) { feed.append(el); });
Object.keys(drafts).forEach(function (turn) {
if (feed.querySelector('[equipo-thinking][data-turn="' + CSS.escape(turn) + '"], [data-roster-turn="' + CSS.escape(turn) + '"] [equipo-thread-draft]')) showDraft(turn);
});
@@ -893,6 +917,19 @@
scroll();
});
}
+ // arrange makes the feed the items, in order, moving only what must
+ // move: an element taken out and put back starts its animations again,
+ // so a thinking line kept across a refresh drew every fading phrase
+ // over the new one (Paul, 2026-11-20).
+ function arrange(items) {
+ var keep = new Set(items);
+ Array.from(feed.children).forEach(function (el) { if (!keep.has(el)) el.remove(); });
+ var at = feed.firstElementChild;
+ items.forEach(function (el) {
+ if (el === at) at = at.nextElementSibling;
+ else feed.insertBefore(el, at);
+ });
+ }
function apply(type, data) {
var e = JSON.parse(data);
if (e.cursor <= cursor) return;
diff --git a/internal/equipo/static/equipo.css b/internal/equipo/static/equipo.css
index 6a6c7301..3a897049 100644
--- a/internal/equipo/static/equipo.css
+++ b/internal/equipo/static/equipo.css
@@ -232,7 +232,9 @@ html:has([equipo-conversation]) { overflow: hidden; scrollbar-gutter: auto; }
[equipo-phrase] > span > span { display: inline-block; white-space: pre; }
[equipo-phrase] > [data-in] > span { animation: equipo-letter-in .32s ease-out calc(.2s + var(--n) * var(--stagger, 14ms)) both, equipo-wave 3.2s ease-in-out calc(.7s + var(--j) * 45ms) infinite; }
[equipo-phrase] > [data-in] > [data-keep] { animation: equipo-wave 3.2s ease-in-out calc(.7s + var(--j) * 45ms) infinite; }
-[equipo-phrase] > [data-out] > span, [equipo-activity-line][data-leaving] [equipo-phrase] > span > span { animation: equipo-letter-out .6s ease both; }
+/* The old phrase is gone in .2 s, as the new one's letters start. */
+[equipo-phrase] > [data-out] > span { animation: equipo-letter-out .2s ease-in both; }
+[equipo-activity-line][data-leaving] [equipo-phrase] > span > span { animation: equipo-letter-out .6s ease both; }
@keyframes equipo-letter-in { from { opacity: 0; transform: translateY(.18em); } }
@keyframes equipo-letter-out { to { opacity: 0; transform: translateY(-.15em); } }
@keyframes equipo-wave { 0%, 22%, 100% { color: var(--rst-text); } 8% { color: var(--rst-accent); } }
diff --git a/internal/thintest/thinking_browser_test.go b/internal/thintest/thinking_browser_test.go
index ff921bfc..8ea337d5 100644
--- a/internal/thintest/thinking_browser_test.go
+++ b/internal/thintest/thinking_browser_test.go
@@ -7,6 +7,7 @@ import (
"encoding/json"
"fmt"
"testing"
+ "time"
"amadan.net/oficina/equipo/internal/wire"
"github.com/chromedp/cdproto/cdp"
@@ -97,7 +98,8 @@ func TestBrowserThinkingWords(t *testing.T) {
// phrases come from a shuffled deck, none again until all have shown,
// across two turns (a reload keeps only localStorage); after the deck runs
// out the next is none of the last three; a tool shows its plain label
-// at once; under reduced motion the thinking words still change.
+// once the phrase before has had its 1.5 s; under reduced motion the
+// thinking words still change.
//
// The page's clock stands still but for the test (clock below): each
// phrase is held to just under its minimum while the phrase timer looks,
@@ -217,11 +219,11 @@ func TestBrowserThinkingCycles(t *testing.T) {
}
}
dwelt(from)
- // A tool activity: its plain label at once.
+ // A tool activity: its plain label, after the phrase's dwell.
if err := r.runner.Send(r.ctx, "cyc-read-"+motion, wire.FrameActivity, wire.ActivityReport{TurnID: r.turn, Attempt: 1, Kind: wire.ActivityTool, Tool: wire.ToolReadFile}); err != nil {
t.Fatal(err)
}
- p.wait(phrase+`==='Reading the code…'`, "a plain reading label at once")
+ p.wait(phrase+`==='Reading the code…'`, "a plain reading label after the dwell")
if motion == "reduce" {
p.check(`getComputedStyle(document.querySelector('[equipo-sparkle] path')).animationName==='none'`, "the mark moves under reduced motion")
}
@@ -231,3 +233,105 @@ func TestBrowserThinkingCycles(t *testing.T) {
}
}
}
+
+// TestBrowserThinkingSteady: Paul on staging, 2026-11-20: "When it was
+// responding, the thinking kept flashing quite quickly." A turn's first
+// moments bring a burst: thinking, the runner's tool label and then the
+// instance's named one, and cards whose refreshes re-rendered the feed.
+// Every activity drew a phrase at once over the ones still fading, and
+// each refresh took the line out and put it back, so every fading phrase
+// started its animation again on top of the new one. Now each phrase
+// stays at least 1.5 s and the latest waiting one follows, one phrase
+// shows at a time, a refresh leaves the line where it is, and the timer
+// counts the whole turn.
+func TestBrowserThinkingSteady(t *testing.T) {
+ r := newToolRig(t)
+ if err := r.runner.Send(r.ctx, "r-first", wire.FrameReply, wire.Reply{TurnID: r.turn, Attempt: 1, Text: "First."}); err != nil {
+ t.Fatal(err)
+ }
+ r.wait("replied", func(c *Conversation) bool { return c.Turns[r.turn].State == wire.TurnReplied })
+ // The page's record: each phrase drawn, the most phrases visible at
+ // once (letters a new phrase keeps from the old one are the old
+ // ones'), how often a phrase's animation started again, and the timer
+ // each frame.
+ const watch = `(()=>{window.__drawn=[];window.__most=0;window.__again=0;window.__timer=[];const once=new WeakSet(),began=new WeakMap();` +
+ `new MutationObserver(()=>{for(const e of document.querySelectorAll('[equipo-phrase] > [data-in]'))if(!once.has(e)&&once.add(e))__drawn.push({text:e.textContent,at:performance.now()})}).observe(document,{childList:true,subtree:true});` +
+ `const frame=()=>{const layers=[...document.querySelectorAll('[equipo-phrase] > [data-in], [equipo-phrase] > [data-out]')];__most=Math.max(__most,layers.filter(l=>[...l.children].some(c=>{const s=getComputedStyle(c);return !c.hasAttribute('data-keep')&&s.visibility!=='hidden'&&Number(s.opacity)>.1})).length);` +
+ `for(const l of layers){const w=l.firstElementChild?.getAnimations().find(a=>a.animationName==='equipo-wave');if(!w||w.startTime===null)continue;if(!began.has(l))began.set(l,w.startTime);else if(began.get(l)!==w.startTime){began.set(l,w.startTime);__again++}}` +
+ `const e=document.querySelector('[equipo-elapsed]');if(e&&e.textContent)__timer.push(parseInt(e.textContent));requestAnimationFrame(frame)};requestAnimationFrame(frame)})()`
+ p := openInner(t, r.inst.URL, r.inst.Cookie(), 1280, 900, false, "light", "no-preference")
+ defer p.stop()
+ p.do(chromedp.Func(func(ctx context.Context, target *chromedp.Target) error {
+ _, err := cdp.Call(ctx, target, page.AddScriptToEvaluateOnNewDocument, page.AddScriptToEvaluateOnNewDocumentParams{Source: watch})
+ return err
+ }))
+ p.open("/conversation")
+ p.wait(`document.querySelector('#composer textarea')`, "the composer")
+ sent := time.Now()
+ p.check(`(()=>{const box=document.querySelector('#composer textarea');box.value='Fix the swipe';box.dispatchEvent(new Event('input'));document.querySelector('#composer').requestSubmit();return true})()`, "send")
+ f, body, err := r.runner.Expect(r.ctx, wire.FrameMessage)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if err := r.runner.Send(r.ctx, "a-fix", wire.FrameAck, wire.Ack{ID: f.ID}); err != nil {
+ t.Fatal(err)
+ }
+ r.turn = body.(*wire.MessageCommand).TurnID
+ p.wait(`document.querySelector('[equipo-thinking][data-turn=`+jsString(r.turn)+`]')`, "the turn's line")
+ act := func(id, kind, tool string) {
+ t.Helper()
+ if err := r.runner.Send(r.ctx, id, wire.FrameActivity, wire.ActivityReport{TurnID: r.turn, Attempt: 1, Kind: kind, Tool: tool}); err != nil {
+ t.Fatal(err)
+ }
+ }
+ from := eval[int](p, `__drawn.length`)
+ burst := time.Now()
+ act("s1", wire.ActivityThink, "")
+ act("s2", wire.ActivityTool, wire.ToolRecordTask)
+ task := taskID(t, r.call("s-rec", wire.ToolRecordTask, map[string]string{"repo": "oficina/sample", "title": "Swipe back", "brief": "x"}))
+ act("s3", wire.ActivityThink, "")
+ act("s4", wire.ActivityTool, wire.ToolStartTask)
+ r.call("s-start", wire.ToolStartTask, map[string]string{"task": task, "brief": "go"})
+ r.expect(wire.FrameDispatch)
+ act("s5", wire.ActivityThink, "")
+ took := time.Since(burst)
+ words, _ := r.client.Thinking(r.ctx)
+ var think []string
+ for _, s := range words.Sets {
+ if s.ID == wire.DefaultThinking {
+ think = s.Phrases["think"]
+ }
+ }
+ thinks, _ := json.Marshal(think)
+ line := `document.querySelector('[equipo-thinking][data-turn=` + jsString(r.turn) + `]')`
+ p.wait(line+`?.querySelector('[equipo-activity]').textContent==='Thinking' && document.querySelector('[data-card]')`, "the latest activity for screen readers, and the task's card")
+ // The latest waiting phrase comes once the one before has had its time.
+ p.wait(`(()=>{const d=__drawn.slice(`+fmt.Sprint(from)+`);return d.length>0 && performance.now()-d[d.length-1].at>1700 && `+string(thinks)+`.includes(d[d.length-1].text)})()`, "the burst settles on a thinking phrase")
+ drawn := eval[[]map[string]any](p, `__drawn.slice(`+fmt.Sprint(from)+`)`)
+ if most := 2 + int(took/(1500*time.Millisecond)); len(drawn) > most {
+ t.Fatalf("%d phrases for a burst of %s, want at most %d: %v", len(drawn), took, most, drawn)
+ }
+ all := eval[[]map[string]any](p, `__drawn`)
+ for i := 1; i < len(all); i++ {
+ if gap := all[i]["at"].(float64) - all[i-1]["at"].(float64); gap < 1450 {
+ t.Fatalf("%q came %.0f ms after %q: %v", all[i]["text"], gap, all[i-1]["text"], all)
+ }
+ }
+ if most := eval[int](p, `__most`); most > 1 {
+ t.Fatalf("%d phrases visible at once", most)
+ }
+ if again := eval[int](p, `__again`); again > 0 {
+ t.Fatalf("a phrase's animation started again %d times while the turn ran", again)
+ }
+ timer := eval[[]int](p, `__timer`)
+ for i := 1; i < len(timer); i++ {
+ if timer[i] < timer[i-1] {
+ t.Fatalf("the timer went from %ds to %ds", timer[i-1], timer[i])
+ }
+ }
+ // It shows whole seconds, a tick a second: up to two behind.
+ if got, since := timer[len(timer)-1], time.Since(sent); got < int(since.Seconds())-2 {
+ t.Fatalf("the timer shows %ds, %s after the send", got, since)
+ }
+ p.stayed("the burst")
+}