oficina / equipo Public

Merge main into changes/facts

Resolve the budgets file: combine the reasons from both sides and
record the sizes measured after the merge.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 149e223216a26562a4df540126866c66d74257e4 parent 71d6f23parent fc80376
22 files changed, +520 −35
  • .rastrillo/budgets.txt +5 −5
  • docs/superpowers/plans/CONTROLLER-REPORT-native-needs-you.md +47 −0
  • docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md +2 −0
  • internal/equipo/chat/handoff.go +62 −4
  • internal/equipo/chat/handoff_test.go +26 −1
  • internal/equipo/chat/jobs.go +13 −4
  • internal/equipo/chat/tools.go +11 −1
  • internal/equipo/copy.go +9 −0
  • internal/equipo/templates/work_parts.html +1 −1
  • internal/equipo/work_views.go +6 −0
  • internal/equipo/work_views_test.go +44 −0
  • internal/plan3test/plan3_release_test.go +4 −1
  • internal/thintest/assistant_job_state_contract_test.go +26 −0
  • internal/thintest/assistant_team_contract_test.go +46 −0
  • native/apple/Sources/EquipoKit/Presentation/NeedsRowModel.swift +10 −4
  • native/apple/Sources/EquipoKit/Presentation/ResumeAction.swift +15 −2
  • native/apple/Sources/EquipoKit/Presentation/TaskDetailModel.swift +3 −3
  • native/apple/Sources/EquipoKit/Session/EquipoSession.swift +2 −2
  • native/apple/Sources/EquipoKit/UI/Screens/NeedsScreen.swift +3 −3
  • native/apple/Tests/EquipoKitTests/NeedsFollowupTests.swift +178 −0
  • native/apple/Tests/EquipoKitTests/NeedsRowModelTests.swift +5 −4
  • native/scripts/strings.json +2 −0

CI passed — run details

CI log
=== prepare ===
ci-box: machine: aarch64, 32 CPUs, 62 GiB memory, kernel 7.0.0-1017-aws
ci-box: python 3.12.3; Docker version 29.1.3, build 29.1.3-0ubuntu3~24.04.2
ci-box: user namespaces allowed: 233151
ci-box: cgroup: cgroup2fs
ci-box: disk /home/ci/work/repos/oficina__equipo/wt/changes__facts: 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.4s
ci-box: codex: fetched and verified in 3.5s
ci-box: codex-code-mode-host: fetched and verified in 1.4s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.4s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.8s
ci-box: pi: installed and verified in 7.1s
ci-box: opencode: installed and verified in 2.3s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 9.2s
ci-box: clone deepened in 3.9s
ci-box: file times set from content: 3089 files, 199 directories
ci-box: ready in 17.3s
=== 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.145s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  3.9s
+ go list -export -test -tags testbuild -f  ./...
  3.9s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  3.2s
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

receipt: test step 1m15.101s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m13.544s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m13.54s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 54.15, cpu waiting 36.31%, memory waiting 0.00%, io waiting 1.24%
--- shard 1 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-review: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$' ./internal/headless

receipt: test step 1m15.524s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m13.593s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m13.59s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 54.15, cpu waiting 36.31%, memory waiting 0.00%, io waiting 1.24%
--- shard 2 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-connections: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$' ./internal/headless

receipt: test step 1m14.806s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m13.255s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m4.09s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.13s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.03s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 54.15, cpu waiting 36.56%, memory waiting 0.00%, io waiting 1.20%
--- shard 3 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-mac: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$' ./internal/headless

receipt: test step 1m13.066s 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 1m11.48s amadan.net/oficina/equipo/internal/headless
receipt: slow test 35.53s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 18.49s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.86s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
receipt: slow test 8.59s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
machine: 32 CPUs, load 54.15, cpu waiting 36.31%, memory waiting 0.00%, io waiting 1.24%
--- 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

receipt: test step 1m30.502s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m28.981s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m0.13s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.19s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 8.04s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 6.84s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 4.78s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 51.42, cpu waiting 36.33%, memory waiting 0.00%, io waiting 0.94%
--- 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

receipt: test step 2m41.712s 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 2m39.737s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m34.16s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 18.35s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.6s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 6.59s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
receipt: slow test 6.51s amadan.net/oficina/equipo/internal/headless TestHeadlessBatchAfterRefusedReply
machine: 32 CPUs, load 23.63, cpu waiting 12.83%, memory waiting 0.00%, io waiting 0.29%
--- 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 2m12.923s 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 2m10.733s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.62s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.69s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.77s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 3.79s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 2.6s amadan.net/oficina/equipo/internal/thintest TestContractTeamUpdatePersonNeeds
machine: 32 CPUs, load 31.77, cpu waiting 20.32%, memory waiting 0.00%, io waiting 0.46%
--- 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 1m39.259s 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 1m37.505s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.1s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.48s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.96s amadan.net/oficina/equipo/internal/thintest TestContractPausedJob
receipt: slow test 2.52s amadan.net/oficina/equipo/internal/thintest TestContractPreview
machine: 32 CPUs, load 48.04, cpu waiting 34.60%, memory waiting 0.00%, io waiting 0.83%
--- 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 4m46.471s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 5m0.496s 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 4m46.471s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 37s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.96s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.84s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.49s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 7.07s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 3.21, cpu waiting 1.24%, memory waiting 0.00%, io waiting 0.02%
--- 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 50.53s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 49.357s amadan.net/oficina/equipo/internal/runner
receipt: slow test 29.33s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.03s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 52.64, cpu waiting 31.22%, memory waiting 0.00%, io waiting 1.85%
--- 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 59.357s 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 57.394s amadan.net/oficina/equipo/internal/runner
receipt: slow test 47.35s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 44.02s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.39s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.63s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 57.18, cpu waiting 35.71%, memory waiting 0.00%, io waiting 1.56%
--- shard 11 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-rest: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$|^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

receipt: test step 36.094s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 35.101s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.16s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.37s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.11s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.49s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.62s amadan.net/oficina/equipo/internal/runner TestCoordinatorTransientRefusalKeepsServing
machine: 32 CPUs, load 34.11, cpu waiting 20.59%, memory waiting 0.00%, io waiting 2.34%
--- 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 41.1%, load 30.89
test lane equipotest-a: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test[A-D]|^TestQ' ./internal/equipotest

receipt: test step 1m8.217s 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.124s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 28.17s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 28.1s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 25.97s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 23.22s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 23.13s amadan.net/oficina/equipo/internal/equipotest TestBudgetLoweringBelowUsage
machine: 32 CPUs, load 48.04, cpu waiting 33.70%, memory waiting 0.00%, io waiting 0.80%
--- 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 41.1%, load 30.89
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 1m18.504s 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.827s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 21.07s amadan.net/oficina/equipo/internal/equipotest TestProjectRejectsUnsafeBinding
receipt: slow test 21s amadan.net/oficina/equipo/internal/equipotest TestProjectRequestActorAndUpdate
receipt: slow test 20.98s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 20.97s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 20.96s amadan.net/oficina/equipo/internal/equipotest TestProjectBindingUniqueness
machine: 32 CPUs, load 43.36, cpu waiting 29.78%, memory waiting 0.00%, io waiting 0.70%
--- 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 41.1%, load 30.89
test lane equipotest-r: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestR' ./internal/equipotest

receipt: test step 1m15.292s 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 1m10.112s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 15.8s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.71s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.64s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 10.59s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 7.51s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 45.48, cpu waiting 31.69%, memory waiting 0.00%, io waiting 0.75%
--- 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 41.1%, load 30.89
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 1m8.742s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m7.015s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 25.3s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 25.2s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 25.14s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 23.43s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
receipt: slow test 23.39s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsCurrentOwner
machine: 32 CPUs, load 48.04, cpu waiting 33.70%, memory waiting 0.00%, io waiting 0.80%
--- 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 40.9%, load 30.89
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 53.87s 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 52.264s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.74s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.49s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.57s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.28s amadan.net/oficina/equipo/internal/plan3test TestInviteMigration
machine: 32 CPUs, load 52.50, cpu waiting 35.97%, memory waiting 0.00%, io waiting 1.08%
--- 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 41.1%, load 30.89
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/chatmarkdown: 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/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/testci: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runnerproto: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/wire/wireschema: 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 51.05s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 18.808s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/setup took 10.459s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/idtest took 1m50.503s, 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 48.039s, over the 15s its record on line 40 allows; reported only, timing fails on CI
budget note: internal/runner/provider/claude/realcli took 11.823s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 2m27.188s against a 60s target (the gate's other steps are not in this figure)
receipt: 24 packages ran, 42 cached, 17 without tests, 0 failed
receipt: slow package 1m50.503s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 1m4.881s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 52.423s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 51.05s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 48.669s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow test 56.01s amadan.net/oficina/equipo/internal/idtest TestDoorRemembersOficinaID
receipt: slow test 46.99s amadan.net/oficina/equipo/internal/idtest TestDoorNeverJudgesANativeSession
receipt: slow test 46.86s amadan.net/oficina/equipo/internal/idtest TestDoorForgetsOficinaIDForARefusedSession
receipt: slow test 46.63s amadan.net/oficina/equipo/internal/idtest TestDoorOficinaSettingsUnreadableIsNoLoop
receipt: slow test 46.43s amadan.net/oficina/equipo/internal/idtest TestDoorStepUpIsLocal
machine: 32 CPUs, load 17.99, cpu waiting 9.51%, memory waiting 0.00%, io waiting 0.21%
--- 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

receipt: test step 1m23.549s 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 1m21.79s amadan.net/oficina/equipo/internal/headless
receipt: slow test 38.57s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 14.63s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 9.65s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.18s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 6.22s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 52.50, cpu waiting 36.07%, memory waiting 0.00%, io waiting 1.04%
--- shard 19 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-work: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' ./internal/headless

receipt: test step 1m28.512s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m26.968s amadan.net/oficina/equipo/internal/headless
receipt: slow test 27.12s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 20.46s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 12.87s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 9.17s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 8.63s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 51.42, cpu waiting 36.33%, memory waiting 0.00%, io waiting 0.94%
--- shard 20 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-connections: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless

receipt: test step 1m50.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 1m49.242s amadan.net/oficina/equipo/internal/headless
receipt: slow test 13.4s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 12.78s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 11.98s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 11.3s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsSignInEmail
receipt: slow test 11.26s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
machine: 32 CPUs, load 43.36, cpu waiting 27.92%, memory waiting 0.00%, io waiting 0.65%
--- 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
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserCopyContinue
=== RUN   TestBrowserCopyContinue
time=2026-11-26T12:15:05.852Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-26T12:15:05.852Z level=INFO msg="startup phase done" phase=state_lock took=157µs
time=2026-11-26T12:15:05.852Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-26T12:15:05.852Z level=INFO msg="startup phase done" phase=claim_roots took=152µs
time=2026-11-26T12:15:05.852Z level=INFO msg="startup phase" phase=sweep
time=2026-11-26T12:15:05.889Z level=INFO msg="startup phase done" phase=sweep took=36.63ms
time=2026-11-26T12:15:05.889Z level=INFO msg="startup phase" phase=credentials
time=2026-11-26T12:15:05.889Z level=INFO msg="startup phase done" phase=credentials took=219µs
time=2026-11-26T12:15:05.889Z level=INFO msg="startup phase" phase=open_state
time=2026-11-26T12:15:05.944Z level=INFO msg="startup phase done" phase=open_state took=54.766ms
time=2026-11-26T12:15:05.944Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-26T12:15:05.946Z level=INFO msg=connecting host=127.0.0.1:40191 protocol=31
time=2026-11-26T12:15:05.947Z level=INFO msg=connected host=127.0.0.1:40191 took=1.15ms
time=2026-11-26T12:15:05.948Z level=INFO msg="capabilities gathering"
time=2026-11-26T12:15:05.948Z level=INFO msg="capabilities gathered" took=723µs tags=linux,claude,go
time=2026-11-26T12:15:05.949Z level=INFO msg="hello sent" protocol=31
time=2026-11-26T12:15:05.961Z level=INFO msg=welcome protocol=31 role=primary generation=1
    browser_copy_test.go:90: waiting for !document.querySelector('[data-copy-continue]'): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserCopyContinue (6.58s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m31.409s
FAIL	amadan.net/oficina/equipo/internal/headless	91.631s


receipt: test step 1m32.968s 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 1m31.409s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.77s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 10.82s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.25s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 9.64s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.49s 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 149e223216a26562a4df540126866c66d74257e4 6.58s 49.79
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 48.04, cpu waiting 34.60%, memory waiting 0.00%, io waiting 0.83%
--- shard 22 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-rest: ./internal/equipo
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserPreviewBlocksNavigation)$' ./internal/equipo

receipt: test step 2.153s 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 705ms amadan.net/oficina/equipo/internal/equipo
receipt: slow test 700ms 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.379s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 11.634s 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 10.379s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 8.28s amadan.net/oficina/equipo/internal/idtest TestBrowserSmartDoor
receipt: slow test 2.09s amadan.net/oficina/equipo/internal/idtest TestBrowserOficinaIDDoor
browser lane browser-rest: ./internal/plan3test
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestTeamsHierarchyBrowser)$' ./internal/plan3test

receipt: test step 3.564s 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.194s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 2.19s 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 3m36.576s 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 3m34.913s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 21.64s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.41s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.06s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.63s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.17s amadan.net/oficina/equipo/internal/thintest TestBrowserRhythm
machine: 32 CPUs, load 7.87, cpu waiting 3.74%, memory waiting 0.00%, io waiting 0.08%
--- shard 23 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 23: make test-quarantine
python3 scripts/ci-test.py quarantine
quarantine: 12 tests from scripts/ci-quarantine.txt; a failure is retried once, and a pass on the retry is reported as a flake
+ go test -tags testbuild -timeout 15m -v -run '^TestHeadlessConnections$/^A5_cancel_and_sign_out$|^TestHeadlessConnections$/^C4_claude_sign_in$|^TestHeadlessConnections$/^C5_engineering_failover$|^TestHeadlessConnections$/^C5_engineering_to_codex$|^TestHeadlessConnections$/^C5_engineering_waits$' ./internal/headless   (52s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 4.69s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.23s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 8.24s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 8.78s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 26.88s
+ go test -tags testbuild -timeout 15m -v -run '^TestHeadlessConnections$/^C5_review_auth$|^TestHeadlessConnections$/^C5_review_failover$|^TestHeadlessConnections$/^C5_review_on_codex$|^TestHeadlessConnections$/^C5_review_other_family_first$' ./internal/headless   (62s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 11.87s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 10.84s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 9.83s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 27.03s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (20s)
ok ./internal/headless TestMixedVersions 18.28s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.77s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (1s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.05s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 56.69, cpu waiting 35.91%, memory waiting 0.00%, io waiting 1.51%
--- shard 24 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 24: make runner-host
python3 scripts/runner-prerequisites.py
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks

receipt: test step 11.864s 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.806s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 305ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 62ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider/gotoolchain
receipt: slow test 5.56s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.76s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 370ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 270ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 100ms 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.221s 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.864s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 260ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 180ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReapsOrphans
machine: 32 CPUs, load 15.89, cpu waiting 8.64%, memory waiting 0.00%, io waiting 3.26%
--- 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 41.1%, load 30.89
shard 25: make runner-dead-references lanes-check build vet fmt-check spacing budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2801 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.510s
machine: 32 CPUs, load 54.95, cpu waiting 36.11%, memory waiting 0.00%, io waiting 1.37%
--- 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 41.1%, load 30.89
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 46.17, cpu waiting 28.38%, memory waiting 0.00%, io waiting 1.98%
--- 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 41.1%, load 30.89
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 38.26, cpu waiting 20.59%, memory waiting 0.00%, io waiting 2.34%
--- 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 41.1%, load 30.89
shard 28: make gitleaks
12:14PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
12:15PM INF 1182 commits scanned.
12:15PM INF scanned ~66777453 bytes (66.78 MB) in 23s
12:15PM INF no leaks found
machine: 32 CPUs, load 54.67, cpu waiting 32.49%, memory waiting 0.00%, io waiting 1.79%
=== 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.005ms, worst 1.038ms, budget 150ms
perf: GET /api/runner/protocol: median 81µs, worst 118µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 548µs, worst 597µs, budget 150ms
perf: GET /api/v1/accounts: median 405µs, worst 505µs, budget 150ms
perf: GET /api/v1/auth/devices: median 433µs, worst 458µs, budget 150ms
perf: GET /api/v1/budgets: median 471µs, worst 500µs, budget 150ms
perf: GET /api/v1/capabilities: median 249µs, worst 285µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.233ms, worst 1.305ms, budget 150ms
perf: GET /api/v1/connections: median 556µs, worst 610µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 540µs, worst 565µs, budget 150ms
perf: GET /api/v1/conversation: median 904µs, worst 951µs, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.456ms, worst 1.527ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.753ms, worst 1.823ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 447µs, worst 474µs, budget 150ms
perf: GET /api/v1/journey: median 7.677ms, worst 7.703ms, budget 150ms
perf: GET /api/v1/me: median 424µs, worst 449µs, budget 150ms
perf: GET /api/v1/me/settings: median 529µs, worst 583µs, budget 150ms
perf: GET /api/v1/needs-you: median 7.078ms, worst 9.076ms, budget 150ms
perf: GET /api/v1/notifications: median 1.663ms, worst 1.748ms, budget 150ms
perf: GET /api/v1/onboarding: median 390µs, worst 449µs, budget 150ms
perf: GET /api/v1/people: median 452µs, worst 485µs, budget 150ms
perf: GET /api/v1/playbooks: median 576µs, worst 607µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 508µs, worst 535µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 804µs, worst 848µs, budget 150ms
perf: GET /api/v1/preferences: median 728µs, worst 748µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 456µs, worst 483µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 571µs, worst 616µs, budget 150ms
perf: GET /api/v1/roster: median 446µs, worst 487µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 427µs, worst 471µs, budget 150ms
perf: GET /api/v1/specialists: median 8.025ms, worst 8.058ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 7.648ms, worst 7.782ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 824µs, worst 871µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.051ms, worst 1.091ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 697µs, worst 747µs, budget 150ms
perf: GET /api/v1/teams: median 424µs, worst 449µs, budget 150ms
perf: GET /api/v1/templates: median 565µs, worst 587µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 445µs, worst 457µs, budget 150ms
perf: GET /auth/callback: median 73µs, worst 100µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.655ms, worst 3.761ms, budget 150ms
perf: GET /auth/verify: median 92µs, worst 112µs, budget 150ms
perf: GET /connections: median 3.938ms, worst 4.058ms, budget 150ms
perf: GET /conversation: median 7.891ms, worst 8.333ms, budget 150ms
perf: GET /conversation/connections: median 235µs, worst 281µs, budget 150ms
perf: GET /conversation/notebook: median 244µs, worst 270µs, budget 150ms
perf: GET /conversation/settings: median 4.3ms, worst 4.467ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 4.558ms, worst 7.446ms, budget 150ms
perf: GET /conversation/settings/connections: median 6.887ms, worst 7.136ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 7.069ms, worst 7.174ms, budget 150ms
perf: GET /conversation/settings/copy: median 4.399ms, worst 4.503ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 4.463ms, worst 4.861ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.769ms, worst 4.948ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.824ms, worst 4.898ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.711ms, worst 3.958ms, budget 150ms
perf: GET /conversation/settings/thinking: median 4.348ms, worst 4.507ms, budget 150ms
perf: GET /housekeeping: median 4.401ms, worst 7.04ms, budget 150ms
perf: GET /invites/new: median 604µs, worst 633µs, budget 150ms
perf: GET /invites/{id}: median 628µs, worst 661µs, budget 150ms
perf: GET /jobs: median 3.74ms, worst 3.802ms, budget 150ms
perf: GET /jobs/{id}: median 4.946ms, worst 5.004ms, budget 150ms
perf: GET /journey: median 10.258ms, worst 10.463ms, budget 150ms
perf: GET /nav/rail: median 3.252ms, worst 3.291ms, budget 150ms
perf: GET /needs-you: median 9.884ms, worst 10.112ms, budget 150ms
perf: GET /onboarding: median 4.292ms, worst 4.413ms, budget 150ms
perf: GET /people: median 3.667ms, worst 3.797ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 4.918ms, worst 8.089ms, budget 150ms
perf: GET /playbooks: median 4.489ms, worst 4.576ms, budget 150ms
perf: GET /playbooks/new: median 4.534ms, worst 4.628ms, budget 150ms
perf: GET /playbooks/{id}: median 4.968ms, worst 5.017ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 4.903ms, worst 5.038ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 4.113ms, worst 4.191ms, budget 150ms
perf: GET /preferences: median 4.553ms, worst 4.601ms, budget 150ms
perf: GET /preferences/sources/{source}: median 4.342ms, worst 4.476ms, budget 150ms
perf: GET /projects: median 5.978ms, worst 6.089ms, budget 150ms
perf: GET /projects/accounts: median 3.941ms, worst 4.025ms, budget 150ms
perf: GET /projects/new: median 4.105ms, worst 4.24ms, budget 150ms
perf: GET /projects/{id}: median 10.841ms, worst 11.117ms, budget 150ms
perf: GET /projects/{id}/edit: median 4.133ms, worst 4.193ms, budget 150ms
perf: GET /runners/enrol: median 4.765ms, worst 4.807ms, budget 150ms
perf: GET /settings: median 3.843ms, worst 3.901ms, budget 150ms
perf: GET /settings/coordinator: median 5.767ms, worst 5.826ms, budget 150ms
perf: GET /settings/devices: median 3.663ms, worst 3.697ms, budget 150ms
perf: GET /settings/recovery: median 3.818ms, worst 3.844ms, budget 150ms
perf: GET /settings/recovery/release: median 3.785ms, worst 3.867ms, budget 150ms
perf: GET /settings/thinking: median 246µs, worst 302µs, budget 150ms
perf: GET /signed-out: median 263µs, worst 283µs, budget 150ms
perf: GET /signin: median 271µs, worst 309µs, budget 150ms
perf: GET /specialists/new: median 3.792ms, worst 3.95ms, budget 150ms
perf: GET /specialists/{key}: median 11.168ms, worst 14.18ms, budget 150ms
perf: GET /specialists/{key}/edit: median 4.039ms, worst 4.181ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 4.104ms, worst 4.242ms, budget 150ms
perf: GET /tasks: median 6.002ms, worst 6.25ms, budget 150ms
perf: GET /tasks/new: median 3.613ms, worst 3.664ms, budget 150ms
perf: GET /tasks/{id}: median 5.721ms, worst 5.795ms, budget 150ms
perf: GET /tasks/{id}/merge: median 5.124ms, worst 5.218ms, budget 150ms
perf: GET /tasks/{id}/move: median 4.997ms, worst 5.133ms, budget 150ms
perf: GET /tasks/{id}/plan: median 5.992ms, worst 6.118ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.592ms, worst 1.661ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.473ms, worst 8.539ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 5.084ms, worst 5.164ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.611ms, worst 4.692ms, budget 150ms
perf: GET /tasks/{id}/thread: median 8.117ms, worst 8.254ms, budget 150ms
perf: GET /team/{specialist}: median 4.742ms, worst 4.923ms, budget 150ms
perf: GET /teams: median 10.098ms, worst 10.275ms, budget 150ms
perf: GET /templates: median 3.778ms, worst 3.86ms, budget 150ms
perf: GET /usage: median 4.601ms, worst 4.684ms, budget 150ms
perf: GET /work: median 3.397ms, worst 3.47ms, 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 158ms of [152.527528ms 158.042319ms 159.804744ms], budget 500ms

receipt: test step 41.82s 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.264s amadan.net/oficina/equipo/internal/equipotest
receipt: slow package 1ms amadan.net/oficina/equipo/internal/wire/wireschema
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 test 9.74s 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: 4.61 GiB in 27639 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 1.15 GiB in 40997 files
ci-box: build cache over 4.0 GiB: dropped 1.77 GiB this job did not read, kept 2.84 GiB
diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt
index e579818f..2ff5580d 100644
--- a/.rastrillo/budgets.txt
+++ b/.rastrillo/budgets.txt
@@ -14,8 +14,8 @@ perf GET /* skip Unknown private paths render 404; this fallback contains no scr
time internal/equipo/team 60s Plan 3 loaded CI measured 45.985s; niced serial reruns measured 18.079s and 22.031s. Keep migration, recovery, accounting and concurrency assertions; 60s leaves 30 percent headroom above loaded CI.
time internal/equipotest 300s Final fix package rerun measured 187.035s (review 172.4s); 300s gives 60 percent headroom for HTTP, sandbox, authority and final regression coverage.
-size internal/equipo 22600 - Stuck tasks' Retry and timeline (2026-11-25), merge_credential and amadan_unreachable copy (2026-11-26); measured 22600 source lines.
-size internal/wire 7199 - Protocol 31 display facts, shared path validation and merge credential reasons; measured 7199 source lines (2026-11-26).
+size internal/equipo 22615 - Stuck tasks' Retry and timeline, merge_credential and amadan_unreachable copy, no-access merges ask no retry (2026-11-26); measured 22615 source lines.
+size internal/wire 7199 - Protocol 31 display facts, shared path validation, native task evidence fields and merge credential reasons; measured 7199 source lines (2026-11-26).
size internal/equipotest - 12017 Task 21 repairs historical migration and conversation fixtures after Plan 3, and the Rastrillo upgrade contract comparing served assets with what Assets serves; measured 0/12017 source/test lines.
time internal/runner/checks 90s CI worker measured 44.553s (44.6s rounded);
time internal/runner 330s Plan 3 CI repair measured 292.120s for the full package (controller CI 472.184s).
@@ -30,7 +30,7 @@ size internal/runner/provider 5731 - Fable follow-up: base and diagnostic gates,
time internal/plan3test 300s Initial cap for combined browser and runner acceptance; measure at both usable stops.
-size internal/plan3test - 11913 Paused-work, Assistant, stuck-task and merge credential strings in the release inventory (2026-11-26); measured 11913 test lines.
+size internal/plan3test - 11916 Paused-work, Assistant, stuck-task, merge credential and no-access strings in the release inventory (2026-11-26); measured 11916 test lines.
time internal/runner/forge 20s Plan 3 CI repair measured 10.527s for the full package (controller CI 10.407s).
time internal/runner/provider 15s Plan 3 CI repair measured 10.346s for the full package (controller CI 10.709s);
@@ -56,7 +56,7 @@ perf GET /api/v1/tasks/{id} skip Thin v1 person API: bearer-only JSON for device
perf GET /api/v1/assistant/snapshot skip Assistant person API: bearer-only JSON for Base's chat, not a browser screen.
perf GET /api/v1/assistant/messages skip Assistant person API: bearer-only JSON for Base's chat, not a browser screen.
perf GET /api/v1/assistant/events skip Assistant event stream (Server-Sent Events), bearer-only and long-lived; not a screen.
-size internal/equipo/chat 34897 9848 Detail-only file facts projection and Coordinator, snapshot, event regressions; measured 34897/9848 (2026-11-26).
+size internal/equipo/chat 34974 9873 Detail-only file facts, hosted projection, completion time, no-access merges; measured 34974/9873 (2026-11-26).
perf GET /api/v1/questions/{id} skip Thin v1 person API: bearer-only JSON for devices; the browser reads questions on /tasks/{id}.
perf GET /api/v1/steps/{id}/log skip Thin v1 person API: bearer-only JSON for devices; the browser shows the log tail on /tasks/{id}.
perf GET /api/v1/connections/preference skip Connections slice 1 person API: bearer-only JSON for devices; the browser shows the preference on /conversation/connections.
@@ -71,7 +71,7 @@ perf GET /tasks/{id}/files/{file} skip Research kept images: the bytes of one im
perf GET /api/v1/runners skip Mac runners person API: bearer-only JSON for devices; the browser shows runners in the Team section.
time cmd/equipo-runner 60s TestReleaseRunnerHasNoFakeWorker builds the release runner and the thin package under testbuild (about 12s locally).
size internal/headless - 11437 Grant scenarios for a named repository (hub #48); the sign-in's account email at 1280 and 390; measured 11437 test lines.
-size internal/thintest - 35157 Protocol 31 runner-to-device facts and detail-only HTTP projection contracts; measured 35157 test lines (2026-11-26).
+size internal/thintest - 35229 Protocol 31 facts and detail-only contracts, stuck tasks, paused-job clock, no-access merges; measured 35229 test lines (2026-11-26).
perf GET /api/v1/projects/{id}/merge-policy skip Merge authority person API: bearer-only JSON for devices; the browser reads the policy on /projects/{id}.
perf GET /api/v1/usage skip Thin v1 person API: bearer-only JSON for devices; the browser reads usage through /usage.
diff --git a/docs/superpowers/plans/CONTROLLER-REPORT-native-needs-you.md b/docs/superpowers/plans/CONTROLLER-REPORT-native-needs-you.md
index a330b53d..df3d9ae8 100644
--- a/docs/superpowers/plans/CONTROLLER-REPORT-native-needs-you.md
+++ b/docs/superpowers/plans/CONTROLLER-REPORT-native-needs-you.md
@@ -364,3 +364,50 @@ mac-needs-you.png; refreshed Today, empty and merge-confirmation captures too.
The new aside image shows the real native stub and Undo; the ordinary list
shows Set aside on the merge row. Screenshots and mutation/gate logs are in
the audit site's build/slice4 and validation directories. No new copy questions.
+
+## Refresh follow-ups, 2026-11-26
+
+Branch `native/needs-you-followups`, from origin/main `7c113ac8`.
+The last matching Resume connection survives task/connection reads and
+transient network failures. A changed hold or authoritative connection result,
+or a refused task/connection/resume request, clears it. Existing task revision
+freshness guards remain in force. A refused Resume clears before its refetch,
+so a second tap cannot reuse a rejected pause revision.
+
+Event refreshes no longer bump every row's read key. The task revision drives
+row reads; explicit Needs you pull-to-refresh and read-error Retry also bump
+the retry generation. Unchanged successfully read rows skip HTTP even then;
+failed task or connection reads retry. Resume/Run now retain their forced
+post-action task read. Direction Set aside now pins `aside: true` in the actual
+request, and Undo pins false.
+
+Test-first commands and evidence:
+- `swift test --package-path native/apple --filter 'NeedsFollowupTests|NeedsRowModelTests'`
+ failed with 15 assertion issues before the behavioral implementation
+ (after correcting a test-only private-setter compilation error).
+- Focused restored-source suite including StoppedWorkReviewTests passed 30
+ tests before adding the final retry/changed-hold cases.
+- `python3 "$TMPDIR/needs-followups-mutate.py"` and
+ `python3 "$TMPDIR/needs-followups-extra.py"`: all 14 mutations killed.
+ The failed-task retry mutation initially survived because the fixture had
+ never loaded successfully. Added a previously successful row whose later
+ read fails; the same mutation then failed on read count and recovery.
+
+Mutations: clear before task read; clear before connection read; remove row
+revision cache; ignore changed revision; ignore failed task read; ignore
+failed connection read; refresh every event; never retry failed rows; retain
+refused task connection; retain refused connection response; retain refused
+Resume before refetch; retain removed hold; direction Set aside sends false;
+retain changed step connection while reading. Each was restored in `finally`;
+each killed run contains an assertion failure, not a compiler error.
+
+The gate also imports main's two missing reviewed web reason strings,
+`work.reason.merge_credential` and `work.reason.amadan_unreachable`, unchanged.
+No new copy and no server behavior changes. Evidence is under the audit site's
+`build/slice4/validation/followups/` (red/green logs, mutation scripts/results,
+and native gate).
+
+Final `native/scripts/check-native.sh`: passed, 354 tests in 47 suites with
+one existing known issue, 332 parity strings, Mac and iPhone Simulator builds.
+`git diff --check`: passed. Post-commit reference scan and Linux CI verdict
+are recorded with the pushed head in the evidence directory.
diff --git a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
index ae2e6956..e3b15798 100644
--- a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
+++ b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
@@ -6910,6 +6910,8 @@ records remain unchanged.
| `work.tl.coordinator_retried` | The coordinator started %s again. | Copy specialist | Runtime; COPY APPROVED (Paul, 2026-11-25, copy-review 6haczxo74hoyyuf7xkojgqd27e, unchanged) |
| `work.reason.merge_credential` | the runner has no Amadan credential for this repository | Copy specialist | Runtime; COPY APPROVED (Paul, 2026-11-25, copy-review 6wxwi7zo3fph5nu4nm6eipptfq, unchanged) |
| `work.reason.amadan_unreachable` | Amadan could not be reached to confirm Equipo may merge here | Copy specialist | Runtime; COPY APPROVED (Paul, 2026-11-25, copy-review 6wxwi7zo3fph5nu4nm6eipptfq, unchanged) |
+| `assistant.team.no_access` | The change is ready, but it can't go live until access to publish it is set up. | Told to the Assistant: where the work stands once going live was refused for want of access (merge_credential, merge_forbidden), instead of "waits for a go-ahead" | Runtime; COPY APPROVED (Paul, 2026-11-26, coordinator session, unchanged) |
+| `assistant.job.detail.no_access` | It can't go live until access to publish it is set up. | Base job card: a stopped job's sentence more when going live was refused for want of access | Runtime; COPY APPROVED (Paul, 2026-11-26, coordinator session, unchanged) |
## Task 21
diff --git a/internal/equipo/chat/handoff.go b/internal/equipo/chat/handoff.go
index 6e9a300d..7becee0f 100644
--- a/internal/equipo/chat/handoff.go
+++ b/internal/equipo/chat/handoff.go
@@ -740,6 +740,23 @@ func (t *txn) handoffSettled(h handoffRecord) (bool, error) {
return true, nil
}
+// noAccess: s is a merge step refused for want of access to publish to
+// the repository: the runner had no usable credential for it (merge_credential),
+// or the hub said the agent may not merge there (merge_forbidden).
+func noAccess(s *stepRecord) bool {
+ return s != nil && s.Specialist == wire.SpecialistMerge && (s.Reason == wire.ReasonMergeCredential || s.Reason == "merge_forbidden")
+}
+
+// goingLiveCause is why going live stopped on the failed step s:
+// causeNoAccess when it is a merge refused for want of access (trying
+// again cannot help), else causeGoingLive.
+func goingLiveCause(s *stepRecord) string {
+ if noAccess(s) {
+ return causeNoAccess
+ }
+ return causeGoingLive
+}
+
// mergeFailed: the task is back at Ready to merge because its candidate's
// merge failed and ended (merge.go's mergeFailed): only the person's
// Merge tries it again.
@@ -827,6 +844,10 @@ func (t *txn) taskSummary(k taskRecord) (string, error) {
stage := "assistant.team.stage." + k.Stage
switch needs := pr.needsYou(k); {
case wire.FinalStage(k.Stage):
+ case (needs == wire.NeedsMerge || needs == wire.NeedsRetry) && !k.CancelRequested && pr.merge != nil && pr.merge.State == wire.StepFailed && pr.merge.Terminated && noAccess(pr.merge):
+ // Going live was refused for want of access: what is missing,
+ // never "waits for a go-ahead".
+ stage = "assistant.team.no_access"
case needs != "" && needs != wire.NeedsMerge:
stage = "assistant.team.stopped"
case !slices.Contains(wire.Stages, k.Stage) || k.CancelRequested:
@@ -898,6 +919,43 @@ func (t *txn) stopReason(h handoffRecord) (string, error) {
// on the person from the moment it is raised), unless the work ended: a
// project's question left open then is not the job's stop.
func (t *txn) jobStop(h handoffRecord, settled bool) (reason, cause string, ended bool, err error) {
+ reason, cause, ended, err = t.firstStop(h, settled)
+ if err != nil || cause != causeGoingLive {
+ return reason, cause, ended, err
+ }
+ // Going live failed: refused for want of access on any of its tasks
+ // says so, whichever came first, so the person is never told to try
+ // again what cannot work until access is set up.
+ tasks, err := t.handoffTasks(h)
+ if err != nil {
+ return "", "", false, err
+ }
+ for _, k := range tasks {
+ if wire.FinalStage(k.Stage) {
+ continue
+ }
+ steps, err := t.steps(k.ID)
+ if err != nil {
+ return "", "", false, err
+ }
+ var newest *stepRecord
+ for i := range steps {
+ if steps[i].Specialist != wire.SpecialistResearch {
+ newest = &steps[i]
+ }
+ }
+ pr := progressFor(k, steps)
+ switch needs := pr.needsYou(k); {
+ case needs == wire.NeedsMerge && mergeFailed(k, pr) && noAccess(pr.merge), needs == wire.NeedsRetry && noAccess(newest):
+ return reason, causeNoAccess, ended, nil
+ }
+ }
+ return reason, cause, ended, nil
+}
+
+// firstStop is jobStop's stop from the first task (oldest first) that
+// stops the job, before any access refusal among them is looked for.
+func (t *txn) firstStop(h handoffRecord, settled bool) (reason, cause string, ended bool, err error) {
tasks, err := t.handoffTasks(h)
if err != nil {
return "", "", false, err
@@ -932,9 +990,9 @@ func (t *txn) jobStop(h handoffRecord, settled bool) (reason, cause string, ende
pr := progressFor(k, steps)
switch needs := pr.needsYou(k); {
case needs == wire.NeedsMerge && mergeFailed(k, pr):
- return stopBlocked, causeGoingLive, false, nil
+ return stopBlocked, goingLiveCause(pr.merge), false, nil
case needs == wire.NeedsRetry && live:
- return stopBlocked, causeGoingLive, false, nil
+ return stopBlocked, goingLiveCause(newest), false, nil
case needs == wire.NeedsRetry:
failed = true
case needs != "" && needs != wire.NeedsMerge:
@@ -1115,9 +1173,9 @@ func (t *txn) jobNote(h handoffRecord) (string, error) {
return "", err
}
// A Publish asked again because going live failed is not ready: the
- // person tries again.
+ // person tries again. Nor is going live refused for want of access.
ready := false
- if !asking && cause != causeGoingLive {
+ if !asking && cause != causeGoingLive && cause != causeNoAccess {
if ready, err = t.readyToTry(h); err != nil {
return "", err
}
diff --git a/internal/equipo/chat/handoff_test.go b/internal/equipo/chat/handoff_test.go
index 5114835b..65b0f273 100644
--- a/internal/equipo/chat/handoff_test.go
+++ b/internal/equipo/chat/handoff_test.go
@@ -101,7 +101,7 @@ func TestFallbackTitle(t *testing.T) {
// step, and going live that failed. Unknown, it is no line.
func TestJobNoteBlockedLines(t *testing.T) {
causes := []string{wire.CardAccess, wire.CardHome, wire.CardDirection, wire.CardSpecialist, wire.CardResearchSources, wire.CardResearchInventory, wire.CardMergeShips, wire.CardMergePolicy,
- wire.NeedsHeld, wire.NeedsBranchMoved, wire.NeedsReviewBlocked, wire.NeedsFixRounds, wire.NeedsMergeConflict, wire.NeedsMachineRemoved, wire.NeedsRunnerOffline, wire.NeedsMacSandbox, wire.NeedsDirection, causeGoingLive}
+ wire.NeedsHeld, wire.NeedsBranchMoved, wire.NeedsReviewBlocked, wire.NeedsFixRounds, wire.NeedsMergeConflict, wire.NeedsMachineRemoved, wire.NeedsRunnerOffline, wire.NeedsMacSandbox, wire.NeedsDirection, causeGoingLive, causeNoAccess}
for _, c := range causes {
if line := blockedLine(c); line == "" || strings.HasSuffix(line, ".") || strings.ContainsAny(line, "\n[]") {
t.Errorf("%s: %q", c, line)
@@ -115,4 +115,29 @@ func TestJobNoteBlockedLines(t *testing.T) {
t.Errorf("%q: %q", c, line)
}
}
+ // Going live refused for want of access: what is missing, and never
+ // an invitation to try the same again.
+ if line := blockedLine(causeNoAccess); !strings.Contains(line, "no access") || strings.Contains(strings.ToLower(line), "equipo") || strings.Contains(line, "need to try it again") || line == blockedLine(causeGoingLive) {
+ t.Errorf("no access: %q", line)
+ }
+}
+
+// TestGoingLiveCause: a failed merge refused for want of access (the
+// runner's own refusal, or the hub's forbidden) stops its job on access;
+// any other failed merge or publish on going live.
+func TestGoingLiveCause(t *testing.T) {
+ for _, c := range []struct {
+ s *stepRecord
+ want string
+ }{
+ {&stepRecord{Specialist: wire.SpecialistMerge, Reason: wire.ReasonMergeCredential}, causeNoAccess},
+ {&stepRecord{Specialist: wire.SpecialistMerge, Reason: "merge_forbidden"}, causeNoAccess},
+ {&stepRecord{Specialist: wire.SpecialistMerge, Reason: "merge_failed"}, causeGoingLive},
+ {&stepRecord{Specialist: wire.SpecialistPublish, Reason: wire.ReasonMergeCredential}, causeGoingLive},
+ {nil, causeGoingLive},
+ } {
+ if got := goingLiveCause(c.s); got != c.want {
+ t.Errorf("%+v: %q, want %q", c.s, got, c.want)
+ }
+ }
}
diff --git a/internal/equipo/chat/jobs.go b/internal/equipo/chat/jobs.go
index 96a99efa..990c6fc0 100644
--- a/internal/equipo/chat/jobs.go
+++ b/internal/equipo/chat/jobs.go
@@ -223,11 +223,16 @@ func (t *txn) jobView(h handoffRecord) (state, result, detail, carryOn string, l
}
return state, t.copy("assistant.job.status." + key), t.copy("assistant.job.detail." + key), "", links, nil
}
- return state, t.copy("assistant.job." + state), t.copy("assistant.job.detail." + state), "", links, nil
+ detail = t.copy("assistant.job.detail." + state)
+ if state == wire.JobStopped && key != "" {
+ detail = t.copy("assistant.job.detail." + key)
+ }
+ return state, t.copy("assistant.job." + state), detail, "", links, nil
}
-// jobState is jobView's state, a working job's status key and the link
-// the state offers first, if any.
+// jobState is jobView's state, a working job's status key (a stopped
+// job's detail key when it has one of its own) and the link the state
+// offers first, if any.
func (t *txn) jobState(h handoffRecord) (state, key string, first *wire.CardLink, err error) {
if h.State == handoffCancelled {
return wire.JobStopped, "", nil, nil
@@ -238,7 +243,7 @@ func (t *txn) jobState(h handoffRecord) (state, key string, first *wire.CardLink
}
// The job's note's stop (jobStop): a blocker only the person clears
// stops it before its work settles too.
- reason, _, ended, err := t.jobStop(h, settled)
+ reason, cause, ended, err := t.jobStop(h, settled)
if err != nil {
return "", "", nil, err
}
@@ -271,6 +276,10 @@ func (t *txn) jobState(h handoffRecord) (state, key string, first *wire.CardLink
if err != nil || asking {
return wire.JobAsking, "", nil, err
}
+ if reason != "" && cause == causeNoAccess {
+ // Going live refused for want of access: its own sentence.
+ return wire.JobStopped, causeNoAccess, nil, nil
+ }
if reason != "" {
return wire.JobStopped, "", nil, nil
}
diff --git a/internal/equipo/chat/tools.go b/internal/equipo/chat/tools.go
index ac78940b..d23c6d72 100644
--- a/internal/equipo/chat/tools.go
+++ b/internal/equipo/chat/tools.go
@@ -134,9 +134,15 @@ const (
// the person tries going live again.
const causeGoingLive = "going_live"
+// causeNoAccess: a job's merge was refused for want of access to publish
+// to its repository (goingLiveCause): trying again cannot help until
+// someone sets that access up, so the person is never invited to.
+const causeNoAccess = "no_access"
+
// blockedLine is noteBlocked's plain words for what stopped a job for
// its person: a team card that waits on them (by kind), a task's need,
-// or going live that failed ("" for anything else).
+// going live that failed, or going live refused for want of access ("" for
+// anything else).
func blockedLine(cause string) string {
switch cause {
case wire.CardAccess:
@@ -167,6 +173,10 @@ func blockedLine(cause string) string {
return "they need to let it be tested on their Mac"
case causeGoingLive:
return "going live failed, and they need to try it again"
+ case causeNoAccess:
+ // Read by the model only, never shown as copy (covered: Paul,
+ // 2026-11-26, coordinator session). It never names Equipo.
+ return "there is no access to publish it where the work lives, and someone needs to set that access up before it can go live; trying again will not help until then"
}
return ""
}
diff --git a/internal/equipo/copy.go b/internal/equipo/copy.go
index 70c8347e..fc169758 100644
--- a/internal/equipo/copy.go
+++ b/internal/equipo/copy.go
@@ -2414,6 +2414,15 @@ var pageCopy = map[string]string{
"api.already_running": "A request to run this work is already in progress.", // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-24)
"api.offer_changed": "The option to run this work has changed. Check the current option, then try again.", // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-24)
"work.pause.run_now_may_bill": "This may use a plan that bills per use.", // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-24)
+
+ // Going live refused for want of access to publish to the repository:
+ // the runner had no usable credential for it (merge_credential), or the
+ // hub said the agent may not merge there (merge_forbidden). Trying
+ // again cannot help until someone sets that access up, so neither
+ // invites it: where the work stands, told to the Assistant, and the
+ // stopped job card's sentence more.
+ "assistant.team.no_access": "The change is ready, but it can't go live until access to publish it is set up.", // COPY APPROVED (Paul, 2026-11-26, coordinator session, unchanged)
+ "assistant.job.detail.no_access": "It can't go live until access to publish it is set up.", // COPY APPROVED (Paul, 2026-11-26, coordinator session, unchanged)
}
// pasteLabels are the paste box's words, for the shared renderer, and
diff --git a/internal/equipo/templates/work_parts.html b/internal/equipo/templates/work_parts.html
index 1a04a0cd..4e1be335 100644
--- a/internal/equipo/templates/work_parts.html
+++ b/internal/equipo/templates/work_parts.html
@@ -36,7 +36,7 @@
{{define "decision"}}{{$t := .Task}}{{with $t.Decision}}<div equipo-decision{{if eq $.From "task"}} id="decide"{{end}}{{with .Tone}} data-tone="{{.}}"{{end}} data-need="{{.Need}}" data-decision="{{$t.ID}}">
{{if $.Head}}{{template "mono" $t.Mono}}<div equipo-d-title><a href="/tasks/{{$t.ID}}">{{$t.Title}}</a><div equipo-quiet>{{template "placement-chip" $t}} · {{template "source" $t}}</div></div>{{end}}
<p equipo-d-why>{{.Why}}</p>
-<p equipo-d-ask>{{.Ask}}</p>{{if .Link}}<p equipo-quiet data-direction-line>{{with .LinkText}}{{.}} {{end}}<a equipo-link href="{{.Link}}" rel="noopener noreferrer" target="_blank" data-direction-link>{{.LinkLabel}}</a>{{with .AltLink}} <a equipo-link href="{{.}}" rel="noopener noreferrer" target="_blank" data-direction-branch>{{$t.Decision.AltLabel}}</a>{{end}}</p>{{end}}{{with .Said}}<p equipo-quiet data-triage-said>{{.}}</p>{{end}}{{with .Failed}}<p equipo-quiet data-triage-failed>{{.}}</p>{{end}}{{with .Recommend}}<p equipo-quiet data-triage-recommend>{{.}}</p>{{end}}
+{{with .Ask}}<p equipo-d-ask>{{.}}</p>{{end}}{{if .Link}}<p equipo-quiet data-direction-line>{{with .LinkText}}{{.}} {{end}}<a equipo-link href="{{.Link}}" rel="noopener noreferrer" target="_blank" data-direction-link>{{.LinkLabel}}</a>{{with .AltLink}} <a equipo-link href="{{.}}" rel="noopener noreferrer" target="_blank" data-direction-branch>{{$t.Decision.AltLabel}}</a>{{end}}</p>{{end}}{{with .Said}}<p equipo-quiet data-triage-said>{{.}}</p>{{end}}{{with .Failed}}<p equipo-quiet data-triage-failed>{{.}}</p>{{end}}{{with .Recommend}}<p equipo-quiet data-triage-recommend>{{.}}</p>{{end}}
<div equipo-d-actions>{{if .CopyContinue}}<form method="post" action="/conversation/tasks/{{$t.ID}}/continue-without-copy"><input type="hidden" name="from" value="{{$.From}}"><button equipo-btn data-primary type="submit" data-copy-continue>{{copy "copy.continue"}}</button></form>{{end}}{{with .Card}}<form method="post" action="/conversation/cards/{{.ID}}/answer"><input type="hidden" name="revision" value="{{.Revision}}"><input type="hidden" name="from" value="{{$.From}}"><input type="hidden" name="task" value="{{$t.ID}}">{{if $.Task.Decision.Note}}<textarea rst-input name="note" maxlength="1000" rows="2" aria-label="{{copy "chat.card.direction_note"}}" placeholder="{{copy "chat.card.direction_note"}}" data-direction-note></textarea>{{end}}{{range $.Task.Decision.Choices}}<button equipo-btn{{if .Primary}} data-primary{{end}} type="submit" name="choice" value="{{.Value}}" data-merge-choice="{{.Value}}">{{.Label}}</button>{{end}}</form>{{end}}{{if .Fold}}<form method="post" action="/tasks/{{$t.ID}}/duplicate"><input type="hidden" name="from" value="{{$.From}}"><input type="hidden" name="of" value="{{$t.Dup.ID}}"><button equipo-btn data-primary type="submit" data-task-duplicate>{{copy "work.decide.fold"}}</button></form>{{end}}{{if .Recover}}<form method="post" action="/conversation/tasks/{{$t.ID}}/recover"><input type="hidden" name="from" value="{{$.From}}"><button equipo-btn data-primary type="submit" data-task-recover>{{copy "work.recover"}}</button></form>{{end}}{{with .Unsandboxed}}<details equipo-mach-confirm data-unsandboxed><summary equipo-btn>{{copy "work.decide.unsandboxed"}}</summary><div><p>{{.Warning}}</p><form method="post" action="/conversation/tasks/{{$t.ID}}/unsandboxed"><input type="hidden" name="from" value="{{$.From}}"><input type="hidden" name="step" value="{{.Step}}"><input type="hidden" name="attempt" value="{{.Attempt}}"><button equipo-btn data-danger type="submit" data-task-unsandboxed>{{copy "work.decide.unsandboxed_confirm"}}</button></form></div></details>{{end}}{{if .Retry}}<form method="post" action="/conversation/tasks/{{$t.ID}}/retry"><input type="hidden" name="from" value="{{$.From}}"><button {{if .Fold}}equipo-link{{else}}equipo-btn data-primary{{end}} type="submit" data-task-retry>{{copy "work.retry"}}</button></form>{{end}}{{if .Round}}<form method="post" action="/conversation/tasks/{{$t.ID}}/round"><input type="hidden" name="from" value="{{$.From}}"><button equipo-btn data-primary type="submit" data-task-round>{{copy "work.decide.round"}}</button></form>{{end}}{{if .Talk}}<a equipo-btn href="/conversation?about={{$t.ID}}" data-ask-coordinator>{{copy "work.decide.ask_coordinator"}}</a>{{end}}{{if .Cancel}}<form method="post" action="/conversation/tasks/{{$t.ID}}/cancel"><input type="hidden" name="from" value="{{$.From}}"><button equipo-link type="submit" data-task-cancel>{{copy "work.decide.cancel"}}</button></form>{{end}}{{with .Hint}}<span equipo-quiet>{{.}}</span>{{end}}<span equipo-d-quiet>{{if .Mac}}<a equipo-link href="/conversation/settings/machines/add" data-set-up-mac>{{copy "work.decide.mac_set_up"}}</a>{{end}}<a equipo-link href="/conversation?about={{$t.ID}}" data-ask-about>{{copy "work.ask_about"}}</a></span></div>
</div>{{end}}{{end}}
{{define "star-toggle"}}{{$p := .P}}<form method="post" action="/projects/{{$p.ID}}/star" equipo-star-form><input type="hidden" name="starred" value="{{if $p.Star.On}}0{{else}}1{{end}}"><input type="hidden" name="from" value="{{.From}}"><button type="submit" equipo-star{{if $p.Star.On}} aria-pressed="true"{{if $p.Star.Auto}} data-auto{{end}}{{else}} aria-pressed="false"{{end}} aria-label="{{$p.Star.Label}}" title="{{$p.Star.Who}}" data-star-toggle>{{icon "star"}}</button></form>{{end}}
diff --git a/internal/equipo/work_views.go b/internal/equipo/work_views.go
index 49195a39..72051daa 100644
--- a/internal/equipo/work_views.go
+++ b/internal/equipo/work_views.go
@@ -750,6 +750,12 @@ func decisionOf(t wire.Task, v taskLine) *decisionView {
d.Why = fmt.Sprintf(copyText("work.decide.stopped_why"), who(v.Stopped), reason, attempt)
d.Retry, d.Cancel = v.Retry, v.Cancel
d.Ask = copyText("work.decide.retry_ask")
+ if v.Stopped != nil && v.Stopped.Specialist == wire.SpecialistMerge && (v.Stopped.Reason == wire.ReasonMergeCredential || v.Stopped.Reason == "merge_forbidden") {
+ // Trying again cannot help until someone sets up access:
+ // the reason says what is missing, and nothing asks to try
+ // again (Retry stays, for once access is given).
+ d.Ask = ""
+ }
case wire.NeedsFixRounds:
d.Tone, d.Why, d.Ask, d.Talk, d.Cancel, d.Round = "attention", copyText("work.decide.fix_rounds_why"), copyText("work.decide.talk_ask"), true, v.Cancel, v.Mine
if t.ChecksReason == "base_checks_failed" {
diff --git a/internal/equipo/work_views_test.go b/internal/equipo/work_views_test.go
index fa9393e7..06e9eccd 100644
--- a/internal/equipo/work_views_test.go
+++ b/internal/equipo/work_views_test.go
@@ -1,6 +1,7 @@
package equipo
import (
+ "fmt"
"strings"
"testing"
"time"
@@ -51,6 +52,49 @@ func TestStoppedMergeShowsTheHubAnswer(t *testing.T) {
t.Fatalf("no stopped merge in %+v", timelineOf(task, v))
}
+// A merge the runner refused for want of access says what is missing,
+// on the stage line and in the timeline, not that Amadan did not merge
+// it; the runner's words on which precondition failed are its details.
+func TestStoppedMergeWithoutAccess(t *testing.T) {
+ now := time.Now()
+ words := copyText("work.reason." + wire.ReasonMergeCredential)
+ if words == "" {
+ t.Fatal("no words for merge_credential")
+ }
+ tail := "error: forge: no usable forge credential for the repository"
+ task := wire.Task{ID: "tk1", Creator: "a@example.com", Stage: wire.StageReadyToMerge, Steps: []wire.Step{{Specialist: wire.SpecialistMerge, State: wire.StepFailed, Reason: wire.ReasonMergeCredential, Attempt: 1, Terminated: true, LogTail: tail, FinishedAt: &now}}}
+ v := taskLineOf(task, "a@example.com")
+ v.richOf(task, "a@example.com", nil, now)
+ if v.StageLine != fmt.Sprintf(copyText("work.stopped"), words) {
+ t.Fatalf("stage line %q", v.StageLine)
+ }
+ for _, it := range timelineOf(task, v) {
+ if it.Kind == "stopped" && it.Headline == sentenceCase(words)+"." {
+ if html := string(pasteBox.Render(it.Markdown)); !strings.Contains(html, "no usable forge credential") {
+ t.Fatalf("details %q", html)
+ }
+ return
+ }
+ }
+ t.Fatalf("no stopped merge in %+v", timelineOf(task, v))
+}
+
+// A merge stopped for want of access that waits on the person asks no
+// "Try again?": nothing the person can retry helps until access is
+// given. Another stopped merge still asks.
+func TestStoppedMergeWithoutAccessAsksNoRetry(t *testing.T) {
+ now := time.Now()
+ for reason, ask := range map[string]string{wire.ReasonMergeCredential: "", "merge_forbidden": "", "merge_failed": copyText("work.decide.retry_ask")} {
+ task := wire.Task{ID: "tk1", Creator: "a@example.com", Stage: wire.StageMerging, NeedsYou: wire.NeedsRetry, Steps: []wire.Step{{Specialist: wire.SpecialistMerge, State: wire.StepFailed, Reason: reason, Attempt: 1, Terminated: true, FinishedAt: &now}}}
+ v := taskLineOf(task, "a@example.com")
+ v.richOf(task, "a@example.com", nil, now)
+ d := decisionOf(task, v)
+ if d == nil || d.Ask != ask || !strings.Contains(d.Why, copyText("work.reason."+reason)) {
+ t.Fatalf("%s: %+v", reason, d)
+ }
+ }
+}
+
// A push the hub refused shows the person why: the stopped step's details
// carry the refusal and git's answer from the runner's report, as written
// (the runner redacts and bounds them).
diff --git a/internal/plan3test/plan3_release_test.go b/internal/plan3test/plan3_release_test.go
index 5cefd80c..7707fb82 100644
--- a/internal/plan3test/plan3_release_test.go
+++ b/internal/plan3test/plan3_release_test.go
@@ -183,6 +183,9 @@ func plan3CopyInventory(t *testing.T) {
approvedFailedReplies := strings.HasPrefix(key, "chat.failed.") && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-22, copy-review ipgtz3lqoo3rj6rpiodpekh6vu, unchanged)") || key == "signin.refused" && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-22, copy-review smart-door-copy-5, unchanged)")
// Paul's own review of the Engineering stop reasons.
approvedStopReasons := slices.Contains([]string{"work.reason.no_further_changes", "work.reason.tools_refused"}, key) && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-23, copy-review eavqvil43jg2zs3wxx3kxp3bpm, unchanged)")
+ // Paul's approval of the no-access going-live strings, given in the
+ // coordinator's session (2026-11-26).
+ approvedNoAccess := slices.Contains([]string{"assistant.team.no_access", "assistant.job.detail.no_access"}, key) && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-26, coordinator session, unchanged)")
// Paul's own review of the merge step's credential and hub reasons.
approvedMergeCredential := slices.Contains([]string{"work.reason.merge_credential", "work.reason.amadan_unreachable"}, key) && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-25, copy-review 6wxwi7zo3fph5nu4nm6eipptfq, unchanged)")
// Paul's own review of the coordinator's stuck-task strings.
@@ -212,7 +215,7 @@ func plan3CopyInventory(t *testing.T) {
acceptedProjects := slices.Contains([]string{"projects.amadan", "projects.yours", "projects.can_add", "projects.add_reachable", "projects.names", "projects.names_hint", "projects.details", "projects.title", "projects.description", "projects.save", "projects.context", "projects.found", "projects.selected", "projects.owner_add", "projects.selection_lost", "projects.other", "projects.name_question", "projects.personal_names", "projects.forget_name", "docs/api/equipo-v1.md / Projects and starting a request"}, key) && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Luna, 2026-11-22)")
acceptedAgentAccess := slices.Contains([]string{"copyAgentConfig", "copyAgentForbidden", "copyAgentNotFound", "copyAgentUnavailable", "copyAgentTooLarge", "copyAgentInvalid", "copyAgentMedia", "copyAgentUnauthenticated", "agent.equipo_projects_list", "agent.equipo_tasks_list", "agent.equipo_task_get", "agent.equipo_needs_you", "docs/api/equipo-v1.md / Delegated read-only operations"}, key) && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Luna, 2026-11-20)")
acceptedCopy := strings.TrimSuffix(cells[3], " |") == "COPY ACCEPTED BY DELEGATION (Copy, record-bound) sha256:"+copydesk.Hash(rows[key])
- if !approvedMergeCredential && !approvedStuckTasks && !acceptedPaused && !acceptedNewTeamCard && !acceptedGitHubEgress && !acceptedForgeSeam && !acceptedAPIErrors && !acceptedNativeProjects && !acceptedInjection && !acceptedMail && !acceptedPush && !acceptedAgentAccess && !acceptedProjects && !acceptedCardNames && !acceptedAccess && !acceptedPlacementEdges && !acceptedPlacement && !acceptedReportActions && !acceptedRoster && !acceptedCopy && !strings.Contains(cells[3], "COPY REVIEW REQUIRED") && !acceptedAll && !acceptedGuide && !acceptedRound2 && !acceptedStarter && !acceptedDelegation && !approvedPublish && !approvedAssistant && !approvedJobs && !approvedOficina && !approvedFailedReplies && !approvedStopReasons {
+ if !approvedNoAccess && !approvedMergeCredential && !approvedStuckTasks && !acceptedPaused && !acceptedNewTeamCard && !acceptedGitHubEgress && !acceptedForgeSeam && !acceptedAPIErrors && !acceptedNativeProjects && !acceptedInjection && !acceptedMail && !acceptedPush && !acceptedAgentAccess && !acceptedProjects && !acceptedCardNames && !acceptedAccess && !acceptedPlacementEdges && !acceptedPlacement && !acceptedReportActions && !acceptedRoster && !acceptedCopy && !strings.Contains(cells[3], "COPY REVIEW REQUIRED") && !acceptedAll && !acceptedGuide && !acceptedRound2 && !acceptedStarter && !acceptedDelegation && !approvedPublish && !approvedAssistant && !approvedJobs && !approvedOficina && !approvedFailedReplies && !approvedStopReasons {
t.Fatal("entry has no copy review status or applicable acceptance", key)
}
}
diff --git a/internal/thintest/assistant_job_state_contract_test.go b/internal/thintest/assistant_job_state_contract_test.go
index dc90ebbe..697d17f6 100644
--- a/internal/thintest/assistant_job_state_contract_test.go
+++ b/internal/thintest/assistant_job_state_contract_test.go
@@ -6,6 +6,7 @@ import (
"testing"
"time"
+ "amadan.net/oficina/equipo/internal/equipo"
"amadan.net/oficina/equipo/internal/wire"
)
@@ -194,6 +195,31 @@ func TestContractTeamJobSettledStates(t *testing.T) {
o.settledStopped(request)
o.noteFor("the failed merge's note", blockedOn("going live failed, and they need to try it again"))
}},
+ {"merge_credential", func(o *teamRig, request, id string, merge *wire.DispatchCommand) {
+ // The runner refused the merge itself: no access to publish to
+ // the repository. Stopped, saying what is missing, and the
+ // Assistant is not told to have the person try again.
+ o.step("pw-m-run", wire.StepReport{TaskID: merge.TaskID, StepID: merge.StepID, Attempt: merge.Attempt, State: wire.StepRunning, BaseSHA: merge.BaseSHA, CandidateSHA: merge.CandidateSHA})
+ o.step("pw-m-fail", wire.StepReport{TaskID: merge.TaskID, StepID: merge.StepID, Attempt: merge.Attempt, State: wire.StepFailed, Reason: wire.ReasonMergeCredential, BaseSHA: merge.BaseSHA, CandidateSHA: merge.CandidateSHA, Termination: true})
+ o.wait("ready to merge again", func(c *Conversation) bool { return c.Tasks[id].Stage == wire.StageReadyToMerge })
+ o.endUpdates()
+ card := o.jobOf(request, "stopped", func(c wire.AssistantCard) bool { return c.State != wire.JobWorking })
+ if card.State != wire.JobStopped || card.Result != equipo.RunnerCopy("assistant.job.stopped") || card.Detail != equipo.RunnerCopy("assistant.job.detail.no_access") {
+ o.t.Fatalf("the job card %+v, want stopped for want of access", card)
+ }
+ if n := o.openOutcomes(); n != 0 {
+ o.t.Fatalf("%d go-ahead or Publish cards open", n)
+ }
+ note := o.noteFor("the refused merge's note", blockedOn(noAccessLine))
+ for _, retry := range []string{"try it again", "go-ahead", "team_nudge", equipo.RunnerCopy("assistant.team.stage.ready_to_merge")} {
+ if strings.Contains(note, retry) {
+ o.t.Fatalf("the note invites %q: %q", retry, note)
+ }
+ }
+ if !strings.Contains(note, equipo.RunnerCopy("assistant.team.no_access")) {
+ o.t.Fatalf("the note does not say what is missing: %q", note)
+ }
+ }},
{"publish_declined", func(o *teamRig, request, id string, merge *wire.DispatchCommand) {
o.mergedStep("pw-m", merge, strings.Repeat("e", 40))
o.wait("done", func(c *Conversation) bool { return c.Tasks[id].Stage == wire.StageDone })
diff --git a/internal/thintest/assistant_team_contract_test.go b/internal/thintest/assistant_team_contract_test.go
index 1a6dffcf..fa008099 100644
--- a/internal/thintest/assistant_team_contract_test.go
+++ b/internal/thintest/assistant_team_contract_test.go
@@ -7,6 +7,7 @@ import (
"net/http"
"regexp"
"slices"
+ "strconv"
"strings"
"testing"
"time"
@@ -1708,9 +1709,16 @@ func personNeeds() []personNeed {
{"merge_failed", "going live failed, and they need to try it again", func(o *teamRig, id, step string) {
o.exec("UPDATE chat_steps SET specialist = ?, state = ?, terminated = 1, reason = 'provider_failed' WHERE id = ?", wire.SpecialistMerge, wire.StepFailed, step)
}},
+ {"merge_credential", noAccessLine, func(o *teamRig, id, step string) {
+ o.exec("UPDATE chat_steps SET specialist = ?, state = ?, terminated = 1, reason = ? WHERE id = ?", wire.SpecialistMerge, wire.StepFailed, wire.ReasonMergeCredential, step)
+ }},
}
}
+// noAccessLine is the note's plain line for going live refused for want
+// of access to the repository: what is missing, not "try it again".
+const noAccessLine = "there is no access to publish it where the work lives, and someone needs to set that access up before it can go live; trying again will not help until then"
+
// TestContractTeamUpdatePersonNeeds (ruling P4j): every need only the
// person can meet stops the job for them: the note says what in plain
// words and never asks the Assistant to nudge it, however its step
@@ -1991,3 +1999,41 @@ func TestContractOutcomePublishInThread(t *testing.T) {
t.Fatal("the publish result is not in the thread")
}
}
+
+// TestContractTeamUpdateNoAccessAmongTasks: a job following two tasks,
+// one whose merge failed and one refused for want of access, in either
+// order: the note says access is missing, never "try it again".
+func TestContractTeamUpdateNoAccessAmongTasks(t *testing.T) {
+ for _, order := range []string{"failed_first", "refused_first"} {
+ t.Run(order, func(t *testing.T) {
+ o := newTeamRigAt(t, wire.ProtocolCurrent)
+ o.ask("Can we fix two bugs in Tito? Login is broken and so is search")
+ _, cmd := o.handoff("na1", "Login is broken and so is search", "")
+ var ids, steps []string
+ o.in(cmd.TurnID, func() {
+ for i, title := range []string{"Fix the login", "Fix the search"} {
+ key := "na-" + strconv.Itoa(i)
+ id := o.record(key+"-rec", title)
+ if res := o.call(key+"-start", wire.ToolStartTask, map[string]string{"task": id, "brief": "Fix it."}); res.IsError {
+ o.t.Fatalf("start %+v", res)
+ }
+ _, body := o.expect(wire.FrameDispatch)
+ ids, steps = append(ids, id), append(steps, body.(*wire.DispatchCommand).StepID)
+ }
+ })
+ reasons := []string{"provider_failed", wire.ReasonMergeCredential}
+ if order == "refused_first" {
+ reasons[0], reasons[1] = reasons[1], reasons[0]
+ }
+ for i, step := range steps {
+ o.exec("UPDATE chat_steps SET specialist = ?, state = ?, terminated = 1, reason = ? WHERE id = ?", wire.SpecialistMerge, wire.StepFailed, reasons[i], step)
+ }
+ if _, err := o.client.PostThread(o.ctx, ids[0], "For the record.", "na-note"); err != nil {
+ t.Fatal(err)
+ }
+ if note := o.noteFor("the note", blockedOn(noAccessLine)); strings.Contains(note, "try it again") {
+ t.Fatalf("note %q", note)
+ }
+ })
+ }
+}
diff --git a/native/apple/Sources/EquipoKit/Presentation/NeedsRowModel.swift b/native/apple/Sources/EquipoKit/Presentation/NeedsRowModel.swift
index 556620e3..c9733000 100644
--- a/native/apple/Sources/EquipoKit/Presentation/NeedsRowModel.swift
+++ b/native/apple/Sources/EquipoKit/Presentation/NeedsRowModel.swift
@@ -23,11 +23,17 @@ extension TaskDetailModel {
case .failed: failure = EquipoStrings.text("card.failed")
}
}
- func loadNeedsRow() async {
- needsResume.connection = nil
- await load()
+ func loadNeedsRow(force: Bool = false) async {
+ guard force || loaded?.revision != task?.revision || readFailure != nil || needsResume.readFailed else { return }
+ if let error = await load() {
+ if ResumeAction.refused(error) { needsResume.connection = nil }
+ return
+ }
if let task, let step = TaskPause(task, mine: session.isMine(task))?.resumeStep {
await needsResume.load(client: session.client, step: step)
+ } else {
+ needsResume.connection = nil
+ needsResume.readFailed = false
}
}
func performNeedsAction(_ shown: NeedsRowAction? = nil) async {
@@ -48,7 +54,7 @@ extension TaskDetailModel {
failure = await session.runNow(task: taskID, run)
}
await session.refresh()
- await loadNeedsRow()
+ await loadNeedsRow(force: true)
case .open, .question: break
}
}
diff --git a/native/apple/Sources/EquipoKit/Presentation/ResumeAction.swift b/native/apple/Sources/EquipoKit/Presentation/ResumeAction.swift
index 43edd10d..05238e31 100644
--- a/native/apple/Sources/EquipoKit/Presentation/ResumeAction.swift
+++ b/native/apple/Sources/EquipoKit/Presentation/ResumeAction.swift
@@ -3,10 +3,22 @@ import Observation
@MainActor @Observable final class ResumeAction {
var connection: ResumeConnection?
+ var readFailed = false
+ static func refused(_ error: Error) -> Bool {
+ guard let error = error as? EquipoAPIError else { return false }
+ return error.endsSession || error.status.map { (400..<500).contains($0) && $0 != 429 } == true
+ }
func load(client: EquipoClient, step: ThinStep) async {
- connection = nil
- if let list = try? await client.resumeConnections() {
+ if let connection, StoppedWorkActions.connection(for: step, in: [connection]) == nil {
+ self.connection = nil
+ }
+ do {
+ let list = try await client.resumeConnections()
+ readFailed = false
connection = StoppedWorkActions.connection(for: step, in: list.items ?? [])
+ } catch {
+ readFailed = true
+ if Self.refused(error) { connection = nil }
}
}
func perform(client: EquipoClient, step: ThinStep) async -> String? {
@@ -14,6 +26,7 @@ import Observation
do { try await client.resumeConnection(connection); return nil }
catch {
// A stale pause revision must never be offered for the next tap.
+ if Self.refused(error) { self.connection = nil }
await load(client: client, step: step)
return EquipoStrings.text("card.failed")
}
diff --git a/native/apple/Sources/EquipoKit/Presentation/TaskDetailModel.swift b/native/apple/Sources/EquipoKit/Presentation/TaskDetailModel.swift
index 64c6e206..46cdf2e4 100644
--- a/native/apple/Sources/EquipoKit/Presentation/TaskDetailModel.swift
+++ b/native/apple/Sources/EquipoKit/Presentation/TaskDetailModel.swift
@@ -43,9 +43,9 @@ import Observation
guard let task, loaded?.revision == task.revision, readFailure == nil else { return .init() }
return TaskActionRules(task: task, viewer: session.me?.address ?? "", owner: session.me?.role == "owner", cards: session.cards)
}
- func load() async {
- do { loaded = try await session.client.task(taskID); readFailure = nil }
- catch { readFailure = StoppedWorkActions.logFailure(error) }
+ @discardableResult func load() async -> (any Error)? {
+ do { loaded = try await session.client.task(taskID); readFailure = nil; return nil }
+ catch { readFailure = StoppedWorkActions.logFailure(error); return error }
}
func beginMove() async {
guard !busy, rules.available.contains(.move), let task else { return }
diff --git a/native/apple/Sources/EquipoKit/Session/EquipoSession.swift b/native/apple/Sources/EquipoKit/Session/EquipoSession.swift
index 12748263..ccdc6a45 100644
--- a/native/apple/Sources/EquipoKit/Session/EquipoSession.swift
+++ b/native/apple/Sources/EquipoKit/Session/EquipoSession.swift
@@ -134,9 +134,10 @@ public final class EquipoSession {
// MARK: Reading
/// Everything the screens show, once at a time: a burst of callers shares one pass.
- public func refresh() async {
+ public func refresh(retryNeeds: Bool = false) async {
guard status != .signedOut else { return }
await runner.run { [weak self] in await self?.refreshPass() }
+ if retryNeeds, !isInvalidated { needsReadGeneration &+= 1 }
}
private func refreshPass() async {
@@ -154,7 +155,6 @@ public final class EquipoSession {
needsYou = needsList.items ?? []
status = .ready
refreshFailed = false
- needsReadGeneration &+= 1
await sendZone()
// The team answers again: what was waiting goes now, as itself.
for item in outgoing where item.state == .waiting {
diff --git a/native/apple/Sources/EquipoKit/UI/Screens/NeedsScreen.swift b/native/apple/Sources/EquipoKit/UI/Screens/NeedsScreen.swift
index 9bcbd520..c685d7f0 100644
--- a/native/apple/Sources/EquipoKit/UI/Screens/NeedsScreen.swift
+++ b/native/apple/Sources/EquipoKit/UI/Screens/NeedsScreen.swift
@@ -10,7 +10,7 @@ public struct NeedsScreen: View {
ScrollView {
VStack(alignment: .leading, spacing: 20) {
if let needs = session.needsYou {
- if session.refreshFailed { ReadFailed { Task { await session.refresh() } } }
+ if session.refreshFailed { ReadFailed { Task { await session.refresh(retryNeeds: true) } } }
if needs.isEmpty {
if session.tasks.isEmpty {
ContentUnavailableView(EquipoStrings.text("work.needs_empty"), systemImage: "checkmark.circle")
@@ -31,7 +31,7 @@ public struct NeedsScreen: View {
TodaySection(session: session, now: context.date, openTask: openTask)
}
} else if session.refreshFailed {
- ReadFailed { Task { await session.refresh() } }
+ ReadFailed { Task { await session.refresh(retryNeeds: true) } }
} else {
ProgressView().accessibilityLabel(EquipoStrings.text("tab.needs")).frame(maxWidth: .infinity).padding(.top, 40)
}
@@ -39,7 +39,7 @@ public struct NeedsScreen: View {
.padding(16).frame(maxWidth: 760).frame(maxWidth: .infinity)
}
.scrollDismissesKeyboard(.interactively)
- .refreshable { await session.refresh() }
+ .refreshable { await session.refresh(retryNeeds: true) }
.background(Palette.background)
}
diff --git a/native/apple/Tests/EquipoKitTests/NeedsFollowupTests.swift b/native/apple/Tests/EquipoKitTests/NeedsFollowupTests.swift
new file mode 100644
index 00000000..8f05a20d
--- /dev/null
+++ b/native/apple/Tests/EquipoKitTests/NeedsFollowupTests.swift
@@ -0,0 +1,178 @@
+import Foundation
+import Testing
+@testable import EquipoKit
+
+@MainActor @Suite struct NeedsFollowupTests {
+ func heldTask() throws -> ThinTask {
+ var task = try NeedsRowActionTests.stopped(); task.needsYou = "held"
+ task.steps![0].state = "running"; task.steps![0].runnerId = "runner"
+ task.steps![0].hold = ThinHold(reason: "spend_unknown", connection: "local", provider: "codex", stepRevision: 4)
+ return task
+ }
+ func connection(_ revision: Int = 4) -> APIResponse {
+ APIResponse(status: 200, data: Data("""
+ {"items":[{"id":"conn","runner_id":"runner","local_id":"local","provider":"codex","spend":{"unknown":true,"pause_revision":\(revision)}}]}
+ """.utf8))
+ }
+ @Test func resumeStaysAvailableDuringBothReads() async throws {
+ let task = try heldTask()
+ let transport = ScriptedTransport()
+ let gate = NeedsReadGate(base: transport)
+ let (model, _) = try await NeedsRowModelTests().setup(task, transport: transport, service: gate)
+ transport.on("GET /connections", .success(connection()))
+ await model.loadNeedsRow()
+ for path in ["/tasks/" + task.id, "/connections"] {
+ await gate.pause(path)
+ let read = Task { await model.loadNeedsRow(force: true) }
+ await gate.waitUntilHeld()
+ #expect(model.needsResume.connection?.spend?.pauseRevision == 4)
+ #expect(model.needsAction.kind == .resume)
+ await gate.release(); await read.value
+ }
+ }
+ @Test func unchangedRowsDoNotReadAgainAndOnlyFailedRowsRetry() async throws {
+ let task = try NeedsRowActionTests.stopped()
+ let (good, transport) = try await NeedsRowModelTests().setup(task)
+ let failed = TaskDetailModel(session: good.session, taskID: task.id)
+ await good.loadNeedsRow()
+ transport.replace("GET /tasks/" + task.id, with: .failure(.offline))
+ await failed.loadNeedsRow()
+ let goodKey = good.needsReadKey, failedKey = failed.needsReadKey
+ for _ in 0..<3 {
+ await good.session.handle(#"data: {"type":"changed","resource":"task","cursor":12}"#)
+ await good.session.settle()
+ #expect(good.needsReadKey == goodKey)
+ #expect(failed.needsReadKey == failedKey)
+ }
+ await good.loadNeedsRow()
+ #expect(transport.sent("GET /tasks/" + task.id).count == 2)
+ let encoder = EquipoJSON.encoder; encoder.dateEncodingStrategy = .iso8601
+ transport.replace("GET /tasks/" + task.id, with: .success(APIResponse(status: 200, data: try encoder.encode(task))))
+ await good.session.refresh(retryNeeds: true)
+ #expect(failed.needsReadKey != failedKey)
+ await good.loadNeedsRow(); await failed.loadNeedsRow()
+ #expect(transport.sent("GET /tasks/" + task.id).count == 3)
+ #expect(failed.readFailure == nil)
+ var changed = task; changed.revision += 1
+ transport.replace("GET /tasks", with: .success(APIResponse(status: 200, data: try encoder.encode(["items": [changed]]))))
+ transport.replace("GET /needs-you", with: .success(APIResponse(status: 200, data: try encoder.encode(["items": [changed]]))))
+ await good.session.refresh()
+ transport.replace("GET /tasks/" + task.id, with: .success(APIResponse(status: 200, data: try encoder.encode(changed))))
+ await good.loadNeedsRow()
+ #expect(transport.sent("GET /tasks/" + task.id).count == 4)
+ #expect(good.loaded?.revision == changed.revision)
+ }
+ @Test func transientErrorsKeepConnectionButChangedAndRefusedReadsClearIt() async throws {
+ let task = try heldTask()
+ let (model, transport) = try await NeedsRowModelTests().setup(task)
+ transport.on("GET /connections", .success(connection()))
+ await model.loadNeedsRow()
+ transport.replace("GET /connections", with: .failure(.offline))
+ await model.loadNeedsRow(force: true)
+ #expect(model.needsResume.connection?.id == "conn")
+ transport.replace("GET /tasks/" + task.id, with: .failure(.offline))
+ await model.loadNeedsRow(force: true)
+ #expect(model.needsResume.connection?.id == "conn")
+ transport.replace("GET /tasks/" + task.id, with: .success(APIResponse(status: 403, data: Data())))
+ await model.loadNeedsRow(force: true)
+ #expect(model.needsResume.connection == nil)
+ }
+ @Test func previouslyLoadedRowRetriesItsFailedRead() async throws {
+ let task = try NeedsRowActionTests.stopped()
+ let (model, transport) = try await NeedsRowModelTests().setup(task)
+ await model.loadNeedsRow()
+ transport.replace("GET /tasks/" + task.id, with: .failure(.offline))
+ await model.loadNeedsRow(force: true)
+ let encoder = EquipoJSON.encoder; encoder.dateEncodingStrategy = .iso8601
+ transport.replace("GET /tasks/" + task.id, with: .success(APIResponse(status: 200, data: try encoder.encode(task))))
+ await model.session.refresh(retryNeeds: true)
+ await model.loadNeedsRow()
+ #expect(model.readFailure == nil)
+ #expect(transport.sent("GET /tasks/" + task.id).count == 3)
+ }
+ @Test func changedHoldClearsOldConnectionBeforeItsRead() async throws {
+ let task = try heldTask()
+ let transport = ScriptedTransport()
+ let gate = NeedsReadGate(base: transport)
+ let client = EquipoClient(transport: gate, token: "fixture")
+ let action = ResumeAction()
+ transport.on("GET /connections", .success(connection()))
+ await action.load(client: client, step: task.steps![0])
+ var step = task.steps![0]; step.runnerId = "replacement"
+ await gate.pause("/connections")
+ let read = Task { await action.load(client: client, step: step) }
+ await gate.waitUntilHeld()
+ #expect(action.connection == nil)
+ await gate.release(); await read.value
+ #expect(action.connection == nil)
+ }
+ @Test func failedConnectionReadRetriesAndRefusalClearsIt() async throws {
+ let task = try heldTask()
+ let (model, transport) = try await NeedsRowModelTests().setup(task)
+ transport.on("GET /connections", .success(connection()))
+ await model.loadNeedsRow()
+ transport.replace("GET /connections", with: .failure(.offline))
+ await model.loadNeedsRow(force: true)
+ transport.replace("GET /connections", with: .success(connection(5)))
+ await model.session.refresh(retryNeeds: true)
+ await model.loadNeedsRow()
+ #expect(model.needsResume.connection?.spend?.pauseRevision == 5)
+ #expect(transport.sent("GET /connections").count == 3)
+ transport.replace("GET /connections", with: .success(APIResponse(status: 403, data: Data())))
+ await model.loadNeedsRow(force: true)
+ #expect(model.needsResume.connection == nil)
+ }
+ @Test func changedConnectionResultAndTaskHoldClearResume() async throws {
+ let task = try heldTask()
+ let (model, transport) = try await NeedsRowModelTests().setup(task)
+ transport.on("GET /connections", .success(connection()))
+ await model.loadNeedsRow()
+ transport.replace("GET /connections", with: .success(APIResponse(status: 200, data: Data(#"{"items":[]}"#.utf8))))
+ await model.loadNeedsRow(force: true)
+ #expect(model.needsResume.connection == nil)
+ transport.replace("GET /connections", with: .success(connection()))
+ await model.loadNeedsRow(force: true)
+ var changed = task; changed.steps![0].hold = nil
+ let encoder = EquipoJSON.encoder; encoder.dateEncodingStrategy = .iso8601
+ transport.replace("GET /tasks/" + task.id, with: .success(APIResponse(status: 200, data: try encoder.encode(changed))))
+ await model.loadNeedsRow(force: true)
+ #expect(model.needsResume.connection == nil)
+ }
+ @Test func refusedResumeClearsConnectionBeforeReload() async throws {
+ let task = try heldTask()
+ let transport = ScriptedTransport()
+ let gate = NeedsReadGate(base: transport)
+ let client = EquipoClient(transport: gate, token: "fixture")
+ let action = ResumeAction()
+ transport.on("GET /connections", .success(connection()))
+ transport.on("POST /connections/conn/resume", .success(APIResponse(status: 409, data: Data())))
+ await action.load(client: client, step: task.steps![0])
+ transport.replace("GET /connections", with: .failure(.offline))
+ await gate.pause("/connections")
+ let send = Task { await action.perform(client: client, step: task.steps![0]) }
+ await gate.waitUntilHeld()
+ #expect(action.connection == nil)
+ await gate.release(); _ = await send.value
+ #expect(action.connection == nil)
+ }
+}
+
+private actor NeedsReadGate: EquipoTransport {
+ nonisolated let origin = URL(string: "https://oficina.example.test")!
+ nonisolated let base: ScriptedTransport
+ init(base: ScriptedTransport) { self.base = base }
+ var path: String?
+ var held = false
+ var continuation: CheckedContinuation<Void, Never>?
+ func pause(_ path: String) { self.path = path; held = false }
+ func waitUntilHeld() async { while !held { await Task.yield() } }
+ func release() { continuation?.resume(); continuation = nil }
+ func send(_ request: APIRequest) async throws -> APIResponse {
+ if path == request.path {
+ path = nil; held = true
+ await withCheckedContinuation { continuation = $0 }
+ }
+ return try await base.send(request)
+ }
+ func lines(_ request: APIRequest) async throws -> AsyncThrowingStream<String, Error> { try await base.lines(request) }
+}
diff --git a/native/apple/Tests/EquipoKitTests/NeedsRowModelTests.swift b/native/apple/Tests/EquipoKitTests/NeedsRowModelTests.swift
index 058bd851..a90c1ae3 100644
--- a/native/apple/Tests/EquipoKitTests/NeedsRowModelTests.swift
+++ b/native/apple/Tests/EquipoKitTests/NeedsRowModelTests.swift
@@ -3,8 +3,7 @@ import Testing
@testable import EquipoKit
@MainActor @Suite struct NeedsRowModelTests {
- func setup(_ task: ThinTask, cards: [ThinCard] = []) async throws -> (TaskDetailModel, ScriptedTransport) {
- let transport = ScriptedTransport()
+ func setup(_ task: ThinTask, cards: [ThinCard] = [], transport: ScriptedTransport = ScriptedTransport(), service: (any EquipoTransport)? = nil) async throws -> (TaskDetailModel, ScriptedTransport) {
let encoder = EquipoJSON.encoder; encoder.dateEncodingStrategy = .iso8601
var snapshot: Snapshot = try Fixture.decode("thin/snapshot")
snapshot.tasks = [task]; snapshot.cards = cards
@@ -14,7 +13,7 @@ import Testing
transport.on("GET /tasks/" + task.id, .success(APIResponse(status: 200, data: try encoder.encode(task))))
var account = DeviceAccount.new(origin: transport.origin, label: "Test")
account.credential = DeviceCredential(id: "fixture", token: "fixture", audience: "equipo.person.v1", instanceId: "fixture", expiresAt: .distantFuture)
- let session = EquipoSession(account: account, accounts: DeviceAccounts(store: MemorySecretStore()), transport: transport)
+ let session = EquipoSession(account: account, accounts: DeviceAccounts(store: MemorySecretStore()), transport: service ?? transport)
await session.refresh()
let model = TaskDetailModel(session: session, taskID: task.id)
return (model, transport)
@@ -83,7 +82,7 @@ import Testing
let key = model.needsReadKey
let encoder = EquipoJSON.encoder; encoder.dateEncodingStrategy = .iso8601
transport.replace("GET /tasks/" + task.id, with: .success(APIResponse(status: 200, data: try encoder.encode(task))))
- await model.session.refresh()
+ await model.session.refresh(retryNeeds: true)
#expect(model.needsReadKey != key)
model.needsResume.connection = ResumeConnection(id: "stale", runnerId: "r", localId: "c", provider: "codex", spend: .init(unknown: true, pauseRevision: 1))
await model.loadNeedsRow()
@@ -124,6 +123,7 @@ import Testing
#expect(!transport.requests.contains { $0.path.hasSuffix("/answer") })
let body = try JSONSerialization.jsonObject(with: try #require(transport.sent(route).first?.body)) as! [String: Any]
#expect(body["revision"] as? Int == 12)
+ #expect(body["aside"] as? Bool == true)
// Undo is the existing AsideStub session call, with the new revision.
var restored = card; restored.aside = false; restored.revision = 14
transport.replace(route, with: .success(APIResponse(status: 200, data: try encoder.encode(restored))))
@@ -133,6 +133,7 @@ import Testing
#expect(transport.sent(route).count == 2)
let undo = try JSONSerialization.jsonObject(with: try #require(transport.sent(route).last?.body)) as! [String: Any]
#expect(undo["revision"] as? Int == 13)
+ #expect(undo["aside"] as? Bool == false)
}
@Test func unreadFailedStaleAndBusyRowsCannotSend() async throws {
let task = try NeedsRowActionTests.stopped()
diff --git a/native/scripts/strings.json b/native/scripts/strings.json
index 686f3c89..028b1e50 100644
--- a/native/scripts/strings.json
+++ b/native/scripts/strings.json
@@ -404,6 +404,8 @@
"work.priority.mark_urgent": "Mark urgent",
"work.priority.normal": "Normal priority",
"work.priority.urgent": "Urgent",
+ "work.reason.amadan_unreachable": "Amadan could not be reached to confirm Equipo may merge here",
+ "work.reason.merge_credential": "the runner has no Amadan credential for this repository",
"work.reason.account_unavailable": "no model account was ready",
"work.reason.amadan_ci_failed": "Amadan's own CI did not pass",
"work.reason.amadan_ci_pending": "Amadan's own CI had not finished",