oficina / equipo Public

equipo: pulse the stage track while a specialist works

The stage track on a task's report card and on the task page stood
still while Engineering worked, so the work looked stalled. While the
task's newest step is queued or running (the task open, not waiting on
the person, no Copy hold), its current stop is marked data-working:
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 or after a step ends. Reduced motion shows a still ring.
The task page keeps its living mark, with the ring behind it.

The current stop carries a visually hidden "(work underway)", shown to
assistive technology only while it is working. A step that starts or
stops over the stream toggles the attribute in place at once; the
refresh then has the last word, and every ring is timed from the
document's start so a swapped-in card carries on in phase.

Copy accepted by delegation (Astra, 2026-11-20): work.track.working
changed from "working" to "(work underway)".
Tests: TestTrackWorkingPulse (task page and card, running, queued,
idle, waiting, held, done) and TestBrowserTrackPulse (both schemes,
both motion settings, live queue, run and stop with no reload).
Budget records for internal/equipo and internal/thintest raised.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 71c7dbba38216d546f36b295bd2ce505bf1ed404 parent 1449687
11 files changed, +290 −8
  • .rastrillo/budgets.txt +2 −2
  • 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 +11 −1
  • internal/equipo/static/equipo.css +19 −0
  • 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/thintest/track_pulse_browser_test.go +143 −0

CI failed — 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/timeline-active-pulse: Type  Size Avail | ext4   96G   87G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   87G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 1.3s
ci-box: codex: fetched and verified in 3.5s
ci-box: codex-code-mode-host: fetched and verified in 1.5s
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: image pulled in 9.9s
ci-box: pi: installed and verified in 7.3s
ci-box: opencode: installed and verified in 2.2s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 9.3s
ci-box: clone deepened in 3.1s
ci-box: file times set from content: 2728 files, 174 directories
ci-box: ready in 16.7s
=== 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.2s
+ 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.729s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m26.307s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m26.31s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 67.75, cpu waiting 38.78%, memory waiting 0.00%, io waiting 0.41%
--- 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 1m31.016s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m29.565s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m29.56s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 66.73, cpu waiting 38.73%, memory waiting 0.00%, io waiting 0.37%
--- 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 1m31.92s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m30.372s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m18.86s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 6.26s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 5.25s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 66.73, cpu waiting 38.82%, memory waiting 0.00%, io waiting 0.38%
--- 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 1m43.482s 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 1m42.037s amadan.net/oficina/equipo/internal/headless
receipt: slow test 43.5s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 38.22s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.7s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.61s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 63.57, cpu waiting 34.70%, memory waiting 0.00%, io waiting 0.31%
--- 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 1m44.468s 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.018s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m6.34s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.67s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 10.18s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 8.89s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 5.94s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 63.57, cpu waiting 33.63%, memory waiting 0.00%, io waiting 0.30%
--- 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 3m15.31s 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 3m13.755s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m52.36s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 23.79s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.44s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 8.03s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.27s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 15.89, cpu waiting 7.61%, memory waiting 0.00%, io waiting 0.06%
--- shard 6 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane thintest: ./internal/thintest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test([^C]|C[^o]|Co[^n]|Con[^t])|^TestContract(Assistant|Outcome|Team|Handoff|HostAllowlist|HostIsPerPerson|Look|Use[A-Z]|RemoteCall|LanesRunAtOnce|NoMergeQuestionWhenGateMerges|PreviewHeldUntilPublishAnswer|PreviewNotHeldBelow19|PublishNeedsOwnerAnswer)' ./internal/thintest

receipt: test step 2m1.547s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 2m0.205s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 7.75s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.75s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.67s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 4.41s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 3.32s amadan.net/oficina/equipo/internal/thintest TestContractTeamUpdatePersonNeeds
machine: 32 CPUs, load 46.44, cpu waiting 25.01%, memory waiting 0.00%, io waiting 0.22%
--- shard 7 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane thintest-contract: ./internal/thintest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^Test([^C]|C[^o]|Co[^n]|Con[^t])|^TestContract(Assistant|Outcome|Team|Handoff|HostAllowlist|HostIsPerPerson|Look|Use[A-Z]|RemoteCall|LanesRunAtOnce|NoMergeQuestionWhenGateMerges|PreviewHeldUntilPublishAnswer|PreviewNotHeldBelow19|PublishNeedsOwnerAnswer)' ./internal/thintest

receipt: test step 1m24.349s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m22.932s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.02s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.05s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.38s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.35s amadan.net/oficina/equipo/internal/thintest TestContractPublishNameTaken
receipt: slow test 2.34s amadan.net/oficina/equipo/internal/thintest TestContractPreview
machine: 32 CPUs, load 69.73, cpu waiting 39.11%, memory waiting 0.00%, io waiting 0.42%
--- 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.904s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m48.955s 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.904s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 36.98s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.97s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.79s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.48s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 6.78s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 4.12, cpu waiting 1.58%, memory waiting 0.00%, io waiting 0.00%
--- 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.467s 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.322s amadan.net/oficina/equipo/internal/runner
receipt: slow test 28.29s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 48.69, cpu waiting 28.49%, memory waiting 0.00%, io waiting 0.78%
--- shard 10 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-plans: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

receipt: test step 58.213s 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 56.307s amadan.net/oficina/equipo/internal/runner
receipt: slow test 46.29s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 39.85s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.39s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 58.37, cpu waiting 34.72%, memory waiting 0.00%, io waiting 0.66%
--- 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.081s 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.168s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.12s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.26s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.12s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.25s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.63s amadan.net/oficina/equipo/internal/runner TestCoordinatorTransientRefusalKeepsServing
machine: 32 CPUs, load 38.38, cpu waiting 17.87%, memory waiting 0.00%, io waiting 0.99%
--- 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 34.6%, load 28.14
test lane equipotest-a: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test[A-D]|^TestQ' ./internal/equipotest

receipt: test step 1m6.063s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m4.294s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 27.06s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 26.98s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 24.94s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 22.22s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 22.03s amadan.net/oficina/equipo/internal/equipotest TestAccountConcurrentDuplicate
machine: 32 CPUs, load 62.74, cpu waiting 37.36%, memory waiting 0.00%, io waiting 0.34%
--- 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 34.6%, load 28.14
test lane equipotest-e: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test[E-P]' ./internal/equipotest

receipt: test step 1m14.973s 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 1m13.253s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 19.78s amadan.net/oficina/equipo/internal/equipotest TestProjectRetryAndRevision
receipt: slow test 19.76s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 19.74s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 19.73s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 19.72s amadan.net/oficina/equipo/internal/equipotest TestProjectBindingUniqueness
machine: 32 CPUs, load 63.57, cpu waiting 33.63%, memory waiting 0.00%, io waiting 0.30%
--- 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 34.6%, load 28.14
test lane equipotest-r: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestR' ./internal/equipotest

receipt: test step 1m12.902s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m7.971s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 15.21s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.16s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.09s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 10.03s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 7.04s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 63.57, cpu waiting 34.70%, memory waiting 0.00%, io waiting 0.31%
--- 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 34.6%, load 28.14
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.477s 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.718s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 25.48s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 24.46s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 24.37s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 22.59s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsConcurrentRevision
receipt: slow test 22.57s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
machine: 32 CPUs, load 62.74, cpu waiting 37.36%, memory waiting 0.00%, io waiting 0.34%
--- 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 34.5%, load 28.14
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
--- FAIL amadan.net/oficina/equipo/internal/plan3test TestPlan3ReleaseBoundaries
=== RUN   TestPlan3ReleaseBoundaries
--- FAIL: TestPlan3ReleaseBoundaries (0.31s)

--- FAIL amadan.net/oficina/equipo/internal/plan3test TestPlan3ReleaseBoundaries/inventory
=== RUN   TestPlan3ReleaseBoundaries/inventory
    plan3_release_test.go:22: entry has no copy review status or applicable acceptance work.track.working
--- FAIL: TestPlan3ReleaseBoundaries/inventory (0.01s)

--- FAIL amadan.net/oficina/equipo/internal/plan3test (package output)
FAIL
rastrillo-budget/v1 ran 49.245s
FAIL	amadan.net/oficina/equipo/internal/plan3test	49.651s


receipt: test step 51.256s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 49.245s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.51s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.44s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.54s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.43s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.23s amadan.net/oficina/equipo/internal/plan3test TestSpecialistLibraryMigration
rastrillo: budget test: go test failed
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestPlan3ReleaseBoundaries$/^inventory$' -count=1 ./internal/plan3test   (retry, once)
FAILED TWICE ./internal/plan3test:TestPlan3ReleaseBoundaries/inventory plan3test
=== RUN   TestPlan3ReleaseBoundaries
=== RUN   TestPlan3ReleaseBoundaries/inventory
    plan3_release_test.go:22: entry has no copy review status or applicable acceptance work.track.working
--- FAIL: TestPlan3ReleaseBoundaries (0.03s)
    --- FAIL: TestPlan3ReleaseBoundaries/inventory (0.03s)
FAIL
rastrillo-budget/v1 ran 26ms
FAIL	amadan.net/oficina/equipo/internal/plan3test	0.344s
FAIL
machine: 32 CPUs, load 69.73, cpu waiting 39.12%, memory waiting 0.00%, io waiting 0.44%
make: *** [Makefile:113: ci-shard] Error 1

amadan: step check shard 16 of 29 failed: exit status 2
--- 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 34.5%, load 30.93
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/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/testci: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/copydesk: 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/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runnerproto: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
--- FAIL amadan.net/oficina/equipo/internal/testci TestBudgetRecordsAreShort
=== RUN   TestBudgetRecordsAreShort
    budgets_file_test.go:37: .rastrillo/budgets.txt:17: reason is 217 bytes, over 200
--- FAIL: TestBudgetRecordsAreShort (0.00s)

--- FAIL amadan.net/oficina/equipo/internal/testci (package output)
FAIL
rastrillo-budget/v1 ran 1.668s
FAIL	amadan.net/oficina/equipo/internal/testci	1.691s

budget note: internal/equipo took 23.275s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 13.726s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/idtest took 42.465s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 18.73s, 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 53.65s, over the 15s its record on line 40 allows; reported only, timing fails on CI

receipt: test step 2m30.444s against a 60s target (the gate's other steps are not in this figure)
receipt: 18 packages ran, 41 cached, 18 without tests, 1 failed
receipt: slow package 1m8.324s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 55.389s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 53.65s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow package 52.028s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 49.118s amadan.net/oficina/equipo/cmd/equipo-runner
receipt: slow test 43.79s amadan.net/oficina/equipo/cmd/equipo-runner TestReleaseRunnerHasNoFakeWorker
receipt: slow test 27.06s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 24.81s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 13.71s amadan.net/oficina/equipo/internal/idtest TestIDCallbackGuardAndPendingNonce
receipt: slow test 11.83s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeP1OnlyOpenCodeReachable
rastrillo: budget test: go test failed
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestBudgetRecordsAreShort$' -count=1 ./internal/testci   (retry, once)
FAILED TWICE ./internal/testci:TestBudgetRecordsAreShort rest
=== RUN   TestBudgetRecordsAreShort
    budgets_file_test.go:37: .rastrillo/budgets.txt:17: reason is 217 bytes, over 200
--- FAIL: TestBudgetRecordsAreShort (0.00s)
FAIL
rastrillo-budget/v1 ran 0s
FAIL	amadan.net/oficina/equipo/internal/testci	0.003s
FAIL
machine: 32 CPUs, load 19.84, cpu waiting 9.60%, memory waiting 0.00%, io waiting 0.08%
make: *** [Makefile:113: ci-shard] Error 1

amadan: step check shard 17 of 29 failed: exit status 2
--- 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
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserChat
=== RUN   TestBrowserChat
time=2026-11-20T08:41:22.759Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T08:41:22.760Z level=INFO msg="startup phase done" phase=state_lock took=56µs
time=2026-11-20T08:41:22.760Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T08:41:22.760Z level=INFO msg="startup phase done" phase=claim_roots took=91µs
time=2026-11-20T08:41:22.760Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T08:41:22.799Z level=INFO msg="startup phase done" phase=sweep took=39.192ms
time=2026-11-20T08:41:22.799Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T08:41:22.799Z level=INFO msg="startup phase done" phase=credentials took=104µs
time=2026-11-20T08:41:22.799Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T08:41:22.870Z level=INFO msg="startup phase done" phase=open_state took=70.529ms
time=2026-11-20T08:41:22.870Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T08:41:22.872Z level=INFO msg=connecting host=127.0.0.1:36457 protocol=28
time=2026-11-20T08:41:22.874Z level=INFO msg=connected host=127.0.0.1:36457 took=2.188ms
time=2026-11-20T08:41:22.875Z level=INFO msg="capabilities gathering"
time=2026-11-20T08:41:22.876Z level=INFO msg="capabilities gathered" took=1.221ms tags=linux,claude,go
time=2026-11-20T08:41:22.881Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T08:41:22.883Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T08:41:24.743Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_test.go:46: waiting for [...document.querySelectorAll('[equipo-message="incoming"] [equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes('fake coordinator')): context deadline exceeded (last evaluation: <nil>)
--- FAIL: TestBrowserChat (6.07s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
=== RUN   TestBrowserChatSendStaysOnPage
time=2026-11-20T08:41:28.909Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T08:41:28.909Z level=INFO msg="startup phase done" phase=state_lock took=107µs
time=2026-11-20T08:41:28.909Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T08:41:28.909Z level=INFO msg="startup phase done" phase=claim_roots took=324µs
time=2026-11-20T08:41:28.909Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T08:41:28.956Z level=INFO msg="startup phase done" phase=sweep took=47.145ms
time=2026-11-20T08:41:28.957Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T08:41:28.958Z level=INFO msg="startup phase done" phase=credentials took=245µs
time=2026-11-20T08:41:28.958Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T08:41:29.061Z level=INFO msg="startup phase done" phase=open_state took=103.481ms
time=2026-11-20T08:41:29.062Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T08:41:29.063Z level=INFO msg=connecting host=127.0.0.1:43439 protocol=28
time=2026-11-20T08:41:29.074Z level=INFO msg=connected host=127.0.0.1:43439 took=10.946ms
time=2026-11-20T08:41:29.074Z level=INFO msg="capabilities gathering"
time=2026-11-20T08:41:29.080Z level=INFO msg="capabilities gathered" took=5.59ms tags=linux,claude,go
time=2026-11-20T08:41:29.092Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T08:41:29.098Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T08:41:31.450Z 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.43s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
=== RUN   TestBrowserDraftIsTheMessage
time=2026-11-20T08:41:35.249Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T08:41:35.249Z level=INFO msg="startup phase done" phase=state_lock took=134µs
time=2026-11-20T08:41:35.249Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T08:41:35.249Z level=INFO msg="startup phase done" phase=claim_roots took=156µs
time=2026-11-20T08:41:35.249Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T08:41:35.284Z level=INFO msg="startup phase done" phase=sweep took=34.722ms
time=2026-11-20T08:41:35.284Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T08:41:35.284Z level=INFO msg="startup phase done" phase=credentials took=204µs
time=2026-11-20T08:41:35.284Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T08:41:35.328Z level=INFO msg="startup phase done" phase=open_state took=43.854ms
time=2026-11-20T08:41:35.329Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T08:41:35.329Z level=INFO msg=connecting host=127.0.0.1:35773 protocol=28
time=2026-11-20T08:41:35.332Z level=INFO msg=connected host=127.0.0.1:35773 took=2.311ms
time=2026-11-20T08:41:35.332Z level=INFO msg="capabilities gathering"
time=2026-11-20T08:41:35.332Z level=INFO msg="capabilities gathered" took=527µs tags=linux,claude,go
time=2026-11-20T08:41:35.337Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T08:41:35.337Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T08:41:37.147Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_thinking_test.go:106: waiting for !!window.__m: context deadline exceeded (last evaluation: <nil>)
--- FAIL: TestBrowserDraftIsTheMessage (7.99s)

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


receipt: test step 50.029s 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.531s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.26s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 8.16s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 7.99s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 6.43s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
receipt: slow test 6.07s amadan.net/oficina/equipo/internal/headless TestBrowserChat
rastrillo: budget test: go test failed
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 71c7dbba38216d546f36b295bd2ce505bf1ed404 6.07s 54.48
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserChatSendStaysOnPage browser-headless-chat 71c7dbba38216d546f36b295bd2ce505bf1ed404 6.43s 54.48
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserDraftIsTheMessage browser-headless-chat 71c7dbba38216d546f36b295bd2ce505bf1ed404 7.99s 54.48
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 58.72, cpu waiting 31.53%, memory waiting 0.00%, io waiting 0.28%
--- 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 1m42.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 1m41.389s amadan.net/oficina/equipo/internal/headless
receipt: slow test 31.17s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 26.29s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 14.57s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 10.33s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 8.97s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 63.57, cpu waiting 33.63%, memory waiting 0.00%, io waiting 0.30%
--- 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 1m46.685s 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 1m45.252s amadan.net/oficina/equipo/internal/headless
receipt: slow test 16.6s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 13.8s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 13.07s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 10.99s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.38s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 58.72, cpu waiting 31.53%, memory waiting 0.00%, io waiting 0.28%
--- shard 21 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-rest: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-20T08:42:10.241Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T08:42:10.241Z level=INFO msg="startup phase done" phase=state_lock took=256µs
time=2026-11-20T08:42:10.242Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T08:42:10.242Z level=INFO msg="startup phase done" phase=claim_roots took=191µs
time=2026-11-20T08:42:10.242Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T08:42:10.269Z level=INFO msg="startup phase done" phase=sweep took=27.501ms
time=2026-11-20T08:42:10.269Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T08:42:10.270Z level=INFO msg="startup phase done" phase=credentials took=205µs
time=2026-11-20T08:42:10.270Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T08:42:10.314Z level=INFO msg="startup phase done" phase=open_state took=44.72ms
time=2026-11-20T08:42:10.315Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T08:42:10.316Z level=INFO msg=connecting host=127.0.0.1:41487 protocol=28
time=2026-11-20T08:42:10.317Z level=INFO msg=connected host=127.0.0.1:41487 took=875µs
time=2026-11-20T08:42:10.317Z level=INFO msg="capabilities gathering"
time=2026-11-20T08:42:10.318Z level=INFO msg="capabilities gathered" took=387µs tags=linux,claude,go
time=2026-11-20T08:42:10.318Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T08:42:10.322Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T08:42:11.542Z 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.84s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m34.8s
FAIL	amadan.net/oficina/equipo/internal/headless	95.151s

rastrillo: budget test: go test failed

receipt: test step 1m36.298s 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 1m34.8s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.25s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 12.78s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 11.85s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.89s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 8.36s amadan.net/oficina/equipo/internal/headless TestBrowserNotebook
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' -v -run '^TestBrowserEmptyExplore$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest 71c7dbba38216d546f36b295bd2ce505bf1ed404 5.84s 62.74
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 58.72, cpu waiting 32.56%, memory waiting 0.00%, io waiting 0.29%
--- shard 22 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-rest: ./internal/equipo
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserPreviewBlocksNavigation)$' ./internal/equipo

receipt: test step 1.913s 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 616ms amadan.net/oficina/equipo/internal/equipo
receipt: slow test 620ms amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewBlocksNavigation
browser lane browser-rest: ./internal/idtest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserOficinaIDDoor)$' ./internal/idtest

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

receipt: test step 3m9.888s 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 3m8.315s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 17.33s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.37s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 10.56s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.04s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 8.85s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
machine: 32 CPUs, load 15.89, cpu waiting 7.12%, memory waiting 0.00%, io waiting 0.05%
--- 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.32s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.62s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 9.99s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 10.49s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 27.37s
+ go test -tags testbuild -timeout 15m -v -run '^TestHeadlessConnections$/^C5_review_auth$|^TestHeadlessConnections$/^C5_review_failover$|^TestHeadlessConnections$/^C5_review_on_codex$|^TestHeadlessConnections$/^C5_review_other_family_first$' ./internal/headless   (80s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 14.90s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 26.62s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 21.42s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 15.69s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (23s)
ok ./internal/headless TestMixedVersions 21.32s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (1s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.80s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (0s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.05s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 69.73, cpu waiting 39.12%, memory waiting 0.00%, io waiting 0.44%
--- shard 24 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 24: make runner-host
python3 scripts/runner-prerequisites.py
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks

receipt: test step 10.903s 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.385s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 188ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 89ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 2ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/gotoolchain
receipt: slow test 5.14s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.8s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 330ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 190ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 90ms 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.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 3.014s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 280ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 190ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 130ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReapsOrphans
machine: 32 CPUs, load 18.30, cpu waiting 7.39%, memory waiting 0.00%, io waiting 1.38%
--- 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 34.5%, load 30.93
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2442 text files, 2846 matches, 0 failures
python3 scripts/ci-test.py check
lanes: 18 lanes and 5 browser lanes run every test once; 20-check@29
CGO_ENABLED=0 go build ./...
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o /dev/null ./cmd/equipo-runner
go vet ./...
go vet -tags testbuild ./internal/runner/thin ./internal/headless
GOOS=darwin GOARCH=arm64 go vet ./cmd/equipo-runner/... ./internal/runner/... ./internal/wire/... ./internal/release/...
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
budget size: 87 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.459s
machine: 32 CPUs, load 59.86, cpu waiting 35.09%, memory waiting 0.00%, io waiting 0.64%
--- 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 34.5%, load 28.14
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 42.83, cpu waiting 24.38%, memory waiting 0.00%, io waiting 0.86%
--- 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 34.5%, load 30.93
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.38, cpu waiting 20.96%, memory waiting 0.00%, io waiting 0.92%
--- 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 34.6%, load 28.14
shard 28: make gitleaks
8:41AM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
8:41AM INF 1032 commits scanned.
8:41AM INF scanned ~60041729 bytes (60.04 MB) in 20.9s
8:41AM INF no leaks found
machine: 32 CPUs, load 54.48, cpu waiting 30.04%, memory waiting 0.00%, io waiting 0.75%

amadan: job failed at step check shards 16, 17 of 29 — its output is above, not at the tail of this log
diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt
index ed35e14e..53b5710b 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); the stage track's working pulse; measured 21407/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);
@@ -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 - 11249 Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; measured 0/11249 source/test lines (live first-stage check).
-size internal/thintest - 32091 Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; empty conversation page and browser checks; measured 1515/32091 source/test lines.
+size internal/thintest - 32234 Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; empty conversation page and browser checks; the working pulse browser check; measured 1515/32234 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..8182acf4 100644
--- a/internal/equipo/static/chat-stream.js
+++ b/internal/equipo/static/chat-stream.js
@@ -876,6 +876,7 @@
}
return settle(old, el);
}).filter(Boolean));
+ 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);}
@@ -1041,7 +1042,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..6a6c7301 100644
--- a/internal/equipo/static/equipo.css
+++ b/internal/equipo/static/equipo.css
@@ -477,6 +477,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/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)
+ }
+}