oficina / equipo Public

Keep change facts on detail reads and validate paths consistently

Paul Campbell pushed by claude agent, operated by paul@keymail.dev 71d6f23d6a2cd922c3f8ff2a6779d814b9ff3488 parent e0eeee7
21 files changed, +555 −27
  • .rastrillo/budgets.txt +4 −4
  • docs/api/equipo-v1.openapi.json +1 −0
  • docs/superpowers/plans/CONTROLLER-REPORT-changes-facts.md +84 −0
  • internal/equipo/chat/change_files_exposure_test.go +96 −0
  • internal/equipo/chat/change_files_test.go +5 −1
  • internal/equipo/chat/http.go +1 −1
  • internal/equipo/chat/tasks.go +29 −4
  • internal/runner/thin/change_files_test.go +48 −0
  • internal/thintest/change_files_contract_test.go +18 −0
  • internal/wire/change_files.go +8 −1
  • internal/wire/change_files_test.go +36 −12
  • internal/wire/tasks.go +1 −0
  • internal/wire/testdata/change-paths.json +102 −0
  • internal/wire/wireschema/wireschema.go +3 −0
  • native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings +22 −0
  • native/apple/Sources/EquipoKit/API/ChangeFiles.swift +33 −1
  • native/apple/Sources/EquipoKit/API/Thin.swift +1 −1
  • native/apple/Sources/EquipoKit/Presentation/ChangedFiles.swift +1 −2
  • native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings +22 −0
  • native/apple/Tests/EquipoKitTests/ChangeFilesTests.swift +38 −0
  • native/scripts/strings.json +2 −0

CI passed — run details

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

receipt: test step 1m18.083s 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.331s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m16.33s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 72.15, cpu waiting 41.98%, memory waiting 0.00%, io waiting 0.63%
--- shard 1 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-review: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$' ./internal/headless

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

receipt: test step 1m19.021s 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.864s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m7.11s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.3s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.45s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 72.15, cpu waiting 42.11%, memory waiting 0.00%, io waiting 0.61%
--- shard 3 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-mac: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$' ./internal/headless

receipt: test step 1m15.99s 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 1m14.232s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.03s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 19.58s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.95s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
receipt: slow test 8.67s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
machine: 32 CPUs, load 72.25, cpu waiting 41.64%, memory waiting 0.00%, io waiting 0.66%
--- shard 4 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-guards: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_step_refused$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless

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

receipt: test step 2m52.78s 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 2m50.686s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m36.92s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 18.28s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 17.74s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 6.56s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
receipt: slow test 6.39s amadan.net/oficina/equipo/internal/headless TestHeadlessBatchAfterRefusedReply
machine: 32 CPUs, load 23.72, cpu waiting 12.33%, memory waiting 0.00%, io waiting 0.12%
--- 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 2m11.567s 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 2m9.956s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 8.33s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.73s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.72s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 3.94s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 2.53s amadan.net/oficina/equipo/internal/thintest TestContractTeamUpdatePersonNeeds
machine: 32 CPUs, load 40.27, cpu waiting 23.20%, memory waiting 0.00%, io waiting 0.24%
--- 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 1m40.474s 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 1m38.635s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.13s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.04s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.55s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.97s amadan.net/oficina/equipo/internal/thintest TestContractPausedJob
receipt: slow test 2.39s amadan.net/oficina/equipo/internal/thintest TestContractPreview
machine: 32 CPUs, load 65.14, cpu waiting 39.40%, memory waiting 0.00%, io waiting 0.44%
--- 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
budget note: internal/runner/thin took 4m50.268s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m55.883s 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 4m50.268s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 37.03s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.94s 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.48s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 6.97s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 3.73, cpu waiting 1.56%, memory waiting 0.00%, io waiting 0.01%
--- shard 9 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-bug: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$' ./internal/runner

receipt: test step 51.582s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 50.495s amadan.net/oficina/equipo/internal/runner
receipt: slow test 30.46s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.03s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 61.75, cpu waiting 33.92%, memory waiting 0.00%, io waiting 0.98%
--- 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

receipt: test step 1m3.453s 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.18s amadan.net/oficina/equipo/internal/runner
receipt: slow test 52.14s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 47.82s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.41s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.6s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 76.81, cpu waiting 40.46%, memory waiting 0.00%, io waiting 0.80%
--- 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

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

receipt: test step 1m9.204s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m7.048s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 28.74s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 28.68s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 26.55s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 23.66s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 23.44s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfiguration
machine: 32 CPUs, load 65.14, cpu waiting 39.40%, 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 39.3%, load 26.09
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 1m19.782s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m17.862s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 21.03s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 20.99s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 20.97s amadan.net/oficina/equipo/internal/equipotest TestProjectConcurrentRetry
receipt: slow test 20.92s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 20.88s amadan.net/oficina/equipo/internal/equipotest TestProjectBindingUniqueness
machine: 32 CPUs, load 56.74, cpu waiting 33.91%, memory waiting 0.00%, io waiting 0.37%
--- 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 40.3%, load 26.09
test lane equipotest-r: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestR' ./internal/equipotest

receipt: test step 1m16.932s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m11.538s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 16.23s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.6s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.53s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 10.51s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 7.47s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 56.74, cpu waiting 34.99%, memory waiting 0.00%, io waiting 0.38%
--- 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 39.3%, load 26.09
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 1m9.3s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m7.372s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 26.4s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 25.18s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 25.16s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 23.32s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedOnce
receipt: slow test 23.32s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsRollbackAndUnavailable
machine: 32 CPUs, load 65.14, cpu waiting 39.40%, memory waiting 0.00%, io waiting 0.44%
--- 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 39.3%, load 26.09
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 54.785s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 52.695s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.75s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.53s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.64s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.48s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.28s amadan.net/oficina/equipo/internal/plan3test TestOnboardingAccountMigration
machine: 32 CPUs, load 69.58, cpu waiting 41.01%, memory waiting 0.00%, io waiting 0.55%
--- 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 39.3%, load 26.09
test lane rest: ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/door ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/claude/realcli ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/forgekey ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/door ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/claude/realcli ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/forgekey ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/chatmarkdown: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude/realcli: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runnerproto: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
--- FAIL amadan.net/oficina/equipo/internal/runner/webread TestTimeouts
=== RUN   TestTimeouts
    fetch_test.go:537: s1: {Source:s1 Origin:paul Parent: URL:https://shop.example.com/slow-body Hops:[{URL:https://shop.example.com/slow-body Address:151.101.1.1 Status:200}] Address:151.101.1.1 Status:200 Type:text/plain Bytes:5 SHA256:2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 Millis:301 Reason: File:s001.txt}
--- FAIL: TestTimeouts (0.63s)

--- FAIL amadan.net/oficina/equipo/internal/runner/webread (package output)
FAIL
rastrillo-budget/v1 ran 2.235s
FAIL	amadan.net/oficina/equipo/internal/runner/webread	2.254s

budget note: internal/equipo took 55.451s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 20.696s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/idtest took 1m59.081s, 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 50.629s, over the 15s its record on line 40 allows; reported only, timing fails on CI
budget note: internal/runner/forge took 22.7s, over the 20s its record on line 35 allows; reported only, timing fails on CI
budget note: internal/runner/provider/claude/realcli took 12.74s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/provider/pi took 1m20.423s, over the 1m0s its record on line 27 allows; reported only, timing fails on CI
budget note: internal/runner/workspace took 13.465s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 2m6.964s against a 60s target (the gate's other steps are not in this figure)
receipt: 36 packages ran, 29 cached, 17 without tests, 1 failed
receipt: slow package 1m59.081s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 1m20.423s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 1m8.802s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 56.801s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 55.451s amadan.net/oficina/equipo/internal/equipo
receipt: slow test 54.2s amadan.net/oficina/equipo/internal/idtest TestDoorRemembersOficinaID
receipt: slow test 46.24s amadan.net/oficina/equipo/internal/idtest TestDoorForgetsOficinaIDForARefusedSession
receipt: slow test 46.02s amadan.net/oficina/equipo/internal/idtest TestDoorOficinaSettingsUnreadableIsNoLoop
receipt: slow test 44.34s amadan.net/oficina/equipo/internal/idtest TestDoorStepUpIsLocal
receipt: slow test 43.41s amadan.net/oficina/equipo/internal/idtest TestDoorNeverJudgesANativeSession
rastrillo: budget test: go test failed
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestTimeouts$' -count=1 ./internal/runner/webread   (retry, once)
##############################################################################
FLAKE ./internal/runner/webread:TestTimeouts rest 71d6f23d6a2cd922c3f8ff2a6779d814b9ff3488 0.63s 27.57
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 27.57, cpu waiting 15.05%, memory waiting 0.00%, io waiting 0.15%
--- shard 18 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-chat: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' ./internal/headless

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

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

receipt: test step 1m53.847s 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 1m52.264s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.22s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 13.51s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 12.68s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 11.47s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 11.33s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsSignInEmail
machine: 32 CPUs, load 53.00, cpu waiting 30.81%, memory waiting 0.00%, io waiting 0.33%
--- 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

receipt: test step 1m33.19s 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 1m31.393s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.11s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 12.34s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.95s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 9.41s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.58s amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
machine: 32 CPUs, load 68.46, cpu waiting 41.08%, memory waiting 0.00%, io waiting 0.48%
--- shard 22 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-rest: ./internal/equipo
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserPreviewBlocksNavigation)$' ./internal/equipo

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

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

receipt: test step 3.624s 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.152s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 2.15s 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 3m38.658s 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 3m37.049s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 24.28s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.43s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.06s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.7s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.08s amadan.net/oficina/equipo/internal/thintest TestBrowserRhythm
machine: 32 CPUs, load 8.24, cpu waiting 3.97%, memory waiting 0.00%, io waiting 0.03%
--- shard 23 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 23: make test-quarantine
python3 scripts/ci-test.py quarantine
quarantine: 12 tests from scripts/ci-quarantine.txt; a failure is retried once, and a pass on the retry is reported as a flake
+ go test -tags testbuild -timeout 15m -v -run '^TestHeadlessConnections$/^A5_cancel_and_sign_out$|^TestHeadlessConnections$/^C4_claude_sign_in$|^TestHeadlessConnections$/^C5_engineering_failover$|^TestHeadlessConnections$/^C5_engineering_to_codex$|^TestHeadlessConnections$/^C5_engineering_waits$' ./internal/headless   (52s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 4.69s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.19s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 8.54s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 8.00s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 27.15s
+ 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   (63s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 15.10s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 11.14s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 19.21s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 15.71s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (20s)
ok ./internal/headless TestMixedVersions 18.46s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.80s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (2s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.05s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 76.81, cpu waiting 40.46%, memory waiting 0.00%, io waiting 0.80%
--- 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 13.738s 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 8.215s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 194ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 66ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/claude/realcli
receipt: slow test 5.89s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.74s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 480ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 190ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 90ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxToolchain
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run '^TestNamespace' -count=1 ./internal/runner/containment
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run '^TestNamespace' -count=1 ./internal/runner/containment

receipt: test step 3.559s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 3.1s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 290ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 210ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 130ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceOpenCodeBinaryAfterAttestation
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
machine: 32 CPUs, load 22.49, cpu waiting 12.18%, memory waiting 0.00%, io waiting 1.68%
--- 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 39.3%, load 26.09
shard 25: make runner-dead-references lanes-check build vet fmt-check spacing budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2800 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.577s
machine: 32 CPUs, load 72.25, cpu waiting 41.98%, memory waiting 0.00%, io waiting 0.63%
--- 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 39.3%, load 26.09
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 68.97, cpu waiting 35.56%, memory waiting 0.00%, io waiting 0.95%
--- 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 39.3%, load 26.09
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 36.81, cpu waiting 23.08%, memory waiting 0.00%, io waiting 1.24%
--- 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 39.3%, load 26.09
shard 28: make gitleaks
10:37AM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
10:37AM INF 1179 commits scanned.
10:37AM INF scanned ~66745382 bytes (66.75 MB) in 26.2s
10:37AM INF no leaks found
machine: 32 CPUs, load 68.97, cpu waiting 37.04%, memory waiting 0.00%, io waiting 0.92%
=== 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.06ms, worst 1.098ms, budget 150ms
perf: GET /api/runner/protocol: median 83µs, worst 99µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 570µs, worst 679µs, budget 150ms
perf: GET /api/v1/accounts: median 402µs, worst 453µs, budget 150ms
perf: GET /api/v1/auth/devices: median 430µs, worst 450µs, budget 150ms
perf: GET /api/v1/budgets: median 463µs, worst 494µs, budget 150ms
perf: GET /api/v1/capabilities: median 237µs, worst 279µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.179ms, worst 1.284ms, budget 150ms
perf: GET /api/v1/connections: median 551µs, worst 634µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 518µs, worst 573µs, budget 150ms
perf: GET /api/v1/conversation: median 872µs, worst 898µs, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.372ms, worst 1.418ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.723ms, worst 1.922ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 449µs, worst 482µs, budget 150ms
perf: GET /api/v1/journey: median 7.865ms, worst 8.15ms, budget 150ms
perf: GET /api/v1/me: median 451µs, worst 482µs, budget 150ms
perf: GET /api/v1/me/settings: median 528µs, worst 601µs, budget 150ms
perf: GET /api/v1/needs-you: median 7.845ms, worst 10.556ms, budget 150ms
perf: GET /api/v1/notifications: median 1.707ms, worst 1.771ms, budget 150ms
perf: GET /api/v1/onboarding: median 402µs, worst 412µs, budget 150ms
perf: GET /api/v1/people: median 450µs, worst 476µs, budget 150ms
perf: GET /api/v1/playbooks: median 590µs, worst 621µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 540µs, worst 595µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 869µs, worst 884µs, budget 150ms
perf: GET /api/v1/preferences: median 753µs, worst 794µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 449µs, worst 480µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 590µs, worst 619µs, budget 150ms
perf: GET /api/v1/roster: median 474µs, worst 505µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 425µs, worst 446µs, budget 150ms
perf: GET /api/v1/specialists: median 8.229ms, worst 8.362ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 8.028ms, worst 8.233ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 809µs, worst 854µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.102ms, worst 1.156ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 711µs, worst 741µs, budget 150ms
perf: GET /api/v1/teams: median 424µs, worst 435µs, budget 150ms
perf: GET /api/v1/templates: median 588µs, worst 602µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 424µs, worst 459µs, budget 150ms
perf: GET /auth/callback: median 78µs, worst 112µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.742ms, worst 3.837ms, budget 150ms
perf: GET /auth/verify: median 72µs, worst 89µs, budget 150ms
perf: GET /connections: median 4.236ms, worst 4.352ms, budget 150ms
perf: GET /conversation: median 8.254ms, worst 8.57ms, budget 150ms
perf: GET /conversation/connections: median 257µs, worst 272µs, budget 150ms
perf: GET /conversation/notebook: median 240µs, worst 334µs, budget 150ms
perf: GET /conversation/settings: median 4.567ms, worst 4.678ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 4.588ms, worst 4.644ms, budget 150ms
perf: GET /conversation/settings/connections: median 7.205ms, worst 7.41ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 7.291ms, worst 7.556ms, budget 150ms
perf: GET /conversation/settings/copy: median 4.483ms, worst 4.6ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 4.546ms, worst 4.714ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.856ms, worst 4.958ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.863ms, worst 4.926ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.829ms, worst 3.98ms, budget 150ms
perf: GET /conversation/settings/thinking: median 4.465ms, worst 4.639ms, budget 150ms
perf: GET /housekeeping: median 4.61ms, worst 7.184ms, budget 150ms
perf: GET /invites/new: median 598µs, worst 643µs, budget 150ms
perf: GET /invites/{id}: median 637µs, worst 663µs, budget 150ms
perf: GET /jobs: median 3.906ms, worst 4.149ms, budget 150ms
perf: GET /jobs/{id}: median 5.166ms, worst 5.305ms, budget 150ms
perf: GET /journey: median 10.6ms, worst 11.057ms, budget 150ms
perf: GET /nav/rail: median 3.36ms, worst 3.491ms, budget 150ms
perf: GET /needs-you: median 10.517ms, worst 10.698ms, budget 150ms
perf: GET /onboarding: median 4.469ms, worst 4.636ms, budget 150ms
perf: GET /people: median 3.962ms, worst 4.125ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 5.381ms, worst 8.378ms, budget 150ms
perf: GET /playbooks: median 4.917ms, worst 5.113ms, budget 150ms
perf: GET /playbooks/new: median 4.822ms, worst 4.933ms, budget 150ms
perf: GET /playbooks/{id}: median 5.183ms, worst 5.219ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 5.152ms, worst 5.256ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 4.349ms, worst 4.517ms, budget 150ms
perf: GET /preferences: median 4.867ms, worst 4.951ms, budget 150ms
perf: GET /preferences/sources/{source}: median 4.589ms, worst 4.712ms, budget 150ms
perf: GET /projects: median 6.357ms, worst 6.543ms, budget 150ms
perf: GET /projects/accounts: median 4.101ms, worst 4.272ms, budget 150ms
perf: GET /projects/new: median 4.251ms, worst 4.393ms, budget 150ms
perf: GET /projects/{id}: median 11.519ms, worst 13.551ms, budget 150ms
perf: GET /projects/{id}/edit: median 4.411ms, worst 4.471ms, budget 150ms
perf: GET /runners/enrol: median 5.201ms, worst 5.343ms, budget 150ms
perf: GET /settings: median 4.104ms, worst 4.241ms, budget 150ms
perf: GET /settings/coordinator: median 6.187ms, worst 6.323ms, budget 150ms
perf: GET /settings/devices: median 3.83ms, worst 3.952ms, budget 150ms
perf: GET /settings/recovery: median 4.013ms, worst 4.13ms, budget 150ms
perf: GET /settings/recovery/release: median 3.967ms, worst 4.108ms, budget 150ms
perf: GET /settings/thinking: median 248µs, worst 279µs, budget 150ms
perf: GET /signed-out: median 279µs, worst 299µs, budget 150ms
perf: GET /signin: median 289µs, worst 321µs, budget 150ms
perf: GET /specialists/new: median 3.944ms, worst 4.04ms, budget 150ms
perf: GET /specialists/{key}: median 11.46ms, worst 14.882ms, budget 150ms
perf: GET /specialists/{key}/edit: median 4.252ms, worst 4.338ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 4.346ms, worst 4.466ms, budget 150ms
perf: GET /tasks: median 6.433ms, worst 6.543ms, budget 150ms
perf: GET /tasks/new: median 3.742ms, worst 3.814ms, budget 150ms
perf: GET /tasks/{id}: median 6.133ms, worst 6.33ms, budget 150ms
perf: GET /tasks/{id}/merge: median 5.497ms, worst 5.56ms, budget 150ms
perf: GET /tasks/{id}/move: median 5.234ms, worst 5.37ms, budget 150ms
perf: GET /tasks/{id}/plan: median 6.335ms, worst 6.584ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.619ms, worst 1.703ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.823ms, worst 6.03ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 5.465ms, worst 5.91ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.922ms, worst 4.982ms, budget 150ms
perf: GET /tasks/{id}/thread: median 8.69ms, worst 9.119ms, budget 150ms
perf: GET /team/{specialist}: median 5.044ms, worst 5.184ms, budget 150ms
perf: GET /teams: median 10.589ms, worst 10.934ms, budget 150ms
perf: GET /templates: median 4.055ms, worst 4.177ms, budget 150ms
perf: GET /usage: median 4.902ms, worst 5.003ms, budget 150ms
perf: GET /work: median 3.543ms, worst 3.615ms, 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 160ms of [157.732059ms 159.660944ms 160.346541ms], budget 500ms

receipt: test step 50.784s 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.522s amadan.net/oficina/equipo/internal/equipotest
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-runner
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-tool-proxy
receipt: slow package 0s amadan.net/oficina/equipo/internal/advice
receipt: slow test 9.99s amadan.net/oficina/equipo/internal/equipotest TestPerfScreens
receipt: slow test 530ms amadan.net/oficina/equipo/internal/equipotest TestPerfBoot
=== cache ===
ci-box: build cache /home/ci/work/repos/oficina__equipo/cache/go-build: 3.78 GiB in 25971 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 1.15 GiB in 40997 files
diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt
index b49a55a2..e579818f 100644
--- a/.rastrillo/budgets.txt
+++ b/.rastrillo/budgets.txt
@@ -15,7 +15,7 @@ time internal/equipo/team 60s Plan 3 loaded CI measured 45.985s; niced serial re
time internal/equipotest 300s Final fix package rerun measured 187.035s (review 172.4s); 300s gives 60 percent headroom for HTTP, sandbox, authority and final regression coverage.
size internal/equipo 22600 - Stuck tasks' Retry and timeline (2026-11-25), merge_credential and amadan_unreachable copy (2026-11-26); measured 22600 source lines.
-size internal/wire 7191 - Protocol 31 display facts plus main's merge credential reasons; measured 7191 source lines (2026-11-26).
+size internal/wire 7199 - Protocol 31 display facts, shared path validation and merge credential reasons; measured 7199 source lines (2026-11-26).
size internal/equipotest - 12017 Task 21 repairs historical migration and conversation fixtures after Plan 3, and the Rastrillo upgrade contract comparing served assets with what Assets serves; measured 0/12017 source/test lines.
time internal/runner/checks 90s CI worker measured 44.553s (44.6s rounded);
time internal/runner 330s Plan 3 CI repair measured 292.120s for the full package (controller CI 472.184s).
@@ -38,7 +38,7 @@ time internal/runner/provider 15s Plan 3 CI repair measured 10.346s for the full
perf GET /releases/* skip Verified runner release file downloads, not browser GET screens.
perf GET /install.sh skip Mac runners: the one-line bootstrap a terminal pipes to sh, not a browser screen.
time internal/runner/containment 15s Plan 3 loaded CI measured 10.817s;
-size internal/runner/thin 28824 23490 Protocol 31 display facts plus main's merge credential fallback and write scope; measured 28824/23490 (2026-11-26).
+size internal/runner/thin 28824 23538 Protocol 31 display facts, merge credential fallback, validation and Engineering-only publication guards; measured 28824/23538 (2026-11-26).
time internal/thintest 240s Thin contract and page tests, the Assistant's and the models' included, share one harness. Measured 202s on a shared 16 CPU box (2026-11-13); CI runs two lanes.
time internal/runner/mac 30s Mac runners (Darwin worker): real process groups killed after a grace and proven gone (SIGTERM, SIGKILL, the marker sweep), and the probes run end to end with fake srt and xcodebuild, P6 killing.
time internal/runner/thin 45s Thin v1 slice 4 review: real git repositories for the merge and squash checks, a stalled fetch, and a 16 MiB candidate streamed through the review diff and the checks pack (about 5s).
@@ -56,7 +56,7 @@ perf GET /api/v1/tasks/{id} skip Thin v1 person API: bearer-only JSON for device
perf GET /api/v1/assistant/snapshot skip Assistant person API: bearer-only JSON for Base's chat, not a browser screen.
perf GET /api/v1/assistant/messages skip Assistant person API: bearer-only JSON for Base's chat, not a browser screen.
perf GET /api/v1/assistant/events skip Assistant event stream (Server-Sent Events), bearer-only and long-lived; not a screen.
-size internal/equipo/chat 34872 9748 Engineering display facts acceptance and device projection, separate from merge authority; measured 34872/9748 (2026-11-26).
+size internal/equipo/chat 34897 9848 Detail-only file facts projection and Coordinator, snapshot, event regressions; measured 34897/9848 (2026-11-26).
perf GET /api/v1/questions/{id} skip Thin v1 person API: bearer-only JSON for devices; the browser reads questions on /tasks/{id}.
perf GET /api/v1/steps/{id}/log skip Thin v1 person API: bearer-only JSON for devices; the browser shows the log tail on /tasks/{id}.
perf GET /api/v1/connections/preference skip Connections slice 1 person API: bearer-only JSON for devices; the browser shows the preference on /conversation/connections.
@@ -71,7 +71,7 @@ perf GET /tasks/{id}/files/{file} skip Research kept images: the bytes of one im
perf GET /api/v1/runners skip Mac runners person API: bearer-only JSON for devices; the browser shows runners in the Team section.
time cmd/equipo-runner 60s TestReleaseRunnerHasNoFakeWorker builds the release runner and the thin package under testbuild (about 12s locally).
size internal/headless - 11437 Grant scenarios for a named repository (hub #48); the sign-in's account email at 1280 and 390; measured 11437 test lines.
-size internal/thintest - 35139 Protocol 31 Engineering facts runner-to-device and old-runner contracts; measured 35139 test lines (2026-11-26).
+size internal/thintest - 35157 Protocol 31 runner-to-device facts and detail-only HTTP projection contracts; measured 35157 test lines (2026-11-26).
perf GET /api/v1/projects/{id}/merge-policy skip Merge authority person API: bearer-only JSON for devices; the browser reads the policy on /projects/{id}.
perf GET /api/v1/usage skip Thin v1 person API: bearer-only JSON for devices; the browser reads usage through /usage.
diff --git a/docs/api/equipo-v1.openapi.json b/docs/api/equipo-v1.openapi.json
index 2dd47f51..38eca460 100644
--- a/docs/api/equipo-v1.openapi.json
+++ b/docs/api/equipo-v1.openapi.json
@@ -22339,6 +22339,7 @@
"type": "string"
},
"change_files": {
+ "description": "Bounded presentation facts, included only on GET /tasks/{id} detail reads. Absent from task lists, snapshots, events and Coordinator tools.",
"$ref": "#/components/schemas/ChangeFiles"
}
},
diff --git a/docs/superpowers/plans/CONTROLLER-REPORT-changes-facts.md b/docs/superpowers/plans/CONTROLLER-REPORT-changes-facts.md
index 7d5bc620..69f3742c 100644
--- a/docs/superpowers/plans/CONTROLLER-REPORT-changes-facts.md
+++ b/docs/superpowers/plans/CONTROLLER-REPORT-changes-facts.md
@@ -200,3 +200,87 @@ names; the audit still rejects every other secret-shaped field. The status
values now use shared wire constants. All `go test ./internal/wire/...` tests
pass after the fixes. The failed CI log is retained as ci-4d654482-failed.json;
the subsequent exact-head verdict is in ci-final.json.
+
+## Fable review follow-up, 2026-11-26
+
+The device detail read now opts into file facts when building the view.
+Ordinary task and step projections omit them, including the Coordinator tool,
+lists, snapshots, events and action responses. GET /tasks/{id} uses TaskDetail,
+with the same current-member and task-read authorization as Task. The OpenAPI
+field description and schema generator explicitly say detail only.
+
+The new 45-file, three-round fixture first failed on every ordinary projection
+and on the Coordinator's clipped JSON. After the change, the complete tool
+answer decodes and retains both verdict=approve and needs_you=merge. The
+runner-to-device contract also checks that /tasks and /snapshot omit facts,
+while detail retains them for protocol 31 and omits them for older runners.
+
+Go and native share internal/wire/testdata/change-paths.json. Both reject Cc,
+U+200E/F, U+202A–202E and U+2066–2069, and accept other format characters,
+including a ZWJ emoji filename. Invalid facts are rejected by the existing
+acceptance validation before storage. Native validates the optional field at
+decode or assignment and discards invalid facts without losing the task;
+rendering no longer repeats the validation and JSON byte measurement. Legacy
+payloads and valid facts still round-trip.
+
+Test-first commands and results:
+
+- GOTOOLCHAIN=go1.26.11 CGO_ENABLED=0 go test ./internal/wire ./internal/equipo/chat ./internal/runner/thin -run 'TestChangeFiles|TestChangePath' -count=1
+ failed before implementation: bidi paths accepted, invalid facts accepted
+ for storage, ordinary projections leaked facts, Coordinator JSON truncated.
+ Runner guard regression cases passed before mutation.
+- swift test --package-path native/apple --filter ChangeFilesTests
+ failed before implementation: ZWJ rejected, bidi accepted, invalid
+ decoded/assigned facts retained. All 10 tests passed after implementation.
+- The focused final Go run includes wire, chat, runner/thin, thintest and
+ plan3test, matching ChangeFiles, ChangePath, EngineeringChangeFiles,
+ ContractEngineeringChangeFiles, PersonAPIDeviceContract and
+ OpsAreWhatTheHandlersWrite. All pass after merging main.
+
+All 27 follow-up mutations were killed by assertion failures, then restored:
+
+- Go validation: absolute path, backslash, invalid UTF-8, binary line counts,
+ candidate and base commit length, binaries greater than files, Cc characters, bidi characters.
+- Server projection: acceptance validation removed; default task view includes
+ facts; detail opt-in removed; HTTP detail calls ordinary Task; active and
+ retired step opt-in guards removed.
+- Runner: final validation removed; commit-pattern guard removed; type-change
+ mapping removed; non-Engineering publication includes facts.
+- Native: empty/leading path segments, Cc characters, backslash, old-path
+ validation, bidi characters, decode validation, assignment validation and
+ repository-name pattern removed.
+
+The executable mutation script, exact commands, exit statuses and per-mutation
+logs are saved in site/build/slice5/validation/review/. Run it from the worktree
+as python3 facts-review-mutations.py wire chat contract runner and
+python3 facts-review-mutations.py native, plus
+python3 facts-review-mutations.py extra-wire extra-chat. It restores each source
+after testing. The 45-file fixture includes one retired round as well as two
+active rounds, so both step collections are covered.
+
+Live link verification: curl -sI
+'https://amadan.net/oficina/equipo?ref=main&path=go.mod' returned HTTP/2 200 on
+2026-11-26. A GET returned the go.mod file viewer and its module line, not a
+repository listing or sign-in page. The existing /namespace/repo?ref=&path=
+shape is correct; the native tests retain commit-pinned refs and plus escaping.
+
+Main 7c113ac8 was merged normally in e0eeee7a. This includes the landed composer
+and merge-credential fixes. The native parity gate found main's two new reviewed
+stop reasons, work.reason.merge_credential and work.reason.amadan_unreachable;
+both were copied exactly from the web catalog (Paul's existing approval).
+No new wording or copy question was introduced. Measured size records cover the
+new projection/guard tests and the merged main changes; no timing budget changed.
+
+
+Final native gate passes: 356 tests in 47 suites, one existing known issue,
+332 web-parity strings, Mac build and iOS Simulator build. Linux-targeted
+make build and make vet pass with GOTOOLCHAIN=go1.26.11, CGO_ENABLED=0,
+GOOS=linux and GOARCH=amd64. Staticcheck v0.7.0 and govulncheck pass using
+make staticcheck / make govulncheck with their go-run -exec wrapper setting
+GOOS=linux GOARCH=amd64 for the analyser. Formatting, spacing, copy release,
+lane coverage, migration, measured size and gitleaks checks pass.
+
+The ordinary macOS make build and make perf hit the existing Linux-only
+toolproxy dependency (unix.O_PATH). TestPerfScreens and TestPerfBoot themselves
+passed; the full Linux hub gate remains authoritative. No platform bypass,
+new route or performance exemption was added.
diff --git a/internal/equipo/chat/change_files_exposure_test.go b/internal/equipo/chat/change_files_exposure_test.go
new file mode 100644
index 00000000..adc40573
--- /dev/null
+++ b/internal/equipo/chat/change_files_exposure_test.go
@@ -0,0 +1,96 @@
+package chat
+
+import (
+ "amadan.net/oficina/equipo/internal/wire"
+ "context"
+ "encoding/json"
+ "fmt"
+ "strings"
+ "testing"
+)
+
+func TestChangeFilesStayOutOfCoordinatorListsSnapshotAndEvents(t *testing.T) {
+ r := newMeteredRig(t)
+ ctx := context.Background()
+ must := func(err error) {
+ t.Helper()
+ if err != nil {
+ t.Fatal(err)
+ }
+ }
+ must(r.s.db.G.Exec("CREATE TABLE runners (id text, person text, role text, label text, revoked_at datetime, removing_at datetime, tainted_at datetime)").Error)
+ k := taskRecord{ID: "tk_files_projection", ProjectID: "p_files", Creator: hkOwner, Stage: wire.StageReadyToMerge, Revision: 1}
+ must(r.s.db.G.Create(&projectRecord{ID: k.ProjectID, Title: "Files", TitleSet: true, Repo: "oficina/sample"}).Error)
+ must(r.s.db.G.Create(&k).Error)
+ for round := 0; round < 3; round++ {
+ sha := strings.Repeat(fmt.Sprint(round+1), 40)
+ facts := wire.ChangeFiles{Base: strings.Repeat("a", 40), SHA: sha, Files: 45, Additions: 45, Entries: []wire.ChangedFile{}}
+ for i := 0; i < 45; i++ {
+ facts.Entries = append(facts.Entries, wire.ChangedFile{Path: fmt.Sprintf("Sources/round%d/file%02d.swift", round, i), Status: wire.ChangeFileAdded, Additions: 1})
+ }
+ raw, err := json.Marshal(facts)
+ must(err)
+ must(r.s.db.G.Create(&stepRecord{ID: fmt.Sprintf("eng%d", round), TaskID: k.ID, Idx: round * 2, Retired: round == 0, Specialist: wire.SpecialistEngineering, State: wire.StepDone, BaseSHA: facts.Base, CandidateSHA: sha, Pushed: true, ChangeFiles: string(raw)}).Error)
+ must(r.s.db.G.Create(&stepRecord{ID: fmt.Sprintf("review%d", round), TaskID: k.ID, Idx: round*2 + 1, Retired: round == 0, Specialist: wire.SpecialistReview, State: wire.StepDone, CandidateSHA: sha, Verdict: wire.VerdictApprove, Checks: wire.ChecksPassed}).Error)
+ }
+ noFacts := func(name string, v any) {
+ t.Helper()
+ raw, err := json.Marshal(v)
+ must(err)
+ if strings.Contains(string(raw), `"change_files"`) {
+ t.Errorf("%s leaked change_files", name)
+ }
+ }
+ task, err := r.s.Task(ctx, hkOwner, k.ID)
+ must(err)
+ noFacts("ordinary task", task)
+ detail, err := r.s.TaskDetail(ctx, hkOwner, k.ID)
+ must(err)
+ if len(detail.EarlierSteps) != 2 {
+ t.Fatal("fixture must include a retired round")
+ }
+ for _, step := range append(detail.Steps, detail.EarlierSteps...) {
+ if step.Specialist == wire.SpecialistEngineering && (step.ChangeFiles == nil || len(step.ChangeFiles.Entries) != 45) {
+ t.Fatal("detail lost facts")
+ }
+ }
+ list, err := r.s.Tasks(ctx, hkOwner)
+ must(err)
+ noFacts("list", list)
+ snapshot, err := r.s.Snapshot(ctx, hkOwner)
+ must(err)
+ noFacts("snapshot", snapshot)
+ must(r.s.tx(ctx, func(tx *txn) error {
+ result, err := tx.readTask(k.ID)
+ if err != nil {
+ return err
+ }
+ var decoded wire.Task
+ if err := json.Unmarshal([]byte(result.Text), &decoded); err != nil {
+ t.Errorf("Coordinator task was clipped: %v", err)
+ } else if decoded.Verdict != wire.VerdictApprove || decoded.NeedsYou != wire.NeedsMerge {
+ t.Errorf("Coordinator lost current status: verdict=%q needs_you=%q", decoded.Verdict, decoded.NeedsYou)
+ }
+ if strings.Contains(result.Text, `"change_files"`) {
+ t.Error("Coordinator leaked change_files")
+ }
+ return tx.taskEvent(k)
+ }))
+ events, err := r.s.Events(ctx, hkOwner, 0, 100)
+ must(err)
+ noFacts("events", events)
+ if len(events) == 0 {
+ t.Fatal("fixture emitted no task event")
+ }
+}
+
+func TestChangeFilesRejectInvalidBeforeStorage(t *testing.T) {
+ base, sha := strings.Repeat("a", 40), strings.Repeat("b", 40)
+ step := stepRecord{Specialist: wire.SpecialistEngineering, State: wire.StepDone, BaseSHA: base, CandidateSHA: sha}
+ for _, path := range []string{"/absolute", "a\\b", "a\nb", "a\u202eb", string([]byte{255})} {
+ facts := &wire.ChangeFiles{Base: base, SHA: sha, Files: 1, Entries: []wire.ChangedFile{{Path: path, Status: wire.ChangeFileAdded}}}
+ if stored := acceptChangeFiles(Lease{Protocol: 31}, wire.RolePrimary, step, facts); stored != "" {
+ t.Errorf("invalid path stored: %q", path)
+ }
+ }
+}
diff --git a/internal/equipo/chat/change_files_test.go b/internal/equipo/chat/change_files_test.go
index 0f7ea60a..b0c3990d 100644
--- a/internal/equipo/chat/change_files_test.go
+++ b/internal/equipo/chat/change_files_test.go
@@ -36,6 +36,10 @@ func TestEngineeringChangeFilesAcceptanceAndDeviceView(t *testing.T) {
s := tc.step
s.ChangeFiles = stored
v := stepView(s)
+ if v.ChangeFiles != nil {
+ t.Fatal("ordinary step view leaked facts")
+ }
+ v.ChangeFiles = stepChangeFilesView(s)
if (v.ChangeFiles != nil) != tc.want {
t.Fatalf("view %+v", v.ChangeFiles)
}
@@ -56,7 +60,7 @@ func TestEngineeringChangeFilesAcceptanceAndDeviceView(t *testing.T) {
{State: wire.StepRunning, Specialist: wire.SpecialistEngineering, BaseSHA: base, CandidateSHA: sha, ChangeFiles: string(raw)},
{State: wire.StepDone, Specialist: wire.SpecialistEngineering, BaseSHA: base, CandidateSHA: sha, ChangeFiles: "{"},
} {
- if stepView(s).ChangeFiles != nil {
+ if stepChangeFilesView(s) != nil {
t.Fatal("stale or malformed projection")
}
}
diff --git a/internal/equipo/chat/http.go b/internal/equipo/chat/http.go
index 0b88ba91..17ff1ac3 100644
--- a/internal/equipo/chat/http.go
+++ b/internal/equipo/chat/http.go
@@ -821,7 +821,7 @@ func (h *HTTP) tasks(w http.ResponseWriter, r *http.Request, p personapi.PersonP
}
func (h *HTTP) task(w http.ResponseWriter, r *http.Request, p personapi.PersonPrincipal) {
- out, err := h.Store.Task(r.Context(), p.Address, chi.URLParam(r, "id"))
+ out, err := h.Store.TaskDetail(r.Context(), p.Address, chi.URLParam(r, "id"))
if err != nil {
h.fail(w, r, err)
return
diff --git a/internal/equipo/chat/tasks.go b/internal/equipo/chat/tasks.go
index 94f432ef..0d7e1aec 100644
--- a/internal/equipo/chat/tasks.go
+++ b/internal/equipo/chat/tasks.go
@@ -465,7 +465,7 @@ func (t *txn) latestStep(taskID string) (stepRecord, bool, error) {
}
func stepView(s stepRecord) wire.Step {
- return wire.Step{ChangeFiles: stepChangeFilesView(s), Hosted: stepHostedView(s), RunnerID: s.RunnerID, Needs: decodeList(s.Needs), Placement: s.Placement, Publication: s.Publication, TerminationKind: s.TerminationKind, ChecksSandbox: s.ChecksSandbox, ID: s.ID, Revision: s.Revision, TaskID: s.TaskID, Index: s.Idx, Specialist: s.Specialist, State: s.State, Reason: s.Reason, Attempt: s.Attempt, BaseSHA: s.BaseSHA, CandidateSHA: s.CandidateSHA, Pushed: s.Pushed, Terminated: s.Terminated, Summary: s.Summary, Headline: s.Headline, LogTail: s.LogTail, StartedAt: s.StartedAt, FinishedAt: s.FinishedAt,
+ return wire.Step{Hosted: stepHostedView(s), RunnerID: s.RunnerID, Needs: decodeList(s.Needs), Placement: s.Placement, Publication: s.Publication, TerminationKind: s.TerminationKind, ChecksSandbox: s.ChecksSandbox, ID: s.ID, Revision: s.Revision, TaskID: s.TaskID, Index: s.Idx, Specialist: s.Specialist, State: s.State, Reason: s.Reason, Attempt: s.Attempt, BaseSHA: s.BaseSHA, CandidateSHA: s.CandidateSHA, Pushed: s.Pushed, Terminated: s.Terminated, Summary: s.Summary, Headline: s.Headline, LogTail: s.LogTail, StartedAt: s.StartedAt, FinishedAt: s.FinishedAt,
Round: s.Round, Family: s.Family, Account: s.Account, Model: s.Model, Verdict: s.Verdict, ReviewLabel: s.ReviewLabel, Findings: decodeFindings(s.Findings), BaseChecks: s.BaseChecks, Checks: s.Checks, Gate: s.Gate, ExitCode: s.ExitCode, Askable: s.Askable,
Rebase: s.Rebase, MergeSHA: s.MergeSHA, Into: s.MergeInto, Strategy: s.MergeStrategy, WithoutChecks: s.WithoutChecks, Activity: decodeActivity(s.Activity), Preview: decodePreview(s.Preview), Publish: decodePublish(s.Publish), RetriedBy: retriedBy(s)}
}
@@ -507,6 +507,14 @@ func stepViewSwitched(s stepRecord) wire.Step {
// taskView is the task with its project, findings, steps and thread.
func (t *txn) taskView(k taskRecord) (wire.Task, error) {
+ return t.taskViewWith(k, taskViewOptions{})
+}
+
+// Large presentation facts are opt-in for the device detail read. All tools,
+// lists, snapshots, events and ordinary reads use taskView's compact default.
+type taskViewOptions struct{ changeFiles bool }
+
+func (t *txn) taskViewWith(k taskRecord, options taskViewOptions) (wire.Task, error) {
v := wire.Task{Stopping: k.MoveAbandoned && k.CancelRequested && !wire.FinalStage(k.Stage), PreparingProject: strings.HasPrefix(k.MoveProject, "new:"), Moving: k.MoveProject != "", CopyHold: k.CopyHold, ID: k.ID, Revision: k.Revision, ProjectID: k.ProjectID, Title: k.Title, Brief: k.Brief, Stage: k.Stage, Branch: k.Branch, BaseSHA: k.BaseSHA, Creator: k.Creator, TurnID: k.TurnID, Findings: []wire.Finding{}, Steps: []wire.Step{}, Thread: []wire.ThreadEntry{}, CreatedAt: k.CreatedAt, UpdatedAt: k.UpdatedAt}
if k.DoneAt != nil {
done := k.DoneAt.UTC()
@@ -534,6 +542,9 @@ func (t *txn) taskView(k taskRecord) (wire.Task, error) {
}
for _, s := range steps {
sv := stepViewSwitched(s)
+ if options.changeFiles {
+ sv.ChangeFiles = stepChangeFilesView(s)
+ }
sv.RunnerLabel = t.stepRunnerLabel(s)
sv.Paused = t.stepPaused(k, s)
if s.Specialist == wire.SpecialistResearch && (s.State == wire.StepDone || s.State == wire.StepFailed || s.State == wire.StepCancelled) {
@@ -553,7 +564,11 @@ func (t *txn) taskView(k taskRecord) (wire.Task, error) {
return v, err
}
for _, st := range earlier {
- v.EarlierSteps = append(v.EarlierSteps, stepView(st))
+ sv := stepView(st)
+ if options.changeFiles {
+ sv.ChangeFiles = stepChangeFilesView(st)
+ }
+ v.EarlierSteps = append(v.EarlierSteps, sv)
}
pr := progressFor(k, steps)
for i := len(steps) - 1; i >= 0; i-- {
@@ -1931,7 +1946,17 @@ func (t *txn) recentTasks(limit int) ([]wire.Task, error) {
}
// Task reads one task.
-func (s *Store) Task(ctx context.Context, person, id string) (out wire.Task, err error) {
+func (s *Store) Task(ctx context.Context, person, id string) (wire.Task, error) {
+ return s.readTaskView(ctx, person, id, taskViewOptions{})
+}
+
+// TaskDetail is the device's GET /tasks/{id} projection, including bounded
+// file facts. It shares Task's current-member and task-read authorization.
+func (s *Store) TaskDetail(ctx context.Context, person, id string) (wire.Task, error) {
+ return s.readTaskView(ctx, person, id, taskViewOptions{changeFiles: true})
+}
+
+func (s *Store) readTaskView(ctx context.Context, person, id string, options taskViewOptions) (out wire.Task, err error) {
err = s.read(ctx, func(tx *gorm.DB) error {
if err := s.authority.CurrentPerson(ctx, tx); err != nil {
return err
@@ -1941,7 +1966,7 @@ func (s *Store) Task(ctx context.Context, person, id string) (out wire.Task, err
if err != nil {
return err
}
- out, err = t.taskView(k)
+ out, err = t.taskViewWith(k, options)
return err
})
return out, err
diff --git a/internal/runner/thin/change_files_test.go b/internal/runner/thin/change_files_test.go
index 2dbc9291..8e6fc656 100644
--- a/internal/runner/thin/change_files_test.go
+++ b/internal/runner/thin/change_files_test.go
@@ -148,3 +148,51 @@ func TestChangeFilesInitialCommit(t *testing.T) {
t.Fatal("missing base on non-root commit was guessed")
}
}
+
+func TestChangeFilesFinalValidationAndTypeChange(t *testing.T) {
+ base, sha := strings.Repeat("a", 40), strings.Repeat("b", 40)
+ raw := fmt.Sprintf(":100644 120000 %s %s T\x00link\x00", base, sha)
+ f := changeFileListings(base, sha, raw, "1\t1\tlink\x00")
+ if f == nil || len(f.Entries) != 1 || f.Entries[0].Status != wire.ChangeFileModified {
+ t.Fatalf("type change: %+v", f)
+ }
+ if changeFileListings(base, sha, raw+raw, "1\t1\tlink\x001\t1\tlink\x00") != nil {
+ t.Fatal("duplicate paths passed final validation")
+ }
+}
+
+func TestChangeFilesInvalidCommitsNeverInvokeGit(t *testing.T) {
+ dir := t.TempDir()
+ fake := filepath.Join(dir, "git")
+ if err := os.WriteFile(fake, []byte("#!/bin/sh\n: > \"$0.called\"\n"), 0700); err != nil {
+ t.Fatal(err)
+ }
+ good := strings.Repeat("a", 40)
+ for _, pair := range [][2]string{{good, strings.Repeat("b", 39)}, {strings.Repeat("b", 39), good}, {good, strings.Repeat("z", 40)}} {
+ if changeFiles(context.Background(), fake, dir, pair[0], pair[1]) != nil {
+ t.Fatal("invalid commit accepted")
+ }
+ if _, err := os.Stat(fake + ".called"); !os.IsNotExist(err) {
+ t.Fatal("git invoked for invalid commit")
+ }
+ }
+}
+
+func TestChangeFilesPublishedOnlyByEngineering(t *testing.T) {
+ for _, specialist := range []string{wire.SpecialistEngineering, wire.SpecialistCopy} {
+ t.Run(specialist, func(t *testing.T) {
+ e, f, r, _ := hubRig(t)
+ r.Specialist, r.StepID, r.Branch = specialist, "s2", "equipo/tk1-another-fix"
+ base := gitOut(t, f.dir, "rev-parse", "main")
+ gitDir := e.tree(r, base).GitDir
+ gitOut(t, filepath.Dir(f.dir), "clone", "-q", "--bare", f.dir, gitDir)
+ tree := gitOut(t, filepath.Dir(f.dir), "--git-dir="+gitDir, "rev-parse", base+"^{tree}")
+ r.Base, r.Candidate = base, gitOut(t, filepath.Dir(f.dir), "--git-dir="+gitDir, "commit-tree", tree, "-p", base, "-m", "another fix")
+ r.CandidateSHA = base
+ rep := e.publish(context.Background(), r, wire.StepReport{})
+ if (rep.ChangeFiles != nil) != (specialist == wire.SpecialistEngineering) {
+ t.Fatalf("%s facts: %+v", specialist, rep.ChangeFiles)
+ }
+ })
+ }
+}
diff --git a/internal/thintest/change_files_contract_test.go b/internal/thintest/change_files_contract_test.go
index fe99ac67..5f1d64cf 100644
--- a/internal/thintest/change_files_contract_test.go
+++ b/internal/thintest/change_files_contract_test.go
@@ -29,6 +29,24 @@ func TestContractEngineeringChangeFiles(t *testing.T) {
if err != nil {
t.Fatal(err)
}
+ // Only this detail route carries file facts, even for new runners.
+ list, err := r.client.Tasks(r.ctx)
+ if err != nil {
+ t.Fatal(err)
+ }
+ snapshot, err := r.client.Snapshot(r.ctx)
+ if err != nil {
+ t.Fatal(err)
+ }
+ for name, value := range map[string]any{"list": list, "snapshot": snapshot} {
+ raw, err := json.Marshal(value)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if strings.Contains(string(raw), "\"change_files\"") {
+ t.Fatalf("%s leaked file facts", name)
+ }
+ }
got := task.Steps[0].ChangeFiles
if protocol < 31 {
if got != nil {
diff --git a/internal/wire/change_files.go b/internal/wire/change_files.go
index 0044ce19..cb5d91fe 100644
--- a/internal/wire/change_files.go
+++ b/internal/wire/change_files.go
@@ -42,7 +42,14 @@ const MaxChangeFilesBytes = 96 << 10
func ValidChangePath(s string) bool {
return s != "" && len(s) <= 4096 && utf8.ValidString(s) && !strings.HasPrefix(s, "/") &&
s != "." && s != ".." && !strings.HasPrefix(s, "../") && path.Clean(s) == s &&
- !strings.ContainsAny(s, "\\") && strings.IndexFunc(s, unicode.IsControl) < 0
+ !strings.ContainsAny(s, "\\") && strings.IndexFunc(s, unsafeChangePathRune) < 0
+}
+
+// Keep in sync with native ThinChangeFiles.path and the shared path fixture.
+// Other format characters (for example ZWJ in emoji names) are valid.
+func unsafeChangePathRune(r rune) bool {
+ return unicode.IsControl(r) || r == 0x200e || r == 0x200f ||
+ r >= 0x202a && r <= 0x202e || r >= 0x2066 && r <= 0x2069
}
func ValidChangeFiles(f *ChangeFiles) bool {
diff --git a/internal/wire/change_files_test.go b/internal/wire/change_files_test.go
index cd09f207..cd74f040 100644
--- a/internal/wire/change_files_test.go
+++ b/internal/wire/change_files_test.go
@@ -3,6 +3,7 @@ package wire_test
import (
"encoding/json"
"fmt"
+ "os"
"strings"
"testing"
@@ -49,18 +50,22 @@ func TestChangeFilesValidation(t *testing.T) {
t.Fatal("valid paths refused")
}
for name, mutate := range map[string]func(*wire.ChangeFiles){
- "nil-list": func(f *wire.ChangeFiles) { f.Files = 0; f.Additions = 0; f.Entries = nil },
- "base": func(f *wire.ChangeFiles) { f.Base = "main" },
- "sha": func(f *wire.ChangeFiles) { f.SHA = strings.Repeat("z", 40) },
- "negative": func(f *wire.ChangeFiles) { f.Additions = -1 },
- "totals": func(f *wire.ChangeFiles) { f.Additions = 2 },
- "truncation": func(f *wire.ChangeFiles) { f.Files = 2 },
- "status": func(f *wire.ChangeFiles) { f.Entries[0].Status = "copy" },
- "old": func(f *wire.ChangeFiles) { f.Entries[0].OldPath = "old" },
- "rename": func(f *wire.ChangeFiles) { f.Entries[0].Status = "renamed" },
- "binary": func(f *wire.ChangeFiles) { f.Entries[0].Binary = true },
- "path": func(f *wire.ChangeFiles) { f.Entries[0].Path = "../evil" },
- "control": func(f *wire.ChangeFiles) { f.Entries[0].Path = "a\nb" },
+ "nil-list": func(f *wire.ChangeFiles) { f.Files = 0; f.Additions = 0; f.Entries = nil },
+ "base": func(f *wire.ChangeFiles) { f.Base = "main" },
+ "sha": func(f *wire.ChangeFiles) { f.SHA = strings.Repeat("z", 40) },
+ "negative": func(f *wire.ChangeFiles) { f.Additions = -1 },
+ "totals": func(f *wire.ChangeFiles) { f.Additions = 2 },
+ "truncation": func(f *wire.ChangeFiles) { f.Files = 2 },
+ "status": func(f *wire.ChangeFiles) { f.Entries[0].Status = "copy" },
+ "old": func(f *wire.ChangeFiles) { f.Entries[0].OldPath = "old" },
+ "rename": func(f *wire.ChangeFiles) { f.Entries[0].Status = "renamed" },
+ "binary": func(f *wire.ChangeFiles) { f.Entries[0].Binary = true; f.Binary = 1 },
+ "short-base": func(f *wire.ChangeFiles) { f.Base = strings.Repeat("a", 39) },
+ "short-sha": func(f *wire.ChangeFiles) { f.SHA = strings.Repeat("b", 39) },
+ "excess-binaries": func(f *wire.ChangeFiles) { f.Entries = []wire.ChangedFile{}; f.Truncated = true; f.Binary = 2 },
+ "invalid-utf8": func(f *wire.ChangeFiles) { f.Entries[0].Path = string([]byte{255}) },
+ "path": func(f *wire.ChangeFiles) { f.Entries[0].Path = "../evil" },
+ "control": func(f *wire.ChangeFiles) { f.Entries[0].Path = "a\nb" },
"byte-bound": func(f *wire.ChangeFiles) {
f.Files = 200
f.Additions = 200
@@ -91,3 +96,22 @@ func TestChangeFilesValidation(t *testing.T) {
// Frozen from main 18fb5be4, before protocol 31.
var frozen30StepReport = keySet("base_checks base_checks_sha failure copy task_id step_id attempt state reason base_sha candidate_sha pushed termination summary headline log_tail family account verdict review_label findings checks gate exit_code output askable merge_sha into strategy usage switched termination_kind have phase apple checks_sandbox change merge_source merge_parents hosted has_preview preview research hold publish")
+
+func TestChangePathSharedCases(t *testing.T) {
+ raw, err := os.ReadFile("testdata/change-paths.json")
+ if err != nil {
+ t.Fatal(err)
+ }
+ var cases []struct {
+ Path string
+ Valid bool
+ }
+ if err := json.Unmarshal(raw, &cases); err != nil {
+ t.Fatal(err)
+ }
+ for _, c := range cases {
+ if got := wire.ValidChangePath(c.Path); got != c.Valid {
+ t.Errorf("path %q: %v, want %v", c.Path, got, c.Valid)
+ }
+ }
+}
diff --git a/internal/wire/tasks.go b/internal/wire/tasks.go
index 908df408..32963498 100644
--- a/internal/wire/tasks.go
+++ b/internal/wire/tasks.go
@@ -235,6 +235,7 @@ type StepHosted struct {
// forge confirmed the branch points at it. Terminated is the runner's
// proof that the attempt's namespace has exited.
type Step struct {
+ // ChangeFiles is included only by the device GET /tasks/{id} detail projection.
ChangeFiles *ChangeFiles `json:"change_files,omitempty"`
BaseChecks string `json:"base_checks,omitempty"`
ID string `json:"id"`
diff --git a/internal/wire/testdata/change-paths.json b/internal/wire/testdata/change-paths.json
new file mode 100644
index 00000000..5e42630e
--- /dev/null
+++ b/internal/wire/testdata/change-paths.json
@@ -0,0 +1,102 @@
+[
+ {
+ "path": "file.txt",
+ "valid": true
+ },
+ {
+ "path": "docs/read me \u65e5\u672c\u8a9e.txt",
+ "valid": true
+ },
+ {
+ "path": "emoji/\ud83d\udc69\u200d\ud83d\udcbb.txt",
+ "valid": true
+ },
+ {
+ "path": "format/a\u200cb.txt",
+ "valid": true
+ },
+ {
+ "path": "",
+ "valid": false
+ },
+ {
+ "path": "/absolute",
+ "valid": false
+ },
+ {
+ "path": "a//b",
+ "valid": false
+ },
+ {
+ "path": "a/../b",
+ "valid": false
+ },
+ {
+ "path": "a/./b",
+ "valid": false
+ },
+ {
+ "path": "a\\b",
+ "valid": false
+ },
+ {
+ "path": "a\u0000b",
+ "valid": false
+ },
+ {
+ "path": "a\u001fb",
+ "valid": false
+ },
+ {
+ "path": "a\u007fb",
+ "valid": false
+ },
+ {
+ "path": "a\u0085b",
+ "valid": false
+ },
+ {
+ "path": "a\u200eb",
+ "valid": false
+ },
+ {
+ "path": "a\u200fb",
+ "valid": false
+ },
+ {
+ "path": "a\u202ab",
+ "valid": false
+ },
+ {
+ "path": "a\u202bb",
+ "valid": false
+ },
+ {
+ "path": "a\u202cb",
+ "valid": false
+ },
+ {
+ "path": "a\u202db",
+ "valid": false
+ },
+ {
+ "path": "a\u202eb",
+ "valid": false
+ },
+ {
+ "path": "a\u2066b",
+ "valid": false
+ },
+ {
+ "path": "a\u2067b",
+ "valid": false
+ },
+ {
+ "path": "a\u2068b",
+ "valid": false
+ },
+ {
+ "path": "a\u2069b",
+ "valid": false
+ }
+]
diff --git a/internal/wire/wireschema/wireschema.go b/internal/wire/wireschema/wireschema.go
index 31c0d397..f3644000 100644
--- a/internal/wire/wireschema/wireschema.go
+++ b/internal/wire/wireschema/wireschema.go
@@ -461,6 +461,9 @@ func (g *gen) fields(t reflect.Type, name string, props *ordered, required *[]st
s.set("enum", values)
g.enums[name+"."+key] = true
}
+ if name == "Step" && key == "change_files" {
+ s.set("description", "Bounded presentation facts, included only on GET /tasks/{id} detail reads. Absent from task lists, snapshots, events and Coordinator tools.")
+ }
if name == "ChangeFiles" && key == "entries" {
s.set("maxItems", wire.MaxChangeEntries)
s.set("description", "At most 200 entries. Totals cover the complete bounded scan; truncated is true when entries were omitted. The encoded facts are bounded to 96 KiB.")
diff --git a/native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings b/native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings
index f5945de1..137d5935 100644
--- a/native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings
+++ b/native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings
@@ -4705,6 +4705,17 @@
}
}
},
+ "work.reason.amadan_unreachable": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Amadan could not be reached to confirm Equipo may merge here"
+ }
+ }
+ }
+ },
"work.reason.base_checks_failed": {
"extractionState": "manual",
"localizations": {
@@ -4870,6 +4881,17 @@
}
}
},
+ "work.reason.merge_credential": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "the runner has no Amadan credential for this repository"
+ }
+ }
+ }
+ },
"work.reason.merge_failed": {
"extractionState": "manual",
"localizations": {
diff --git a/native/apple/Sources/EquipoKit/API/ChangeFiles.swift b/native/apple/Sources/EquipoKit/API/ChangeFiles.swift
index 04ded0db..2ee56890 100644
--- a/native/apple/Sources/EquipoKit/API/ChangeFiles.swift
+++ b/native/apple/Sources/EquipoKit/API/ChangeFiles.swift
@@ -57,7 +57,39 @@ public struct ThinChangeFiles: Codable, Sendable, Equatable {
}
static func path(_ value: String) -> Bool {
!value.isEmpty && value.utf8.count <= 4096 && !value.contains("\\")
- && value.rangeOfCharacter(from: .controlCharacters) == nil
+ && !value.unicodeScalars.contains {
+ $0.properties.generalCategory == .control || $0.value == 0x200e || $0.value == 0x200f
+ || (0x202a...0x202e).contains($0.value) || (0x2066...0x2069).contains($0.value)
+ }
&& value.split(separator: "/", omittingEmptySubsequences: false).allSatisfy { !$0.isEmpty && $0 != "." && $0 != ".." }
}
}
+
+// Validate the optional presentation field on entry, including decoded payloads
+// and programmatic assignment. A malformed optional field cannot hide the task.
+@propertyWrapper public struct ValidatedChangeFiles: Codable, Sendable, Equatable {
+ private var value: ThinChangeFiles?
+ public var wrappedValue: ThinChangeFiles? {
+ get { value }
+ set { value = newValue.flatMap { $0.isValid ? $0 : nil } }
+ }
+ public init(wrappedValue: ThinChangeFiles?) {
+ value = wrappedValue.flatMap { $0.isValid ? $0 : nil }
+ }
+ public init(from decoder: Decoder) throws {
+ self.init(wrappedValue: try? ThinChangeFiles(from: decoder))
+ }
+ public func encode(to encoder: Encoder) throws {
+ try value.encode(to: encoder)
+ }
+}
+extension KeyedDecodingContainer {
+ func decode(_ type: ValidatedChangeFiles.Type, forKey key: Key) throws -> ValidatedChangeFiles {
+ try decodeIfPresent(type, forKey: key) ?? ValidatedChangeFiles(wrappedValue: nil)
+ }
+}
+extension KeyedEncodingContainer {
+ mutating func encode(_ value: ValidatedChangeFiles, forKey key: Key) throws {
+ if let facts = value.wrappedValue { try encode(facts, forKey: key) }
+ }
+}
diff --git a/native/apple/Sources/EquipoKit/API/Thin.swift b/native/apple/Sources/EquipoKit/API/Thin.swift
index 361d6313..9086996a 100644
--- a/native/apple/Sources/EquipoKit/API/Thin.swift
+++ b/native/apple/Sources/EquipoKit/API/Thin.swift
@@ -81,7 +81,7 @@ public struct ThinStepHosted: Codable, Sendable, Equatable {
}
public struct ThinStep: Codable, Sendable, Identifiable, Equatable {
- public var changeFiles: ThinChangeFiles? = nil
+ @ValidatedChangeFiles public var changeFiles: ThinChangeFiles? = nil
public var hosted: ThinStepHosted? = nil
public var baseChecks: String? = nil
public var revision: Int64? = nil
diff --git a/native/apple/Sources/EquipoKit/Presentation/ChangedFiles.swift b/native/apple/Sources/EquipoKit/Presentation/ChangedFiles.swift
index dc66b443..f6bb2545 100644
--- a/native/apple/Sources/EquipoKit/Presentation/ChangedFiles.swift
+++ b/native/apple/Sources/EquipoKit/Presentation/ChangedFiles.swift
@@ -4,8 +4,7 @@ enum ChangedFilesPresentation {
static func facts(_ task: ThinTask) -> ThinChangeFiles? {
guard !task.candidateSha.isEmpty,
let step = task.steps?.last(where: { $0.specialist == "engineering" && $0.candidateSha == task.candidateSha }),
- step.state == "done", let facts = step.changeFiles, facts.sha == task.candidateSha, facts.base == step.baseSha,
- facts.isValid else { return nil }
+ step.state == "done", let facts = step.changeFiles, facts.sha == task.candidateSha, facts.base == step.baseSha else { return nil }
return facts
}
struct Group: Identifiable {
diff --git a/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings b/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings
index f5945de1..137d5935 100644
--- a/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings
+++ b/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings
@@ -4705,6 +4705,17 @@
}
}
},
+ "work.reason.amadan_unreachable": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Amadan could not be reached to confirm Equipo may merge here"
+ }
+ }
+ }
+ },
"work.reason.base_checks_failed": {
"extractionState": "manual",
"localizations": {
@@ -4870,6 +4881,17 @@
}
}
},
+ "work.reason.merge_credential": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "the runner has no Amadan credential for this repository"
+ }
+ }
+ }
+ },
"work.reason.merge_failed": {
"extractionState": "manual",
"localizations": {
diff --git a/native/apple/Tests/EquipoKitTests/ChangeFilesTests.swift b/native/apple/Tests/EquipoKitTests/ChangeFilesTests.swift
index f3e22a54..3f9575eb 100644
--- a/native/apple/Tests/EquipoKitTests/ChangeFilesTests.swift
+++ b/native/apple/Tests/EquipoKitTests/ChangeFilesTests.swift
@@ -111,3 +111,41 @@ import Testing
#expect(ChangedFilesPresentation.total(files: 0, additions: 0, deletions: 0) == "0 files, 0 lines added, 0 removed")
}
}
+
+extension ChangeFilesTests {
+ @Test func sharedPathRulesAndRenameSources() throws {
+ struct Case: Decodable { let path: String; let valid: Bool }
+ var root = URL(fileURLWithPath: #filePath)
+ for _ in 0..<5 { root.deleteLastPathComponent() }
+ let cases = try JSONDecoder().decode([Case].self, from: Data(contentsOf: root.appendingPathComponent("internal/wire/testdata/change-paths.json")))
+ for item in cases {
+ #expect(ThinChangeFiles.path(item.path) == item.valid, "path: \(item.path.debugDescription)")
+ var facts = Self.facts(); facts.entries[0].status = "renamed"; facts.entries[0].oldPath = item.path
+ #expect(facts.isValid == item.valid)
+ }
+ }
+ @Test func invalidFactsAreDiscardedAtStepDecodeAndAssignment() throws {
+ let encoder = EquipoJSON.encoder; encoder.dateEncodingStrategy = .iso8601
+ let original = try TaskDetailTests.task().steps![0]
+ var valid = original; valid.changeFiles = Self.facts()
+ #expect(try EquipoJSON.decoder.decode(ThinStep.self, from: encoder.encode(valid)).changeFiles == Self.facts())
+ let old = try JSONSerialization.jsonObject(with: encoder.encode(original)) as! [String: Any]
+ #expect(old["change_files"] == nil)
+ for path in ["/absolute", "a//b", "a\nb", "a\\b", "a\u{202e}b"] {
+ var facts = Self.facts(); facts.entries[0].path = path
+ var body = try JSONSerialization.jsonObject(with: encoder.encode(original)) as! [String: Any]
+ body["change_files"] = try JSONSerialization.jsonObject(with: encoder.encode(facts))
+ let step = try EquipoJSON.decoder.decode(ThinStep.self, from: JSONSerialization.data(withJSONObject: body))
+ #expect(step.changeFiles == nil)
+ var assigned = original; assigned.changeFiles = facts
+ #expect(assigned.changeFiles == nil)
+ }
+ }
+ @Test func repositoryNamesMustMatchTheForgePattern() throws {
+ var task = try TaskDetailTests.task()
+ for repo in ["oficina/a?b", "oficina/a%2Fb", "name space/repo", "oficina/💻"] {
+ task.repo = repo
+ #expect(ChangedFilesPresentation.fileURL(task: task, facts: Self.facts(), file: Self.facts().entries[0]) == nil)
+ }
+ }
+}
diff --git a/native/scripts/strings.json b/native/scripts/strings.json
index d5686b78..686f3c89 100644
--- a/native/scripts/strings.json
+++ b/native/scripts/strings.json
@@ -407,6 +407,7 @@
"work.reason.account_unavailable": "no model account was ready",
"work.reason.amadan_ci_failed": "Amadan's own CI did not pass",
"work.reason.amadan_ci_pending": "Amadan's own CI had not finished",
+ "work.reason.amadan_unreachable": "Amadan could not be reached to confirm Equipo may merge here",
"work.reason.base_checks_failed": "the base version's checks failed",
"work.reason.base_gate_unavailable": "the check files from the base version could not be loaded",
"work.reason.branch_moved": "the branch moved on Amadan",
@@ -422,6 +423,7 @@
"work.reason.limited": "its model account reached its limit",
"work.reason.machine_removed": "the machine was removed mid-step",
"work.reason.merge_conflict": "it conflicts with the default branch",
+ "work.reason.merge_credential": "the runner has no Amadan credential for this repository",
"work.reason.merge_failed": "Amadan did not merge it",
"work.reason.merge_forbidden": "Equipo may not merge in this repository",
"work.reason.merge_not_authorized": "my rules require me to ask before merging",