oficina / equipo Public

Fix scoped attachment files and restore Mac text drops

Paul Campbell pushed by claude agent, operated by paul@keymail.dev 7788b9a912bb41c9da39eaa5fc7983bda95fbdd7 parent e4bacd1
6 files changed, +331 −16
  • docs/superpowers/plans/CONTROLLER-REPORT-native-attachments.md +69 −0
  • native/apple/Sources/EquipoKit/Attachments/AttachmentDraft.swift +3 −1
  • native/apple/Sources/EquipoKit/Attachments/AttachmentFile.swift +19 −0
  • native/apple/Sources/EquipoMac/MacComposer.swift +4 −4
  • native/apple/Tests/EquipoKitTests/AttachmentFollowupTests.swift +114 −0
  • native/apple/Tests/EquipoKitTests/MacAttachmentTests.swift +122 −11

CI passed — run details

CI log
=== prepare ===
ci-box: machine: aarch64, 32 CPUs, 62 GiB memory, kernel 7.0.0-1017-aws
ci-box: python 3.12.3; Docker version 29.1.3, build 29.1.3-0ubuntu3~24.04.2
ci-box: user namespaces allowed: 233151
ci-box: cgroup: cgroup2fs
ci-box: disk /home/ci/work/repos/oficina__equipo/wt/native__attachments: Type  Size Avail | ext4   96G   86G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   86G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 1.3s
ci-box: codex: fetched and verified in 3.6s
ci-box: codex-code-mode-host: fetched and verified in 1.3s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.3s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.9s
ci-box: pi: installed and verified in 7.4s
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 8.6s
ci-box: clone deepened in 3.9s
ci-box: file times set from content: 3028 files, 196 directories
ci-box: ready in 17.5s
=== 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.143s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  1.2s
+ go list -export -test -tags testbuild -f  ./...
  0.6s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  0.3s
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -version
staticcheck 2026.1 (v0.7.0)
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 -version
Go: go1.26.11
Scanner: govulncheck@v1.8.0
DB: https://vuln.go.dev
DB updated: 2026-11-24 15:56:00 +0000 UTC

go run github.com/zricethezav/gitleaks/v8@v8.30.1 version
version is set by build process
=== check ===
--- shard 0 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-work: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadless$/^4c_rebase$|^TestHeadless$/^4b_ask$|^TestHeadless$/^4c_checks_card$|^TestHeadless$/^4_step_crash$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

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

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

receipt: test step 1m7.373s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m5.428s amadan.net/oficina/equipo/internal/headless
receipt: slow test 57.36s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 4.18s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 3.88s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 38.47, cpu waiting 24.05%, memory waiting 0.00%, io waiting 0.74%
--- shard 3 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-mac: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m4.41s 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 1m2.858s amadan.net/oficina/equipo/internal/headless
receipt: slow test 29.38s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 16.55s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.51s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
receipt: slow test 8.42s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
machine: 32 CPUs, load 38.25, cpu waiting 24.78%, memory waiting 0.00%, io waiting 0.79%
--- shard 4 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-guards: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_step_refused$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m20.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 1m19.144s amadan.net/oficina/equipo/internal/headless
receipt: slow test 51.47s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.87s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 7.58s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 6.93s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 4.29s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 35.35, cpu waiting 22.73%, memory waiting 0.00%, io waiting 0.60%
--- shard 5 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-rest: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestHeadless$/^4c_rebase$|^TestHeadless$/^4b_ask$|^TestHeadless$/^4c_checks_card$|^TestHeadless$/^4_step_crash$|^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$|^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$|^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$|^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_step_refused$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 2m33.306s 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 2m31.318s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m27.21s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 17.97s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.43s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 6.49s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
receipt: slow test 6.46s amadan.net/oficina/equipo/internal/headless TestHeadlessBatchAfterRefusedReply
machine: 32 CPUs, load 14.31, cpu waiting 6.98%, memory waiting 0.00%, io waiting 0.17%
--- 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 463ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 2m6.369s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 8.17s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.73s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 3.79s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 3.66s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 2.53s amadan.net/oficina/equipo/internal/thintest TestResearchDoneFallsBack
machine: 32 CPUs, load 1.66, cpu waiting 0.00%, memory waiting 0.00%, io waiting 2.25%
--- 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 402ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m35.659s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.1s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.01s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.5s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.39s amadan.net/oficina/equipo/internal/thintest TestContractRetryFailedPreviewAfterMerge
receipt: slow test 2.39s amadan.net/oficina/equipo/internal/thintest TestContractPublishNameTaken
machine: 32 CPUs, load 1.66, cpu waiting 0.00%, memory waiting 0.00%, io waiting 2.25%
--- shard 8 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-thin: ./internal/runner/thin
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/runner/thin
cache miss: amadan.net/oficina/equipo/internal/runner/thin: its inputs changed
budget note: internal/runner/thin took 4m36.324s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m50.181s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 4m36.324s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 36.99s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.86s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.82s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.47s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 6.8s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 1.91, cpu waiting 0.72%, 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 47.857s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 46.742s amadan.net/oficina/equipo/internal/runner
receipt: slow test 26.71s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 38.54, cpu waiting 24.02%, memory waiting 0.00%, io waiting 1.03%
--- shard 10 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-plans: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

receipt: test step 48.707s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 46.74s amadan.net/oficina/equipo/internal/runner
receipt: slow test 36.84s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 32.25s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.37s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.51s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 38.54, cpu waiting 24.02%, memory waiting 0.00%, io waiting 1.03%
--- shard 11 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-rest: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$|^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

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

receipt: test step 1m7.028s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m5.006s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 28.68s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 28.63s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 26.58s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 23.87s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 23.68s amadan.net/oficina/equipo/internal/equipotest TestAuthorityUsesLiveRoster
machine: 32 CPUs, load 30.53, cpu waiting 17.38%, memory waiting 0.00%, io waiting 0.44%
--- 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 30.5%, load 21.30
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 554ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m16.793s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 20.72s amadan.net/oficina/equipo/internal/equipotest TestProjectConcurrentRetry
receipt: slow test 20.7s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 20.68s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 20.67s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 20.67s amadan.net/oficina/equipo/internal/equipotest TestProjectOwnersAreMembers
machine: 32 CPUs, load 26.40, cpu waiting 12.70%, memory waiting 0.00%, io waiting 1.40%
--- 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 30.5%, load 21.30
test lane equipotest-r: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestR' ./internal/equipotest
cache miss: amadan.net/oficina/equipo/internal/equipotest: its inputs changed

receipt: test step 1m17.817s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m5.409s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 14.94s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.32s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.3s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 10.26s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 7.21s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 26.92, cpu waiting 14.86%, memory waiting 0.00%, io waiting 0.37%
--- 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 30.5%, load 21.30
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 453ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m7.287s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 25.88s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 25.38s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 25.35s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 23.45s amadan.net/oficina/equipo/internal/equipotest TestSigninBackgroundSweep
receipt: slow test 23.39s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsCurrentOwner
machine: 32 CPUs, load 21.30, cpu waiting 12.70%, memory waiting 0.00%, io waiting 1.40%
--- 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 30.5%, load 21.30
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 638ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 52.108s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.74s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.5s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.69s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.52s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.28s amadan.net/oficina/equipo/internal/plan3test TestPlanMigrationUpgrade
machine: 32 CPUs, load 21.30, cpu waiting 12.70%, memory waiting 0.00%, io waiting 1.40%
--- 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 30.5%, load 21.30
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/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude/realcli: 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/idtest: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/codex: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
budget note: internal/equipo took 50.61s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/chat took 15.626s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/setup took 11.631s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/idtest took 1m40.769s, 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 39.418s, over the 15s its record on line 40 allows; reported only, timing fails on CI

receipt: test step 2m14.405s against a 60s target (the gate's other steps are not in this figure)
receipt: 13 packages ran, 53 cached, 17 without tests, 0 failed
receipt: slow package 1m40.769s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 53.384s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 51.754s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 50.61s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 39.418s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 54.58s amadan.net/oficina/equipo/internal/idtest TestDoorRemembersOficinaID
receipt: slow test 45.99s amadan.net/oficina/equipo/internal/idtest TestDoorOficinaSettingsUnreadableIsNoLoop
receipt: slow test 45.97s amadan.net/oficina/equipo/internal/idtest TestDoorNeverJudgesANativeSession
receipt: slow test 45.84s amadan.net/oficina/equipo/internal/idtest TestDoorStepUpIsLocal
receipt: slow test 45.77s amadan.net/oficina/equipo/internal/idtest TestDoorForgetsOficinaIDForARefusedSession
machine: 32 CPUs, load 12.26, cpu waiting 5.91%, memory waiting 0.00%, io waiting 0.14%
--- shard 18 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-chat: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m19.62s 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 1m18.255s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.5s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 14.39s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 9.45s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.03s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 5s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 35.35, cpu waiting 22.73%, memory waiting 0.00%, io waiting 0.60%
--- shard 19 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-work: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m18.207s 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.494s amadan.net/oficina/equipo/internal/headless
receipt: slow test 23.45s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 17.71s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 12.15s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 8.1s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 6.92s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 37.12, cpu waiting 23.10%, memory waiting 0.00%, io waiting 0.62%
--- shard 20 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-connections: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m45.214s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m43.65s amadan.net/oficina/equipo/internal/headless
receipt: slow test 13.07s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 11.33s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 11.06s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsSignInEmail
receipt: slow test 10.71s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.64s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
machine: 32 CPUs, load 26.92, cpu waiting 15.33%, memory waiting 0.00%, io waiting 0.39%
--- shard 21 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-rest: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInEmail|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m21.635s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m20.092s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.37s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 10.66s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 9.23s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 8.91s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.31s amadan.net/oficina/equipo/internal/headless TestBrowserRefreshRace
machine: 32 CPUs, load 35.35, cpu waiting 22.12%, memory waiting 0.00%, io waiting 0.58%
--- shard 22 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-rest: ./internal/equipo
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserPreviewBlocksNavigation)$' ./internal/equipo

receipt: test step 833ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 690ms amadan.net/oficina/equipo/internal/equipo
receipt: slow test 690ms 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.907s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI

receipt: test step 305ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 10.907s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 8.83s amadan.net/oficina/equipo/internal/idtest TestBrowserSmartDoor
receipt: slow test 2.08s 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 240ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 2.19s 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 381ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 3m35.78s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 23.07s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.43s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.04s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.74s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.29s amadan.net/oficina/equipo/internal/thintest TestBrowserRhythm
machine: 32 CPUs, load 8.97, cpu waiting 1.24%, memory waiting 0.00%, io waiting 2.24%
--- shard 23 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 23: make test-quarantine
python3 scripts/ci-test.py quarantine
quarantine: 12 tests from scripts/ci-quarantine.txt; a failure is retried once, and a pass on the retry is reported as a flake
+ go test -tags testbuild -timeout 15m -v -run '^TestHeadlessConnections$/^A5_cancel_and_sign_out$|^TestHeadlessConnections$/^C4_claude_sign_in$|^TestHeadlessConnections$/^C5_engineering_failover$|^TestHeadlessConnections$/^C5_engineering_to_codex$|^TestHeadlessConnections$/^C5_engineering_waits$' ./internal/headless   (47s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 4.60s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.33s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 6.79s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 7.94s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 25.07s
+ 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   (52s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 18.72s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 9.85s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 9.40s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 12.34s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (18s)
ok ./internal/headless TestMixedVersions 16.50s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (1s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.76s
+ 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 39.70, cpu waiting 24.50%, memory waiting 0.00%, io waiting 0.97%
--- shard 24 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 24: make runner-host
python3 scripts/runner-prerequisites.py
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks

receipt: test step 8.437s 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.16s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 175ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 80ms 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/opencode
receipt: slow test 5.21s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.59s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 270ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 170ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 80ms amadan.net/oficina/equipo/internal/runner/provider/codex TestDirectJournalAdapterBarrier
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run '^TestNamespace' -count=1 ./internal/runner/containment
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run '^TestNamespace' -count=1 ./internal/runner/containment

receipt: test step 3.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 2.764s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 280ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 180ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReapsOrphans
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryReusedPID
machine: 32 CPUs, load 12.02, cpu waiting 5.22%, memory waiting 0.00%, io waiting 1.89%
--- 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 30.5%, load 21.30
shard 25: make runner-dead-references lanes-check build vet fmt-check spacing budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2740 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.527s
machine: 32 CPUs, load 38.54, cpu waiting 24.02%, memory waiting 0.00%, io waiting 1.03%
--- 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 30.5%, load 21.30
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 26.40, cpu waiting 14.18%, memory waiting 0.00%, io waiting 1.35%
--- 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 30.5%, load 21.30
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 30.69, cpu waiting 17.00%, memory waiting 0.00%, io waiting 1.27%
--- 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 30.5%, load 21.30
shard 28: make gitleaks
12:24AM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
12:25AM INF 1161 commits scanned.
12:25AM INF scanned ~66155079 bytes (66.16 MB) in 15.1s
12:25AM INF no leaks found
machine: 32 CPUs, load 34.32, cpu waiting 21.96%, memory waiting 0.00%, io waiting 1.11%
=== 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.078ms, worst 1.122ms, budget 150ms
perf: GET /api/runner/protocol: median 85µs, worst 108µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 593µs, worst 626µs, budget 150ms
perf: GET /api/v1/accounts: median 426µs, worst 482µs, budget 150ms
perf: GET /api/v1/auth/devices: median 444µs, worst 471µs, budget 150ms
perf: GET /api/v1/budgets: median 513µs, worst 537µs, budget 150ms
perf: GET /api/v1/capabilities: median 253µs, worst 276µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.246ms, worst 1.274ms, budget 150ms
perf: GET /api/v1/connections: median 642µs, worst 679µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 597µs, worst 667µs, budget 150ms
perf: GET /api/v1/conversation: median 966µs, worst 1.011ms, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.608ms, worst 1.718ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.938ms, worst 2.007ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 468µs, worst 490µs, budget 150ms
perf: GET /api/v1/journey: median 7.94ms, worst 9.915ms, budget 150ms
perf: GET /api/v1/me: median 436µs, worst 472µs, budget 150ms
perf: GET /api/v1/me/settings: median 504µs, worst 525µs, budget 150ms
perf: GET /api/v1/needs-you: median 7.029ms, worst 7.237ms, budget 150ms
perf: GET /api/v1/notifications: median 1.573ms, worst 1.733ms, budget 150ms
perf: GET /api/v1/onboarding: median 385µs, worst 422µs, budget 150ms
perf: GET /api/v1/people: median 432µs, worst 454µs, budget 150ms
perf: GET /api/v1/playbooks: median 561µs, worst 579µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 515µs, worst 550µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 794µs, worst 830µs, budget 150ms
perf: GET /api/v1/preferences: median 721µs, worst 738µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 445µs, worst 466µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 563µs, worst 595µs, budget 150ms
perf: GET /api/v1/roster: median 437µs, worst 467µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 416µs, worst 434µs, budget 150ms
perf: GET /api/v1/specialists: median 8.022ms, worst 8.103ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 7.748ms, worst 7.817ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 826µs, worst 868µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.058ms, worst 1.1ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 703µs, worst 739µs, budget 150ms
perf: GET /api/v1/teams: median 414µs, worst 452µs, budget 150ms
perf: GET /api/v1/templates: median 583µs, worst 615µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 431µs, worst 465µs, budget 150ms
perf: GET /auth/callback: median 80µs, worst 112µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.661ms, worst 3.757ms, budget 150ms
perf: GET /auth/verify: median 82µs, worst 114µs, budget 150ms
perf: GET /connections: median 4.032ms, worst 4.115ms, budget 150ms
perf: GET /conversation: median 7.827ms, worst 8.123ms, budget 150ms
perf: GET /conversation/connections: median 246µs, worst 265µs, budget 150ms
perf: GET /conversation/notebook: median 234µs, worst 256µs, budget 150ms
perf: GET /conversation/settings: median 4.458ms, worst 8.096ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 4.399ms, worst 4.515ms, budget 150ms
perf: GET /conversation/settings/connections: median 6.78ms, worst 6.933ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 6.885ms, worst 6.978ms, budget 150ms
perf: GET /conversation/settings/copy: median 4.353ms, worst 4.582ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 4.41ms, worst 4.576ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.726ms, worst 4.825ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.763ms, worst 4.895ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.95ms, worst 7.434ms, budget 150ms
perf: GET /conversation/settings/thinking: median 4.393ms, worst 4.589ms, budget 150ms
perf: GET /housekeeping: median 4.117ms, worst 4.196ms, budget 150ms
perf: GET /invites/new: median 581µs, worst 609µs, budget 150ms
perf: GET /invites/{id}: median 645µs, worst 719µs, budget 150ms
perf: GET /jobs: median 3.743ms, worst 3.834ms, budget 150ms
perf: GET /jobs/{id}: median 5ms, worst 5.17ms, budget 150ms
perf: GET /journey: median 12.476ms, worst 12.695ms, budget 150ms
perf: GET /nav/rail: median 3.67ms, worst 3.758ms, budget 150ms
perf: GET /needs-you: median 12.374ms, worst 12.797ms, budget 150ms
perf: GET /onboarding: median 4.842ms, worst 5.036ms, budget 150ms
perf: GET /people: median 4.162ms, worst 4.252ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 5.604ms, worst 5.663ms, budget 150ms
perf: GET /playbooks: median 5.084ms, worst 5.212ms, budget 150ms
perf: GET /playbooks/new: median 5.187ms, worst 5.252ms, budget 150ms
perf: GET /playbooks/{id}: median 4.819ms, worst 4.854ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 4.764ms, worst 4.863ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 4.056ms, worst 4.098ms, budget 150ms
perf: GET /preferences: median 4.465ms, worst 4.581ms, budget 150ms
perf: GET /preferences/sources/{source}: median 4.257ms, worst 4.342ms, budget 150ms
perf: GET /projects: median 6.243ms, worst 8.601ms, budget 150ms
perf: GET /projects/accounts: median 4.073ms, worst 4.12ms, budget 150ms
perf: GET /projects/new: median 4.026ms, worst 4.103ms, budget 150ms
perf: GET /projects/{id}: median 10.681ms, worst 11.009ms, budget 150ms
perf: GET /projects/{id}/edit: median 4.172ms, worst 4.243ms, budget 150ms
perf: GET /runners/enrol: median 4.663ms, worst 4.762ms, budget 150ms
perf: GET /settings: median 3.763ms, worst 3.868ms, budget 150ms
perf: GET /settings/coordinator: median 5.713ms, worst 5.842ms, budget 150ms
perf: GET /settings/devices: median 3.658ms, worst 3.699ms, budget 150ms
perf: GET /settings/recovery: median 3.782ms, worst 3.83ms, budget 150ms
perf: GET /settings/recovery/release: median 3.835ms, worst 3.943ms, budget 150ms
perf: GET /settings/thinking: median 254µs, worst 304µs, budget 150ms
perf: GET /signed-out: median 276µs, worst 307µs, budget 150ms
perf: GET /signin: median 292µs, worst 313µs, budget 150ms
perf: GET /specialists/new: median 3.804ms, worst 5.666ms, budget 150ms
perf: GET /specialists/{key}: median 10.887ms, worst 10.998ms, budget 150ms
perf: GET /specialists/{key}/edit: median 3.963ms, worst 4.034ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 3.99ms, worst 4.124ms, budget 150ms
perf: GET /tasks: median 5.938ms, worst 6.108ms, budget 150ms
perf: GET /tasks/new: median 3.539ms, worst 3.656ms, budget 150ms
perf: GET /tasks/{id}: median 5.692ms, worst 5.853ms, budget 150ms
perf: GET /tasks/{id}/merge: median 5.095ms, worst 5.198ms, budget 150ms
perf: GET /tasks/{id}/move: median 4.984ms, worst 5.103ms, budget 150ms
perf: GET /tasks/{id}/plan: median 6.165ms, worst 8.691ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.583ms, worst 1.638ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.626ms, worst 5.87ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 5.088ms, worst 5.222ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.551ms, worst 4.737ms, budget 150ms
perf: GET /tasks/{id}/thread: median 7.987ms, worst 8.224ms, budget 150ms
perf: GET /team/{specialist}: median 4.705ms, worst 4.916ms, budget 150ms
perf: GET /teams: median 10.157ms, worst 10.284ms, budget 150ms
perf: GET /templates: median 3.742ms, worst 3.837ms, budget 150ms
perf: GET /usage: median 4.726ms, worst 7.8ms, budget 150ms
perf: GET /work: median 3.491ms, worst 3.559ms, 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 [153.555549ms 157.650467ms 158.043404ms], budget 500ms

receipt: test step 32.152s 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.333s 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.82s 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: 2.82 GiB in 21647 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 1.15 GiB in 40997 files
diff --git a/docs/superpowers/plans/CONTROLLER-REPORT-native-attachments.md b/docs/superpowers/plans/CONTROLLER-REPORT-native-attachments.md
index 4f978dc3..a3fdd108 100644
--- a/docs/superpowers/plans/CONTROLLER-REPORT-native-attachments.md
+++ b/docs/superpowers/plans/CONTROLLER-REPORT-native-attachments.md
@@ -264,3 +264,72 @@ attachments`, inspected, and saved as `iphone-add-menu.png` and
The Photos picker explicitly shows Oficina Equipo can access only selected
items. Its Location Included system label describes the selected source;
converted images drop metadata and the server strips location on every upload.
+
+## Security-scoped Files follow-up, 2026-11-26
+
+Fable's delta review found that the immediate folder check ran before iPhone
+fileImporter URLs entered security-scoped access. The draft now checks file
+metadata inside a balanced access window, before creating an item. Local URLs
+whose startAccessingSecurityScopedResource returns false remain supported.
+The later bounded read retains its own balanced access window. Folders still
+produce api.attachment_type immediately and never become retryable items.
+
+A fake resolver rejects metadata reads unless access is active. With the old
+ordering, `swift test --package-path native/apple --filter
+AttachmentFollowupTests` failed with three assertions: the file was refused
+and the access sequence was wrong for both files and folders. With the fix,
+both paths observe start, metadata, stop, and the file reaches the fake server.
+
+The Mac composer delegates ordinary text drags to NSTextView in all four
+callbacks. A real NSTextView baseline and synthetic NSDraggingInfo exercise
+entry, update, preparation and insertion; the original code failed six
+assertions, including actual text insertion. The controller clarified that
+web URLs must also insert as plain text, not be blocked. The URL drop test
+first failed five assertions against the explicit URL refusal. Both URL drops
+and actual NSTextView paste now insert the URL as text, with no draft item or
+upload request. PNG/TIFF, file URLs and file promises retain the attachment
+path. The paste test preserves and restores the system clipboard in memory
+within one synchronous scope; no clipboard contents are logged.
+
+Additional tests distinguish cancellation after preparation from the item's
+identity check, cancel every upload on clear, enforce 10 MiB for an image that
+is not resized, inspect the flattened JPEG's pixel color, reject a promised
+file outside its private directory, and require per-file deletion while a
+promise reader still holds the directory alive. This last test cannot pass
+merely because directory deinit eventually removes everything.
+
+`swift test --package-path native/apple --filter
+'AttachmentFollowupTests|MacAttachmentTests'` passed 13 tests in two suites.
+No new runtime copy or server changes are included.
+
+`python3 "$TMPDIR/attachments-followup-mutations.py"` mutates one guard at a
+time, runs the two suites above, requires a built test binary and an assertion
+failure, then restores the source in a finally block. Its cases are:
+
+| Mutation | Expected regression |
+| --- | --- |
+| Metadata before scoped access | Selected file refused; wrong access order |
+| clear does not cancel uploads | Both server operations remain active |
+| Cancellation check after preparation removed | Cancelled preparation uploads |
+| Unresized-image byte limit removed | Oversized PNG accepted |
+| White canvas fill removed | Transparent pixels become black |
+| Promise directory containment removed | Outside file enters draft |
+| Per-file promise removal removed | Delivered file remains during other reads |
+| Text draggingEntered refuses fallback | Entry differs from NSTextView |
+| Text draggingUpdated refuses fallback | Update differs from NSTextView |
+| Text prepareForDragOperation refuses fallback | Preparation refused |
+| Text performDragOperation refuses fallback | Text never inserted |
+| File-URL-only pasteboard filter removed | Web URL becomes an attachment instead of text |
+
+All 12 mutations were caught. After the URL behavior clarification, case 12
+was replaced with removal of the file-URL-only filter and rerun using
+`python3 "$TMPDIR/attachments-followup-mutations.py" 12`; it failed the URL
+text/attachment assertions. The other 11 mutations and their tests were
+unchanged. No compiler failure was counted as a caught mutation.
+
+Final `native/scripts/check-native.sh` passed after the URL clarification:
+268 tests in 33 suites, one pre-existing known issue, 221 byte-identical parity
+strings, zero dead-reference failures, and successful Mac and iPhone Simulator
+builds. The exact mutation script, failure logs and final gate log are retained
+with the slice2 evidence as `scoped-verification-evidence.tar.gz` and
+`scoped-native-gate.log`.
diff --git a/native/apple/Sources/EquipoKit/Attachments/AttachmentDraft.swift b/native/apple/Sources/EquipoKit/Attachments/AttachmentDraft.swift
index 8d397aa0..2e404c37 100644
--- a/native/apple/Sources/EquipoKit/Attachments/AttachmentDraft.swift
+++ b/native/apple/Sources/EquipoKit/Attachments/AttachmentDraft.swift
@@ -16,6 +16,7 @@ import Observation
public private(set) var items: [Item] = []
public private(set) var notice: String?
@ObservationIgnored private var uploads: [UUID: (generation: UUID, task: Task<Void, Never>)] = [:]
+ @ObservationIgnored var fileAccess: any AttachmentFileAccess = SystemAttachmentFileAccess()
var client: EquipoClient
public init(client: EquipoClient) { self.client = client }
@@ -27,7 +28,8 @@ import Observation
public func add(name: String, load: @escaping @Sendable () async throws -> Data) async { await add(.load(load), name: name) }
public func refuseFile() { notice = AttachmentFailure.type.words }
public func add(url: URL) async {
- guard url.isFileURL, (try? url.resourceValues(forKeys: [.isRegularFileKey]).isRegularFile) == true else { refuseFile(); return }
+ do { try AttachmentFile.checkRegularFile(url, access: fileAccess) }
+ catch { refuseFile(); return }
await add(.file(url), name: url.lastPathComponent)
}
private func add(_ source: Source, name: String) async {
diff --git a/native/apple/Sources/EquipoKit/Attachments/AttachmentFile.swift b/native/apple/Sources/EquipoKit/Attachments/AttachmentFile.swift
index ea273914..7d759a64 100644
--- a/native/apple/Sources/EquipoKit/Attachments/AttachmentFile.swift
+++ b/native/apple/Sources/EquipoKit/Attachments/AttachmentFile.swift
@@ -29,6 +29,18 @@ public enum AttachmentFailure: Error, Equatable, Sendable {
}
}
+protocol AttachmentFileAccess: Sendable {
+ func start(_ url: URL) -> Bool
+ func stop(_ url: URL)
+ func isRegularFile(_ url: URL) throws -> Bool
+}
+
+struct SystemAttachmentFileAccess: AttachmentFileAccess {
+ func start(_ url: URL) -> Bool { url.startAccessingSecurityScopedResource() }
+ func stop(_ url: URL) { url.stopAccessingSecurityScopedResource() }
+ func isRegularFile(_ url: URL) throws -> Bool { try url.resourceValues(forKeys: [.isRegularFileKey]).isRegularFile == true }
+}
+
public struct AttachmentFile: Sendable {
public let data: Data
public let name: String
@@ -86,6 +98,13 @@ public struct AttachmentFile: Sendable {
return Self(data: data, name: name, mediaType: media, width: 0, height: 0)
}
+ static func checkRegularFile(_ url: URL, access: any AttachmentFileAccess) throws {
+ guard url.isFileURL else { throw AttachmentFailure.type }
+ let started = access.start(url)
+ defer { if started { access.stop(url) } }
+ guard try access.isRegularFile(url) else { throw AttachmentFailure.type }
+ }
+
public static func read(_ url: URL) throws -> Data {
let access = url.startAccessingSecurityScopedResource()
defer { if access { url.stopAccessingSecurityScopedResource() } }
diff --git a/native/apple/Sources/EquipoMac/MacComposer.swift b/native/apple/Sources/EquipoMac/MacComposer.swift
index 47e69d21..e707bb5a 100644
--- a/native/apple/Sources/EquipoMac/MacComposer.swift
+++ b/native/apple/Sources/EquipoMac/MacComposer.swift
@@ -16,16 +16,16 @@ final class ComposerEditor: NSTextView {
board.availableType(from: [.fileURL, .png, .tiff] + NSFilePromiseReceiver.readableDraggedTypes.map { NSPasteboard.PasteboardType($0) }) != nil
}
override func draggingEntered(_ sender: any NSDraggingInfo) -> NSDragOperation {
- accepts(sender.draggingPasteboard) ? .copy : []
+ return accepts(sender.draggingPasteboard) ? .copy : super.draggingEntered(sender)
}
override func draggingUpdated(_ sender: any NSDraggingInfo) -> NSDragOperation {
- accepts(sender.draggingPasteboard) ? .copy : []
+ return accepts(sender.draggingPasteboard) ? .copy : super.draggingUpdated(sender)
}
override func prepareForDragOperation(_ sender: any NSDraggingInfo) -> Bool {
- accepts(sender.draggingPasteboard)
+ return accepts(sender.draggingPasteboard) || super.prepareForDragOperation(sender)
}
override func performDragOperation(_ sender: any NSDraggingInfo) -> Bool {
- guard accepts(sender.draggingPasteboard) else { return false }
+ guard accepts(sender.draggingPasteboard) else { return super.performDragOperation(sender) }
return onAttachments?(sender.draggingPasteboard) == true
}
override func draw(_ dirtyRect: NSRect) {
diff --git a/native/apple/Tests/EquipoKitTests/AttachmentFollowupTests.swift b/native/apple/Tests/EquipoKitTests/AttachmentFollowupTests.swift
new file mode 100644
index 00000000..0db8d17e
--- /dev/null
+++ b/native/apple/Tests/EquipoKitTests/AttachmentFollowupTests.swift
@@ -0,0 +1,114 @@
+import Foundation
+import ImageIO
+import Synchronization
+import Testing
+import UniformTypeIdentifiers
+@testable import EquipoKit
+
+private final class ScopedFileFixture: AttachmentFileAccess, Sendable {
+ struct State { var active = false; var events: [String] = [] }
+ let state = Mutex(State())
+ let regular: Bool
+ init(regular: Bool) { self.regular = regular }
+ func start(_ url: URL) -> Bool { state.withLock { $0.active = true; $0.events.append("start") }; return true }
+ func stop(_ url: URL) { state.withLock { $0.active = false; $0.events.append("stop") } }
+ func isRegularFile(_ url: URL) throws -> Bool {
+ try state.withLock {
+ $0.events.append("metadata")
+ guard $0.active else { throw CocoaError(.fileReadNoPermission) }
+ return regular
+ }
+ }
+}
+
+@Suite struct AttachmentFollowupTests {
+ @MainActor @Test(arguments: [true, false])
+ func scopedMetadataIsReadOnlyDuringAccess(_ regular: Bool) async throws {
+ let server = AttachmentServer(), access = ScopedFileFixture(regular: regular)
+ let draft = AttachmentDraft(client: EquipoClient(transport: server, token: "fixture"))
+ draft.fileAccess = access
+ let url = FileManager.default.temporaryDirectory.appendingPathComponent(UUID().uuidString + ".txt")
+ try Data("a selected file".utf8).write(to: url)
+ defer { try? FileManager.default.removeItem(at: url) }
+ await draft.add(url: url)
+ #expect(access.state.withLock { $0.events } == ["start", "metadata", "stop"])
+ #expect(!access.state.withLock { $0.active })
+ if regular {
+ #expect(draft.readyAttachments.count == 1)
+ } else {
+ #expect(draft.items.isEmpty)
+ #expect(draft.notice == AttachmentFailure.type.words)
+ #expect(await server.requests.isEmpty)
+ }
+ }
+
+ @Test func unchangedImagesStillHaveTheUploadByteLimit() throws {
+ var data = try AttachmentTests.image()
+ data.append(Data(repeating: 0, count: AttachmentLimits.maxBytes + 1 - data.count))
+ #expect(CGImageSourceCreateWithData(data as CFData, nil) != nil)
+ #expect(throws: AttachmentFailure.tooLarge) { try AttachmentFile.prepare(data, name: "screen.png") }
+ }
+
+ @Test func transparentPixelsBecomeWhiteWhenConvertedToJPEG() throws {
+ let canvas = try #require(CGContext(data: nil, width: 3000, height: 2, bitsPerComponent: 8, bytesPerRow: 0, space: CGColorSpaceCreateDeviceRGB(), bitmapInfo: CGImageAlphaInfo.premultipliedLast.rawValue))
+ canvas.clear(CGRect(x: 0, y: 0, width: 3000, height: 2))
+ let bytes = NSMutableData()
+ let destination = try #require(CGImageDestinationCreateWithData(bytes, UTType.png.identifier as CFString, 1, nil))
+ CGImageDestinationAddImage(destination, try #require(canvas.makeImage()), nil)
+ #expect(CGImageDestinationFinalize(destination))
+ let file = try AttachmentFile.prepare(bytes as Data, name: "transparent.png")
+ #expect(file.mediaType == "image/jpeg")
+ let source = try #require(CGImageSourceCreateWithData(file.data as CFData, nil))
+ let image = try #require(CGImageSourceCreateImageAtIndex(source, 0, nil))
+ let pixel = try #require(CGContext(data: nil, width: 1, height: 1, bitsPerComponent: 8, bytesPerRow: 4, space: CGColorSpaceCreateDeviceRGB(), bitmapInfo: CGImageAlphaInfo.premultipliedLast.rawValue))
+ pixel.draw(image, in: CGRect(x: 0, y: 0, width: 1, height: 1))
+ let values = try #require(pixel.data).assumingMemoryBound(to: UInt8.self)
+ #expect(values[0] > 245 && values[1] > 245 && values[2] > 245)
+ }
+
+ @MainActor @Test func clearCancelsEveryInFlightUpload() async throws {
+ let server = ClearAttachmentServer()
+ let draft = AttachmentDraft(client: EquipoClient(transport: server, token: "fixture"))
+ let tasks = (0..<2).map { _ in Task { await draft.add(data: Data("note".utf8), name: "note.txt") } }
+ for _ in 0..<100 { if await server.started == 2 { break }; try await Task.sleep(for: .milliseconds(10)) }
+ #expect(await server.started == 2)
+ draft.clear()
+ for _ in 0..<100 { if await server.cancelled == 2 { break }; try await Task.sleep(for: .milliseconds(10)) }
+ #expect(await server.cancelled == 2)
+ #expect(draft.items.isEmpty)
+ for task in tasks { task.cancel(); await task.value }
+ }
+
+ @MainActor @Test func cancellationDuringPreparingDoesNotStartAnUpload() async throws {
+ let server = AttachmentServer(), loader = PreparingAttachment()
+ let draft = AttachmentDraft(client: EquipoClient(transport: server, token: "fixture"))
+ let adding = Task { await draft.add(name: "note.txt") { await loader.load() } }
+ for _ in 0..<100 { if await loader.waiting { break }; try await Task.sleep(for: .milliseconds(10)) }
+ #expect(await loader.waiting)
+ // Cancel the caller without removing the item: its identity still matches.
+ adding.cancel()
+ await loader.finish()
+ await adding.value
+ #expect(await server.requests.isEmpty)
+ #expect(draft.readyAttachments.isEmpty)
+ }
+}
+
+private actor PreparingAttachment {
+ var pending: CheckedContinuation<Data, Never>?
+ var waiting: Bool { pending != nil }
+ func load() async -> Data { await withCheckedContinuation { pending = $0 } }
+ func finish() { pending?.resume(returning: Data("note".utf8)); pending = nil }
+}
+
+private actor ClearAttachmentServer: EquipoTransport {
+ nonisolated let origin = URL(string: "https://clear.invalid")!
+ var started = 0
+ var cancelled = 0
+ func send(_ request: APIRequest) async throws -> APIResponse {
+ started += 1
+ do { try await Task.sleep(for: .seconds(30)) } catch { cancelled += 1; throw error }
+ return APIResponse(status: 201, data: Data(AttachmentServer.attachment.utf8))
+ }
+ func lines(_ request: APIRequest) async throws -> AsyncThrowingStream<String, Error> { AsyncThrowingStream { $0.finish() } }
+}
diff --git a/native/apple/Tests/EquipoKitTests/MacAttachmentTests.swift b/native/apple/Tests/EquipoKitTests/MacAttachmentTests.swift
index a5bc3f21..19ed22a8 100644
--- a/native/apple/Tests/EquipoKitTests/MacAttachmentTests.swift
+++ b/native/apple/Tests/EquipoKitTests/MacAttachmentTests.swift
@@ -4,7 +4,7 @@ import Testing
@testable import EquipoKit
@testable import EquipoMac
-@MainActor @Suite struct MacAttachmentTests {
+@MainActor @Suite(.serialized) struct MacAttachmentTests {
@Test func pastedAndDroppedImagesUseTheDraftAndGateSend() async throws {
let server = AttachmentServer()
let draft = AttachmentDraft(client: EquipoClient(transport: server, token: "fixture"))
@@ -32,8 +32,8 @@ import Testing
#if os(macOS)
@MainActor final class AttachmentDraggingInfo: NSObject, NSDraggingInfo {
let draggingPasteboard: NSPasteboard
- init(_ board: NSPasteboard) { draggingPasteboard = board }
- var draggingDestinationWindow: NSWindow? { nil }
+ let draggingDestinationWindow: NSWindow?
+ init(_ board: NSPasteboard, window: NSWindow? = nil) { draggingPasteboard = board; draggingDestinationWindow = window }
var draggingSourceOperationMask: NSDragOperation { .copy }
var draggingLocation: NSPoint { .zero }
var draggedImageLocation: NSPoint { .zero }
@@ -70,19 +70,13 @@ extension MacAttachmentTests {
#expect(draft.readyAttachments.count == 1)
}
- @Test func webURLsAndFoldersAreRefusedBeforeAddingItems() async throws {
+ @Test func foldersAreRefusedBeforeAddingItems() async throws {
let server = AttachmentServer(), board = NSPasteboard.withUniqueName()
defer { board.releaseGlobally() }
let draft = AttachmentDraft(client: EquipoClient(transport: server, token: "fixture"))
let composer = MacComposer(); composer.attach(draft)
- board.writeObjects([URL(string: "https://example.com/photo.png")! as NSURL])
let drag = AttachmentDraggingInfo(board)
- #expect(composer.editor.draggingEntered(drag).isEmpty)
- #expect(composer.editor.draggingUpdated(drag).isEmpty)
- #expect(!composer.editor.prepareForDragOperation(drag))
- #expect(!composer.editor.performDragOperation(drag))
- #expect(!composer.acceptAttachments(board))
- board.clearContents(); board.writeObjects([FileManager.default.temporaryDirectory as NSURL])
+ board.writeObjects([FileManager.default.temporaryDirectory as NSURL])
_ = composer.editor.performDragOperation(drag)
try await Task.sleep(for: .milliseconds(40))
#expect(draft.items.isEmpty)
@@ -129,3 +123,120 @@ extension MacAttachmentTests {
}
}
#endif
+
+#if os(macOS)
+@MainActor private final class HeldFilePromise: NSFilePromiseReceiver {
+ var destination: URL?
+ var reader: ((URL, (any Error)?) -> Void)?
+ override init() { super.init() }
+ required init?(pasteboardPropertyList propertyList: Any, ofType type: NSPasteboard.PasteboardType) { fatalError() }
+ override func receivePromisedFiles(atDestination destinationDir: URL, options: [AnyHashable: Any] = [:], operationQueue: OperationQueue, reader: @escaping (URL, (any Error)?) -> Void) {
+ destination = destinationDir
+ self.reader = reader
+ }
+}
+
+extension MacAttachmentTests {
+ @Test func textDragFallsThroughTheWholeNativeLifecycle() throws {
+ _ = NSApplication.shared
+ let window = NSWindow(contentRect: NSRect(x: 0, y: 0, width: 600, height: 400), styleMask: [.titled], backing: .buffered, defer: false)
+ let editor = ComposerEditor(frame: NSRect(x: 0, y: 0, width: 300, height: 200))
+ let baseline = NSTextView(frame: NSRect(x: 300, y: 0, width: 300, height: 200))
+ for view in [editor, baseline] { view.isRichText = false; window.contentView?.addSubview(view) }
+ let board = NSPasteboard.withUniqueName(); defer { board.releaseGlobally() }
+ board.setString("dragged text", forType: .string)
+ let drag = AttachmentDraggingInfo(board, window: window)
+ let entered = baseline.draggingEntered(drag)
+ #expect(!entered.isEmpty)
+ #expect(editor.draggingEntered(drag) == entered)
+ #expect(editor.draggingUpdated(drag) == baseline.draggingUpdated(drag))
+ #expect(baseline.prepareForDragOperation(drag))
+ #expect(editor.prepareForDragOperation(drag))
+ #expect(baseline.performDragOperation(drag))
+ #expect(editor.performDragOperation(drag))
+ #expect(editor.string == "dragged text")
+ #expect(editor.string == baseline.string)
+ }
+
+ @Test func promiseDeletesEachFileWhileOtherReadersStillOwnDirectory() async throws {
+ let server = AttachmentServer(), draft = AttachmentDraft(client: EquipoClient(transport: server, token: "fixture"))
+ let composer = MacComposer(); composer.attach(draft)
+ let promise = HeldFilePromise()
+ composer.receive([promise], into: draft)
+ let directory = try #require(promise.destination)
+ defer { promise.reader = nil }
+ let url = directory.appendingPathComponent("delivered.png")
+ try AttachmentTests.image().write(to: url)
+ promise.reader?(url, nil)
+ #expect(FileManager.default.fileExists(atPath: directory.path))
+ #expect(!FileManager.default.fileExists(atPath: url.path))
+ for _ in 0..<100 { if !draft.readyAttachments.isEmpty { break }; try await Task.sleep(for: .milliseconds(10)) }
+ #expect(draft.readyAttachments.count == 1)
+ }
+
+ @Test func promiseCannotReadOutsideItsPrivateDirectory() async throws {
+ let server = AttachmentServer(), draft = AttachmentDraft(client: EquipoClient(transport: server, token: "fixture"))
+ let composer = MacComposer(); composer.attach(draft)
+ let promise = HeldFilePromise()
+ composer.receive([promise], into: draft)
+ let outside = FileManager.default.temporaryDirectory.appendingPathComponent(UUID().uuidString + ".png")
+ try AttachmentTests.image().write(to: outside)
+ defer { promise.reader = nil; try? FileManager.default.removeItem(at: outside) }
+ promise.reader?(outside, nil)
+ for _ in 0..<100 { if draft.notice != nil || !draft.items.isEmpty { break }; try await Task.sleep(for: .milliseconds(10)) }
+ #expect(draft.notice == AttachmentFailure.type.words)
+ #expect(draft.items.isEmpty)
+ #expect(await server.requests.isEmpty)
+ #expect(FileManager.default.fileExists(atPath: outside.path))
+ }
+}
+#endif
+
+#if os(macOS)
+extension MacAttachmentTests {
+ @Test func webURLDropAndPasteInsertTextWithoutAttachments() async throws {
+ _ = NSApplication.shared
+ let server = AttachmentServer(), draft = AttachmentDraft(client: EquipoClient(transport: server, token: "fixture"))
+ let composer = MacComposer(); composer.attach(draft)
+ let window = NSWindow(contentRect: NSRect(x: 0, y: 0, width: 400, height: 300), styleMask: [.titled], backing: .buffered, defer: false)
+ composer.frame = NSRect(x: 0, y: 0, width: 400, height: 100)
+ window.contentView?.addSubview(composer)
+ composer.layoutSubtreeIfNeeded()
+ let url = URL(string: "https://example.com/photo.png")!
+ let board = NSPasteboard.withUniqueName(); defer { board.releaseGlobally() }
+ board.writeObjects([url as NSURL])
+ let drag = AttachmentDraggingInfo(board, window: window)
+ #expect(!composer.editor.draggingEntered(drag).isEmpty)
+ #expect(!composer.editor.draggingUpdated(drag).isEmpty)
+ #expect(composer.editor.prepareForDragOperation(drag))
+ #expect(composer.editor.performDragOperation(drag))
+ #expect(composer.text == url.absoluteString)
+ #expect(!composer.acceptAttachments(board))
+
+ // NSTextView.paste reads the general pasteboard. Preserve it in memory
+ // for this short synchronous test; no clipboard contents are logged.
+ do {
+ let clipboard = NSPasteboard.general
+ let saved = (clipboard.pasteboardItems ?? []).map { item in
+ item.types.compactMap { type in item.data(forType: type).map { (type, $0) } }
+ }
+ defer {
+ clipboard.clearContents()
+ let restored = saved.map { values in
+ let item = NSPasteboardItem()
+ for (type, data) in values { item.setData(data, forType: type) }
+ return item
+ }
+ clipboard.writeObjects(restored)
+ }
+ clipboard.clearContents(); clipboard.writeObjects([url as NSURL])
+ composer.setText("Link: ")
+ composer.editor.setSelectedRange(NSRange(location: 6, length: 0))
+ composer.editor.paste(nil)
+ #expect(composer.text == "Link: " + url.absoluteString)
+ }
+ #expect(draft.items.isEmpty)
+ #expect(await server.requests.isEmpty)
+ }
+}
+#endif