oficina / equipo Public

Merge remote-tracking branch 'origin/main' into failed-turn-carried

# Conflicts:
#	.rastrillo/budgets.txt
claude pushed by paul@keymail.dev c8e921d1d1e7eb9771d1b4793909d35946ce4c27 parent f74ae16parent 92b78dd
13 files changed, +447 −22
  • .rastrillo/budgets.txt +3 −3
  • docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md +1 −0
  • internal/equipo/chat_roster.go +1 −1
  • internal/equipo/copy.go +1 −0
  • internal/equipo/static/chat-stream.js +56 −9
  • internal/equipo/static/equipo.css +22 −1
  • internal/equipo/static/work-stream.js +12 −0
  • internal/equipo/templates/work_parts.html +1 −1
  • internal/equipo/track_working_test.go +84 −0
  • internal/equipo/work_views.go +15 −3
  • internal/plan3test/plan3_release_test.go +1 −1
  • internal/thintest/thinking_browser_test.go +107 −3
  • internal/thintest/track_pulse_browser_test.go +143 −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/failed-turn-carried: 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: image pulled in 9.7s
ci-box: claude: fetched and verified in 16.1s
ci-box: codex: fetched and verified in 3.5s
ci-box: codex-code-mode-host: fetched and verified in 1.4s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.4s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: pi: installed and verified in 7.2s
ci-box: opencode: installed and verified in 2.1s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 9.7s
ci-box: clone deepened in 3.0s
ci-box: file times set from content: 2732 files, 174 directories
ci-box: ready in 28.9s
=== copy ===
EQUIPO_RELEASE_COPY_CHECK=1 CGO_ENABLED=0 go test ./internal/equipotest -run '^TestReleaseCopyReviewed$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipotest	0.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.5s
+ 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 1m27.434s 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.878s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m25.88s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 49.39, cpu waiting 33.70%, memory waiting 0.00%, io waiting 0.70%
--- 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.589s 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.077s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m27.08s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 49.39, cpu waiting 33.61%, memory waiting 0.00%, io waiting 0.68%
--- 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.22s 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.65s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m17.54s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 6.03s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 5.07s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 48.08, cpu waiting 33.46%, memory waiting 0.00%, io waiting 0.66%
--- 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.598s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m24.012s amadan.net/oficina/equipo/internal/headless
receipt: slow test 42.43s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 21.3s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.63s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.65s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 49.39, cpu waiting 33.89%, memory waiting 0.00%, io waiting 0.73%
--- 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.988s 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 1m41.47s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m4.86s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.54s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 10.09s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 8.9s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 6.08s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 44.08, cpu waiting 28.95%, memory waiting 0.00%, io waiting 0.54%
--- 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 3m14.11s 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 3m12.515s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m51.08s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 23.9s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.38s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 8.06s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.31s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 14.77, cpu waiting 6.33%, memory waiting 0.00%, io waiting 0.11%
--- 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 2m0.089s 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 1m58.659s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 8.76s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.74s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.8s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 3.51s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 2.41s amadan.net/oficina/equipo/internal/thintest TestResearchDoneFallsBack
machine: 32 CPUs, load 36.07, cpu waiting 22.24%, memory waiting 0.00%, io waiting 0.41%
--- 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
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/thintest TestContractTransferAuthorization
=== RUN   TestContractTransferAuthorization
    transfer_contract_test.go:43: waiting for send_pack: failed to get reader: context deadline exceeded
--- FAIL: TestContractTransferAuthorization (45.30s)

--- FAIL amadan.net/oficina/equipo/internal/thintest (package output)
FAIL
rastrillo-budget/v1 ran 2m7.513s
FAIL	amadan.net/oficina/equipo/internal/thintest	127.840s


receipt: test step 2m9.316s 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 2m7.513s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 45.3s amadan.net/oficina/equipo/internal/thintest TestContractTransferAuthorization
receipt: slow test 9.07s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.39s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.34s amadan.net/oficina/equipo/internal/thintest TestContractPublishNameTaken
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 '^TestContractTransferAuthorization$' -count=1 ./internal/thintest   (retry, once)
##############################################################################
FLAKE ./internal/thintest:TestContractTransferAuthorization thintest-contract c8e921d1d1e7eb9771d1b4793909d35946ce4c27 45.30s 31.13
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 28.88, cpu waiting 18.22%, memory waiting 0.00%, io waiting 0.33%
--- 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 4m35.238s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m48.481s 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.238s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 37.01s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.93s 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.94s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 3.67, cpu waiting 1.32%, 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.466s 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.248s amadan.net/oficina/equipo/internal/runner
receipt: slow test 28.22s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 48.76, cpu waiting 28.64%, memory waiting 0.00%, io waiting 1.33%
--- 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 56.173s 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 54.147s amadan.net/oficina/equipo/internal/runner
receipt: slow test 44.16s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 39.63s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.39s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.59s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 49.85, cpu waiting 31.07%, memory waiting 0.00%, io waiting 1.20%
--- 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 35.302s 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.426s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.14s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.48s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.12s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.16s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 38.52, cpu waiting 19.90%, memory waiting 0.00%, io waiting 1.63%
--- 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.2%, load 24.75
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.657s 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.779s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 26.82s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 26.6s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 24.77s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 21.89s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 21.79s amadan.net/oficina/equipo/internal/equipotest TestAuthorityReadsOneSnapshot
machine: 32 CPUs, load 45.83, cpu waiting 32.58%, memory waiting 0.00%, io waiting 0.61%
--- 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.2%, load 24.75
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 1m13.865s 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.242s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 18.9s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 18.87s amadan.net/oficina/equipo/internal/equipotest TestProjectKindsAndDefaultBranch
receipt: slow test 18.86s amadan.net/oficina/equipo/internal/equipotest TestProjectConcurrentRetry
receipt: slow test 18.8s amadan.net/oficina/equipo/internal/equipotest TestProjectRejectsUnsafeBinding
receipt: slow test 18.77s amadan.net/oficina/equipo/internal/equipotest TestProjectRetryAndRevision
machine: 32 CPUs, load 44.08, cpu waiting 28.95%, 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.2%, load 24.75
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 1m11.404s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m6.433s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 14.43s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.04s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.07s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 10.05s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 7.03s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 44.08, cpu waiting 29.90%, memory waiting 0.00%, io waiting 0.55%
--- 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 36.1%, load 24.75
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.253s 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.454s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 25s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 23.85s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 23.82s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 22.03s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
receipt: slow test 21.95s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsCurrentOwner
machine: 32 CPUs, load 45.83, cpu waiting 31.71%, memory waiting 0.00%, io waiting 0.59%
--- 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.2%, load 24.75
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.627s 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.743s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.51s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.45s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.54s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.46s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.21s amadan.net/oficina/equipo/internal/plan3test TestPlanMigrationUpgrade
machine: 32 CPUs, load 50.27, cpu waiting 33.71%, memory waiting 0.00%, io waiting 0.78%
--- 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 36.1%, load 24.75
test lane rest: ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/testci: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runnerproto: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/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 20.292s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 16.559s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/idtest took 38.848s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 36.252s, 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 47.007s, over the 15s its record on line 40 allows; reported only, timing fails on CI

receipt: test step 2m26.494s against a 60s target (the gate's other steps are not in this figure)
receipt: 20 packages ran, 40 cached, 18 without tests, 0 failed
receipt: slow package 1m2.674s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 52.291s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 47.007s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow package 46.979s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 38.848s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 25.22s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 19.85s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 10.89s amadan.net/oficina/equipo/internal/idtest TestIDCallbackGuardAndPendingNonce
receipt: slow test 10.59s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringMissingModuleCache
receipt: slow test 10.04s amadan.net/oficina/equipo/internal/runner/checks TestCheckNamespaceGoRootInsideModuleCache
machine: 32 CPUs, load 17.88, cpu waiting 8.55%, 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:17:43.537Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T09:17:43.537Z level=INFO msg="startup phase done" phase=state_lock took=64µs
time=2026-11-20T09:17:43.537Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T09:17:43.537Z level=INFO msg="startup phase done" phase=claim_roots took=84µs
time=2026-11-20T09:17:43.537Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T09:17:43.567Z level=INFO msg="startup phase done" phase=sweep took=29.965ms
time=2026-11-20T09:17:43.567Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T09:17:43.568Z level=INFO msg="startup phase done" phase=credentials took=129µs
time=2026-11-20T09:17:43.568Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T09:17:43.609Z level=INFO msg="startup phase done" phase=open_state took=41.033ms
time=2026-11-20T09:17:43.609Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T09:17:43.611Z level=INFO msg=connecting host=127.0.0.1:38701 protocol=28
time=2026-11-20T09:17:43.613Z level=INFO msg=connected host=127.0.0.1:38701 took=895µs
time=2026-11-20T09:17:43.613Z level=INFO msg="capabilities gathering"
time=2026-11-20T09:17:43.613Z level=INFO msg="capabilities gathered" took=358µs tags=linux,claude,go
time=2026-11-20T09:17:43.617Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T09:17:43.618Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T09:17:45.540Z 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.11s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
=== RUN   TestBrowserChatSendStaysOnPage
time=2026-11-20T09:17:49.632Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T09:17:49.633Z level=INFO msg="startup phase done" phase=state_lock took=138µs
time=2026-11-20T09:17:49.633Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T09:17:49.633Z level=INFO msg="startup phase done" phase=claim_roots took=95µs
time=2026-11-20T09:17:49.633Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T09:17:49.681Z level=INFO msg="startup phase done" phase=sweep took=48.849ms
time=2026-11-20T09:17:49.682Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T09:17:49.682Z level=INFO msg="startup phase done" phase=credentials took=151µs
time=2026-11-20T09:17:49.682Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T09:17:49.737Z level=INFO msg="startup phase done" phase=open_state took=55.379ms
time=2026-11-20T09:17:49.738Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T09:17:49.739Z level=INFO msg=connecting host=127.0.0.1:44157 protocol=28
time=2026-11-20T09:17:49.741Z level=INFO msg=connected host=127.0.0.1:44157 took=1.854ms
time=2026-11-20T09:17:49.741Z level=INFO msg="capabilities gathering"
time=2026-11-20T09:17:49.742Z level=INFO msg="capabilities gathered" took=1.147ms tags=linux,claude,go
time=2026-11-20T09:17:49.744Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T09:17:49.749Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T09:17:52.113Z 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 TestBrowserDraftIsTheMessage
=== RUN   TestBrowserDraftIsTheMessage
time=2026-11-20T09:17:55.963Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T09:17:55.964Z level=INFO msg="startup phase done" phase=state_lock took=223µs
time=2026-11-20T09:17:55.964Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T09:17:55.964Z level=INFO msg="startup phase done" phase=claim_roots took=147µs
time=2026-11-20T09:17:55.964Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T09:17:56.021Z level=INFO msg="startup phase done" phase=sweep took=56.689ms
time=2026-11-20T09:17:56.021Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T09:17:56.021Z level=INFO msg="startup phase done" phase=credentials took=220µs
time=2026-11-20T09:17:56.021Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T09:17:56.091Z level=INFO msg="startup phase done" phase=open_state took=69.72ms
time=2026-11-20T09:17:56.092Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T09:17:56.094Z level=INFO msg=connecting host=127.0.0.1:34393 protocol=28
time=2026-11-20T09:17:56.098Z level=INFO msg=connected host=127.0.0.1:34393 took=2.283ms
time=2026-11-20T09:17:56.098Z level=INFO msg="capabilities gathering"
time=2026-11-20T09:17:56.099Z level=INFO msg="capabilities gathered" took=514µs tags=linux,claude,go
time=2026-11-20T09:17:56.103Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T09:17:56.107Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T09:17:58.363Z 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.23s)

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


receipt: test step 50.323s 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 48.861s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.34s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 8.23s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 8.06s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 6.32s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
receipt: slow test 6.11s 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$|^TestBrowserDraftIsTheMessage$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserChat browser-headless-chat c8e921d1d1e7eb9771d1b4793909d35946ce4c27 6.11s 49.66
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserChatSendStaysOnPage browser-headless-chat c8e921d1d1e7eb9771d1b4793909d35946ce4c27 6.32s 49.66
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserDraftIsTheMessage browser-headless-chat c8e921d1d1e7eb9771d1b4793909d35946ce4c27 8.23s 49.66
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 41.03, cpu waiting 27.09%, memory waiting 0.00%, io waiting 0.50%
--- 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 1m40.657s 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 1m39.05s amadan.net/oficina/equipo/internal/headless
receipt: slow test 30.69s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 24.56s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 14.61s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 10.44s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 8.75s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 44.08, cpu waiting 29.90%, memory waiting 0.00%, io waiting 0.55%
--- 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.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 1m43.638s amadan.net/oficina/equipo/internal/headless
receipt: slow test 16.3s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 13.86s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 13.04s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 10.62s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.45s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 41.03, cpu waiting 28.00%, 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
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserCopyContinue
=== RUN   TestBrowserCopyContinue
time=2026-11-20T09:17:53.945Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T09:17:53.946Z level=INFO msg="startup phase done" phase=state_lock took=256µs
time=2026-11-20T09:17:53.946Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T09:17:53.946Z level=INFO msg="startup phase done" phase=claim_roots took=312µs
time=2026-11-20T09:17:53.946Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T09:17:53.984Z level=INFO msg="startup phase done" phase=sweep took=37.661ms
time=2026-11-20T09:17:53.984Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T09:17:53.984Z level=INFO msg="startup phase done" phase=credentials took=196µs
time=2026-11-20T09:17:53.984Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T09:17:54.048Z level=INFO msg="startup phase done" phase=open_state took=64.304ms
time=2026-11-20T09:17:54.049Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T09:17:54.050Z level=INFO msg=connecting host=127.0.0.1:43871 protocol=28
time=2026-11-20T09:17:54.054Z level=INFO msg=connected host=127.0.0.1:43871 took=4.086ms
time=2026-11-20T09:17:54.054Z level=INFO msg="capabilities gathering"
time=2026-11-20T09:17:54.055Z level=INFO msg="capabilities gathered" took=1.482ms tags=linux,claude,go
time=2026-11-20T09:17:54.062Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T09:17:54.064Z 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: <nil>)
--- FAIL: TestBrowserCopyContinue (6.54s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-20T09:18:31.830Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T09:18:31.831Z level=INFO msg="startup phase done" phase=state_lock took=65µs
time=2026-11-20T09:18:31.831Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T09:18:31.831Z level=INFO msg="startup phase done" phase=claim_roots took=89µs
time=2026-11-20T09:18:31.831Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T09:18:31.862Z level=INFO msg="startup phase done" phase=sweep took=31.685ms
time=2026-11-20T09:18:31.862Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T09:18:31.862Z level=INFO msg="startup phase done" phase=credentials took=104µs
time=2026-11-20T09:18:31.863Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T09:18:31.907Z level=INFO msg="startup phase done" phase=open_state took=44.922ms
time=2026-11-20T09:18:31.908Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T09:18:31.909Z level=INFO msg=connecting host=127.0.0.1:39091 protocol=28
time=2026-11-20T09:18:31.911Z level=INFO msg=connected host=127.0.0.1:39091 took=2.066ms
time=2026-11-20T09:18:31.912Z level=INFO msg="capabilities gathering"
time=2026-11-20T09:18:31.913Z level=INFO msg="capabilities gathered" took=1.15ms tags=linux,claude,go
time=2026-11-20T09:18:31.915Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T09:18:31.919Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T09:18:33.104Z 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.89s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m35.539s
FAIL	amadan.net/oficina/equipo/internal/headless	95.901s


receipt: test step 1m36.947s 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 1m35.539s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.15s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 11.92s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 11.14s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.69s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 8.01s 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 c8e921d1d1e7eb9771d1b4793909d35946ce4c27 6.54s 45.83
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest c8e921d1d1e7eb9771d1b4793909d35946ce4c27 5.89s 45.83
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 41.03, cpu waiting 26.20%, memory waiting 0.00%, io waiting 0.48%
--- 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.185s 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 723ms amadan.net/oficina/equipo/internal/equipo
receipt: slow test 720ms 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.782s 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.636s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 1.64s 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.303s 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.919s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 1.92s 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.397s 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.905s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 17.54s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.33s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.02s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.55s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 7.9s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
machine: 32 CPUs, load 11.58, cpu waiting 5.19%, memory waiting 0.00%, io waiting 0.08%
--- 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   (57s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 5.37s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.44s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 10.32s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 10.77s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 26.77s
+ 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   (62s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 17.98s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 13.60s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 12.19s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 15.89s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (24s)
ok ./internal/headless TestMixedVersions 21.91s
+ 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   (1s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.05s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 49.78, cpu waiting 32.00%, memory waiting 0.00%, io waiting 1.09%
--- 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 11.004s 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.371s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 204ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 98ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 3ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow test 5.26s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.71s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 310ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 200ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/provider/codex TestDirectJournalAdapterBarrier
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.361s 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.97s 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 150ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceExitStatus
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryMalformedRecord
machine: 32 CPUs, load 15.04, cpu waiting 7.33%, memory waiting 0.00%, io waiting 2.35%
--- 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.2%, load 24.75
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2446 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.499s
machine: 32 CPUs, load 49.85, cpu waiting 31.90%, memory waiting 0.00%, io waiting 1.13%
--- 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 36.1%, load 24.75
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 43.52, cpu waiting 24.76%, memory waiting 0.00%, io waiting 1.47%
--- 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.2%, load 24.75
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 38.52, cpu waiting 19.90%, memory waiting 0.00%, io waiting 1.63%
--- 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.2%, load 24.75
shard 28: make gitleaks
9:17AM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
9:18AM INF 1050 commits scanned.
9:18AM INF scanned ~60115596 bytes (60.12 MB) in 19.8s
9:18AM INF no leaks found
machine: 32 CPUs, load 48.76, cpu waiting 28.64%, memory waiting 0.00%, io waiting 1.33%
=== perf ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -require TestPerfScreens,TestPerfBoot -tags perf -count=1 -p 1 -parallel 1 -run '^TestPerf' ./...
perf: GET /: median 1.075ms, worst 1.092ms, budget 150ms
perf: GET /api/runner/protocol: median 79µs, worst 107µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 608µs, worst 642µs, budget 150ms
perf: GET /api/v1/accounts: median 432µs, worst 486µs, budget 150ms
perf: GET /api/v1/auth/devices: median 470µs, worst 541µs, budget 150ms
perf: GET /api/v1/budgets: median 510µs, worst 555µs, budget 150ms
perf: GET /api/v1/capabilities: median 263µs, worst 290µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.285ms, worst 1.322ms, budget 150ms
perf: GET /api/v1/connections: median 590µs, worst 621µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 542µs, worst 556µs, budget 150ms
perf: GET /api/v1/conversation: median 921µs, worst 971µs, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.522ms, worst 1.6ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.96ms, worst 2.907ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 458µs, worst 518µs, budget 150ms
perf: GET /api/v1/journey: median 9.067ms, worst 9.685ms, budget 150ms
perf: GET /api/v1/me: median 477µs, worst 533µs, budget 150ms
perf: GET /api/v1/me/settings: median 573µs, worst 600µs, budget 150ms
perf: GET /api/v1/needs-you: median 8.96ms, worst 9.198ms, budget 150ms
perf: GET /api/v1/notifications: median 1.663ms, worst 1.749ms, budget 150ms
perf: GET /api/v1/onboarding: median 388µs, worst 423µs, budget 150ms
perf: GET /api/v1/people: median 430µs, worst 474µs, budget 150ms
perf: GET /api/v1/playbooks: median 586µs, worst 642µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 506µs, worst 562µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 844µs, worst 898µs, budget 150ms
perf: GET /api/v1/preferences: median 760µs, worst 813µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 449µs, worst 526µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 563µs, worst 590µs, budget 150ms
perf: GET /api/v1/roster: median 463µs, worst 474µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 417µs, worst 442µs, budget 150ms
perf: GET /api/v1/specialists: median 8.305ms, worst 8.396ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 8.033ms, worst 8.209ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 815µs, worst 879µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.118ms, worst 1.227ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 722µs, worst 767µs, budget 150ms
perf: GET /api/v1/teams: median 405µs, worst 451µs, budget 150ms
perf: GET /api/v1/templates: median 585µs, worst 629µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 436µs, worst 453µs, budget 150ms
perf: GET /auth/callback: median 77µs, worst 102µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.288ms, worst 3.376ms, budget 150ms
perf: GET /auth/verify: median 78µs, worst 94µs, budget 150ms
perf: GET /connections: median 3.555ms, worst 3.701ms, budget 150ms
perf: GET /conversation: median 7.692ms, worst 10.437ms, budget 150ms
perf: GET /conversation/connections: median 256µs, worst 288µs, budget 150ms
perf: GET /conversation/notebook: median 256µs, worst 278µs, budget 150ms
perf: GET /conversation/settings: median 4.057ms, worst 4.157ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 3.635ms, worst 3.822ms, budget 150ms
perf: GET /conversation/settings/connections: median 6.199ms, worst 6.479ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 6.446ms, worst 6.681ms, budget 150ms
perf: GET /conversation/settings/copy: median 3.573ms, worst 3.709ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 4.123ms, worst 4.249ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.48ms, worst 4.582ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.603ms, worst 7.224ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.483ms, worst 3.517ms, budget 150ms
perf: GET /conversation/settings/thinking: median 3.905ms, worst 4.024ms, budget 150ms
perf: GET /housekeeping: median 3.698ms, worst 3.808ms, budget 150ms
perf: GET /invites/new: median 575µs, worst 632µs, budget 150ms
perf: GET /invites/{id}: median 611µs, worst 663µs, budget 150ms
perf: GET /jobs: median 3.177ms, worst 3.352ms, budget 150ms
perf: GET /jobs/{id}: median 4.37ms, worst 4.468ms, budget 150ms
perf: GET /journey: median 10.247ms, worst 10.404ms, budget 150ms
perf: GET /nav/rail: median 2.918ms, worst 3.063ms, budget 150ms
perf: GET /needs-you: median 10.332ms, worst 12.45ms, budget 150ms
perf: GET /onboarding: median 4.072ms, worst 4.199ms, budget 150ms
perf: GET /people: median 3.429ms, worst 3.505ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 4.638ms, worst 4.85ms, budget 150ms
perf: GET /playbooks: median 4.171ms, worst 4.263ms, budget 150ms
perf: GET /playbooks/new: median 4.248ms, worst 4.323ms, budget 150ms
perf: GET /playbooks/{id}: median 4.767ms, worst 4.894ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 4.691ms, worst 4.881ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 3.951ms, worst 4.027ms, budget 150ms
perf: GET /preferences: median 4.211ms, worst 4.322ms, budget 150ms
perf: GET /preferences/sources/{source}: median 3.949ms, worst 4.007ms, budget 150ms
perf: GET /projects: median 5.487ms, worst 7.253ms, budget 150ms
perf: GET /projects/accounts: median 3.651ms, worst 3.919ms, budget 150ms
perf: GET /projects/new: median 3.569ms, worst 3.624ms, budget 150ms
perf: GET /projects/{id}: median 10.519ms, worst 10.697ms, budget 150ms
perf: GET /projects/{id}/edit: median 3.692ms, worst 3.867ms, budget 150ms
perf: GET /runners/enrol: median 4.467ms, worst 4.682ms, budget 150ms
perf: GET /settings: median 3.384ms, worst 3.56ms, budget 150ms
perf: GET /settings/coordinator: median 5.419ms, worst 5.529ms, budget 150ms
perf: GET /settings/devices: median 3.21ms, worst 3.344ms, budget 150ms
perf: GET /settings/recovery: median 3.377ms, worst 3.483ms, budget 150ms
perf: GET /settings/recovery/release: median 3.536ms, worst 5.575ms, budget 150ms
perf: GET /settings/thinking: median 252µs, worst 274µs, budget 150ms
perf: GET /signin: median 339µs, worst 393µs, budget 150ms
perf: GET /specialists/new: median 3.527ms, worst 3.685ms, budget 150ms
perf: GET /specialists/{key}: median 13.08ms, worst 13.656ms, budget 150ms
perf: GET /specialists/{key}/edit: median 4.09ms, worst 4.324ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 4.142ms, worst 4.278ms, budget 150ms
perf: GET /tasks: median 5.748ms, worst 5.808ms, budget 150ms
perf: GET /tasks/new: median 3.508ms, worst 3.599ms, budget 150ms
perf: GET /tasks/{id}: median 6.269ms, worst 6.416ms, budget 150ms
perf: GET /tasks/{id}/merge: median 5.545ms, worst 5.653ms, budget 150ms
perf: GET /tasks/{id}/move: median 5.187ms, worst 7.001ms, budget 150ms
perf: GET /tasks/{id}/plan: median 5.883ms, worst 6.347ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.465ms, worst 1.535ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.226ms, worst 5.401ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 4.833ms, worst 4.965ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.245ms, worst 4.35ms, budget 150ms
perf: GET /tasks/{id}/thread: median 7.884ms, worst 8.016ms, budget 150ms
perf: GET /team/{specialist}: median 4.334ms, worst 4.374ms, budget 150ms
perf: GET /teams: median 12.003ms, worst 12.524ms, budget 150ms
perf: GET /templates: median 3.915ms, worst 5.349ms, budget 150ms
perf: GET /usage: median 4.72ms, worst 4.816ms, budget 150ms
perf: GET /work: median 3.437ms, worst 3.514ms, budget 150ms
perf: cold boot: median 257ms of [256.676949ms 257.271264ms 259.165507ms], budget 500ms

receipt: test step 36.412s 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.971s 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.15s 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.07 GiB in 22126 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 992c61f7..b5b0f186 100644
--- a/.rastrillo/budgets.txt
+++ b/.rastrillo/budgets.txt
@@ -14,7 +14,7 @@ perf GET /* skip Unknown private paths render 404; this fallback contains no scr
time internal/equipo/team 60s Plan 3 loaded CI measured 45.985s; niced serial reruns measured 18.079s and 22.031s. Keep migration, recovery, accounting and concurrency assertions; 60s leaves 30 percent headroom above loaded CI.
time internal/equipotest 300s Final fix package rerun measured 187.035s (review 172.4s); 300s gives 60 percent headroom for HTTP, sandbox, authority and final regression coverage.
-size internal/equipo 21394 - Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; empty conversation starters (copy and the scriptless draft); measured 21394/3196 source/test lines.
+size internal/equipo 21407 - Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; empty conversation starters (copy and the scriptless draft); measured 21394/3196 source/test lines.
size internal/wire 6637 - Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; measured 6637/2972 source/test lines.
size internal/equipotest - 12013 Task 21 repairs historical migration and conversation fixtures after Plan 3; measured 0/12013 source/test lines.
time internal/runner/checks 90s CI worker measured 44.553s (44.6s rounded);
@@ -56,7 +56,7 @@ perf GET /api/v1/tasks/{id} skip Thin v1 person API: bearer-only JSON for device
perf GET /api/v1/assistant/snapshot skip Assistant person API: bearer-only JSON for Base's chat, not a browser screen.
perf GET /api/v1/assistant/messages skip Assistant person API: bearer-only JSON for Base's chat, not a browser screen.
perf GET /api/v1/assistant/events skip Assistant event stream (Server-Sent Events), bearer-only and long-lived; not a screen.
-size internal/equipo/chat 31301 - Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; failed turns carried; measured 31301/6180 source/test lines.
+size internal/equipo/chat 31301 - Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; measured 31167/6180 source/test lines.
perf GET /api/v1/questions/{id} skip Thin v1 person API: bearer-only JSON for devices; the browser reads questions on /tasks/{id}.
perf GET /api/v1/steps/{id}/log skip Thin v1 person API: bearer-only JSON for devices; the browser shows the log tail on /tasks/{id}.
perf GET /api/v1/connections/preference skip Connections slice 1 person API: bearer-only JSON for devices; the browser shows the preference on /conversation/connections.
@@ -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 - 32373 Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; empty conversation page and browser checks; failed turns carried; measured 1515/32373 source/test lines.
+size internal/thintest - 32620 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/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
index cbcdb24f..69dfa1d8 100644
--- a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
+++ b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
@@ -6757,6 +6757,7 @@ records remain unchanged.
| `conversation.start.feature_draft` | Plan a feature that | Copy specialist | COPY ACCEPTED BY DELEGATION (Astra, 2026-11-20) |
| `conversation.start.project` | Ask about a project | Copy specialist | COPY ACCEPTED BY DELEGATION (Astra, 2026-11-20) |
| `conversation.start.project_draft` | What’s the latest on | Copy specialist | COPY ACCEPTED BY DELEGATION (Astra, 2026-11-20) |
+| `work.track.working` | (work underway) | Copy specialist | COPY ACCEPTED BY DELEGATION (Astra, 2026-11-20) |
## Task 21
diff --git a/internal/equipo/chat_roster.go b/internal/equipo/chat_roster.go
index cdcede6a..ad4ba4f6 100644
--- a/internal/equipo/chat_roster.go
+++ b/internal/equipo/chat_roster.go
@@ -196,7 +196,7 @@ func rosterTrack(t wire.Task) []trackStop {
out[i].State = "done"
}
if i == current {
- out[i].State, out[i].Tone = "current", rosterTone(t)
+ out[i].State, out[i].Tone, out[i].Working = "current", rosterTone(t), workingNow(t)
}
}
return out
diff --git a/internal/equipo/copy.go b/internal/equipo/copy.go
index 13ce010a..cebf6c70 100644
--- a/internal/equipo/copy.go
+++ b/internal/equipo/copy.go
@@ -850,6 +850,7 @@ var pageCopy = map[string]string{
"work.track.reviewed": "Review", // COPY ACCEPTED BY DELEGATION (Astra, 2026-11-12)
"work.track.preview": "Preview", // COPY ACCEPTED BY DELEGATION (Astra, 2026-11-12)
"work.track.decided": "Decided", // COPY ACCEPTED BY DELEGATION (Astra, 2026-11-12)
+ "work.track.working": "(work underway)", // COPY ACCEPTED BY DELEGATION (Astra, 2026-11-20)
"work.tl.merge_dropped": "An earlier attempt to add this change was dropped when the task became an exploration.", // COPY ACCEPTED BY DELEGATION (Astra, 2026-11-12)
"work.stopped": "Stopped: %s", // COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context)
"work.reason.runner_restarted": "the runner restarted", // COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context)
diff --git a/internal/equipo/static/chat-stream.js b/internal/equipo/static/chat-stream.js
index fc6ab1f4..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,15 +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);
});
@@ -892,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;
@@ -1041,7 +1079,16 @@
showActivity(v);
} else if (type === "card" || type === "task" || type === "step") {
// Cards (and the tasks on them) are rendered by the server, like
- // committed replies.
+ // committed replies. A step that starts or stops starts or stops
+ // its track's pulse at once; the refresh then has the last word
+ // (a finished step may hand straight on to the next).
+ if (type === "step" && v && v.task_id) {
+ var on = v.state === "running";
+ if (on || v.state === "failed" || v.state === "cancelled") {
+ document.querySelectorAll('[data-track-task="' + CSS.escape(v.task_id) + '"] > [aria-current="step"]').forEach(function (li) { li.toggleAttribute("data-working", on); });
+ if (window.equipoPulse) window.equipoPulse(document.body);
+ }
+ }
refreshSoon();
} else if (type === "runner" && offline && v.role !== "worker") {
// The offline line is the primary's: a worker going offline is not
diff --git a/internal/equipo/static/equipo.css b/internal/equipo/static/equipo.css
index 161001e1..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); } }
@@ -477,6 +479,25 @@ a[equipo-source]:hover { color: var(--rst-text); text-decoration: underline; tex
[equipo-track-full] li[data-s="current"] > span:not([equipo-dot]) { color: var(--rst-text); font-weight: 600; }
[equipo-track-full] li > span { text-align: center; white-space: nowrap; }
[equipo-track-full] li > small { color: var(--rst-text-faint); margin-block-start: -.3rem; }
+/* While a specialist works on the current stop (data-working), the track
+ shows it: every 2.4s a light runs along the line into the stop and its
+ marker sends out one soft ring in the stop's own tone. Nothing moves
+ while the task waits on the person or nothing runs. Reduced motion
+ keeps a still ring. equipoPulse (work-stream.js) holds one phase
+ across live swaps. */
+[equipo-track-full] li[data-s="current"] { --equipo-pulse: var(--rst-accent); }
+[equipo-track-full] li[data-s="current"][data-tone="positive"] { --equipo-pulse: var(--rst-tone-positive-fg); }
+[equipo-track-full] li[data-s="current"][data-tone="negative"] { --equipo-pulse: var(--rst-tone-negative-fg); }
+[equipo-track-full] li[data-s="current"]:is([data-tone="attention"], [data-tone="warning"]) { --equipo-pulse: var(--rst-tone-warning-fg); }
+[equipo-track-full] li[data-working] [equipo-dot]::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--equipo-pulse); border-radius: 50%; box-sizing: border-box; opacity: 0; pointer-events: none; animation: equipo-tl-ring 2.4s cubic-bezier(.16, 1, .3, 1) infinite; }
+[equipo-track-full] li:has(+ li[data-working])::before { mask-image: linear-gradient(90deg, rgb(0 0 0 / .72) 0 43%, #000 50%, rgb(0 0 0 / .72) 57% 100%); mask-size: 300% 100%; mask-repeat: no-repeat; animation: equipo-tl-flow 2.4s cubic-bezier(.45, 0, .55, 1) infinite; }
+[equipo-track-full] li:not([data-working]) > [data-working-cue] { display: none; }
+@keyframes equipo-tl-ring { 0%, 34% { opacity: 0; transform: scale(1.2); } 40% { opacity: .5; } 100% { opacity: 0; transform: scale(2.8); } }
+@keyframes equipo-tl-flow { 0% { mask-position: 100% 0; } 45%, 100% { mask-position: 0 0; } }
+@media (prefers-reduced-motion: reduce) {
+ [equipo-track-full] li[data-working] [equipo-dot]::before { animation: none; opacity: .6; transform: scale(1.9); }
+ [equipo-track-full] li:has(+ li[data-working])::before { animation: none; mask-image: none; }
+}
/* Badges for checks and review. */
[equipo-badge2] { display: inline-flex; align-items: center; gap: .35em; padding: .1rem .5rem .1rem .4rem; border-radius: var(--rst-radius-pill); font-size: var(--rst-fs-xs); white-space: nowrap; border: 1px solid transparent; color: var(--rst-tone-neutral-fg); background: var(--rst-tone-neutral-bg); cursor: default; }
[equipo-badge2] .icon { inline-size: .95em; block-size: .95em; margin: 0; }
diff --git a/internal/equipo/static/work-stream.js b/internal/equipo/static/work-stream.js
index 2b32690f..222baca1 100644
--- a/internal/equipo/static/work-stream.js
+++ b/internal/equipo/static/work-stream.js
@@ -6,6 +6,17 @@
// thread is not a region: chat-stream.js follows it.
(function () {
"use strict";
+ // equipoPulse(root): a stage track's working pulse (equipo.css) keeps
+ // one phase on every page and across swaps. Each ring and light under
+ // root is timed from the document's start, so a track swapped in or
+ // marked working carries on in step, never from the top.
+ window.equipoPulse = function (root) {
+ if (!root || !root.getAnimations) return;
+ root.getAnimations({ subtree: true }).forEach(function (a) {
+ if (a.animationName === "equipo-tl-ring" || a.animationName === "equipo-tl-flow") a.startTime = 0;
+ });
+ };
+ window.equipoPulse(document.body);
if (!document.querySelector("[data-work-live]") || !window.fetch) return;
var inflight = null, again = false, timer = 0;
function busy() {
@@ -26,6 +37,7 @@
var had = old.querySelectorAll("[equipo-tl] > li").length;
var focus = document.activeElement && old.contains(document.activeElement) ? document.activeElement.getAttribute("href") : null;
old.replaceWith(next);
+ window.equipoPulse(next);
Object.keys(open).forEach(function (id) { var d = document.getElementById(id); if (d) d.open = open[id]; });
var items = next.querySelectorAll("[equipo-tl] > li");
for (var i = had; had > 0 && i < items.length; i++) items[i].setAttribute("data-new", "");
diff --git a/internal/equipo/templates/work_parts.html b/internal/equipo/templates/work_parts.html
index ced6c824..2391a944 100644
--- a/internal/equipo/templates/work_parts.html
+++ b/internal/equipo/templates/work_parts.html
@@ -11,7 +11,7 @@
{{define "mono-l"}}<span equipo-mono data-size="l" data-h="{{.Hue}}" title="{{.Title}}" aria-hidden="true">{{.Letter}}</span>{{end}}
{{define "mono-s"}}<span equipo-mono data-size="s" data-h="{{.Hue}}" aria-hidden="true">{{.Letter}}</span>{{end}}
{{define "track"}}<ol equipo-track role="img" aria-label="{{.StepLabel}}">{{range .Track}}<li data-s="{{.State}}"{{if .Tone}} data-tone="{{.Tone}}"{{end}}{{if .Live}} data-live{{end}} title="{{.Label}}">{{if .Live}}{{template "mark" "s"}}{{end}}</li>{{end}}</ol>{{end}}
-{{define "track-full"}}<ol equipo-track-full data-track aria-label="{{.StageLine}}">{{range .Track}}<li data-s="{{.State}}"{{if .Tone}} data-tone="{{.Tone}}"{{end}}{{if .Live}} data-live{{end}}{{if eq .State "current"}} aria-current="step"{{end}}><span equipo-dot>{{if .Live}}{{template "mark" "s"}}{{end}}</span><span>{{.Label}}</span>{{with .At}}<small><time datetime="{{.Format "2006-01-02T15:04:05Z07:00"}}">{{.Format "15:04"}}</time></small>{{end}}</li>{{end}}</ol>{{end}}
+{{define "track-full"}}<ol equipo-track-full data-track data-track-task="{{.ID}}" aria-label="{{.StageLine}}">{{range .Track}}<li data-s="{{.State}}"{{if .Tone}} data-tone="{{.Tone}}"{{end}}{{if .Live}} data-live{{end}}{{if .Working}} data-working{{end}}{{if eq .State "current"}} aria-current="step"{{end}}><span equipo-dot>{{if .Live}}{{template "mark" "s"}}{{end}}</span><span>{{.Label}}</span>{{if eq .State "current"}}<i equipo-visually-hidden data-working-cue> {{copy "work.track.working"}}</i>{{end}}{{with .At}}<small><time datetime="{{.Format "2006-01-02T15:04:05Z07:00"}}">{{.Format "15:04"}}</time></small>{{end}}</li>{{end}}</ol>{{end}}
{{define "badge"}}<span equipo-badge2 data-kind="{{.Kind}}" data-tone="{{.Tone}}" title="{{.Title}}">{{if .Live}}{{template "mark" "s"}}{{else if .Icon}}{{icon .Icon}}{{end}}<span>{{.Text}}</span></span>{{end}}
{{define "chip"}}{{with .Chip}}<span equipo-chip{{if .Live}} data-live{{end}}>{{if .Live}}{{template "mark" "s"}}{{else if .Icon}}{{icon .Icon}}{{end}}<span>{{.Text}}</span>{{with .Since}}{{template "elapsed" .}}{{end}}</span>{{end}}{{end}}
{{define "source"}}{{if .SourceHref}}<a href="{{.SourceHref}}" equipo-source>{{.Source}}</a>{{else}}<span equipo-source>{{.Source}}</span>{{end}}{{end}}
diff --git a/internal/equipo/track_working_test.go b/internal/equipo/track_working_test.go
new file mode 100644
index 00000000..39d15148
--- /dev/null
+++ b/internal/equipo/track_working_test.go
@@ -0,0 +1,84 @@
+package equipo
+
+import (
+ "bytes"
+ "regexp"
+ "strings"
+ "testing"
+ "time"
+
+ "amadan.net/oficina/equipo/internal/wire"
+)
+
+// working is the data-working attribute itself, not data-working-cue.
+var working = regexp.MustCompile(`\sdata-working[\s>]`)
+
+// TestTrackWorkingPulse: the full stage track marks its current stop
+// as working while a specialist's step is queued or running, on the task
+// page and on the conversation's report card, and never while the task
+// waits on the person or nothing runs.
+func TestTrackWorkingPulse(t *testing.T) {
+ step := func(specialist, state string) wire.Step {
+ return wire.Step{ID: "s-" + state, TaskID: "tk", Specialist: specialist, State: state}
+ }
+ for _, tc := range []struct {
+ name string
+ task wire.Task
+ want bool
+ }{
+ {"running", wire.Task{Stage: wire.StageInProgress, Steps: []wire.Step{step(wire.SpecialistEngineering, wire.StepRunning)}}, true},
+ {"queued", wire.Task{Stage: wire.StageInReview, Steps: []wire.Step{step(wire.SpecialistEngineering, wire.StepDone), step(wire.SpecialistChecks, wire.StepQueued)}}, true},
+ {"exploration in review", wire.Task{Kind: wire.KindExplore, Stage: wire.StageInReview, Steps: []wire.Step{step(wire.SpecialistEngineering, wire.StepDone), step(wire.SpecialistReview, wire.StepRunning)}}, true},
+ {"merging", wire.Task{Stage: wire.StageMerging, Steps: []wire.Step{step(wire.SpecialistMerge, wire.StepRunning)}}, true},
+ {"noted", wire.Task{Stage: wire.StageNoted}, false},
+ {"step done", wire.Task{Stage: wire.StageInReview, Steps: []wire.Step{step(wire.SpecialistEngineering, wire.StepDone)}}, false},
+ {"stopped", wire.Task{Stage: wire.StageInProgress, Steps: []wire.Step{step(wire.SpecialistEngineering, wire.StepFailed)}}, false},
+ {"waits on the person", wire.Task{Stage: wire.StageInProgress, NeedsYou: wire.NeedsRunnerOffline, Steps: []wire.Step{step(wire.SpecialistEngineering, wire.StepQueued)}}, false},
+ {"copy held", wire.Task{Stage: wire.StageInReview, CopyHold: true, Steps: []wire.Step{step(wire.SpecialistCopy, wire.StepQueued)}}, false},
+ {"done", wire.Task{Stage: wire.StageDone, Steps: []wire.Step{step(wire.SpecialistMerge, wire.StepRunning)}}, false},
+ } {
+ t.Run(tc.name, func(t *testing.T) {
+ tc.task.ID, tc.task.Creator, tc.task.Title = "tk", "owner@example.com", "Fix it"
+ now := time.Now()
+ // The task page's track.
+ page := taskLineOf(tc.task, tc.task.Creator)
+ page.richOf(tc.task, tc.task.Creator, nil, now)
+ // The conversation card's track.
+ card := taskLineOf(tc.task, tc.task.Creator)
+ card.richOf(tc.task, tc.task.Creator, nil, now)
+ card.Track = rosterTrack(tc.task)
+ for where, v := range map[string]taskLine{"task page": page, "card": card} {
+ var b bytes.Buffer
+ if err := pages["work_task"].ExecuteTemplate(&b, "track-full", v); err != nil {
+ t.Fatal(err)
+ }
+ html := b.String()
+ if !strings.Contains(html, `data-track-task="tk"`) {
+ t.Fatalf("%s: the track does not name its task: %s", where, html)
+ }
+ items := strings.Split(html, "<li")[1:]
+ n := 0
+ for _, li := range items {
+ if !working.MatchString("<li" + li) {
+ continue
+ }
+ n++
+ if !strings.Contains(li, `aria-current="step"`) {
+ t.Errorf("%s: a stop other than the current one is working: %s", where, li)
+ }
+ }
+ if tc.want && n != 1 || !tc.want && n != 0 {
+ t.Errorf("%s: %d working stops, want working=%v: %s", where, n, tc.want, html)
+ }
+ // The current stop carries the hidden cue; CSS shows it to
+ // assistive technology only while the stop is working.
+ for _, li := range items {
+ cue := strings.Contains(li, `<i equipo-visually-hidden data-working-cue> (work underway)</i>`)
+ if cue != strings.Contains(li, `aria-current="step"`) {
+ t.Errorf("%s: working cue on the wrong stop: %s", where, li)
+ }
+ }
+ }
+ })
+ }
+}
diff --git a/internal/equipo/work_views.go b/internal/equipo/work_views.go
index e83917b0..fad87e35 100644
--- a/internal/equipo/work_views.go
+++ b/internal/equipo/work_views.go
@@ -101,10 +101,12 @@ func exploreIndex(t wire.Task) int {
}
// trackStop is one stop: done, current or todo, the current one with a
-// tone and, while someone is at work, the living mark.
+// tone and, while someone is at work, the living mark. Working is the
+// current stop while a specialist's step is queued or running: its
+// marker pulses.
type trackStop struct {
Stage, Label, State, Tone string
- Live bool
+ Live, Working bool
At *time.Time
}
@@ -201,6 +203,16 @@ func liveStep(t wire.Task) *wire.Step {
return nil
}
+// workingNow reports whether a specialist is at work on t: its newest
+// step queued or running, the task open and not waiting on the person.
+func workingNow(t wire.Task) bool {
+ if len(t.Steps) == 0 || wire.FinalStage(t.Stage) || t.NeedsYou != "" || t.CopyHold || t.CopyCanSkip {
+ return false
+ }
+ s := t.Steps[len(t.Steps)-1].State
+ return s == wire.StepQueued || s == wire.StepRunning
+}
+
// stoppedStep is the newest step when it failed on a task still open.
func stoppedStep(t wire.Task) *wire.Step {
if s := lastStep(t); s != nil && s.State == wire.StepFailed && !wire.FinalStage(t.Stage) {
@@ -295,7 +307,7 @@ func (v *taskLine) trackOf(t wire.Task) {
case i < cur:
n.State = "done"
case i == cur:
- n.State, n.Tone, n.Live = "current", v.Tone, v.Live
+ n.State, n.Tone, n.Live, n.Working = "current", v.Tone, v.Live, workingNow(t)
switch {
case t.Stage == wire.StageMerging:
n.Label = copyText("work.stage.merging")
diff --git a/internal/plan3test/plan3_release_test.go b/internal/plan3test/plan3_release_test.go
index 3f15d17e..e67e4abb 100644
--- a/internal/plan3test/plan3_release_test.go
+++ b/internal/plan3test/plan3_release_test.go
@@ -170,7 +170,7 @@ func plan3CopyInventory(t *testing.T) {
acceptedRound2 := slices.Contains([]string{"CopyCalibrationFunding"}, key) && strings.TrimSuffix(cells[3], " |") == "COPY ACCEPTED FOR NOW (Paul, 2026-11-05; iterate in context)"
// Paul delegated copy review on 2026-10-25; a row Astra's
// delegated pass accepted carries that marker.
- acceptedDelegation := strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11)") || strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-12)") || strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-13)") || slices.Contains([]string{"docs/api/equipo-v1.md / COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context)", "docs/api/equipo-v1.md / Retry writes and handle revisions", "docs/api/equipo-v1.md / Reconnect and answer questions", "docs/api/equipo-v1.md / Talk to your Coordinator from a device"}, key) && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-19)") || slices.Contains([]string{"conversation.empty", "conversation.start.label", "conversation.start.bug", "conversation.start.bug_draft", "conversation.start.feature", "conversation.start.feature_draft", "conversation.start.project", "conversation.start.project_draft"}, key) && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-20)")
+ acceptedDelegation := strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-11)") || strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-12)") || strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-13)") || slices.Contains([]string{"docs/api/equipo-v1.md / COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context)", "docs/api/equipo-v1.md / Retry writes and handle revisions", "docs/api/equipo-v1.md / Reconnect and answer questions", "docs/api/equipo-v1.md / Talk to your Coordinator from a device"}, key) && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-19)") || slices.Contains([]string{"conversation.empty", "conversation.start.label", "conversation.start.bug", "conversation.start.bug_draft", "conversation.start.feature", "conversation.start.feature_draft", "conversation.start.project", "conversation.start.project_draft", "work.track.working"}, key) && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-20)")
// Paul's own review of the publish strings (base-publish).
approvedPublish := strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-12, copy-review jadya3tfrmkf7t3ym2nqhpgira, unchanged)")
// Paul's own review of the Assistant lane's strings and API section.
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")
+}
diff --git a/internal/thintest/track_pulse_browser_test.go b/internal/thintest/track_pulse_browser_test.go
new file mode 100644
index 00000000..fbc4bc74
--- /dev/null
+++ b/internal/thintest/track_pulse_browser_test.go
@@ -0,0 +1,143 @@
+//go:build browser
+
+package thintest
+
+import (
+ "context"
+ "os"
+ "path/filepath"
+ "strings"
+ "testing"
+ "time"
+
+ "amadan.net/oficina/equipo/internal/wire"
+ "github.com/chromedp/chromedp"
+)
+
+// TestBrowserTrackPulse: the stage track's current stop pulses while a
+// specialist works on it, on the conversation's report card and on the
+// task page, and is still while the task waits or nothing runs. Reduced
+// motion keeps a still ring. A step starting and stopping starts and
+// stops the pulse live, with no reload.
+func TestBrowserTrackPulse(t *testing.T) {
+ g := newGallery(t)
+ a := g.a
+ report := func(id string) string {
+ return `document.querySelector('[equipo-roster-report] [data-track-task="` + id + `"]')`
+ }
+ cur := func(track string) string { return track + `?.querySelector('[aria-current="step"]')` }
+ ring := func(track string) string {
+ return `getComputedStyle(` + cur(track) + `.querySelector('[equipo-dot]'),'::before')`
+ }
+ cue := func(track string) string {
+ return `getComputedStyle(` + cur(track) + `.querySelector('[data-working-cue]')).display`
+ }
+ for _, motion := range []string{"no-preference", "reduce"} {
+ for _, scheme := range []string{"light", "dark"} {
+ t.Run(motion+"-"+scheme, func(t *testing.T) {
+ p := openInner(t, a.inst.URL, a.inst.Cookie(), 1280, 900, false, scheme, motion)
+ defer p.stop()
+ p.open("/conversation")
+ run := report(g.running)
+ p.wait(cur(run), "the running task's report")
+ p.check(cur(run)+`.hasAttribute('data-working') && `+cue(run)+`!=='none'`, "the running stop is not working")
+ p.check(`(()=>{const w=[...document.querySelectorAll('[equipo-roster-report] [data-track] [data-working]')];return w.length>0 && w.every(li=>li.matches('[aria-current="step"]') && ['`+g.running+`','`+g.merging+`'].includes(li.parentElement.dataset.trackTask))})()`, "a stop with nobody at work pulses")
+ p.check(`[...document.querySelectorAll('[equipo-roster-report] [data-track] [aria-current="step"]:not([data-working])')].every(li=>getComputedStyle(li.querySelector('[equipo-dot]'),'::before').content==='none' && getComputedStyle(li.querySelector('[data-working-cue]')).display==='none')`, "an idle stop draws the ring or the cue")
+ if motion == "reduce" {
+ p.check(ring(run)+`.animationName==='none' && `+ring(run)+`.opacity==='0.6' && `+ring(run)+`.transform!=='none'`, "reduced motion lost the still ring")
+ p.check(`getComputedStyle(`+cur(run)+`.previousElementSibling,'::before').animationName==='none'`, "the line moves under reduced motion")
+ } else {
+ p.check(ring(run)+`.animationName==='equipo-tl-ring' && `+ring(run)+`.animationDuration==='2.4s'`, "the working stop does not pulse")
+ p.check(`getComputedStyle(`+cur(run)+`.previousElementSibling,'::before').animationName==='equipo-tl-flow'`, "the line into the working stop is still")
+ p.check(`document.getAnimations().filter(x=>x.animationName==='equipo-tl-ring').every(x=>x.startTime===0)`, "pulses out of phase")
+ }
+ // The task page's track: the living mark, and the ring.
+ p.open("/tasks/" + g.running)
+ full := `document.querySelector('[equipo-track-full]')`
+ p.check(cur(full)+`.hasAttribute('data-working') && !!`+cur(full)+`.querySelector('[equipo-mark]') && `+cue(full)+`!=='none'`, "the task page's stop is not working")
+ if motion == "reduce" {
+ p.check(ring(full)+`.animationName==='none' && `+ring(full)+`.opacity==='0.6'`, "task page: reduced motion lost the still ring")
+ } else {
+ p.check(ring(full)+`.animationName==='equipo-tl-ring'`, "task page: the working stop does not pulse")
+ }
+
+ })
+ }
+ }
+
+ // Live, light and dark side by side: a new task's step queues, runs
+ // and stops, and its card's pulse follows with no reload.
+ pages := map[string]*innerPage{}
+ for _, scheme := range []string{"light", "dark"} {
+ p := openInner(t, a.inst.URL, a.inst.Cookie(), 1280, 900, false, scheme, "no-preference")
+ defer p.stop()
+ pages[scheme] = p
+ }
+ each := func(f func(scheme string, p *innerPage)) {
+ for _, scheme := range []string{"light", "dark"} {
+ f(scheme, pages[scheme])
+ }
+ }
+ task := taskID(t, a.call("tp-rec", wire.ToolRecordTask, map[string]any{"repo": "oficina/equipo", "title": "Keep the filter when the list refreshes", "brief": "The task filter resets when the list refreshes itself.", "separate": true}))
+ track := report(task)
+ card := `[data-card]:has([data-track-task="` + task + `"])`
+ show := `(()=>{` + cur(track) + `.closest('[data-card]').scrollIntoView({block:'center'});return true})()`
+ each(func(_ string, p *innerPage) {
+ p.open("/conversation")
+ p.wait(cur(track), "the new task's report")
+ p.check(`!`+cur(track)+`.hasAttribute('data-working') && `+ring(track)+`.content==='none'`, "a noted task pulses")
+ })
+ a.call("tp-start", wire.ToolStartTask, map[string]string{"task": task, "brief": "Keep the filter."})
+ _, body := a.expect(wire.FrameDispatch)
+ d := body.(*wire.DispatchCommand)
+ each(func(_ string, p *innerPage) {
+ p.wait(cur(track)+`?.hasAttribute('data-working')`, "the queued step's pulse")
+ })
+ a.step("tp-run", wire.StepReport{TaskID: task, StepID: d.StepID, Attempt: 1, State: wire.StepRunning, BaseSHA: strings.Repeat("8", 40), Family: "claude", Account: "claude-a"})
+ each(func(scheme string, p *innerPage) {
+ p.wait(cur(track)+`?.hasAttribute('data-working') && `+cur(track)+`.textContent.startsWith('In progress')`, "the running step's pulse")
+ p.check(ring(track)+`.animationName==='equipo-tl-ring'`, "the running card does not pulse")
+ p.check(show, "show the card")
+ p.cardShot(card, "track-pulse-running-"+scheme)
+ })
+ a.step("tp-fail", wire.StepReport{TaskID: task, StepID: d.StepID, Attempt: 1, State: wire.StepFailed, Reason: "provider_failed", Termination: true})
+ each(func(scheme string, p *innerPage) {
+ p.wait(cur(track)+` && !`+cur(track)+`.hasAttribute('data-working') && `+ring(track)+`.content==='none' && `+cue(track)+`==='none'`, "the pulse stopped")
+ p.stayed("conversation")
+ p.check(show, "show the card")
+ p.cardShot(card, "track-pulse-idle-"+scheme)
+ })
+}
+
+// cardShot saves the element sel at twice its size when
+// EQUIPO_BROWSER_ARTIFACTS names a directory.
+func (p *innerPage) cardShot(sel, name string) {
+ p.t.Helper()
+ dir := os.Getenv("EQUIPO_BROWSER_ARTIFACTS")
+ if dir == "" {
+ return
+ }
+ // A live refresh may swap the card mid-capture: settle, then retry.
+ var buf []byte
+ var err error
+ for try := 0; try < 4; try++ {
+ time.Sleep(700 * time.Millisecond)
+ err = chromedp.Do(p.ctx, chromedp.Func(func(ctx context.Context, target *chromedp.Target) error {
+ var err error
+ buf, err = chromedp.ScreenshotScale(chromedp.CSS(sel), 2)(ctx, target)
+ return err
+ }))
+ if err == nil {
+ break
+ }
+ }
+ if err != nil {
+ p.t.Fatal(err)
+ }
+ if err := os.MkdirAll(dir, 0700); err != nil {
+ p.t.Fatal(err)
+ }
+ if err := os.WriteFile(filepath.Join(dir, name+".png"), buf, 0600); err != nil {
+ p.t.Fatal(err)
+ }
+}