oficina / equipo Public

Fix stopped-work actions and dynamic Mac report sizing

Paul Campbell pushed by claude agent, operated by paul@keymail.dev e9b8d983d1c2ab8da7bffa1440b99f66b3206fbc parent a0dbde6
21 files changed, +505 −79
  • docs/superpowers/plans/CONTROLLER-REPORT-native-stopped-work.md +72 −0
  • native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings +11 −0
  • native/apple/Sources/EquipoKit/API/StoppedWork.swift +21 −0
  • native/apple/Sources/EquipoKit/Presentation/Pause.swift +14 −3
  • native/apple/Sources/EquipoKit/Presentation/ResumeAction.swift +21 −0
  • native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings +11 −0
  • native/apple/Sources/EquipoKit/Session/EquipoSession.swift +5 −3
  • native/apple/Sources/EquipoKit/UI/Components.swift +18 −16
  • native/apple/Sources/EquipoKit/UI/Screens/PhoneRoot.swift +1 −0
  • native/apple/Sources/EquipoKit/UI/SettingsWebSheet.swift +36 −18
  • native/apple/Sources/EquipoKit/UI/StepLogView.swift +6 −6
  • native/apple/Sources/EquipoKit/UI/StoppedWorkFixture.swift +23 −4
  • native/apple/Sources/EquipoKit/UI/TaskPauseActions.swift +21 −20
  • native/apple/Sources/EquipoMac/EquipoMacApp.swift +2 −1
  • native/apple/Sources/EquipoMac/LiveTranscript.swift +10 −5
  • native/apple/Sources/EquipoMac/ResizingHostingView.swift +31 −0
  • native/apple/Sources/EquipoMac/StoppedConversationFixture.swift +26 −0
  • native/apple/Tests/EquipoKitTests/ResizingHostTests.swift +38 −0
  • native/apple/Tests/EquipoKitTests/StoppedWorkTests.swift +135 −1
  • native/scripts/check-parity.py +1 −1
  • native/scripts/strings.json +2 −1

CI passed — run details

CI log
=== prepare ===
ci-box: machine: aarch64, 32 CPUs, 62 GiB memory, kernel 7.0.0-1017-aws
ci-box: python 3.12.3; Docker version 29.1.3, build 29.1.3-0ubuntu3~24.04.2
ci-box: user namespaces allowed: 233151
ci-box: cgroup: cgroup2fs
ci-box: disk /home/ci/work/repos/oficina__equipo/wt/native__stopped-work: Type  Size Avail | ext4   96G   85G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   85G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 1.5s
ci-box: codex: fetched and verified in 4.1s
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.3s
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.4s
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 8.7s
ci-box: clone deepened in 3.7s
ci-box: file times set from content: 3011 files, 193 directories
ci-box: ready in 17.8s
=== 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.140s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  1.2s
+ go list -export -test -tags testbuild -f  ./...
  0.6s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  0.3s
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-24 15:56:00 +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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m7.894s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m6.342s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m6.34s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 41.45, cpu waiting 23.16%, memory waiting 0.00%, io waiting 0.79%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m6.444s 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.883s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m4.88s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 41.45, cpu waiting 23.64%, memory waiting 0.00%, io waiting 0.81%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m6.303s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m4.319s amadan.net/oficina/equipo/internal/headless
receipt: slow test 56.23s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 4.41s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 3.68s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 41.45, cpu waiting 23.64%, memory waiting 0.00%, io waiting 0.81%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m4.874s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m3.334s amadan.net/oficina/equipo/internal/headless
receipt: slow test 29.73s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 16.54s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.68s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
receipt: slow test 8.38s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
machine: 32 CPUs, load 41.45, cpu waiting 23.64%, memory waiting 0.00%, io waiting 0.81%
--- 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_step_refused$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m20.928s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m19.251s amadan.net/oficina/equipo/internal/headless
receipt: slow test 51.5s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.9s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 7.58s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 6.81s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 4.45s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 39.40, cpu waiting 22.02%, memory waiting 0.00%, io waiting 0.64%
--- 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_step_refused$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 2m32.279s 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 2m30.226s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m25.85s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 18.24s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.6s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 6.54s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
receipt: slow test 6.3s amadan.net/oficina/equipo/internal/headless TestHeadlessBatchAfterRefusedReply
machine: 32 CPUs, load 16.67, cpu waiting 7.05%, memory waiting 0.00%, io waiting 0.18%
--- 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 335ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 2m7.608s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 8.26s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.77s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.77s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 3.67s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 2.57s amadan.net/oficina/equipo/internal/thintest TestResearchDoneFallsBack
machine: 32 CPUs, load 4.61, cpu waiting 0.00%, memory waiting 0.00%, io waiting 2.39%
--- 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 339ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m35.282s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.09s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.06s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.49s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.38s amadan.net/oficina/equipo/internal/thintest TestContractPublishNameTaken
receipt: slow test 2.37s amadan.net/oficina/equipo/internal/thintest TestContractRetryFailedPreviewAfterMerge
machine: 32 CPUs, load 4.61, cpu waiting 0.00%, memory waiting 0.00%, io waiting 2.39%
--- 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 4m36.553s, over the 45s its record on line 44 allows; reported only, timing fails on CI

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

receipt: test step 47.94s 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 46.866s amadan.net/oficina/equipo/internal/runner
receipt: slow test 26.84s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.03s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 39.08, cpu waiting 22.92%, memory waiting 0.00%, io waiting 1.10%
--- 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 48.492s 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 46.582s amadan.net/oficina/equipo/internal/runner
receipt: slow test 36.66s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 30.8s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.39s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.51s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 39.08, cpu waiting 22.92%, memory waiting 0.00%, io waiting 1.10%
--- shard 11 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-rest: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$|^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

receipt: test step 34.836s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 33.986s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.12s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.15s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.12s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.13s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 23.80, cpu waiting 15.16%, memory waiting 0.00%, io waiting 1.39%
--- 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 29.7%, load 23.80
test lane equipotest-a: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test[A-D]|^TestQ' ./internal/equipotest
cache miss: amadan.net/oficina/equipo/internal/equipotest: its inputs changed

receipt: test step 1m6.598s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m4.622s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 28.04s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 28.01s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 25.88s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 23.38s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 23.1s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfiguration
machine: 32 CPUs, load 33.28, cpu waiting 16.87%, memory waiting 0.00%, io waiting 0.47%
--- shard 13 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-e started 30s late; cpu waiting 29.7%, load 17.51
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 487ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m16.758s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 20.44s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 20.43s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 20.36s amadan.net/oficina/equipo/internal/equipotest TestProjectConcurrentRetry
receipt: slow test 20.32s amadan.net/oficina/equipo/internal/equipotest TestProjectOwnersAreMembers
receipt: slow test 20.29s amadan.net/oficina/equipo/internal/equipotest TestProjectsSharedAndGrouped
machine: 32 CPUs, load 23.80, cpu waiting 12.45%, memory waiting 0.00%, io waiting 1.49%
--- 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 29.7%, load 17.51
test lane equipotest-r: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestR' ./internal/equipotest
cache miss: amadan.net/oficina/equipo/internal/equipotest: its inputs changed

receipt: test step 1m17.145s 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.756s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 14.56s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.13s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.14s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 10.08s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 7.05s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 32.23, cpu waiting 14.46%, memory waiting 0.00%, io waiting 0.40%
--- 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 29.7%, load 17.51
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 455ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m7.251s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 25.95s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 25.28s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 25.21s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 23.42s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsRollbackAndUnavailable
receipt: slow test 23.4s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsCurrentOwner
machine: 32 CPUs, load 23.80, cpu waiting 12.45%, memory waiting 0.00%, io waiting 1.49%
--- 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 29.7%, load 17.51
test lane plan3test: ./internal/plan3test
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/plan3test

receipt: test step 604ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 52.667s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.77s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.48s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.75s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.5s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.27s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorDefinitiveRefusalReleasesQueue
machine: 32 CPUs, load 23.80, cpu waiting 12.45%, memory waiting 0.00%, io waiting 1.49%
--- 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 29.7%, load 17.51
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/door ./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/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./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/claude/realcli ./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/forgekey ./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/door ./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/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./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/claude/realcli ./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/forgekey ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/idtest: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude/realcli: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/codex: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
budget note: internal/equipo took 50.37s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/chat took 17.623s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/setup took 11.631s, 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 1m40.808s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 23.057s, 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 38.648s, over the 15s its record on line 40 allows; reported only, timing fails on CI

receipt: test step 2m15.876s against a 60s target (the gate's other steps are not in this figure)
receipt: 13 packages ran, 53 cached, 17 without tests, 0 failed
receipt: slow package 1m40.808s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 53.083s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 52.366s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 50.37s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 38.648s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 54.64s amadan.net/oficina/equipo/internal/idtest TestDoorRemembersOficinaID
receipt: slow test 45.77s amadan.net/oficina/equipo/internal/idtest TestDoorOficinaSettingsUnreadableIsNoLoop
receipt: slow test 45.61s amadan.net/oficina/equipo/internal/idtest TestDoorNeverJudgesANativeSession
receipt: slow test 45.48s amadan.net/oficina/equipo/internal/idtest TestDoorStepUpIsLocal
receipt: slow test 45.34s amadan.net/oficina/equipo/internal/idtest TestDoorForgetsOficinaIDForARefusedSession
machine: 32 CPUs, load 13.20, cpu waiting 5.59%, memory waiting 0.00%, io waiting 0.14%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m17.991s 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 1m16.544s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.25s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 14.18s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 8.31s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.07s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 5.13s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 39.43, cpu waiting 22.36%, memory waiting 0.00%, io waiting 0.66%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m17.582s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m15.946s amadan.net/oficina/equipo/internal/headless
receipt: slow test 23.03s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 17.78s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 12.15s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 8.14s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 6.63s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 39.43, cpu waiting 22.36%, memory waiting 0.00%, io waiting 0.66%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m45.466s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m43.947s amadan.net/oficina/equipo/internal/headless
receipt: slow test 13.14s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 11.37s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 11.1s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsSignInEmail
receipt: slow test 10.59s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.52s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
machine: 32 CPUs, load 32.23, cpu waiting 14.92%, memory waiting 0.00%, io waiting 0.41%
--- 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|TestBrowserConnectionsSignInEmail|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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserCopyContinue
=== RUN   TestBrowserCopyContinue
time=2026-11-25T22:46:39.796Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-25T22:46:39.796Z level=INFO msg="startup phase done" phase=state_lock took=235µs
time=2026-11-25T22:46:39.796Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-25T22:46:39.796Z level=INFO msg="startup phase done" phase=claim_roots took=135µs
time=2026-11-25T22:46:39.796Z level=INFO msg="startup phase" phase=sweep
time=2026-11-25T22:46:39.837Z level=INFO msg="startup phase done" phase=sweep took=40.697ms
time=2026-11-25T22:46:39.837Z level=INFO msg="startup phase" phase=credentials
time=2026-11-25T22:46:39.837Z level=INFO msg="startup phase done" phase=credentials took=102µs
time=2026-11-25T22:46:39.837Z level=INFO msg="startup phase" phase=open_state
time=2026-11-25T22:46:39.880Z level=INFO msg="startup phase done" phase=open_state took=42.622ms
time=2026-11-25T22:46:39.881Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-25T22:46:39.883Z level=INFO msg=connecting host=127.0.0.1:39373 protocol=30
time=2026-11-25T22:46:39.884Z level=INFO msg=connected host=127.0.0.1:39373 took=938µs
time=2026-11-25T22:46:39.885Z level=INFO msg="capabilities gathering"
time=2026-11-25T22:46:39.886Z level=INFO msg="capabilities gathered" took=1.176ms tags=linux,claude,go
time=2026-11-25T22:46:39.886Z level=INFO msg="hello sent" protocol=30
time=2026-11-25T22:46:39.895Z level=INFO msg=welcome protocol=30 role=primary generation=1
    browser_copy_test.go:93: continue did not reach Checks: 0 <nil>
--- FAIL: TestBrowserCopyContinue (1.81s)

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


receipt: test step 1m21.044s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 1m19.506s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.53s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 10.35s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 8.93s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 8.85s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 7.18s amadan.net/oficina/equipo/internal/headless TestBrowserRefreshRace
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInEmail|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' -v -run '^TestBrowserCopyContinue$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserCopyContinue browser-headless-rest e9b8d983d1c2ab8da7bffa1440b99f66b3206fbc 1.81s 39.40
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 37.52, cpu waiting 20.30%, memory waiting 0.00%, io waiting 0.58%
--- 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 293ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 721ms amadan.net/oficina/equipo/internal/equipo
receipt: slow test 720ms amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewBlocksNavigation
browser lane browser-rest: ./internal/idtest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserOficinaIDDoor|TestBrowserSmartDoor)$' ./internal/idtest
budget note: internal/idtest took 10.315s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI

receipt: test step 200ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 10.315s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 8.18s amadan.net/oficina/equipo/internal/idtest TestBrowserSmartDoor
receipt: slow test 2.13s 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 223ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 2.139s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 2.14s 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|TestBrowserEndedNoteStaysGone|TestBrowserHousekeeping|TestBrowserInnerGallery|TestBrowserInnerScreens|TestBrowserInstantThinking|TestBrowserInstantThinkingQueued|TestBrowserMachines|TestBrowserPausedWork|TestBrowserPhoneIndex|TestBrowserPlacementQuestionAndPending|TestBrowserProjectPlacement|TestBrowserProjectsList|TestBrowserReportActionFeedback|TestBrowserReportNextSteps|TestBrowserReportThread|TestBrowserRhythm|TestBrowserRollup|TestBrowserRosterAlignment|TestBrowserRosterDecisionStates|TestBrowserRosterQuietDay|TestBrowserRosterReports|TestBrowserRosterSetAside|TestBrowserRosterSubchat|TestBrowserRosterThinking|TestBrowserRosterVisual|TestBrowserSettingsHousekeepingGroups|TestBrowserSettingsMenu|TestBrowserSettingsRail|TestBrowserSettingsSaveBar|TestBrowserSettingsShots|TestBrowserSettingsStayOnPage|TestBrowserSettingsTeams|TestBrowserShipsButtons|TestBrowserSpecialistRows|TestBrowserSpendFollowsAnswers|TestBrowserTaskRows|TestBrowserTeamPanel|TestBrowserThinkingCycles|TestBrowserThinkingLinesClear|TestBrowserThinkingSteady|TestBrowserThinkingWords|TestBrowserTokenRowEmail|TestBrowserTrackPulse|TestBrowserTrackStarCentre|TestBrowserTryAgain)$' ./internal/thintest

receipt: test step 346ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 3m36.11s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 21.94s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.44s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.03s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.73s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.27s amadan.net/oficina/equipo/internal/thintest TestBrowserRhythm
machine: 32 CPUs, load 4.61, cpu waiting 1.17%, memory waiting 0.00%, io waiting 2.38%
--- 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   (47s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 4.60s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.29s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 7.17s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 7.66s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 24.82s
+ 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   (53s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 11.25s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 18.82s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 9.37s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 11.61s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (18s)
ok ./internal/headless TestMixedVersions 16.85s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.78s
+ 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 38.91, cpu waiting 23.62%, memory waiting 0.00%, io waiting 0.99%
--- 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 8.434s against a 60s target (the gate's other steps are not in this figure)
receipt: 4 packages ran, 0 cached, 4 without tests, 0 failed
receipt: slow package 7.192s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 154ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 62ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 5ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/claude/realcli
receipt: slow test 5.16s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.62s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 320ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 150ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 80ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxToolchain
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run '^TestNamespace' -count=1 ./internal/runner/containment
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run '^TestNamespace' -count=1 ./internal/runner/containment

receipt: test step 3.048s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 2.712s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 270ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 180ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryMalformedRecord
machine: 32 CPUs, load 13.68, cpu waiting 5.10%, memory waiting 0.00%, io waiting 2.01%
--- 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 29.7%, load 17.51
shard 25: make runner-dead-references lanes-check build vet fmt-check spacing budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2724 text files, 3228 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 tool fiesta spacing -skip tokens.css internal/equipo/static
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
budget size: 92 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.465s
machine: 32 CPUs, load 33.69, cpu waiting 21.14%, memory waiting 0.00%, io waiting 1.18%
--- shard 26 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: staticcheck started 30s late; cpu waiting 29.7%, load 17.51
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 23.80, cpu waiting 13.74%, memory waiting 0.00%, io waiting 1.44%
--- shard 27 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: govulncheck started 30s late; cpu waiting 29.7%, load 17.51
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 3
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 27.66, cpu waiting 16.33%, memory waiting 0.00%, io waiting 1.35%
--- shard 28 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: gitleaks started 30s late; cpu waiting 29.7%, load 23.80
shard 28: make gitleaks
10:46PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
10:46PM INF 1156 commits scanned.
10:46PM INF scanned ~66014858 bytes (66.01 MB) in 14.5s
10:46PM INF no leaks found
machine: 32 CPUs, load 33.69, cpu waiting 21.14%, memory waiting 0.00%, io waiting 1.18%
=== perf ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -require TestPerfScreens,TestPerfBoot -tags perf -count=1 -p 1 -parallel 1 -run '^TestPerf' ./...
perf: GET /: median 1.102ms, worst 1.159ms, budget 150ms
perf: GET /api/runner/protocol: median 88µs, worst 107µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 622µs, worst 725µs, budget 150ms
perf: GET /api/v1/accounts: median 436µs, worst 467µs, budget 150ms
perf: GET /api/v1/auth/devices: median 463µs, worst 662µs, budget 150ms
perf: GET /api/v1/budgets: median 505µs, worst 533µs, budget 150ms
perf: GET /api/v1/capabilities: median 259µs, worst 312µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.245ms, worst 1.275ms, budget 150ms
perf: GET /api/v1/connections: median 638µs, worst 726µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 597µs, worst 629µs, budget 150ms
perf: GET /api/v1/conversation: median 963µs, worst 1.052ms, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.583ms, worst 1.682ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.987ms, worst 2.023ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 451µs, worst 485µs, budget 150ms
perf: GET /api/v1/journey: median 7.516ms, worst 7.753ms, budget 150ms
perf: GET /api/v1/me: median 431µs, worst 450µs, budget 150ms
perf: GET /api/v1/me/settings: median 551µs, worst 584µs, budget 150ms
perf: GET /api/v1/needs-you: median 7.169ms, worst 7.409ms, budget 150ms
perf: GET /api/v1/notifications: median 1.637ms, worst 1.722ms, budget 150ms
perf: GET /api/v1/onboarding: median 384µs, worst 407µs, budget 150ms
perf: GET /api/v1/people: median 446µs, worst 493µs, budget 150ms
perf: GET /api/v1/playbooks: median 587µs, worst 613µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 520µs, worst 563µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 840µs, worst 900µs, budget 150ms
perf: GET /api/v1/preferences: median 726µs, worst 768µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 440µs, worst 470µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 575µs, worst 602µs, budget 150ms
perf: GET /api/v1/roster: median 456µs, worst 508µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 407µs, worst 442µs, budget 150ms
perf: GET /api/v1/specialists: median 8.003ms, worst 8.127ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 7.868ms, worst 8.047ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 846µs, worst 872µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.122ms, worst 1.154ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 738µs, worst 765µs, budget 150ms
perf: GET /api/v1/teams: median 412µs, worst 463µs, budget 150ms
perf: GET /api/v1/templates: median 587µs, worst 610µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 440µs, worst 480µs, budget 150ms
perf: GET /auth/callback: median 78µs, worst 99µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.718ms, worst 3.816ms, budget 150ms
perf: GET /auth/verify: median 85µs, worst 122µs, budget 150ms
perf: GET /connections: median 4.074ms, worst 4.193ms, budget 150ms
perf: GET /conversation: median 8.128ms, worst 8.353ms, budget 150ms
perf: GET /conversation/connections: median 242µs, worst 326µs, budget 150ms
perf: GET /conversation/notebook: median 235µs, worst 275µs, budget 150ms
perf: GET /conversation/settings: median 4.512ms, worst 4.697ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 4.517ms, worst 4.75ms, budget 150ms
perf: GET /conversation/settings/connections: median 7.053ms, worst 7.243ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 7.124ms, worst 7.307ms, budget 150ms
perf: GET /conversation/settings/copy: median 4.467ms, worst 4.585ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 4.537ms, worst 4.639ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.817ms, worst 5.021ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.882ms, worst 4.939ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.943ms, worst 5.656ms, budget 150ms
perf: GET /conversation/settings/thinking: median 4.484ms, worst 4.592ms, budget 150ms
perf: GET /housekeeping: median 4.286ms, worst 4.424ms, budget 150ms
perf: GET /invites/new: median 616µs, worst 639µs, budget 150ms
perf: GET /invites/{id}: median 636µs, worst 668µs, budget 150ms
perf: GET /jobs: median 3.874ms, worst 3.965ms, budget 150ms
perf: GET /jobs/{id}: median 5.135ms, worst 5.27ms, budget 150ms
perf: GET /journey: median 10.626ms, worst 10.838ms, budget 150ms
perf: GET /nav/rail: median 3.404ms, worst 3.474ms, budget 150ms
perf: GET /needs-you: median 10.451ms, worst 13.846ms, budget 150ms
perf: GET /onboarding: median 4.445ms, worst 4.639ms, budget 150ms
perf: GET /people: median 3.92ms, worst 4.086ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 4.933ms, worst 5.066ms, budget 150ms
perf: GET /playbooks: median 4.429ms, worst 4.577ms, budget 150ms
perf: GET /playbooks/new: median 4.603ms, worst 4.648ms, budget 150ms
perf: GET /playbooks/{id}: median 4.899ms, worst 4.959ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 4.999ms, worst 5.138ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 4.211ms, worst 4.475ms, budget 150ms
perf: GET /preferences: median 4.562ms, worst 4.677ms, budget 150ms
perf: GET /preferences/sources/{source}: median 4.368ms, worst 4.543ms, budget 150ms
perf: GET /projects: median 6.423ms, worst 8.952ms, budget 150ms
perf: GET /projects/accounts: median 4.038ms, worst 4.157ms, budget 150ms
perf: GET /projects/new: median 4.127ms, worst 4.227ms, budget 150ms
perf: GET /projects/{id}: median 12.311ms, worst 12.782ms, budget 150ms
perf: GET /projects/{id}/edit: median 4.234ms, worst 4.371ms, budget 150ms
perf: GET /runners/enrol: median 4.78ms, worst 4.957ms, budget 150ms
perf: GET /settings: median 3.864ms, worst 3.995ms, budget 150ms
perf: GET /settings/coordinator: median 5.863ms, worst 6.027ms, budget 150ms
perf: GET /settings/devices: median 3.706ms, worst 3.762ms, budget 150ms
perf: GET /settings/recovery: median 3.785ms, worst 3.943ms, budget 150ms
perf: GET /settings/recovery/release: median 3.891ms, worst 4.075ms, budget 150ms
perf: GET /settings/thinking: median 238µs, worst 264µs, budget 150ms
perf: GET /signed-out: median 429µs, worst 540µs, budget 150ms
perf: GET /signin: median 281µs, worst 401µs, budget 150ms
perf: GET /specialists/new: median 3.801ms, worst 3.987ms, budget 150ms
perf: GET /specialists/{key}: median 11.303ms, worst 11.423ms, budget 150ms
perf: GET /specialists/{key}/edit: median 4.015ms, worst 4.101ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 4.172ms, worst 4.279ms, budget 150ms
perf: GET /tasks: median 6.134ms, worst 6.465ms, budget 150ms
perf: GET /tasks/new: median 3.677ms, worst 3.74ms, budget 150ms
perf: GET /tasks/{id}: median 5.876ms, worst 5.987ms, budget 150ms
perf: GET /tasks/{id}/merge: median 5.115ms, worst 5.347ms, budget 150ms
perf: GET /tasks/{id}/move: median 5.121ms, worst 6.825ms, budget 150ms
perf: GET /tasks/{id}/plan: median 6.118ms, worst 6.199ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.609ms, worst 1.69ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.789ms, worst 5.862ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 5.209ms, worst 5.408ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.631ms, worst 4.733ms, budget 150ms
perf: GET /tasks/{id}/thread: median 8.174ms, worst 8.273ms, budget 150ms
perf: GET /team/{specialist}: median 4.782ms, worst 4.866ms, budget 150ms
perf: GET /teams: median 10.357ms, worst 10.578ms, budget 150ms
perf: GET /templates: median 3.963ms, worst 6.906ms, budget 150ms
perf: GET /usage: median 4.761ms, worst 4.89ms, budget 150ms
perf: GET /work: median 3.48ms, worst 3.603ms, budget 150ms
perf: GET /auth/devices/{id}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /connections: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/autonomy: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/connections: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/connections/add: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/copy: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/housekeeping: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/machines: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/machines/add: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/notebook: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/thinking: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /housekeeping: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /invites/new: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /invites/{id}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /jobs: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /jobs/{id}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /journey: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /nav/rail: 0 bytes of framework CSS and JS, gzipped; 16000-byte budget
perf: GET /needs-you: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /onboarding: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /people: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /playbook-suggestions/{suggestion}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /playbooks: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /playbooks/new: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /playbooks/{id}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /playbooks/{id}/edit: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /playbooks/{id}/template-diff: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /preferences: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /preferences/sources/{source}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /projects: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /projects/accounts: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /projects/new: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /projects/{id}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /projects/{id}/edit: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /runners/enrol: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /settings: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /settings/coordinator: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /settings/devices: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /settings/recovery: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /settings/recovery/release: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /signed-out: 30270 bytes of framework CSS and JS, gzipped; 40000-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /specialists/new: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /specialists/{key}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /specialists/{key}/edit: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /specialists/{key}/template-diff: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/new: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/merge: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/move: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/plan: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/preview: 25954 bytes of framework CSS and JS, gzipped; 40000-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/questions/{question}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/rendered-change: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/thread: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /team/{specialist}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /teams: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /templates: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /usage: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /work: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: cold boot: median 157ms of [157.057047ms 157.249715ms 157.404272ms], budget 500ms

receipt: test step 32.866s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 88 without tests, 0 failed
receipt: slow package 10.384s amadan.net/oficina/equipo/internal/equipotest
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-runner
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-tool-proxy
receipt: slow package 0s amadan.net/oficina/equipo/internal/advice
receipt: slow test 9.86s amadan.net/oficina/equipo/internal/equipotest TestPerfScreens
receipt: slow test 520ms amadan.net/oficina/equipo/internal/equipotest TestPerfBoot
=== cache ===
ci-box: build cache /home/ci/work/repos/oficina__equipo/cache/go-build: 3.72 GiB in 24867 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 1.15 GiB in 40997 files
diff --git a/docs/superpowers/plans/CONTROLLER-REPORT-native-stopped-work.md b/docs/superpowers/plans/CONTROLLER-REPORT-native-stopped-work.md
index a539c716..aff7c7a2 100644
--- a/docs/superpowers/plans/CONTROLLER-REPORT-native-stopped-work.md
+++ b/docs/superpowers/plans/CONTROLLER-REPORT-native-stopped-work.md
@@ -131,3 +131,75 @@ Hub verdict is read with
`AMADAN_HOME="$HOME/.amadan-claude-agent" amadan ci status oficina/equipo -branch
native/stopped-work -json` redirected to a scratch JSON file; the final handoff
reports that verdict. No merge, deploy or release.
+
+## Fable review follow-up (2026-11-25)
+
+The controller requested changes to `a0dbde6a`, before slice 2 proceeds.
+Mac settings now use the default browser through `NSWorkspace.open`, with a
+fixed-path allowlist and an injected-opener test. iPhone retains Safari; its
+presentation is owned by the signed-in tab container, so a disappearing pause
+cannot dismiss the page. This supersedes the original Mac WebKit choice above.
+
+AppKit's report/thinking hosts now measure their SwiftUI content after layout
+changes, shift sibling content and subsequent rows by the height difference,
+and preserve the person's scroll position. A real-window test grows and
+shrinks content after mounting. Debug captures use the actual conversation:
+Resume arrives after a delayed connections response; Try again calls the fake
+endpoint and displays its failure. The next message remains below the report.
+
+Needs-you reasons offer Retry for a failed, terminated last step, creator only.
+Recover uses the web's failed `machine_removed`, not-terminated, creator guards
+and `POST /tasks/{id}/recover`. The held lead splits already-worded text at its
+first colon. Resume reloads its connection and pause revision after refusal.
+Run now returns reviewed failure words to the action view instead of swallowing
+errors. Logs distinguish offline, malformed answers and other read failures.
+Step details are one combined accessibility element; log disclosure is separate.
+Both progress indicators have existing reviewed labels. Only `work.recover`
+was added to copy, unchanged from the reviewed web entry and checked by parity.
+
+Test-first commands:
+
+- `swift test --package-path native/apple --filter StoppedWorkReviewTests`:
+ failed for absent Recover, log-error mapping and browser opener support.
+- `swift test --package-path native/apple --filter ResizingHostTests`:
+ failed because the resizing host did not exist.
+- `swift test --package-path native/apple --filter
+ 'ResizingHostTests|StoppedWorkReviewTests|StoppedWorkTests|PausedTests'`:
+ passed 30 tests after implementation.
+
+The review mutations each use
+`swift test --package-path native/apple --filter StoppedWorkReviewTests`.
+The mutation runner restores the original source in a `finally` block and
+requires an actual expectation failure, not a compilation failure.
+
+All 14 review mutations failed assertions and were restored:
+
+| Removed or changed guard | Result |
+| --- | --- |
+| Needs-you retry creator (including review_blocked) | Non-creator retry assertion failed |
+| Needs-you retry termination | Unterminated-step assertion failed |
+| Update runner creator | Settings-path assertion failed |
+| Raise budget creator (both branches) | Settings-path assertion failed |
+| Resume creator | Resume-step assertion failed |
+| no_further_changes mapping | Reason assertion failed |
+| machine_removed unterminated branch | Recovery/tone assertion failed |
+| Moving, stopping, copy-hold suppression | Transitional-task assertions failed |
+| Triage restricted to rebasing only | Retrying/rechecking/waiting assertions failed |
+| Resume spend.unknown match | Connection assertion failed |
+| Resume local-id match | Connection assertion failed |
+| Resume provider match | Connection assertion failed |
+| Non-409 retry errors treated as success | Reviewed failure-message assertion failed |
+| Held deadline condition | Deadline lead assertion failed |
+
+The first full gate found a timing assumption in the new resizing test: its
+fixed 200 ms wait was too short under the full parallel suite. The test now
+waits for each measured height with a bounded deadline, before changing the
+next state. The runtime resizing code did not change for this correction.
+
+Final follow-up gate: `native/scripts/check-native.sh` passed 229 tests in 28
+suites (one pre-existing known issue), 206 parity strings, Mac build and iPhone
+Simulator build. The two actual AppKit conversation captures were inspected:
+`site/build/slice1/mac-conversation-resume.png` and
+`site/build/slice1/mac-conversation-retry-failed.png`. The following message
+stays below the enlarged report in both. No server code changed in this delta;
+Linux hub CI remains the final gate, reported with the pushed SHA.
diff --git a/native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings b/native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings
index a8b36455..79908096 100644
--- a/native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings
+++ b/native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings
@@ -3797,6 +3797,17 @@
}
}
},
+ "work.recover": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Recover"
+ }
+ }
+ }
+ },
"work.stage.needs_you": {
"extractionState": "manual",
"localizations": {
diff --git a/native/apple/Sources/EquipoKit/API/StoppedWork.swift b/native/apple/Sources/EquipoKit/API/StoppedWork.swift
index 9e6c7d87..78ee2963 100644
--- a/native/apple/Sources/EquipoKit/API/StoppedWork.swift
+++ b/native/apple/Sources/EquipoKit/API/StoppedWork.swift
@@ -29,6 +29,7 @@ struct ResumeConnection: Codable, Sendable {
extension EquipoClient {
public func stepLog(_ id: String) async throws -> StepLog { try await get("/steps/\(escape(id))/log") }
func retryTask(_ id: String) async throws -> TaskAccepted { try await post("/tasks/\(escape(id))/retry", Self.empty()) }
+ func recoverTask(_ id: String) async throws -> TaskAccepted { try await post("/tasks/\(escape(id))/recover", Self.empty()) }
func resumeConnections() async throws -> ThinList<ResumeConnection> { try await get("/connections") }
func resumeConnection(_ connection: ResumeConnection) async throws {
guard let spend = connection.spend, spend.unknown else { return }
@@ -44,6 +45,26 @@ enum StoppedWorkActions {
} catch { return EquipoStrings.text("card.failed") }
}
+ static func recover(client: EquipoClient, task: String) async -> String? {
+ do { _ = try await client.recoverTask(task); return nil }
+ catch { return EquipoStrings.text("card.failed") }
+ }
+
+ static func runNow(client: EquipoClient, task: String, run: TaskPause.RunNow) async -> String? {
+ do { _ = try await client.runNow(task: task, step: run.step, revision: run.revision, offer: run.offer); return nil }
+ catch let error as EquipoAPIError where error.status == 409 { return EquipoStrings.text("api.not_retryable") }
+ catch { return EquipoStrings.text("card.failed") }
+ }
+
+ static func logFailure(_ error: Error) -> String {
+ if let error = error as? EquipoAPIError {
+ if error == .undecodable { return EquipoStrings.text("read.failed") }
+ if error == .offline { return EquipoStrings.text("card.offline") }
+ }
+ if error is URLError { return EquipoStrings.text("card.offline") }
+ return EquipoStrings.text("read.failed_title")
+ }
+
static func connection(for step: ThinStep, in connections: [ResumeConnection]) -> ResumeConnection? {
guard let runner = step.runnerId, let hold = step.hold else { return nil }
return connections.first { $0.runnerId == runner && $0.localId == hold.connection && $0.provider == hold.provider && $0.spend?.unknown == true }
diff --git a/native/apple/Sources/EquipoKit/Presentation/Pause.swift b/native/apple/Sources/EquipoKit/Presentation/Pause.swift
index 0105c709..939372c3 100644
--- a/native/apple/Sources/EquipoKit/Presentation/Pause.swift
+++ b/native/apple/Sources/EquipoKit/Presentation/Pause.swift
@@ -22,6 +22,7 @@ public struct TaskPause: Sendable, Equatable {
public var runNow: RunNow?
public var note: String?
public var canRetry = false
+ public var canRecover = false
public var settingsPath: String?
public var settingsLabel: String?
public var resumeStep: ThinStep?
@@ -49,7 +50,8 @@ extension TaskPause {
let lead = String(localized: String.LocalizationValue(key), bundle: .module)
guard lead != key else { return nil }
self.init(tone: .warning, stop: EquipoStrings.text("work.stage.needs_you"), lead: Self.format(lead), next: "")
- canRetry = task.needsYou == "review_blocked" && mine && step?.state == "failed" && step?.terminated == true
+ canRetry = mine && step?.state == "failed" && step?.terminated == true
+ canRecover = mine && step?.state == "failed" && step?.reason == "machine_removed" && step?.terminated != true
return
}
guard let step else { return nil }
@@ -63,7 +65,11 @@ extension TaskPause {
if mine { settingsPath = "/conversation/settings/machines"; settingsLabel = EquipoStrings.text("work.pause.update_runner") }
return
}
- if step.reason == "machine_removed" && step.terminated != true { return nil }
+ if step.reason == "machine_removed" && step.terminated != true {
+ self.init(tone: .warning, stop: EquipoStrings.text("work.stage.needs_you"), lead: EquipoStrings.text("work.needs.machine_removed"), next: "")
+ canRecover = mine
+ return
+ }
var reason = step.reason
if reason == "no_changes", (task.steps ?? []).prefix(while: { $0.id != step.id }).contains(where: { $0.pushed == true && !($0.candidateSha ?? "").isEmpty && ($0.specialist == "engineering" || $0.specialist == "copy" && $0.state == "done") }) { reason = "no_further_changes" }
self.init(tone: .negative, stop: EquipoStrings.text("work.stage.stopped"), lead: Self.format(EquipoStrings.text("work.pause.lead.stopped"), words.clockOrDay(step.finishedAt ?? now), StoppedReason.words(reason)), next: EquipoStrings.text("work.pause.next.try_again"))
@@ -95,7 +101,7 @@ extension TaskPause {
if mine { resumeStep = step }
return
case _ where !(hold.needsPerson ?? "").isEmpty:
- self.init(tone: .warning, stop: needs, lead: HeldLead.words(hold, name: name, due: task.priority?.by, words: words), next: EquipoStrings.text("work.pause.next.choose"))
+ self.init(tone: .warning, stop: needs, lead: Self.splitLead(HeldLead.words(hold, name: name, due: task.priority?.by, words: words)), next: EquipoStrings.text("work.pause.next.choose"))
if hold.reason == "budget" {
if mine { settingsPath = "/conversation/settings/connections"; settingsLabel = EquipoStrings.text("work.hold.raise_budget") }
return
@@ -138,6 +144,11 @@ extension TaskPause {
}
}
+ static func splitLead(_ words: String) -> (String, String) {
+ guard let colon = words.firstIndex(of: ":") else { return ("", words) }
+ return (String(words[...colon]), String(words[words.index(after: colon)...]))
+ }
+
private init(tone: StageTone, stop: String, lead: (String, String), next: String) {
self.init(tone: tone, stop: stop, strong: lead.0, rest: lead.1, next: next)
}
diff --git a/native/apple/Sources/EquipoKit/Presentation/ResumeAction.swift b/native/apple/Sources/EquipoKit/Presentation/ResumeAction.swift
new file mode 100644
index 00000000..43edd10d
--- /dev/null
+++ b/native/apple/Sources/EquipoKit/Presentation/ResumeAction.swift
@@ -0,0 +1,21 @@
+import Foundation
+import Observation
+
+@MainActor @Observable final class ResumeAction {
+ var connection: ResumeConnection?
+ func load(client: EquipoClient, step: ThinStep) async {
+ connection = nil
+ if let list = try? await client.resumeConnections() {
+ connection = StoppedWorkActions.connection(for: step, in: list.items ?? [])
+ }
+ }
+ func perform(client: EquipoClient, step: ThinStep) async -> String? {
+ guard let connection else { return nil }
+ do { try await client.resumeConnection(connection); return nil }
+ catch {
+ // A stale pause revision must never be offered for the next tap.
+ await load(client: client, step: step)
+ return EquipoStrings.text("card.failed")
+ }
+ }
+}
diff --git a/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings b/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings
index a8b36455..79908096 100644
--- a/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings
+++ b/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings
@@ -3797,6 +3797,17 @@
}
}
},
+ "work.recover": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Recover"
+ }
+ }
+ }
+ },
"work.stage.needs_you": {
"extractionState": "manual",
"localizations": {
diff --git a/native/apple/Sources/EquipoKit/Session/EquipoSession.swift b/native/apple/Sources/EquipoKit/Session/EquipoSession.swift
index 6d4df225..44de5f95 100644
--- a/native/apple/Sources/EquipoKit/Session/EquipoSession.swift
+++ b/native/apple/Sources/EquipoKit/Session/EquipoSession.swift
@@ -28,6 +28,7 @@ public final class EquipoSession {
/// A departing session can never become current again, even if a read
/// or credential renewal ignores cancellation and completes later.
public let lifetime: SignInLifetime
+ let settings = SettingsPresentation()
public let markdown = MarkdownTranscript()
private var questionDrafts: [String: QuestionAnswerDraft] = [:]
/// The zone this session told Equipo (paused work): sent once, and again
@@ -105,10 +106,11 @@ public final class EquipoSession {
/// The tap carries what the button showed; if Run now would now do
/// anything else it is refused (409 offer_changed). Either way the task
/// is read again, so the screen shows the offer as it is.
- public func runNow(task id: String, _ run: TaskPause.RunNow) async {
- guard lifetime.isActive else { return }
- _ = try? await client.runNow(task: id, step: run.step, revision: run.revision, offer: run.offer)
+ @discardableResult public func runNow(task id: String, _ run: TaskPause.RunNow) async -> String? {
+ guard lifetime.isActive else { return nil }
+ let message = await StoppedWorkActions.runNow(client: client, task: id, run: run)
await refresh()
+ return message
}
/// Tells Equipo this device's time zone, so the times it words for the
diff --git a/native/apple/Sources/EquipoKit/UI/Components.swift b/native/apple/Sources/EquipoKit/UI/Components.swift
index b8619ade..8afb3673 100644
--- a/native/apple/Sources/EquipoKit/UI/Components.swift
+++ b/native/apple/Sources/EquipoKit/UI/Components.swift
@@ -38,29 +38,31 @@ struct StepsView: View {
let last = index == steps.count - 1
HStack(alignment: .top, spacing: 12) {
VStack(spacing: 4) {
- StepMark(state: step.state, needsYou: false)
+ StepMark(state: step.state, needsYou: false).accessibilityHidden(true)
if !last {
Capsule().fill(step.state == "done" ? Palette.positive.opacity(0.55) : Palette.border)
.frame(width: 2).frame(maxHeight: .infinity)
}
}.padding(.bottom, last ? 0 : 4)
VStack(alignment: .leading, spacing: 4) {
- HStack(alignment: .firstTextBaseline) {
- SpecialistLabel(category: step.specialist, tone: step.state == "queued" ? Palette.secondary : Palette.text)
- Spacer(minLength: 8)
- Text(Self.label(step.state)).font(Typo.caption)
- .foregroundStyle(step.state == "failed" ? Palette.negative : step.state == "done" ? Palette.positive : Palette.secondary)
- }
- let line = step.headline.isEmpty ? step.summary : step.headline
- if !line.isEmpty {
- Text(line).font(Typo.secondary)
- .foregroundStyle(step.state == "queued" ? Palette.secondary : Palette.text)
- .fixedSize(horizontal: false, vertical: true)
- }
+ VStack(alignment: .leading, spacing: 4) {
+ HStack(alignment: .firstTextBaseline) {
+ SpecialistLabel(category: step.specialist, tone: step.state == "queued" ? Palette.secondary : Palette.text)
+ Spacer(minLength: 8)
+ Text(Self.label(step.state)).font(Typo.caption)
+ .foregroundStyle(step.state == "failed" ? Palette.negative : step.state == "done" ? Palette.positive : Palette.secondary)
+ }
+ let line = step.headline.isEmpty ? step.summary : step.headline
+ if !line.isEmpty {
+ Text(line).font(Typo.secondary)
+ .foregroundStyle(step.state == "queued" ? Palette.secondary : Palette.text)
+ .fixedSize(horizontal: false, vertical: true)
+ }
+ if let finished = step.finishedAt {
+ Text(finished.formatted(date: .abbreviated, time: .shortened)).font(Typo.caption).foregroundStyle(Palette.faint)
+ }
+ }.accessibilityElement(children: .combine)
if step.state == "failed", let client { StepLogView(stepID: step.id, client: client) }
- if let finished = step.finishedAt {
- Text(finished.formatted(date: .abbreviated, time: .shortened)).font(Typo.caption).foregroundStyle(Palette.faint)
- }
}.padding(.bottom, last ? 0 : 20)
}.fixedSize(horizontal: false, vertical: true)
.accessibilityElement(children: .contain)
diff --git a/native/apple/Sources/EquipoKit/UI/Screens/PhoneRoot.swift b/native/apple/Sources/EquipoKit/UI/Screens/PhoneRoot.swift
index e15da3ad..849710e5 100644
--- a/native/apple/Sources/EquipoKit/UI/Screens/PhoneRoot.swift
+++ b/native/apple/Sources/EquipoKit/UI/Screens/PhoneRoot.swift
@@ -84,6 +84,7 @@ struct PhoneTabs: View {
}
}
}
+ .modifier(SettingsSheetPresenter(session: session))
.sheet(isPresented: $showingAccount) {
NavigationStack { AccountScreen(model: model, session: session).navigationTitle(session.teamName) }
}
diff --git a/native/apple/Sources/EquipoKit/UI/SettingsWebSheet.swift b/native/apple/Sources/EquipoKit/UI/SettingsWebSheet.swift
index cedee7cf..9dc176bc 100644
--- a/native/apple/Sources/EquipoKit/UI/SettingsWebSheet.swift
+++ b/native/apple/Sources/EquipoKit/UI/SettingsWebSheet.swift
@@ -1,28 +1,46 @@
import SwiftUI
-import WebKit
+import Observation
#if os(iOS)
import SafariServices
+#else
+import AppKit
#endif
-/// Settings use a browser session, never the device bearer. The persistent
-/// browser store keeps sign-in across sheets; the site asks for it if absent.
-struct SettingsWebSheet: View {
- let url: URL
- @Environment(\.dismiss) private var dismiss
- var body: some View {
+/// Only the fixed settings routes offered by the task can leave the app.
+enum SettingsNavigation {
+ static func open(origin: URL, path: String, opener: (URL) -> Void) {
+ guard ["/conversation/settings/machines", "/conversation/settings/connections", "/conversation/settings/connections/add"].contains(path),
+ var url = URLComponents(url: origin, resolvingAgainstBaseURL: false) else { return }
+ url.path = path; url.query = nil; url.fragment = nil
+ if let destination = url.url { opener(destination) }
+ }
+}
+
+@MainActor @Observable final class SettingsPresentation {
+ struct Page: Identifiable { let url: URL; var id: URL { url } }
+ var page: Page?
+ func open(origin: URL, path: String) {
+ SettingsNavigation.open(origin: origin, path: path) { url in
+ #if os(macOS)
+ NSWorkspace.shared.open(url)
+ #else
+ page = Page(url: url)
+ #endif
+ }
+ }
+}
+
+/// Owned by the signed-in tab container, which survives changing task pauses.
+struct SettingsSheetPresenter: ViewModifier {
+ let session: EquipoSession
+ func body(content: Content) -> some View {
#if os(iOS)
- SafariSettingsView(url: url).ignoresSafeArea()
- #else
- NavigationStack {
- WebView(url: url)
- .navigationTitle(EquipoStrings.text("task.open_web"))
- .toolbar {
- ToolbarItem(placement: .cancellationAction) {
- Button(EquipoStrings.text("team.close")) { dismiss() }
- }
- }
+ @Bindable var presentation = session.settings
+ content.sheet(item: $presentation.page, onDismiss: { Task { await session.refresh() } }) { page in
+ SafariSettingsView(url: page.url).ignoresSafeArea()
}
- .frame(minWidth: 680, minHeight: 560)
+ #else
+ content
#endif
}
}
diff --git a/native/apple/Sources/EquipoKit/UI/StepLogView.swift b/native/apple/Sources/EquipoKit/UI/StepLogView.swift
index 0115bb6d..afcb4e8d 100644
--- a/native/apple/Sources/EquipoKit/UI/StepLogView.swift
+++ b/native/apple/Sources/EquipoKit/UI/StepLogView.swift
@@ -9,7 +9,7 @@ struct StepLogView: View {
@State private var expanded = false
#endif
@State private var tail: String?
- @State private var failed = false
+ @State private var failure: String?
@State private var contentHeight: CGFloat = 44
var body: some View {
@@ -24,10 +24,10 @@ struct StepLogView: View {
.defaultScrollAnchor(.topLeading)
.frame(height: min(max(contentHeight, 44), 180))
.background(Palette.surface2, in: .rect(cornerRadius: 8))
- } else if failed {
- Text(EquipoStrings.text("read.failed")).font(Typo.secondary)
+ } else if let failure {
+ Text(failure).font(Typo.secondary)
Button(EquipoStrings.text("read.retry")) { Task { await load() } }
- } else { ProgressView() }
+ } else { ProgressView(EquipoStrings.text("native.step.log_tail")) }
}
.task { await load() }
} label: {
@@ -54,8 +54,8 @@ struct StepLogView: View {
}
private func load() async {
- failed = false
+ failure = nil
do { tail = try await client.stepLog(stepID).boundedTail }
- catch { failed = true }
+ catch { failure = StoppedWorkActions.logFailure(error) }
}
}
diff --git a/native/apple/Sources/EquipoKit/UI/StoppedWorkFixture.swift b/native/apple/Sources/EquipoKit/UI/StoppedWorkFixture.swift
index 4768fcd8..21a8e4c6 100644
--- a/native/apple/Sources/EquipoKit/UI/StoppedWorkFixture.swift
+++ b/native/apple/Sources/EquipoKit/UI/StoppedWorkFixture.swift
@@ -8,17 +8,19 @@ import AppKit
/// saved account, keychain or network. Launch with EQUIPO_STOPPED_FIXTURE.
public struct StoppedWorkFixture: View {
@State private var session: EquipoSession
- public init() {
+ public init() { session = Self.makeSession() }
+ public static func makeSession() -> EquipoSession {
let transport = StoppedFixtureTransport()
var account = DeviceAccount.new(origin: transport.origin, label: "Fixture")
account.credential = DeviceCredential(id: "fixture", token: "fixture", audience: "equipo.person.v1", instanceId: "fixture", expiresAt: .distantFuture)
- session = EquipoSession(account: account, accounts: DeviceAccounts(store: MemorySecretStore()), transport: transport)
+ return EquipoSession(account: account, accounts: DeviceAccounts(store: MemorySecretStore()), transport: transport)
}
public var body: some View {
NavigationStack {
TaskScreen(session: session, taskID: "fixture")
.navigationTitle(EquipoStrings.text("task.title"))
}
+ .modifier(SettingsSheetPresenter(session: session))
.task {
await session.refresh()
#if os(macOS)
@@ -45,22 +47,35 @@ public struct StoppedWorkFixture: View {
private struct StoppedFixtureTransport: EquipoTransport {
let origin = URL(string: "https://fixture.invalid")!
+ private var resume: Bool { ProcessInfo.processInfo.environment["EQUIPO_STOPPED_FIXTURE"] == "conversation-resume" }
private var paused: Bool { ProcessInfo.processInfo.environment["EQUIPO_STOPPED_FIXTURE"] == "paused" }
func send(_ request: APIRequest) async throws -> APIResponse {
let data: Data
switch request.path {
case "/snapshot":
- data = try JSONSerialization.data(withJSONObject: ["me": ["id": "fixture", "address": "paul@example.com", "role": "owner", "team_id": "fixture", "team_name": "Oficina", "revision": 1], "cursor": 1, "tasks": [task], "messages": [], "turns": [], "cards": [], "projects": []])
+ data = try JSONSerialization.data(withJSONObject: ["me": ["id": "fixture", "address": "paul@example.com", "role": "owner", "team_id": "fixture", "team_name": "Oficina", "revision": 1], "cursor": 1, "tasks": [task], "messages": messages, "turns": [], "cards": cards, "projects": []])
case "/needs-you" where paused: data = Data(#"{"items":[]}"#.utf8)
case "/tasks", "/needs-you": data = try JSONSerialization.data(withJSONObject: ["items": [task]])
case "/tasks/fixture": data = try JSONSerialization.data(withJSONObject: task)
case "/steps/failed/log": data = try JSONSerialization.data(withJSONObject: ["step_id": "failed", "attempt": 1, "tail": "git push amadan equipo/needs-badge-sign-out\nremote: HTTP 429 Too Many Requests\nfatal: the remote end hung up unexpectedly\nexit status 128"])
+ case "/connections":
+ try await Task.sleep(for: .milliseconds(1500))
+ data = Data(#"{"items":[{"id":"cn_fixture","runner_id":"runner","local_id":"codex-1","provider":"codex","spend":{"unknown":true,"pause_revision":7}}]}"#.utf8)
+ case "/tasks/fixture/retry": return APIResponse(status: 500, data: Data())
case "/projects": data = Data(#"{"items":[]}"#.utf8)
default: data = Data("{}".utf8)
}
return APIResponse(status: 200, data: data)
}
func lines(_ request: APIRequest) async throws -> AsyncThrowingStream<String, Error> { AsyncThrowingStream { $0.finish() } }
+ private var cards: [[String: Any]] {
+ guard ProcessInfo.processInfo.environment["EQUIPO_STOPPED_FIXTURE"]?.hasPrefix("conversation-") == true else { return [] }
+ return [["id": "report", "revision": 1, "kind": "task", "state": "open", "turn_id": "", "project_id": "project", "name": "", "question": "", "choice": "", "task_id": "fixture", "created_at": "2026-11-25T10:42:00Z", "updated_at": "2026-11-25T10:42:00Z"]]
+ }
+ private var messages: [[String: Any]] {
+ guard !cards.isEmpty else { return [] }
+ return [["id": "followup", "revision": 1, "role": "person", "text": "Please keep the current branch.", "turn_id": "", "created_at": "2026-11-25T10:43:00Z"]]
+ }
private var task: [String: Any] {
let calendar = Calendar.current
let today = calendar.startOfDay(for: Date())
@@ -74,7 +89,11 @@ private struct StoppedFixtureTransport: EquipoTransport {
step["hold"] = ["reason": "headroom", "provider": "claude", "connection": "claude-1", "step_revision": 4, "resets_at": iso.string(from: reset)]
step["paused"] = ["since": iso.string(from: stop), "used_percent": 100, "run_now": ["connection": "codex-1", "name": "Codex", "provider": "codex", "billing": "subscription"]]
}
- return ["id": "fixture", "revision": 1, "project_id": "project", "project": "Equipo", "title": paused ? "Show the stop reason on the native task view" : "Fix the Needs you badge after sign-out", "brief": "", "stage": "in_progress", "branch": "equipo/needs-badge-sign-out", "url": "", "candidate_sha": "3f9c2a1", "checks": "", "checks_reason": "", "verdict": "", "review_label": "", "needs_you": paused ? "" : "retry", "creator": "paul@example.com", "created_at": iso.string(from: stop), "updated_at": iso.string(from: stop), "steps": [step]]
+ if resume {
+ step["state"] = "queued"; step["reason"] = ""; step["runner_id"] = "runner"
+ step["hold"] = ["reason": "spend_unknown", "provider": "codex", "connection": "codex-1", "step_revision": 4]
+ }
+ return ["id": "fixture", "revision": 1, "project_id": "project", "project": "Equipo", "title": paused ? "Show the stop reason on the native task view" : "Fix the Needs you badge after sign-out", "brief": "", "stage": "in_progress", "branch": "equipo/needs-badge-sign-out", "url": "", "candidate_sha": "3f9c2a1", "checks": "", "checks_reason": "", "verdict": "", "review_label": "", "needs_you": resume ? "held" : paused ? "" : "retry", "creator": "paul@example.com", "created_at": iso.string(from: stop), "updated_at": iso.string(from: stop), "steps": [step]]
}
}
#endif
diff --git a/native/apple/Sources/EquipoKit/UI/TaskPauseActions.swift b/native/apple/Sources/EquipoKit/UI/TaskPauseActions.swift
index 46d6626d..cbf30bc5 100644
--- a/native/apple/Sources/EquipoKit/UI/TaskPauseActions.swift
+++ b/native/apple/Sources/EquipoKit/UI/TaskPauseActions.swift
@@ -7,41 +7,47 @@ struct TaskPauseActions: View {
let session: EquipoSession
@State private var busy = false
@State private var message: String?
- @State private var webPage: SettingsPage?
- @State private var connection: ResumeConnection?
+ @State private var resume = ResumeAction()
var body: some View {
VStack(alignment: .leading, spacing: 8) {
PauseLead(pause: pause) { run in
- perform { await session.runNow(task: taskID, run); return nil }
+ perform { await session.runNow(task: taskID, run) }
}
if pause.canRetry {
RosterButton(title: EquipoStrings.text("work.pause.try_again"), primary: true, expanded: true) {
perform { await StoppedWorkActions.retry(client: session.client, task: taskID) }
}
}
- if pause.resumeStep != nil, let connection {
+ if pause.canRecover {
+ RosterButton(title: EquipoStrings.text("work.recover"), primary: true) {
+ perform { await StoppedWorkActions.recover(client: session.client, task: taskID) }
+ }
+ }
+ if let step = pause.resumeStep, resume.connection != nil {
RosterButton(title: EquipoStrings.text("work.hold.resume"), primary: true) {
- perform {
- do { try await session.client.resumeConnection(connection); return nil }
- catch { return EquipoStrings.text("card.failed") }
- }
+ perform { await resume.perform(client: session.client, step: step) }
}
}
if let path = pause.settingsPath, let label = pause.settingsLabel {
- RosterButton(title: label) { webPage = SettingsPage(url: session.origin.appendingPathComponent(path)) }
+ RosterButton(title: label) { session.settings.open(origin: session.origin, path: path) }
}
if let message { Text(message).font(Typo.secondary).foregroundStyle(Palette.negative) }
- if busy { ProgressView() }
+ if busy { ProgressView(EquipoStrings.text("action.sending")) }
}
.disabled(busy)
- .sheet(item: $webPage, onDismiss: { Task { await session.refresh() } }) { page in SettingsWebSheet(url: page.url) }
- .task(id: pause.resumeStep) {
- connection = nil
- if let step = pause.resumeStep, let list = try? await session.client.resumeConnections() {
- connection = StoppedWorkActions.connection(for: step, in: list.items ?? [])
+ #if DEBUG
+ .task {
+ if ProcessInfo.processInfo.environment["EQUIPO_STOPPED_FIXTURE"] == "conversation-retry" {
+ try? await Task.sleep(for: .milliseconds(700))
+ perform { await StoppedWorkActions.retry(client: session.client, task: taskID) }
}
}
+ #endif
+ .task(id: pause.resumeStep) {
+ resume.connection = nil
+ if let step = pause.resumeStep { await resume.load(client: session.client, step: step) }
+ }
}
private func perform(_ action: @escaping @MainActor () async -> String?) {
@@ -54,8 +60,3 @@ struct TaskPauseActions: View {
}
}
}
-
-private struct SettingsPage: Identifiable {
- let url: URL
- var id: URL { url }
-}
diff --git a/native/apple/Sources/EquipoMac/EquipoMacApp.swift b/native/apple/Sources/EquipoMac/EquipoMacApp.swift
index 7af82b12..1b8cb729 100644
--- a/native/apple/Sources/EquipoMac/EquipoMacApp.swift
+++ b/native/apple/Sources/EquipoMac/EquipoMacApp.swift
@@ -29,7 +29,8 @@ import SwiftUI
WindowGroup(EquipoStrings.text("app.name")) {
Group {
#if DEBUG
- if ProcessInfo.processInfo.environment["EQUIPO_STOPPED_FIXTURE"] != nil { StoppedWorkFixture() }
+ if ProcessInfo.processInfo.environment["EQUIPO_STOPPED_FIXTURE"]?.hasPrefix("conversation-") == true { StoppedConversationFixture() }
+ else if ProcessInfo.processInfo.environment["EQUIPO_STOPPED_FIXTURE"] != nil { StoppedWorkFixture() }
else { MacRoot(model: model) }
#else
MacRoot(model: model)
diff --git a/native/apple/Sources/EquipoMac/LiveTranscript.swift b/native/apple/Sources/EquipoMac/LiveTranscript.swift
index 2ca8b22f..c28db873 100644
--- a/native/apple/Sources/EquipoMac/LiveTranscript.swift
+++ b/native/apple/Sources/EquipoMac/LiveTranscript.swift
@@ -275,9 +275,12 @@ final class LiveTranscript: NSView {
/// A SwiftUI Roster view (the report's track and facts, the thinking
/// line), sized to the column.
private func hosted<V: View>(_ view: V, width: CGFloat) -> NSView {
- let host = NSHostingView(rootView: view.frame(width: width, alignment: .leading))
- host.frame.size = NSSize(width: width, height: ceil(host.fittingSize.height))
- return host
+ ResizingHostingView(content: view, width: width) { [weak self] host, height in
+ guard let self else { return }
+ let pinned = self.isAtBottom
+ self.resizeHost(host, measuredHeight: height)
+ if pinned { self.scrollToBottom() }
+ }
}
private func receiptRow(_ card: ThinCard, width: CGFloat) -> NSView {
@@ -324,12 +327,14 @@ final class LiveTranscript: NSView {
resizeHost(host)
}
- private func resizeHost(_ host: NSView) {
+ private func resizeHost(_ host: NSView, measuredHeight: CGFloat? = nil) {
guard let row = host.superview, row.superview === document else { return }
- let height = ceil(host.fittingSize.height)
+ let height = measuredHeight ?? ceil(host.fittingSize.height)
let delta = height - host.frame.height
guard abs(delta) > 0.5 else { return }
let top = row.frame.minY
+ let previousBottom = host.frame.maxY
+ for sibling in row.subviews where sibling !== host && sibling.frame.minY >= previousBottom { sibling.frame.origin.y += delta }
host.frame.size.height = height
row.frame.size.height += delta
for view in document.subviews where view !== row && view.frame.minY > top {
diff --git a/native/apple/Sources/EquipoMac/ResizingHostingView.swift b/native/apple/Sources/EquipoMac/ResizingHostingView.swift
new file mode 100644
index 00000000..2b6a54ad
--- /dev/null
+++ b/native/apple/Sources/EquipoMac/ResizingHostingView.swift
@@ -0,0 +1,31 @@
+import AppKit
+import SwiftUI
+
+/// SwiftUI reports its natural height even after asynchronous content changes.
+/// The transcript keeps its row identity and shifts everything below it.
+@MainActor final class ResizingHostingView<Content: View>: NSHostingView<MeasuredContent<Content>> {
+ init(content: Content, width: CGFloat, onHeightChange: @escaping (NSView, CGFloat) -> Void) {
+ super.init(rootView: MeasuredContent(content: content, width: width, changed: { _ in }))
+ rootView = MeasuredContent(content: content, width: width) { [weak self] height in
+ Task { @MainActor [weak self] in
+ await Task.yield()
+ guard let self else { return }
+ onHeightChange(self, ceil(height))
+ }
+ }
+ frame.size = NSSize(width: width, height: ceil(fittingSize.height))
+ }
+ required init(rootView: MeasuredContent<Content>) { super.init(rootView: rootView) }
+ required init?(coder: NSCoder) { fatalError() }
+}
+
+struct MeasuredContent<Content: View>: View {
+ let content: Content
+ let width: CGFloat
+ let changed: (CGFloat) -> Void
+ var body: some View {
+ content.frame(width: width, alignment: .leading)
+ .fixedSize(horizontal: false, vertical: true)
+ .onGeometryChange(for: CGFloat.self) { $0.size.height } action: { changed($0) }
+ }
+}
diff --git a/native/apple/Sources/EquipoMac/StoppedConversationFixture.swift b/native/apple/Sources/EquipoMac/StoppedConversationFixture.swift
new file mode 100644
index 00000000..297f7850
--- /dev/null
+++ b/native/apple/Sources/EquipoMac/StoppedConversationFixture.swift
@@ -0,0 +1,26 @@
+#if DEBUG
+import AppKit
+import EquipoKit
+import SwiftUI
+
+/// Captures the real AppKit conversation after its asynchronous actions settle.
+struct StoppedConversationFixture: View {
+ @State private var session = StoppedWorkFixture.makeSession()
+ var body: some View {
+ TranscriptView(projectSelectionID: nil, projectSelectionNotice: nil, items: Feed.build(session), session: session, focusCard: .constant(nil), openTask: { _ in })
+ .frame(minWidth: 800, minHeight: 760)
+ .task {
+ await session.refresh()
+ try? await Task.sleep(for: .seconds(4))
+ guard let path = ProcessInfo.processInfo.environment["EQUIPO_FIXTURE_CAPTURE"],
+ let window = NSApp.windows.first(where: { $0.isVisible && !$0.isSheet }), let view = window.contentView else { return }
+ window.setContentSize(NSSize(width: 900, height: 900))
+ view.layoutSubtreeIfNeeded(); window.displayIfNeeded()
+ if let bitmap = view.bitmapImageRepForCachingDisplay(in: view.bounds) {
+ view.cacheDisplay(in: view.bounds, to: bitmap)
+ if let data = bitmap.representation(using: .png, properties: [:]) { _ = FileManager.default.createFile(atPath: path, contents: data) }
+ }
+ }
+ }
+}
+#endif
diff --git a/native/apple/Tests/EquipoKitTests/ResizingHostTests.swift b/native/apple/Tests/EquipoKitTests/ResizingHostTests.swift
new file mode 100644
index 00000000..66899b31
--- /dev/null
+++ b/native/apple/Tests/EquipoKitTests/ResizingHostTests.swift
@@ -0,0 +1,38 @@
+#if os(macOS)
+import AppKit
+import SwiftUI
+import Observation
+import Testing
+@testable import EquipoMac
+
+@MainActor @Observable private final class GrowingContent { var expanded = false }
+@MainActor @Suite(.serialized) struct ResizingHostTests {
+ @Test func lateContentRemeasuresItsHost() async throws {
+ let state = GrowingContent()
+ var heights: [CGFloat] = []
+ let host = ResizingHostingView(content: GrowingView(state: state), width: 300) { _, height in heights.append(height) }
+ let window = NSWindow(contentRect: NSRect(x: 0, y: 0, width: 400, height: 400), styleMask: [.borderless], backing: .buffered, defer: false)
+ window.contentView = host
+ defer { window.contentView = nil }
+ window.orderFront(nil)
+ func waitForHeight(_ height: CGFloat) async throws {
+ for _ in 0..<250 {
+ host.layoutSubtreeIfNeeded()
+ if heights.last == height { return }
+ try await Task.sleep(for: .milliseconds(20))
+ }
+ #expect(heights.last == height)
+ }
+ try await waitForHeight(30)
+ state.expanded = true
+ try await waitForHeight(160)
+ state.expanded = false
+ try await waitForHeight(30)
+ window.orderOut(nil)
+ }
+}
+private struct GrowingView: View {
+ var state: GrowingContent
+ var body: some View { Color.clear.frame(height: state.expanded ? 160 : 30) }
+}
+#endif
diff --git a/native/apple/Tests/EquipoKitTests/StoppedWorkTests.swift b/native/apple/Tests/EquipoKitTests/StoppedWorkTests.swift
index 3a57ef8c..ba8dbb45 100644
--- a/native/apple/Tests/EquipoKitTests/StoppedWorkTests.swift
+++ b/native/apple/Tests/EquipoKitTests/StoppedWorkTests.swift
@@ -48,7 +48,7 @@ import Testing
let pause = try #require(TaskPause(task, mine: true))
#expect(pause.tone == .warning)
#expect(!(pause.strong + pause.rest).isEmpty)
- #expect(pause.canRetry == (reason == "review_blocked"))
+ #expect(pause.canRetry == true)
}
}
@@ -105,3 +105,137 @@ import Testing
}
}
+
+@MainActor @Suite struct StoppedWorkReviewTests {
+ func task(_ reason: String = "push_failed", needs: String = "retry", terminated: Bool = true) throws -> ThinTask {
+ var task: ThinTask = try Fixture.decode("thin/task")
+ task.stage = "in_progress"; task.needsYou = needs; task.triage = nil
+ var step = task.steps!.first!
+ step.state = "failed"; step.reason = reason; step.terminated = terminated
+ step.runnerLabel = "Mac mini"; step.runnerId = "runner"; step.hold = nil; step.paused = nil
+ task.steps = [step]
+ return task
+ }
+ @Test func needsRetryHasBothGuardsForEveryReason() throws {
+ for needs in ["review_blocked", "fix_rounds", "branch_moved", "merge_conflict", "direction"] {
+ #expect(TaskPause(try task(needs: needs), mine: true)?.canRetry == true)
+ #expect(TaskPause(try task(needs: needs), mine: false)?.canRetry == false)
+ #expect(TaskPause(try task(needs: needs, terminated: false), mine: true)?.canRetry == false)
+ }
+ }
+ @Test func settingsAndResumeBelongToCreator() throws {
+ let outdated = try task("runner_outdated")
+ #expect(TaskPause(outdated, mine: true)?.settingsPath == "/conversation/settings/machines")
+ #expect(TaskPause(outdated, mine: false)?.settingsPath == nil)
+ for reason in ["budget", "spend_unknown"] {
+ for needs in [nil, "budget"] as [String?] {
+ var t = try task(); t.steps![0].state = "queued"
+ t.steps![0].hold = ThinHold(reason: reason, provider: "codex", needsPerson: needs, stepRevision: 2)
+ let mine = TaskPause(t, mine: true), other = TaskPause(t, mine: false)
+ if reason == "budget" { #expect(mine?.settingsPath != nil) } else { #expect(mine?.resumeStep != nil) }
+ #expect(other?.settingsPath == nil && other?.resumeStep == nil)
+ }
+ }
+ }
+ @Test func noFurtherChangesDependsOnPriorPushedWork() throws {
+ var t = try task("no_changes")
+ var earlier = t.steps![0]; earlier.id = "earlier"; earlier.state = "done"; earlier.specialist = "engineering"; earlier.pushed = true; earlier.candidateSha = "abc"
+ t.steps!.insert(earlier, at: 0)
+ #expect(TaskPause(t, mine: true)?.rest.contains(StoppedReason.words("no_further_changes")) == true)
+ t.steps![0].pushed = false
+ #expect(TaskPause(t, mine: true)?.rest.contains(StoppedReason.words("no_changes")) == true)
+ }
+ @Test func recoveryUsesTheWebGuards() throws {
+ let waiting = try task("machine_removed", needs: "machine_removed", terminated: false)
+ #expect(TaskPause(waiting, mine: true)?.canRecover == true)
+ #expect(TaskPause(waiting, mine: true)?.canRetry == false)
+ #expect(TaskPause(waiting, mine: false)?.canRecover == false)
+ #expect(TaskPause(try task("machine_removed", terminated: false), mine: true)?.tone != .negative)
+ #expect(TaskPause(try task("machine_removed"), mine: true)?.canRecover == false)
+ #expect(TaskPause(try task(), mine: true)?.canRecover == false)
+ }
+ @Test func transitionalWorkSuppressesActions() throws {
+ for key in ["moving", "stopping", "copyHold", "copyCanSkip"] {
+ var t = try task()
+ switch key { case "moving": t.moving = true; case "stopping": t.stopping = true; case "copyHold": t.copyHold = true; default: t.copyCanSkip = true }
+ #expect(TaskPause(t, mine: true) == nil, "\(key)")
+ }
+ for kind in ["retrying", "rebasing", "rechecking", "waiting"] {
+ var t = try task(); t.triage = ThinTriage(kind: kind, reason: kind == "waiting" ? "merge_unborn_default" : nil)
+ #expect(TaskPause(t, mine: true) == nil, "\(kind)")
+ }
+ }
+ @Test func resumeMatchesEveryIdentityAndUnknownSpend() throws {
+ var step = try task().steps![0]
+ step.hold = ThinHold(reason: "spend_unknown", connection: "local", provider: "codex", stepRevision: 2)
+ for wrong in [
+ ResumeConnection(id: "wrong", runnerId: "runner", localId: "local", provider: "codex", spend: .init(unknown: false, pauseRevision: 1)),
+ ResumeConnection(id: "wrong", runnerId: "runner", localId: "other", provider: "codex", spend: .init(unknown: true, pauseRevision: 1)),
+ ResumeConnection(id: "wrong", runnerId: "runner", localId: "local", provider: "claude", spend: .init(unknown: true, pauseRevision: 1))
+ ] { #expect(StoppedWorkActions.connection(for: step, in: [wrong]) == nil) }
+ }
+ @Test func deadlineAndHeldBoldSplitMatchWeb() throws {
+ let now = Date(timeIntervalSince1970: 1795608000)
+ var t = try task(); t.steps![0].state = "queued"
+ t.priority = ThinPriority(by: now.addingTimeInterval(3600))
+ t.steps![0].hold = ThinHold(reason: "headroom", provider: "codex", resetsAt: now.addingTimeInterval(7200), needsPerson: "deadline", stepRevision: 2)
+ let words = TimeWords(now: now, zone: .gmt, locale: Locale(identifier: "en_GB"))
+ let lead = HeldLead.words(t.steps![0].hold!, name: "Codex", due: t.priority?.by, words: words)
+ #expect(lead == String(format: EquipoStrings.text("chat.held.run.after_by"), "Codex", String(format: EquipoStrings.text("time.when_in"), words.when(now.addingTimeInterval(7200)), words.inWords(7200)), "Wednesday 25 Nov"))
+ let pause = try #require(TaskPause(t, mine: true, now: now, zone: .gmt, locale: Locale(identifier: "en_GB")))
+ #expect(pause.strong + pause.rest == lead)
+ if let colon = lead.firstIndex(of: ":") { #expect(pause.strong == String(lead[...colon])) }
+ }
+ @Test func failuresAndRecoverUseReviewedWords() async throws {
+ let transport = ScriptedTransport()
+ transport.on("POST /tasks/t/retry", .failure(EquipoAPIError.offline))
+ let client = EquipoClient(transport: transport, token: "fixture")
+ #expect(await StoppedWorkActions.retry(client: client, task: "t") == EquipoStrings.text("card.failed"))
+ transport.on("POST /tasks/t/recover", .success(APIResponse(status: 202, data: Data(#"{"attempt":2}"#.utf8))))
+ #expect(await StoppedWorkActions.recover(client: client, task: "t") == nil)
+ #expect(transport.requests.last?.path == "/tasks/t/recover")
+ #expect(StoppedWorkActions.logFailure(EquipoAPIError.offline) == EquipoStrings.text("card.offline"))
+ #expect(StoppedWorkActions.logFailure(EquipoAPIError.undecodable) == EquipoStrings.text("read.failed"))
+ #expect(StoppedWorkActions.logFailure(EquipoAPIError.status(500)) == EquipoStrings.text("read.failed_title"))
+ }
+ @Test func macSettingsUsesFixedPathAndOpener() {
+ var opened: URL?
+ let origin = URL(string: "https://team.example")!
+ SettingsNavigation.open(origin: origin, path: "/conversation/settings/connections") { opened = $0 }
+ #expect(opened?.absoluteString == "https://team.example/conversation/settings/connections")
+ opened = nil
+ SettingsNavigation.open(origin: origin, path: "https://evil.example") { opened = $0 }
+ #expect(opened == nil)
+ }
+}
+
+extension StoppedWorkReviewTests {
+ @Test func staleResumeReloadsRevisionBeforeAnotherTap() async throws {
+ var step = try task().steps![0]
+ step.hold = ThinHold(reason: "spend_unknown", connection: "local", provider: "codex", stepRevision: 2)
+ let transport = ScriptedTransport()
+ func connection(_ revision: Int) -> APIResponse {
+ APIResponse(status: 200, data: Data("""
+ {"items":[{"id":"cn","runner_id":"runner","local_id":"local","provider":"codex","spend":{"unknown":true,"pause_revision":\(revision)}}]}
+ """.utf8))
+ }
+ transport.on("GET /connections", .success(connection(7)), .success(connection(8)))
+ transport.on("POST /connections/cn/resume", .success(APIResponse(status: 409, data: Data())), .success(APIResponse(status: 202, data: Data())))
+ let client = EquipoClient(transport: transport, token: "fixture")
+ let resume = ResumeAction()
+ await resume.load(client: client, step: step)
+ #expect(await resume.perform(client: client, step: step) == EquipoStrings.text("card.failed"))
+ #expect(resume.connection?.spend?.pauseRevision == 8)
+ #expect(await resume.perform(client: client, step: step) == nil)
+ let sent = transport.sent("POST /connections/cn/resume")
+ #expect(try JSONDecoder().decode([String: Int].self, from: sent.last!.body!) == ["pause_revision": 8])
+ }
+ @Test func runNowFailureNeverLooksSuccessful() async {
+ let transport = ScriptedTransport()
+ transport.on("POST /tasks/t/run-now", .failure(EquipoAPIError.offline), .success(APIResponse(status: 409, data: Data())))
+ let client = EquipoClient(transport: transport, token: "fixture")
+ let run = TaskPause.RunNow(label: "Codex", step: "s", revision: 2)
+ #expect(await StoppedWorkActions.runNow(client: client, task: "t", run: run) == EquipoStrings.text("card.failed"))
+ #expect(await StoppedWorkActions.runNow(client: client, task: "t", run: run) == EquipoStrings.text("api.not_retryable"))
+ }
+}
diff --git a/native/scripts/check-parity.py b/native/scripts/check-parity.py
index 7ad85fd4..64023c8a 100755
--- a/native/scripts/check-parity.py
+++ b/native/scripts/check-parity.py
@@ -22,7 +22,7 @@ for key in sorted(set(re.findall(r'"(work\.reason\.[^"]+)":', copy))):
if key not in strings:
problems.append(f'{key}: native must carry every reviewed stop reason')
for key, text in sorted(strings.items()):
- if not key.startswith(('chat.card.', 'chat.paste.', 'work.tl.', 'roster.', 'projects.', 'work.star.', 'api.', 'nav.projects', 'chat.connections.connected', 'counts.unavailable', 'team.close', 'work.pause.', 'work.reason.', 'work.needs.', 'chat.held.', 'work.hold.', 'work.stage.', 'time.', 'work.hold.run_now')):
+ if not key.startswith(('chat.card.', 'chat.paste.', 'work.tl.', 'roster.', 'projects.', 'work.star.', 'api.', 'nav.projects', 'chat.connections.connected', 'counts.unavailable', 'team.close', 'work.pause.', 'work.reason.', 'work.needs.', 'chat.held.', 'work.hold.', 'work.stage.', 'time.', 'work.hold.run_now', 'work.recover')):
continue
found = re.findall(r'"' + re.escape(key) + r'":\s*"((?:[^"\\]|\\.)*)"', copy)
if len(found) != 1:
diff --git a/native/scripts/strings.json b/native/scripts/strings.json
index d3d2661d..321def33 100644
--- a/native/scripts/strings.json
+++ b/native/scripts/strings.json
@@ -349,5 +349,6 @@
"work.pause.lead.stopped": "Stopped at %@: %@",
"native.step.log_tail": "Last lines of the log",
"time.when_in": "%@ (%@)",
- "team.close": "Close"
+ "team.close": "Close",
+ "work.recover": "Recover"
}