oficina / equipo Public

Preserve legacy feedback and verify scanner release provenance

Paul Campbell pushed by paul@keymail.dev d6a94d930896c25b910c06a337b3c9b7ce2d80f1 parent 3df4d08
16 files changed, +135 −47
  • .rastrillo/budgets.txt +3 −3
  • Makefile +2 −2
  • internal/equipo/chat/preview.go +14 −4
  • internal/equipo/chat/preview_security_test.go +26 −0
  • internal/equipotest/release_test.go +3 −1
  • internal/equipotest/runner_release_test.go +5 −4
  • internal/headless/engineering_test.go +1 −1
  • internal/release/staged_gate_test.go +25 −4
  • internal/thintest/assistant_team_contract_test.go +1 −0
  • internal/thintest/explore_contract_test.go +4 −1
  • internal/thintest/publish_contract_test.go +1 −1
  • internal/thintest/review_contract_test.go +1 −1
  • internal/wire/runners.go +10 −0
  • internal/wire/runners_test.go +1 −1
  • scripts/runner-reference-allowlist.json +21 −21
  • scripts/staged-artifacts.py +17 −3

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/injection-defences: Type  Size Avail | ext4   96G   85G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   85G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 1.7s
ci-box: codex: fetched and verified in 3.8s
ci-box: codex-code-mode-host: fetched and verified in 1.3s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.3s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.8s
ci-box: pi: installed and verified in 7.3s
ci-box: opencode: installed and verified in 2.0s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 9.5s
ci-box: clone deepened in 2.9s
ci-box: file times set from content: 2704 files, 172 directories
ci-box: ready in 16.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.246s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  3.9s
+ go list -export -test -tags testbuild -f  ./...
  4.3s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  3.0s
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -version
staticcheck 2026.1 (v0.7.0)
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 -version
Go: go1.26.11
Scanner: govulncheck@v1.8.0
DB: https://vuln.go.dev
DB updated: 2026-11-11 02:51:11 +0000 UTC

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

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

receipt: test step 1m31.652s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m29.983s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m29.98s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 61.06, cpu waiting 39.16%, memory waiting 0.00%, io waiting 0.71%
--- 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 1m32.943s 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.285s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m19.88s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 6.32s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 5.08s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 61.06, cpu waiting 38.86%, memory waiting 0.00%, io waiting 0.68%
--- 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 1m28.575s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m26.981s amadan.net/oficina/equipo/internal/headless
receipt: slow test 44.73s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 22.13s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.5s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.62s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 62.54, cpu waiting 39.14%, memory waiting 0.00%, io waiting 0.76%
--- shard 4 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-guards: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless

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

receipt: test step 3m11.649s 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 3m9.907s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m52.58s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 23.68s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.41s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 8.03s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.32s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 14.78, cpu waiting 7.95%, 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 2m3.683s 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 2m2.078s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 8.71s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.74s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.58s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 3.79s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 3.36s amadan.net/oficina/equipo/internal/thintest TestContractTeamUpdatePersonNeeds
machine: 32 CPUs, load 42.71, cpu waiting 24.67%, memory waiting 0.00%, io waiting 0.41%
--- shard 7 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane thintest-contract: ./internal/thintest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^Test([^C]|C[^o]|Co[^n]|Con[^t])|^TestContract(Assistant|Outcome|Team|Handoff|HostAllowlist|HostIsPerPerson|Look|Use[A-Z]|RemoteCall|LanesRunAtOnce|NoMergeQuestionWhenGateMerges|PreviewHeldUntilPublishAnswer|PreviewNotHeldBelow19|PublishNeedsOwnerAnswer)' ./internal/thintest

receipt: test step 1m24.231s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m22.276s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.16s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.04s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.35s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.43s amadan.net/oficina/equipo/internal/thintest TestContractPreview
receipt: slow test 2.35s amadan.net/oficina/equipo/internal/thintest TestContractPublishNameTaken
machine: 32 CPUs, load 63.98, cpu waiting 39.15%, memory waiting 0.00%, io waiting 0.81%
--- 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 4m36.454s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m41.454s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 4m36.454s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 37.14s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 37.01s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.79s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.46s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 6.84s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 4.20, cpu waiting 1.83%, memory waiting 0.00%, io waiting 0.04%
--- 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 49.744s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 48.886s amadan.net/oficina/equipo/internal/runner
receipt: slow test 28.85s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.03s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 52.71, cpu waiting 31.44%, memory waiting 0.00%, io waiting 1.43%
--- 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 58.536s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 57.318s amadan.net/oficina/equipo/internal/runner
receipt: slow test 47.24s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 42.55s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.39s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.67s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 57.06, cpu waiting 35.81%, memory waiting 0.00%, io waiting 1.25%
--- 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 34.786s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 33.993s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.13s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.14s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.12s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.19s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 28.88, cpu waiting 19.89%, memory waiting 0.00%, io waiting 1.81%
--- shard 12 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-a started 30s late; cpu waiting 34.1%, load 23.47
test lane equipotest-a: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test[A-D]|^TestQ' ./internal/equipotest

receipt: test step 1m6.343s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m4.552s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 26.94s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 26.87s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 24.77s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 21.9s amadan.net/oficina/equipo/internal/equipotest TestAuthorityProjectOwnershipIsLocal
receipt: slow test 21.87s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
machine: 32 CPUs, load 59.37, cpu waiting 37.98%, memory waiting 0.00%, io waiting 0.66%
--- shard 13 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-e started 30s late; cpu waiting 34.1%, load 23.47
test lane equipotest-e: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test[E-P]' ./internal/equipotest

receipt: test step 1m14.387s 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 1m12.712s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 18.94s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 18.93s amadan.net/oficina/equipo/internal/equipotest TestProjectConcurrentRetry
receipt: slow test 18.87s amadan.net/oficina/equipo/internal/equipotest TestProjectRequestActorAndUpdate
receipt: slow test 18.84s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 18.83s amadan.net/oficina/equipo/internal/equipotest TestProjectBindingUniqueness
machine: 32 CPUs, load 57.34, cpu waiting 34.05%, memory waiting 0.00%, io waiting 0.58%
--- shard 14 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-r started 30s late; cpu waiting 34.1%, load 23.47
test lane equipotest-r: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestR' ./internal/equipotest

receipt: test step 1m12.354s 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.486s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 14.83s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.09s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.11s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 9.86s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 7.05s amadan.net/oficina/equipo/internal/equipotest TestRosterAuditFailureRollsBack
machine: 32 CPUs, load 57.34, cpu waiting 35.13%, memory waiting 0.00%, io waiting 0.60%
--- shard 15 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-rest started 30s late; cpu waiting 34.1%, load 23.47
test lane equipotest-rest: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^Test[A-D]|^TestQ|^Test[E-P]|^TestR' ./internal/equipotest

receipt: test step 1m7.481s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m5.698s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 25.17s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 23.97s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 23.94s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 22.26s amadan.net/oficina/equipo/internal/equipotest TestSigninBackgroundSweep
receipt: slow test 22.16s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsCurrentOwner
machine: 32 CPUs, load 59.37, cpu waiting 37.03%, memory waiting 0.00%, io waiting 0.64%
--- shard 16 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: plan3test started 30s late; cpu waiting 34.1%, load 23.47
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 51.876s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 49.748s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.6s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.47s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.55s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.38s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.25s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorDefinitiveRefusalReleasesQueue
machine: 32 CPUs, load 63.98, cpu waiting 39.25%, memory waiting 0.00%, io waiting 0.84%
--- shard 17 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: rest started 30s late; cpu waiting 34.1%, load 23.47
test lane rest: ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wiretest ./tools/drive
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runnerproto: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/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.128s
FAIL	amadan.net/oficina/equipo/internal/runner/webread	2.182s

budget note: internal/equipo took 24.511s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 14.954s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/setup took 14.706s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/idtest took 45.229s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/containment took 50.719s, over the 15s its record on line 40 allows; reported only, timing fails on CI
budget note: internal/runner/forge took 20.107s, over the 20s its record on line 35 allows; reported only, timing fails on CI
budget note: internal/runner/provider/pi took 1m19.865s, over the 1m0s its record on line 27 allows; reported only, timing fails on CI
budget note: internal/runner/workspace took 10.708s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 1m57.654s against a 60s target (the gate's other steps are not in this figure)
receipt: 31 packages ran, 26 cached, 18 without tests, 1 failed
receipt: slow package 1m19.865s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 1m7.473s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 57.154s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 50.719s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow package 45.229s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 24.49s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 22.62s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 18.58s amadan.net/oficina/equipo/cmd/equipo-runner TestReleaseRunnerHasNoFakeWorker
receipt: slow test 15.25s amadan.net/oficina/equipo/internal/runner/provider/pi TestPiGoBinaryIsolation
receipt: slow test 12.47s amadan.net/oficina/equipo/internal/idtest TestIDCallbackGuardAndPendingNonce
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 d6a94d930896c25b910c06a337b3c9b7ce2d80f1 0.63s 29.34
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 29.34, cpu waiting 16.55%, memory waiting 0.00%, io waiting 0.27%
--- shard 18 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-chat: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' ./internal/headless
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserChat
=== RUN   TestBrowserChat
time=2026-11-19T13:20:40.102Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-19T13:20:40.102Z level=INFO msg="startup phase done" phase=state_lock took=66µs
time=2026-11-19T13:20:40.102Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-19T13:20:40.102Z level=INFO msg="startup phase done" phase=claim_roots took=81µs
time=2026-11-19T13:20:40.102Z level=INFO msg="startup phase" phase=sweep
time=2026-11-19T13:20:40.178Z level=INFO msg="startup phase done" phase=sweep took=76.743ms
time=2026-11-19T13:20:40.178Z level=INFO msg="startup phase" phase=credentials
time=2026-11-19T13:20:40.179Z level=INFO msg="startup phase done" phase=credentials took=120µs
time=2026-11-19T13:20:40.179Z level=INFO msg="startup phase" phase=open_state
time=2026-11-19T13:20:40.238Z level=INFO msg="startup phase done" phase=open_state took=59.376ms
time=2026-11-19T13:20:40.239Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-19T13:20:40.240Z level=INFO msg=connecting host=127.0.0.1:37667 protocol=28
time=2026-11-19T13:20:40.241Z level=INFO msg=connected host=127.0.0.1:37667 took=1.014ms
time=2026-11-19T13:20:40.241Z level=INFO msg="capabilities gathering"
time=2026-11-19T13:20:40.247Z level=INFO msg="capabilities gathered" took=5.168ms tags=linux,claude,go
time=2026-11-19T13:20:40.250Z level=INFO msg="hello sent" protocol=28
time=2026-11-19T13:20:40.252Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-19T13:20:42.708Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_test.go:46: waiting for [...document.querySelectorAll('[equipo-message="incoming"] [equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes('fake coordinator')): context deadline exceeded (last evaluation: <nil>)
--- FAIL: TestBrowserChat (6.46s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
=== RUN   TestBrowserChatSendStaysOnPage
time=2026-11-19T13:20:46.557Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-19T13:20:46.557Z level=INFO msg="startup phase done" phase=state_lock took=217µs
time=2026-11-19T13:20:46.557Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-19T13:20:46.557Z level=INFO msg="startup phase done" phase=claim_roots took=189µs
time=2026-11-19T13:20:46.558Z level=INFO msg="startup phase" phase=sweep
time=2026-11-19T13:20:46.596Z level=INFO msg="startup phase done" phase=sweep took=38.024ms
time=2026-11-19T13:20:46.596Z level=INFO msg="startup phase" phase=credentials
time=2026-11-19T13:20:46.596Z level=INFO msg="startup phase done" phase=credentials took=132µs
time=2026-11-19T13:20:46.596Z level=INFO msg="startup phase" phase=open_state
time=2026-11-19T13:20:46.645Z level=INFO msg="startup phase done" phase=open_state took=48.721ms
time=2026-11-19T13:20:46.645Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-19T13:20:46.648Z level=INFO msg=connecting host=127.0.0.1:45573 protocol=28
time=2026-11-19T13:20:46.649Z level=INFO msg=connected host=127.0.0.1:45573 took=960µs
time=2026-11-19T13:20:46.649Z level=INFO msg="capabilities gathering"
time=2026-11-19T13:20:46.651Z level=INFO msg="capabilities gathered" took=1.275ms tags=linux,claude,go
time=2026-11-19T13:20:46.655Z level=INFO msg="hello sent" protocol=28
time=2026-11-19T13:20:46.656Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-19T13:20:49.112Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_test.go:108: waiting for [...document.querySelectorAll('[equipo-message="incoming"] [equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes('fake coordinator')): context deadline exceeded (last evaluation: <nil>)
--- FAIL: TestBrowserChatSendStaysOnPage (6.23s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
=== RUN   TestBrowserDraftIsTheMessage
time=2026-11-19T13:20:52.772Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-19T13:20:52.772Z level=INFO msg="startup phase done" phase=state_lock took=255µs
time=2026-11-19T13:20:52.772Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-19T13:20:52.772Z level=INFO msg="startup phase done" phase=claim_roots took=182µs
time=2026-11-19T13:20:52.772Z level=INFO msg="startup phase" phase=sweep
time=2026-11-19T13:20:52.804Z level=INFO msg="startup phase done" phase=sweep took=31.416ms
time=2026-11-19T13:20:52.804Z level=INFO msg="startup phase" phase=credentials
time=2026-11-19T13:20:52.804Z level=INFO msg="startup phase done" phase=credentials took=200µs
time=2026-11-19T13:20:52.804Z level=INFO msg="startup phase" phase=open_state
time=2026-11-19T13:20:52.855Z level=INFO msg="startup phase done" phase=open_state took=50.758ms
time=2026-11-19T13:20:52.856Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-19T13:20:52.857Z level=INFO msg=connecting host=127.0.0.1:36097 protocol=28
time=2026-11-19T13:20:52.858Z level=INFO msg=connected host=127.0.0.1:36097 took=1.391ms
time=2026-11-19T13:20:52.859Z level=INFO msg="capabilities gathering"
time=2026-11-19T13:20:52.860Z level=INFO msg="capabilities gathered" took=562µs tags=linux,claude,go
time=2026-11-19T13:20:52.860Z level=INFO msg="hello sent" protocol=28
time=2026-11-19T13:20:52.868Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-19T13:20:55.079Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_thinking_test.go:106: waiting for !!window.__m: context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserDraftIsTheMessage (8.17s)

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


receipt: test step 50.549s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 48.981s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.33s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 8.17s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 7.88s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 6.46s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 6.23s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
rastrillo: budget test: go test failed
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' -v -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserDraftIsTheMessage$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserChat browser-headless-chat d6a94d930896c25b910c06a337b3c9b7ce2d80f1 6.46s 52.71
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserChatSendStaysOnPage browser-headless-chat d6a94d930896c25b910c06a337b3c9b7ce2d80f1 6.23s 52.71
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserDraftIsTheMessage browser-headless-chat d6a94d930896c25b910c06a337b3c9b7ce2d80f1 8.17s 52.71
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 53.55, cpu waiting 31.98%, memory waiting 0.00%, io waiting 0.54%
--- 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
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
=== RUN   TestBrowserRailFollowsWork
time=2026-11-19T13:20:36.058Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-19T13:20:36.058Z level=INFO msg="startup phase done" phase=state_lock took=93µs
time=2026-11-19T13:20:36.058Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-19T13:20:36.058Z level=INFO msg="startup phase done" phase=claim_roots took=92µs
time=2026-11-19T13:20:36.058Z level=INFO msg="startup phase" phase=sweep
time=2026-11-19T13:20:36.086Z level=INFO msg="startup phase done" phase=sweep took=27.93ms
time=2026-11-19T13:20:36.086Z level=INFO msg="startup phase" phase=credentials
time=2026-11-19T13:20:36.086Z level=INFO msg="startup phase done" phase=credentials took=133µs
time=2026-11-19T13:20:36.086Z level=INFO msg="startup phase" phase=open_state
time=2026-11-19T13:20:36.127Z level=INFO msg="startup phase done" phase=open_state took=41.046ms
time=2026-11-19T13:20:36.128Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-19T13:20:36.130Z level=INFO msg=connecting host=127.0.0.1:42975 protocol=28
time=2026-11-19T13:20:36.132Z level=INFO msg=connected host=127.0.0.1:42975 took=1.102ms
time=2026-11-19T13:20:36.132Z level=INFO msg="capabilities gathering"
time=2026-11-19T13:20:36.132Z level=INFO msg="capabilities gathered" took=497µs tags=linux,claude,go
time=2026-11-19T13:20:36.133Z level=INFO msg="hello sent" protocol=28
time=2026-11-19T13:20:36.137Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-19T13:20:37.482Z level=INFO msg="connection checked" connection=claude-1 state=healthy
time=2026-11-19T13:20:46.328Z level=INFO msg="kept sessions" kept=1 bytes=2770 expired=0
time=2026-11-19T13:20:50.816Z level=INFO msg="kept sessions" kept=2 bytes=4922 expired=0
time=2026-11-19T13:20:51.548Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-19T13:20:51.548Z level=INFO msg="startup phase done" phase=state_lock took=95µs
time=2026-11-19T13:20:51.548Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-19T13:20:51.548Z level=INFO msg="startup phase done" phase=claim_roots took=84µs
time=2026-11-19T13:20:51.548Z level=INFO msg="startup phase" phase=sweep
time=2026-11-19T13:20:51.610Z level=INFO msg="startup phase done" phase=sweep took=61.918ms
time=2026-11-19T13:20:51.611Z level=INFO msg="startup phase" phase=credentials
time=2026-11-19T13:20:51.611Z level=INFO msg="startup phase done" phase=credentials took=288µs
time=2026-11-19T13:20:51.611Z level=INFO msg="startup phase" phase=open_state
time=2026-11-19T13:20:51.665Z level=INFO msg="startup phase done" phase=open_state took=53.905ms
time=2026-11-19T13:20:51.666Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-19T13:20:51.667Z level=INFO msg=connecting host=127.0.0.1:46383 protocol=28
time=2026-11-19T13:20:51.670Z level=INFO msg=connected host=127.0.0.1:46383 took=1.045ms
time=2026-11-19T13:20:51.670Z level=INFO msg="capabilities gathering"
time=2026-11-19T13:20:51.674Z level=INFO msg="capabilities gathered" took=3.808ms tags=linux,claude,go
time=2026-11-19T13:20:51.679Z level=INFO msg="hello sent" protocol=28
time=2026-11-19T13:20:51.680Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-19T13:20:53.820Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_review_test.go:57: waiting for document.querySelector('#rail [data-specialist="engineering"]')?.dataset.state==='working' && document.querySelector('#rail [data-specialist="engineering"]').querySelector('[equipo-nav-task]')?.textContent==='Slow sidebar change' && document.querySelector('#nav-tasks [data-count]')?.textContent==='1': context deadline exceeded (last evaluation: context deadline exceeded)
time=2026-11-19T13:20:58.386Z level=WARN msg="step account" err="context canceled"
--- FAIL: TestBrowserRailFollowsWork (22.89s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m36.122s
FAIL	amadan.net/oficina/equipo/internal/headless	96.477s


receipt: test step 1m37.717s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 1m36.122s amadan.net/oficina/equipo/internal/headless
receipt: slow test 26.68s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 22.89s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 14.42s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 11.19s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 10.95s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' -v -run '^TestBrowserRailFollowsWork$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserRailFollowsWork browser-headless-work d6a94d930896c25b910c06a337b3c9b7ce2d80f1 22.89s 59.37
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 42.71, cpu waiting 25.51%, memory waiting 0.00%, io waiting 0.42%
--- 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 1m47.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 1m45.456s amadan.net/oficina/equipo/internal/headless
receipt: slow test 17.48s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 13.38s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 13s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 10.98s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.56s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 53.55, cpu waiting 31.98%, memory waiting 0.00%, io waiting 0.54%
--- shard 21 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-rest: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserCopyContinue
=== RUN   TestBrowserCopyContinue
time=2026-11-19T13:20:51.205Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-19T13:20:51.205Z level=INFO msg="startup phase done" phase=state_lock took=171µs
time=2026-11-19T13:20:51.205Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-19T13:20:51.205Z level=INFO msg="startup phase done" phase=claim_roots took=165µs
time=2026-11-19T13:20:51.205Z level=INFO msg="startup phase" phase=sweep
time=2026-11-19T13:20:51.239Z level=INFO msg="startup phase done" phase=sweep took=34.281ms
time=2026-11-19T13:20:51.240Z level=INFO msg="startup phase" phase=credentials
time=2026-11-19T13:20:51.240Z level=INFO msg="startup phase done" phase=credentials took=219µs
time=2026-11-19T13:20:51.240Z level=INFO msg="startup phase" phase=open_state
time=2026-11-19T13:20:51.288Z level=INFO msg="startup phase done" phase=open_state took=47.653ms
time=2026-11-19T13:20:51.288Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-19T13:20:51.290Z level=INFO msg=connecting host=127.0.0.1:44785 protocol=28
time=2026-11-19T13:20:51.293Z level=INFO msg=connected host=127.0.0.1:44785 took=1.654ms
time=2026-11-19T13:20:51.293Z level=INFO msg="capabilities gathering"
time=2026-11-19T13:20:51.294Z level=INFO msg="capabilities gathered" took=547µs tags=linux,claude,go
time=2026-11-19T13:20:51.294Z level=INFO msg="hello sent" protocol=28
time=2026-11-19T13:20:51.302Z level=INFO msg=welcome protocol=28 role=primary generation=1
    browser_copy_test.go:90: waiting for !document.querySelector('[data-copy-continue]'): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserCopyContinue (6.28s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-19T13:21:30.962Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-19T13:21:30.962Z level=INFO msg="startup phase done" phase=state_lock took=154µs
time=2026-11-19T13:21:30.962Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-19T13:21:30.962Z level=INFO msg="startup phase done" phase=claim_roots took=171µs
time=2026-11-19T13:21:30.962Z level=INFO msg="startup phase" phase=sweep
time=2026-11-19T13:21:30.995Z level=INFO msg="startup phase done" phase=sweep took=32.782ms
time=2026-11-19T13:21:30.995Z level=INFO msg="startup phase" phase=credentials
time=2026-11-19T13:21:30.995Z level=INFO msg="startup phase done" phase=credentials took=103µs
time=2026-11-19T13:21:30.995Z level=INFO msg="startup phase" phase=open_state
time=2026-11-19T13:21:31.036Z level=INFO msg="startup phase done" phase=open_state took=40.71ms
time=2026-11-19T13:21:31.036Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-19T13:21:31.037Z level=INFO msg=connecting host=127.0.0.1:36727 protocol=28
time=2026-11-19T13:21:31.040Z level=INFO msg=connected host=127.0.0.1:36727 took=2.363ms
time=2026-11-19T13:21:31.040Z level=INFO msg="capabilities gathering"
time=2026-11-19T13:21:31.040Z level=INFO msg="capabilities gathered" took=431µs tags=linux,claude,go
time=2026-11-19T13:21:31.044Z level=INFO msg="hello sent" protocol=28
time=2026-11-19T13:21:31.045Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-19T13:21:32.137Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_receipts_test.go:169: waiting for [...document.querySelectorAll('[equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes("I'm your coordinator")): context deadline exceeded (last evaluation: <nil>)
--- FAIL: TestBrowserEmptyExplore (5.80s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m38.804s
FAIL	amadan.net/oficina/equipo/internal/headless	99.134s


receipt: test step 1m40.421s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 1m38.804s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.34s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 12.84s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 11.41s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.83s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 8.06s amadan.net/oficina/equipo/internal/headless TestBrowserRefreshRace
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' -v -run '^TestBrowserCopyContinue$|^TestBrowserEmptyExplore$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserCopyContinue browser-headless-rest d6a94d930896c25b910c06a337b3c9b7ce2d80f1 6.28s 57.34
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest d6a94d930896c25b910c06a337b3c9b7ce2d80f1 5.80s 57.34
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 49.74, cpu waiting 29.99%, memory waiting 0.00%, io waiting 0.50%
--- shard 22 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-rest: ./internal/equipo
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserPreviewBlocksNavigation)$' ./internal/equipo

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

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

receipt: test step 3m2.197s 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 3m0.747s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 17.13s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.31s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 10.74s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.04s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 9s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
machine: 32 CPUs, load 14.78, cpu waiting 7.95%, memory waiting 0.00%, io waiting 0.12%
--- 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   (56s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 5.22s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.50s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 10.14s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 10.35s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 27.12s
+ 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   (73s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 17.00s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 17.39s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 21.22s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 15.96s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (23s)
ok ./internal/headless TestMixedVersions 21.20s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.77s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (1s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.05s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 61.63, cpu waiting 39.26%, memory waiting 0.00%, io waiting 0.96%
--- 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 12.502s against a 60s target (the gate's other steps are not in this figure)
receipt: 4 packages ran, 0 cached, 3 without tests, 0 failed
receipt: slow package 7.47s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 246ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 88ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow test 5.2s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.72s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 410ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 250ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 120ms 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.156s 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.788s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 260ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 180ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryReusedPID
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReapsOrphans
machine: 32 CPUs, load 15.70, cpu waiting 8.71%, memory waiting 0.00%, io waiting 2.54%
--- shard 25 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: runner-dead-references started 30s late; cpu waiting 34.1%, load 23.47
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2418 text files, 2744 matches, 0 failures
python3 scripts/ci-test.py check
lanes: 18 lanes and 5 browser lanes run every test once; 20-check@29
CGO_ENABLED=0 go build ./...
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o /dev/null ./cmd/equipo-runner
go vet ./...
go vet -tags testbuild ./internal/runner/thin ./internal/headless
GOOS=darwin GOARCH=arm64 go vet ./cmd/equipo-runner/... ./internal/runner/... ./internal/wire/... ./internal/release/...
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
budget size: 85 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.504s
machine: 32 CPUs, load 59.86, cpu waiting 38.12%, memory waiting 0.00%, io waiting 1.03%
--- shard 26 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: staticcheck started 30s late; cpu waiting 34.1%, load 23.47
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 52.71, cpu waiting 31.44%, memory waiting 0.00%, io waiting 1.43%
--- shard 27 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: govulncheck started 30s late; cpu waiting 34.1%, load 23.47
shard 27: make govulncheck
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./...
=== Symbol Results ===

No vulnerabilities found.

Your code is affected by 0 vulnerabilities.
This scan also found 0 vulnerabilities in packages you import and 5
vulnerabilities in modules you require, but your code doesn't appear to call
these vulnerabilities.
Use '-show verbose' for more details.
machine: 32 CPUs, load 28.88, cpu waiting 21.66%, memory waiting 0.00%, io waiting 1.75%
--- shard 28 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: gitleaks started 30s late; cpu waiting 34.1%, load 23.47
shard 28: make gitleaks
1:20PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
1:21PM INF 995 commits scanned.
1:21PM INF scanned ~59291011 bytes (59.29 MB) in 22.9s
1:21PM INF no leaks found
machine: 32 CPUs, load 52.71, cpu waiting 32.93%, memory waiting 0.00%, io waiting 1.39%
=== 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.079ms, worst 1.116ms, budget 150ms
perf: GET /api/runner/protocol: median 86µs, worst 109µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 602µs, worst 717µs, budget 150ms
perf: GET /api/v1/accounts: median 413µs, worst 439µs, budget 150ms
perf: GET /api/v1/auth/devices: median 450µs, worst 495µs, budget 150ms
perf: GET /api/v1/budgets: median 491µs, worst 510µs, budget 150ms
perf: GET /api/v1/capabilities: median 256µs, worst 309µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.236ms, worst 1.331ms, budget 150ms
perf: GET /api/v1/connections: median 568µs, worst 613µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 534µs, worst 567µs, budget 150ms
perf: GET /api/v1/conversation: median 865µs, worst 919µs, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.482ms, worst 1.546ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.721ms, worst 1.751ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 454µs, worst 493µs, budget 150ms
perf: GET /api/v1/journey: median 9.08ms, worst 9.302ms, budget 150ms
perf: GET /api/v1/me: median 478µs, worst 511µs, budget 150ms
perf: GET /api/v1/me/settings: median 575µs, worst 619µs, budget 150ms
perf: GET /api/v1/needs-you: median 9.054ms, worst 9.243ms, budget 150ms
perf: GET /api/v1/notifications: median 1.743ms, worst 1.798ms, budget 150ms
perf: GET /api/v1/onboarding: median 414µs, worst 443µs, budget 150ms
perf: GET /api/v1/people: median 464µs, worst 505µs, budget 150ms
perf: GET /api/v1/playbooks: median 628µs, worst 642µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 559µs, worst 581µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 865µs, worst 904µs, budget 150ms
perf: GET /api/v1/preferences: median 807µs, worst 869µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 467µs, worst 493µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 623µs, worst 663µs, budget 150ms
perf: GET /api/v1/roster: median 485µs, worst 561µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 444µs, worst 478µs, budget 150ms
perf: GET /api/v1/specialists: median 8.216ms, worst 10.375ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 7.948ms, worst 8.141ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 847µs, worst 982µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.128ms, worst 1.219ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 714µs, worst 760µs, budget 150ms
perf: GET /api/v1/teams: median 408µs, worst 460µs, budget 150ms
perf: GET /api/v1/templates: median 584µs, worst 599µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 441µs, worst 471µs, budget 150ms
perf: GET /auth/callback: median 75µs, worst 116µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.248ms, worst 3.333ms, budget 150ms
perf: GET /auth/verify: median 85µs, worst 105µs, budget 150ms
perf: GET /connections: median 3.489ms, worst 3.537ms, budget 150ms
perf: GET /conversation: median 7.15ms, worst 7.478ms, budget 150ms
perf: GET /conversation/connections: median 248µs, worst 271µs, budget 150ms
perf: GET /conversation/notebook: median 237µs, worst 259µs, budget 150ms
perf: GET /conversation/settings: median 3.821ms, worst 3.922ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 3.568ms, worst 3.629ms, budget 150ms
perf: GET /conversation/settings/connections: median 6.011ms, worst 6.188ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 6.524ms, worst 8.985ms, budget 150ms
perf: GET /conversation/settings/copy: median 3.583ms, worst 3.695ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 4.013ms, worst 4.152ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.365ms, worst 4.433ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.369ms, worst 4.453ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.363ms, worst 3.443ms, budget 150ms
perf: GET /conversation/settings/thinking: median 4.013ms, worst 4.088ms, budget 150ms
perf: GET /housekeeping: median 3.769ms, worst 3.816ms, budget 150ms
perf: GET /invites/new: median 587µs, worst 657µs, budget 150ms
perf: GET /invites/{id}: median 600µs, worst 654µs, budget 150ms
perf: GET /jobs: median 3.23ms, worst 3.29ms, budget 150ms
perf: GET /jobs/{id}: median 4.557ms, worst 4.712ms, budget 150ms
perf: GET /journey: median 10.601ms, worst 10.769ms, budget 150ms
perf: GET /nav/rail: median 2.902ms, worst 2.992ms, budget 150ms
perf: GET /needs-you: median 10.076ms, worst 10.145ms, budget 150ms
perf: GET /onboarding: median 3.933ms, worst 4.021ms, budget 150ms
perf: GET /people: median 3.373ms, worst 3.581ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 4.725ms, worst 4.849ms, budget 150ms
perf: GET /playbooks: median 4.24ms, worst 4.278ms, budget 150ms
perf: GET /playbooks/new: median 4.309ms, worst 4.525ms, budget 150ms
perf: GET /playbooks/{id}: median 5.093ms, worst 7.403ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 4.858ms, worst 4.996ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 4.085ms, worst 4.223ms, budget 150ms
perf: GET /preferences: median 4.307ms, worst 4.435ms, budget 150ms
perf: GET /preferences/sources/{source}: median 4.05ms, worst 4.117ms, budget 150ms
perf: GET /projects: median 5.205ms, worst 5.343ms, budget 150ms
perf: GET /projects/accounts: median 3.494ms, worst 3.615ms, budget 150ms
perf: GET /projects/new: median 3.565ms, worst 3.644ms, budget 150ms
perf: GET /projects/{id}: median 10.354ms, worst 10.704ms, budget 150ms
perf: GET /projects/{id}/edit: median 3.892ms, worst 4.084ms, budget 150ms
perf: GET /runners/enrol: median 4.944ms, worst 6.6ms, budget 150ms
perf: GET /settings: median 3.531ms, worst 3.731ms, budget 150ms
perf: GET /settings/coordinator: median 5.697ms, worst 5.849ms, budget 150ms
perf: GET /settings/devices: median 3.298ms, worst 3.41ms, budget 150ms
perf: GET /settings/recovery: median 3.362ms, worst 3.421ms, budget 150ms
perf: GET /settings/recovery/release: median 3.406ms, worst 3.539ms, budget 150ms
perf: GET /settings/thinking: median 250µs, worst 267µs, budget 150ms
perf: GET /signin: median 306µs, worst 356µs, budget 150ms
perf: GET /specialists/new: median 3.287ms, worst 3.342ms, budget 150ms
perf: GET /specialists/{key}: median 12.658ms, worst 13.08ms, budget 150ms
perf: GET /specialists/{key}/edit: median 3.991ms, worst 4.032ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 4.181ms, worst 4.368ms, budget 150ms
perf: GET /tasks: median 6.179ms, worst 8.363ms, budget 150ms
perf: GET /tasks/new: median 3.655ms, worst 3.722ms, budget 150ms
perf: GET /tasks/{id}: median 6.36ms, worst 6.628ms, budget 150ms
perf: GET /tasks/{id}/merge: median 5.552ms, worst 5.915ms, budget 150ms
perf: GET /tasks/{id}/move: median 5.058ms, worst 5.135ms, budget 150ms
perf: GET /tasks/{id}/plan: median 5.717ms, worst 5.87ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.484ms, worst 1.629ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.034ms, worst 5.184ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 4.64ms, worst 4.786ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.35ms, worst 4.525ms, budget 150ms
perf: GET /tasks/{id}/thread: median 8.208ms, worst 11.045ms, budget 150ms
perf: GET /team/{specialist}: median 4.489ms, worst 4.703ms, budget 150ms
perf: GET /teams: median 12.446ms, worst 12.699ms, budget 150ms
perf: GET /templates: median 3.837ms, worst 3.981ms, budget 150ms
perf: GET /usage: median 4.607ms, worst 4.744ms, budget 150ms
perf: GET /work: median 3.472ms, worst 3.622ms, budget 150ms
perf: cold boot: median 260ms of [259.033091ms 260.042719ms 260.946894ms], budget 500ms

receipt: test step 47.93s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 81 without tests, 0 failed
receipt: slow package 8.986s amadan.net/oficina/equipo/internal/equipotest
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 package 0s amadan.net/oficina/equipo/internal/attach
receipt: slow test 8.15s amadan.net/oficina/equipo/internal/equipotest TestPerfScreens
receipt: slow test 840ms amadan.net/oficina/equipo/internal/equipotest TestPerfBoot
=== cache ===
ci-box: build cache /home/ci/work/repos/oficina__equipo/cache/go-build: 4.65 GiB in 27684 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 0.84 GiB in 27329 files
ci-box: build cache over 4.0 GiB: dropped 2.24 GiB this job did not read, kept 2.41 GiB
diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt
index c26ac597..903c5162 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 21321 - Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; measured 21321/- source/test lines.
-size internal/wire 6616 - Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; measured 6616/- source/test lines.
+size internal/wire 6626 - Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; measured 6626/- source/test lines.
size internal/equipotest - 13400 Task 21 repairs historical migration and conversation fixtures after Plan 3. Measured 13024 test lines; the 300s time ceiling is unchanged.
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).
@@ -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 31033 - Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; measured 31033/- source/test lines.
+size internal/equipo/chat 31043 - Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; measured 31043/- source/test lines.
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 - 11245 Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; measured -/11245 source/test lines.
-size internal/thintest - 31507 Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; measured -/31507 source/test lines.
+size internal/thintest - 31511 Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; measured -/31511 source/test lines.
perf GET /api/v1/projects/{id}/merge-policy skip Merge authority person API: bearer-only JSON for devices; the browser reads the policy on /projects/{id}.
perf GET /api/v1/usage skip Thin v1 person API: bearer-only JSON for devices; the browser reads usage through /usage.
diff --git a/Makefile b/Makefile
index acec7197..d273c93f 100644
--- a/Makefile
+++ b/Makefile
@@ -265,7 +265,7 @@ direct-release-check:
# binary carries its commit (go version -m), the tool proxy too.
TOOL_PROXY_SHA256 = $$(sha256sum $(RUNNER_RELEASE_DIR)/equipo-tool-proxy | cut -d ' ' -f 1)
GITLEAKS_SHA256 = $$(sha256sum $(RUNNER_RELEASE_DIR)/gitleaks | cut -d ' ' -f 1)
-RELEASE_LDFLAGS = -X amadan.net/oficina/equipo/internal/release.gitleaksSHA256=$(GITLEAKS_SHA256) -s -w -X amadan.net/rastrillo/rastrillo.BuildVersion=$$(git rev-parse --short HEAD) -X amadan.net/oficina/equipo/internal/release.toolProxySHA256=$(TOOL_PROXY_SHA256)
+RELEASE_LDFLAGS = -s -w -X amadan.net/rastrillo/rastrillo.BuildVersion=$$(git rev-parse --short HEAD) -X amadan.net/oficina/equipo/internal/release.toolProxySHA256=$(TOOL_PROXY_SHA256)
release-runner: copy-release-check direct-release-check
@test -z "$$(git ls-files --others --exclude-standard)"
@@ -277,7 +277,7 @@ release-runner: copy-release-check direct-release-check
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -mod=readonly -trimpath -o $(abspath $(RUNNER_RELEASE_DIR))/darwin-arm64/gitleaks github.com/zricethezav/gitleaks/v8
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags "-s -w" -o $(RUNNER_RELEASE_DIR)/equipo-tool-proxy ./cmd/equipo-tool-proxy
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath \
- -ldflags "$(RELEASE_LDFLAGS)" \
+ -ldflags "$(RELEASE_LDFLAGS) -X amadan.net/oficina/equipo/internal/release.gitleaksSHA256=$(GITLEAKS_SHA256)" \
-o $(RUNNER_RELEASE_DIR)/equipo-runner ./cmd/equipo-runner
scripts/no-fake-worker.sh $(RUNNER_RELEASE_DIR)/equipo-runner
@mkdir -p $(RUNNER_RELEASE_DIR)/darwin-arm64
diff --git a/internal/equipo/chat/preview.go b/internal/equipo/chat/preview.go
index b6052fbf..0e2b0ad6 100644
--- a/internal/equipo/chat/preview.go
+++ b/internal/equipo/chat/preview.go
@@ -82,7 +82,7 @@ func (t *txn) schedulePreview(k *taskRecord) error {
}
// authorizePreview decides a preview step's start and each publish check
-// (spec §1.4): the current attempt, on the primary at protocol 27, of a
+// (spec §1.4): the current attempt, on the primary at protocol 28, of a
// task not cancelled, whose newest candidate is the step's and approved,
// whose creator is still an owner; a publish check also needs the
// recorded built digest, and exactly it. Every decision is audited.
@@ -120,10 +120,11 @@ func (t *txn) previewRefusal(l Lease, s *stepRecord, purpose, digest string) (st
if err != nil {
return "", err
}
- found := false
+ found, publicHost := false, false
for _, r := range rs {
if r.ID == l.Runner.RunnerID {
found = true
+ publicHost = r.Hello.Capabilities != nil && r.Hello.Capabilities.PreviewHost != nil && r.Hello.Capabilities.PreviewHost.Kind == wire.PreviewHostCarlokuTemp
if reason, err := t.previewHostAuthority(k.ProjectID, r); reason != "" || err != nil {
return reason, err
}
@@ -149,6 +150,15 @@ func (t *txn) previewRefusal(l Lease, s *stepRecord, purpose, digest string) (st
return "withdrawn", nil
}
}
+ if publicHost && grant.Digest == "" {
+ autonomy, err := t.projectAutonomy(k.ProjectID)
+ if err != nil {
+ return "", err
+ }
+ if !autonomy.PublicPreviewsSince.IsZero() && (p.review.FinishedAt == nil || !p.review.FinishedAt.After(autonomy.PublicPreviewsSince)) {
+ return "withdrawn", nil
+ }
+ }
if purpose != wire.LeasePurposePreview {
return "", nil
}
@@ -163,7 +173,7 @@ func (t *txn) previewRefusal(l Lease, s *stepRecord, purpose, digest string) (st
}
// previewBuilt records a running preview report's export, once per
-// attempt, from the primary at protocol 27.
+// attempt, from the primary at protocol 28.
func previewBuilt(l Lease, role string, s *stepRecord, v *wire.StepReport) bool {
b := v.Preview
if s.Specialist != wire.SpecialistPreview || b == nil || b.Phase != wire.PreviewBuilt || s.Preview != "" || role != wire.RolePrimary || l.Protocol < wire.ProtocolInjectionDefences {
@@ -178,7 +188,7 @@ func previewBuilt(l Lease, role string, s *stepRecord, v *wire.StepReport) bool
}
// acceptPreviewDone judges a preview step's final report: from the
-// primary at protocol 27, for this task's app, the export recorded as
+// primary at protocol 28, for this task's app, the export recorded as
// built, deployed with its URL or unconfirmed. ok false ignores it.
func acceptPreviewDone(l Lease, role string, s *stepRecord, v *wire.StepReport) (string, bool) {
d := v.Preview
diff --git a/internal/equipo/chat/preview_security_test.go b/internal/equipo/chat/preview_security_test.go
index baee7700..5233d677 100644
--- a/internal/equipo/chat/preview_security_test.go
+++ b/internal/equipo/chat/preview_security_test.go
@@ -5,6 +5,7 @@ import (
"fmt"
"gorm.io/gorm"
"testing"
+ "time"
"amadan.net/oficina/equipo/internal/wire"
)
@@ -170,3 +171,28 @@ func TestUnsafePreviewTapBindsOwnerCandidateAndDigest(t *testing.T) {
return err
}))
}
+
+func TestPublicPreviewGrantDoesNotAuthorizeOlderQueuedCandidate(t *testing.T) {
+ r, k, s, l := previewSecurityRig(t)
+ setPreviewHost(r, wire.PreviewHostCarlokuTemp)
+ r.s.authority.Audit = func(*gorm.DB, string, string, string) error { return nil }
+ before := r.now.Add(-time.Second)
+ r.must(r.s.db.G.Model(&stepRecord{}).Where("id='review'").Update("finished_at", before).Error)
+ r.must(r.s.SetProjectAutonomy(r.ctx, hkOwner, k.ProjectID, false, true, 0))
+ r.must(r.tx(func(tx *txn) error {
+ why, err := tx.previewRefusal(l, &s, wire.LeasePurposePreview, digestA)
+ if err == nil && why == "" {
+ t.Fatal("new grant authorized an old queued preview")
+ }
+ return err
+ }))
+ after := r.now.Add(time.Second)
+ r.must(r.s.db.G.Model(&stepRecord{}).Where("id='review'").Update("finished_at", after).Error)
+ r.must(r.tx(func(tx *txn) error {
+ why, err := tx.previewRefusal(l, &s, wire.LeasePurposePreview, digestA)
+ if err == nil && why != "" {
+ t.Fatal("new approval refused", why)
+ }
+ return err
+ }))
+}
diff --git a/internal/equipotest/release_test.go b/internal/equipotest/release_test.go
index 701265d9..cbeff7f2 100644
--- a/internal/equipotest/release_test.go
+++ b/internal/equipotest/release_test.go
@@ -45,7 +45,9 @@ func TestReleaseStampContract(t *testing.T) {
set -eu
if [ "$1" = test ]; then exit 0; fi
if [ "$1" = env ]; then echo go1.26.11; exit 0; fi
-if [ "$1" = version ]; then printf '%s: go1.26.11\n\tbuild\tvcs.revision=%s\n\tbuild\tvcs.modified=false\n' "$3" "$(git rev-parse HEAD)"; exit 0; fi
+if [ "$1" = version ]; then
+case "$3" in */gitleaks) printf '\tmod\tgithub.com/zricethezav/gitleaks/v8\tv8.30.1\th1:fixture\n'; exit 0;; esac
+printf '%s: go1.26.11\n\tbuild\tvcs.revision=%s\n\tbuild\tvcs.modified=false\n' "$3" "$(git rev-parse HEAD)"; exit 0; fi
printf '%s\n' "CGO_ENABLED=$CGO_ENABLED" "GOOS=$GOOS" "GOARCH=$GOARCH" "$@" > "$RELEASE_CAPTURE"
while [ $# -gt 0 ]; do
if [ "$1" = -o ]; then shift; printf 'built %s for %s\n' "$1" "$GOOS/$GOARCH" > "$1"; fi
diff --git a/internal/equipotest/runner_release_test.go b/internal/equipotest/runner_release_test.go
index 873977c3..8cf3afd9 100644
--- a/internal/equipotest/runner_release_test.go
+++ b/internal/equipotest/runner_release_test.go
@@ -96,6 +96,7 @@ func runnerPackagingScenarios(t *testing.T, target string, scenarios []string) {
"systemctl": "#!/bin/sh\nexit 98\n",
"carlos": "#!/bin/sh\nexit 99\n",
}
+ scripts["go"] = strings.Replace(scripts["go"], "version) rev=abc1234;", `version) case "$3" in */gitleaks) printf '\tmod\tgithub.com/zricethezav/gitleaks/v8\tv8.30.1\th1:fixture\n'; exit 0;; esac; rev=abc1234;`, 1)
for name, script := range scripts {
executionMust(t, os.WriteFile(filepath.Join(bin, name), []byte(script), 0700))
}
@@ -160,8 +161,8 @@ func runnerPackagingScenarios(t *testing.T, target string, scenarios []string) {
flags := "-s -w -X amadan.net/rastrillo/rastrillo.BuildVersion=abc1234 -X amadan.net/oficina/equipo/internal/release.toolProxySHA256=" + proxy
for _, build := range []string{
"linux/amd64\nbuild\n-trimpath\n-ldflags\n-s -w\n-o\nreleases/equipo-runner-linux-amd64-abc1234/equipo-tool-proxy\n./cmd/equipo-tool-proxy\n",
- "linux/amd64\nbuild\n-trimpath\n-ldflags\n" + flags + "\n-o\nreleases/equipo-runner-linux-amd64-abc1234/equipo-runner\n",
- "darwin/arm64\nbuild\n-trimpath\n-ldflags\n" + flags + "\n-o\nreleases/equipo-runner-linux-amd64-abc1234/darwin-arm64/equipo-runner\n",
+ "linux/amd64\nbuild\n-trimpath\n-ldflags\n" + flags + " -X amadan.net/oficina/equipo/internal/release.gitleaksSHA256=" + digest(filepath.Join(dir, "gitleaks")) + "\n-o\nreleases/equipo-runner-linux-amd64-abc1234/equipo-runner\n",
+ "darwin/arm64\nbuild\n-trimpath\n-ldflags\n" + flags + " -X amadan.net/oficina/equipo/internal/release.gitleaksSHA256=" + digest(filepath.Join(dir, "darwin-arm64", "gitleaks")) + "\n-o\nreleases/equipo-runner-linux-amd64-abc1234/darwin-arm64/equipo-runner\n",
} {
if !strings.Contains(string(raw), build) {
t.Fatalf("missing build %q in: %s", build, raw)
@@ -192,7 +193,7 @@ func runnerPackagingScenarios(t *testing.T, target string, scenarios []string) {
var install release.InstallManifest
readJSON(filepath.Join(dir, "install-manifest.json"), &install)
runner, mac := digest(filepath.Join(dir, "equipo-runner")), digest(filepath.Join(dir, "darwin-arm64/equipo-runner"))
- if install.Validate("abc1234") != nil || !reflect.DeepEqual(install.Release, shipped) || install.RunnerSHA256 != runner || !reflect.DeepEqual(install.Targets, map[string]release.InstallTarget{release.TargetLinux: {RunnerSHA256: runner, ToolProxySHA256: proxy}, release.TargetDarwin: {RunnerSHA256: mac}}) {
+ if install.Validate("abc1234") != nil || !reflect.DeepEqual(install.Release, shipped) || install.RunnerSHA256 != runner || !reflect.DeepEqual(install.Targets, map[string]release.InstallTarget{release.TargetLinux: {RunnerSHA256: runner, ToolProxySHA256: proxy, GitleaksSHA256: digest(filepath.Join(dir, "gitleaks"))}, release.TargetDarwin: {RunnerSHA256: mac, GitleaksSHA256: digest(filepath.Join(dir, "darwin-arm64", "gitleaks"))}}) {
t.Fatalf("install manifest %+v", install)
}
if _, err := os.Stat(filepath.Join(dir, "evidence")); !os.IsNotExist(err) {
@@ -213,7 +214,7 @@ func runnerPackagingScenarios(t *testing.T, target string, scenarios []string) {
SHA256 map[string]string
}
readJSON(instance+".manifest.json", &made)
- if made.Version != "abc1234" || made.Commit != "abc1234" || made.Go != "go1.26.11" || !reflect.DeepEqual(made.Release, shipped) || !reflect.DeepEqual(made.SHA256, map[string]string{"instance": digest(instance), "runner": runner, "tool_proxy": proxy, "darwin_runner": mac}) {
+ if made.Version != "abc1234" || made.Commit != "abc1234" || made.Go != "go1.26.11" || !reflect.DeepEqual(made.Release, shipped) || !reflect.DeepEqual(made.SHA256, map[string]string{"instance": digest(instance), "runner": runner, "tool_proxy": proxy, "darwin_runner": mac, "gitleaks": digest(filepath.Join(dir, "gitleaks")), "darwin_gitleaks": digest(filepath.Join(dir, "darwin-arm64", "gitleaks"))}) {
t.Fatalf("provenance manifest %+v", made)
}
if _, err := os.Stat(instance + ".evidence"); !os.IsNotExist(err) {
diff --git a/internal/headless/engineering_test.go b/internal/headless/engineering_test.go
index 7084a8f0..6ed30587 100644
--- a/internal/headless/engineering_test.go
+++ b/internal/headless/engineering_test.go
@@ -384,7 +384,7 @@ func scenarioEmptyEngineering(t *testing.T, env *Env) {
if page := forgeShow(t, bare, eng.CandidateSHA+":book.html"); !strings.Contains(page, "<a href=index.html>Back</a>") {
t.Fatalf("book.html %q", page)
}
- if review.State != wire.StepDone || review.Verdict != wire.VerdictApprove || checks.State != wire.StepDone || checks.Checks != wire.ChecksCannotRun || checks.Reason != "base_gate_unavailable" || checks.Gate != "" || checks.ExitCode != nil {
+ if review.State != wire.StepDone || review.Verdict != wire.VerdictApprove || checks.State != wire.StepDone || checks.Checks != wire.ChecksNone || checks.Reason != "" || checks.Gate != "" || checks.ExitCode != nil {
t.Fatalf("review %+v checks %+v", review, checks)
}
if k.Stage != wire.StageReadyToMerge || k.NeedsYou != wire.NeedsMerge || k.Merged != nil {
diff --git a/internal/release/staged_gate_test.go b/internal/release/staged_gate_test.go
index e3ee73a8..538ea2ce 100644
--- a/internal/release/staged_gate_test.go
+++ b/internal/release/staged_gate_test.go
@@ -36,8 +36,10 @@ func TestStagedArtifactsGate(t *testing.T) {
write(instance+".COMMIT", "abc1234full\n")
write(filepath.Join(runner, "equipo-runner"), "runner")
write(filepath.Join(runner, "equipo-tool-proxy"), "proxy")
+ write(filepath.Join(runner, "gitleaks"), "scanner")
must(os.MkdirAll(filepath.Join(runner, "darwin-arm64"), 0700))
write(filepath.Join(runner, "darwin-arm64", "equipo-runner"), "mac runner")
+ write(filepath.Join(runner, "darwin-arm64", "gitleaks"), "mac scanner")
gate := func(verb string, args ...string) error {
return exec.Command("python3", append([]string{filepath.Join(root, "scripts", "staged-artifacts.py"), verb, "abc1234"}, args...)...).Run()
}
@@ -47,7 +49,7 @@ func TestStagedArtifactsGate(t *testing.T) {
released := func(proxy, linux, mac string) {
release := `{"schema":3,"binaries":[{"name":"bwrap","sha256":"` + hash("bwrap") + `"},{"name":"equipo-tool-proxy","sha256":"` + hash(proxy) + `"}]}`
write(filepath.Join(runner, "manifest.json"), release)
- write(filepath.Join(runner, "install-manifest.json"), `{"version":"abc1234","runner_sha256":"`+hash(linux)+`","release":`+release+`,"targets":{"linux/amd64":{"runner_sha256":"`+hash(linux)+`","tool_proxy_sha256":"`+hash(proxy)+`"},"darwin/arm64":{"runner_sha256":"`+hash(mac)+`"}}}`)
+ write(filepath.Join(runner, "install-manifest.json"), `{"gitleaks":"v8.30.1","version":"abc1234","runner_sha256":"`+hash(linux)+`","release":`+release+`,"targets":{"linux/amd64":{"runner_sha256":"`+hash(linux)+`","tool_proxy_sha256":"`+hash(proxy)+`","gitleaks_sha256":"`+hash("scanner")+`"},"darwin/arm64":{"runner_sha256":"`+hash(mac)+`","gitleaks_sha256":"`+hash("mac scanner")+`"}}}`)
}
write(filepath.Join(runner, "COMMIT"), "abc1234full\n")
bin := t.TempDir()
@@ -57,7 +59,15 @@ func TestStagedArtifactsGate(t *testing.T) {
write(vcs, "\tbuild\tvcs.revision="+revision+"\n\tbuild\tvcs.modified="+modified+"\n")
}
built("abc1234full", "false")
- must(os.WriteFile(filepath.Join(bin, "go"), []byte("#!/bin/sh\nif [ \"$1\" = version ]; then echo \"$3: go1.26.11\"; cat "+vcs+"; exit 0; fi\necho go1.26.11\n"), 0700))
+ must(os.WriteFile(filepath.Join(bin, "go"), []byte(`#!/bin/sh
+if [ "$1" = version ]; then
+ case "$3" in */gitleaks) printf '\tmod\tgithub.com/zricethezav/gitleaks/v8\t%s\th1:fixture\n' "${FIXTURE_SCANNER_VERSION:-v8.30.1}"; if [ "${FIXTURE_SCANNER_REPLACED:-}" = yes ]; then printf '\t=>\t./untrusted\n'; fi; exit 0;; esac
+ echo "$3: go1.26.11"
+ cat "`+vcs+`"
+ exit 0
+fi
+echo go1.26.11
+`), 0700))
t.Setenv("PATH", bin+string(os.PathListSeparator)+os.Getenv("PATH"))
// No provenance manifest: nothing verifies, records or deploys.
released("proxy", "runner", "mac runner")
@@ -83,6 +93,16 @@ func TestStagedArtifactsGate(t *testing.T) {
released("proxy", "runner", "mac runner")
write(filepath.Join(runner, "COMMIT"), "abc1234full\n")
}
+ t.Setenv("FIXTURE_SCANNER_VERSION", "v8.30.0")
+ if gate("manifest") == nil {
+ t.Fatal("scanner from another module version accepted")
+ }
+ t.Setenv("FIXTURE_SCANNER_VERSION", "v8.30.1")
+ t.Setenv("FIXTURE_SCANNER_REPLACED", "yes")
+ if gate("manifest") == nil {
+ t.Fatal("locally replaced scanner source accepted")
+ }
+ t.Setenv("FIXTURE_SCANNER_REPLACED", "")
// A binary that names another commit, a modified tree, or nothing at
// all about where it came from, records nothing.
for name, change := range map[string]func(){
@@ -108,11 +128,11 @@ func TestStagedArtifactsGate(t *testing.T) {
raw, err := os.ReadFile(instance + ".manifest.json")
must(err)
must(json.Unmarshal(raw, &made))
- if made.Version != "abc1234" || made.Commit != "abc1234full" || made.Go != "go1.26.11" || made.SHA256["instance"] != hash("instance") || made.SHA256["runner"] != hash("runner") || made.SHA256["tool_proxy"] != hash("proxy") || made.SHA256["darwin_runner"] != hash("mac runner") {
+ if made.Version != "abc1234" || made.Commit != "abc1234full" || made.Go != "go1.26.11" || made.SHA256["instance"] != hash("instance") || made.SHA256["runner"] != hash("runner") || made.SHA256["tool_proxy"] != hash("proxy") || made.SHA256["darwin_runner"] != hash("mac runner") || made.SHA256["gitleaks"] != hash("scanner") || made.SHA256["darwin_gitleaks"] != hash("mac scanner") {
t.Fatalf("provenance manifest %s", raw)
}
// Each artifact is held to the build that recorded it.
- for _, path := range []string{instance, filepath.Join(runner, "equipo-runner"), filepath.Join(runner, "equipo-tool-proxy"), filepath.Join(runner, "darwin-arm64", "equipo-runner")} {
+ for _, path := range []string{instance, filepath.Join(runner, "equipo-runner"), filepath.Join(runner, "equipo-tool-proxy"), filepath.Join(runner, "darwin-arm64", "equipo-runner"), filepath.Join(runner, "gitleaks"), filepath.Join(runner, "darwin-arm64", "gitleaks")} {
kept, err := os.ReadFile(path)
must(err)
write(path, "rebuilt")
@@ -154,6 +174,7 @@ func TestStagedArtifactsGate(t *testing.T) {
t.Fatal("deploy allowed with a Mac runner other than the recorded one")
}
write(filepath.Join(runner, "darwin-arm64", "equipo-runner"), "mac runner")
+ write(filepath.Join(runner, "darwin-arm64", "gitleaks"), "mac scanner")
must(gate("check"))
write(instance, "rebuilt instance")
if gate("check") == nil {
diff --git a/internal/thintest/assistant_team_contract_test.go b/internal/thintest/assistant_team_contract_test.go
index bc783448..689510ea 100644
--- a/internal/thintest/assistant_team_contract_test.go
+++ b/internal/thintest/assistant_team_contract_test.go
@@ -570,6 +570,7 @@ func TestContractTeamStatus(t *testing.T) {
o.built("s-pv-built", pv, digestA)
link := "https://eq-" + id + ".docs-t1.example.ts.net/"
o.previewDone("s-pv-done", pv, wire.PreviewResult{Phase: wire.PreviewDone, App: "eq-" + id, URL: link, Digest: digestA, Outcome: wire.PreviewDeployed})
+ link = o.inst.URL + "/tasks/" + id + "/preview"
previewed := one("preview")
if !strings.Contains(previewed, strings.ReplaceAll(equipo.RunnerCopy("assistant.team.preview"), "%s", link)) {
t.Fatalf("with the preview %q", previewed)
diff --git a/internal/thintest/explore_contract_test.go b/internal/thintest/explore_contract_test.go
index c6310b51..ffe91e5e 100644
--- a/internal/thintest/explore_contract_test.go
+++ b/internal/thintest/explore_contract_test.go
@@ -199,7 +199,10 @@ func TestExploreTryAgain(t *testing.T) {
t.Fatal(err)
}
d := r.dispatched(wire.SpecialistEngineering, candX, "", 1)
- for _, s := range []string{d.Brief, d.Feedback} {
+ if strings.Contains(d.Brief, "Make the booking button bigger.") {
+ t.Fatal("person note in coordinator brief", d.Brief)
+ }
+ for _, s := range []string{d.Feedback} {
if !strings.Contains(s, "Make the booking button bigger.") {
t.Fatalf("the note is missing: %q", s)
}
diff --git a/internal/thintest/publish_contract_test.go b/internal/thintest/publish_contract_test.go
index c2aace7a..3895273e 100644
--- a/internal/thintest/publish_contract_test.go
+++ b/internal/thintest/publish_contract_test.go
@@ -131,7 +131,7 @@ func TestContractPublishSite(t *testing.T) {
if after.PreviewURL != link || after.Revision <= card.Revision || after.State != wire.CardOpen {
t.Fatalf("merge card after the preview %+v", after)
}
- if k, _ := r.client.Task(ctx, id); k.PreviewURL != link || k.Site != nil {
+ if k, _ := r.client.Task(ctx, id); k.PreviewURL != r.inst.URL+"/tasks/"+id+"/preview" || k.Site != nil {
t.Fatalf("task preview %q site %+v", k.PreviewURL, k.Site)
}
r.mergeFromCard("w-m", id, base, cand, merged)
diff --git a/internal/thintest/review_contract_test.go b/internal/thintest/review_contract_test.go
index 2b921896..964ed1fc 100644
--- a/internal/thintest/review_contract_test.go
+++ b/internal/thintest/review_contract_test.go
@@ -91,7 +91,7 @@ func TestContractReviewAndChecks(t *testing.T) {
r.verdict("a-r1", rv1, wire.VerdictChanges, wire.Finding{Text: "The second typo is still there.", Path: "README.md", Line: 7}, wire.Finding{Text: "Bad path", Path: "../x", Line: 3})
// One automatic fix round, on top of the candidate, with what review found.
fix := r.dispatched(wire.SpecialistEngineering, cand, "", 1)
- if fix.StepID == eng.StepID || !strings.Contains(fix.Brief, `Review finding: "The second typo is still there."`) || !strings.Contains(fix.Brief, `Review path: "README.md", line 7`) || !strings.Contains(fix.Brief, "Fix round 1 of 2") {
+ if strings.Contains(fix.Brief, "Review finding:") || fix.StepID == eng.StepID || !strings.Contains(fix.Feedback, `Review finding: "The second typo is still there."`) || !strings.Contains(fix.Feedback, `Review path: "README.md"`) || !strings.Contains(fix.Feedback, "Review line: 7") || !strings.Contains(fix.Feedback, "Fix round 1 of 2") {
t.Fatalf("fix round %+v", fix)
}
// This runner speaks wire.ProtocolMergeFacts, past ProtocolSpend: the
diff --git a/internal/wire/runners.go b/internal/wire/runners.go
index a3a67647..0d47dfb5 100644
--- a/internal/wire/runners.go
+++ b/internal/wire/runners.go
@@ -608,6 +608,16 @@ func Encode(f Frame, protocol int) (Frame, error) {
}
changed := false
if protocol < ProtocolInjectionDefences {
+ // Older runners consume fix-round context from Brief, including runners
+ // that predate the separate Feedback field. Protocol 28 keeps sources apart.
+ if d, ok := body.(*DispatchCommand); ok && d.Feedback != "" && !strings.HasSuffix(d.Brief, d.Feedback) {
+ d.Brief = strings.TrimSpace(d.Brief + "\n\n" + d.Feedback)
+ if len(d.Brief) > MaxTaskBrief+4000 {
+ d.Brief = strings.ToValidUTF8(d.Brief[:MaxTaskBrief+4000], "")
+ }
+ changed = true
+ }
+
if d, ok := body.(*DispatchCommand); ok && d.PreviewUnsafeDigest != "" {
return Frame{}, ErrProtocol
}
diff --git a/internal/wire/runners_test.go b/internal/wire/runners_test.go
index 0a515260..30fc973b 100644
--- a/internal/wire/runners_test.go
+++ b/internal/wire/runners_test.go
@@ -215,7 +215,7 @@ func TestEncodeProtocol2DropsProtocol3Fields(t *testing.T) {
kind string
new, prev any
}{
- {wire.FrameDispatch, wire.DispatchCommand{TaskID: "tk", Round: 1, Findings: []wire.Finding{}, Feedback: "Fix round 1 of 2."}, wire.DispatchCommand{TaskID: "tk", Round: 1, Findings: []wire.Finding{}}},
+ {wire.FrameDispatch, wire.DispatchCommand{TaskID: "tk", Round: 1, Brief: "Fix round 1 of 2.", Findings: []wire.Finding{}, Feedback: "Fix round 1 of 2."}, wire.DispatchCommand{TaskID: "tk", Round: 1, Brief: "Fix round 1 of 2.", Findings: []wire.Finding{}}},
{wire.FrameStep, wire.StepReport{TaskID: "tk", Findings: []wire.Finding{}, Usage: row(&n)}, wire.StepReport{TaskID: "tk", Findings: []wire.Finding{}, Usage: row(nil)}},
{wire.FrameAnswer, wire.AnswerReport{TaskID: "tk", Usage: row(&n)}, wire.AnswerReport{TaskID: "tk", Usage: row(nil)}},
{wire.FrameReply, wire.Reply{TurnID: "t", Usage: row(&n)}, wire.Reply{TurnID: "t", Usage: row(nil)}},
diff --git a/scripts/runner-reference-allowlist.json b/scripts/runner-reference-allowlist.json
index 750b3d34..145bc855 100644
--- a/scripts/runner-reference-allowlist.json
+++ b/scripts/runner-reference-allowlist.json
@@ -10765,20 +10765,6 @@
"count": 1,
"reason": "Retained runner executable, versioned package or user-service path in release tooling, tests or operator steps."
},
- {
- "path": "internal/equipotest/runner_release_test.go",
- "line_sha256": "72384b1726946435f0aabd45721188778f25c27460d6e96cb96aa7c653292f39",
- "match": "equipo-runner",
- "count": 2,
- "reason": "Retained runner executable, versioned package or user-service path in release tooling, tests or operator steps."
- },
- {
- "path": "internal/equipotest/runner_release_test.go",
- "line_sha256": "a6432e63fc28f8f4e5a1bfa61ac10237b487957a863e5fd32575b4c5ee78440c",
- "match": "equipo-runner",
- "count": 2,
- "reason": "Retained runner executable, versioned package or user-service path in release tooling, tests or operator steps."
- },
{
"path": "internal/equipotest/runner_release_test.go",
"line_sha256": "c526d09f478da0741cb54c0552f72ae9bd573ad84304ba44b18536697bd7cd08",
@@ -10793,13 +10779,6 @@
"count": 2,
"reason": "Retained runner executable, versioned package or user-service path in release tooling, tests or operator steps."
},
- {
- "path": "internal/release/staged_gate_test.go",
- "line_sha256": "79175196924f96b646244d59df2fb01c1c629a011aef5e9e62612f2df2d445ab",
- "match": "equipo-runner",
- "count": 2,
- "reason": "Retained runner executable, versioned package or user-service path in release tooling, tests or operator steps."
- },
{
"path": "scripts/staging-thin.py",
"line_sha256": "a49ce06a450f90914fc9fe850620b0ea1b32fb6bb2eb78a25972a7689b2724f1",
@@ -15832,5 +15811,26 @@
"match": "equipo-runner",
"count": 1,
"reason": "Fable follow-up: pinned runner scanner packaging and existing runtime integration."
+ },
+ {
+ "path": "internal/equipotest/runner_release_test.go",
+ "line_sha256": "1ac32b594199d307cb8e269de100234f5f8ffdb3fe4efe7020bfb850e2529cfa",
+ "match": "equipo-runner",
+ "count": 2,
+ "reason": "Fable follow-up: pinned runner scanner packaging and existing runtime integration."
+ },
+ {
+ "path": "internal/equipotest/runner_release_test.go",
+ "line_sha256": "e6f07488e08f305e74fa59a0fba1f2c1b736eb17387533fe2bdd4be09e7fba43",
+ "match": "equipo-runner",
+ "count": 2,
+ "reason": "Fable follow-up: pinned runner scanner packaging and existing runtime integration."
+ },
+ {
+ "path": "internal/release/staged_gate_test.go",
+ "line_sha256": "fb9169abfe7d706c7c0f4d4a42ef768456cfd6be1f1c1ff9da04af0e67a28a72",
+ "match": "equipo-runner",
+ "count": 2,
+ "reason": "Fable follow-up: pinned runner scanner packaging and existing runtime integration."
}
]
diff --git a/scripts/staged-artifacts.py b/scripts/staged-artifacts.py
index 12175cbe..59e2ae50 100755
--- a/scripts/staged-artifacts.py
+++ b/scripts/staged-artifacts.py
@@ -43,6 +43,8 @@ def artifacts(version, instance=None):
'instance': Path(instance) if instance else ROOT / 'releases' / f'equipo-linux-arm64-{version}',
'runner': runner / 'equipo-runner',
'tool_proxy': runner / 'equipo-tool-proxy',
+ 'gitleaks': runner / 'gitleaks',
+ 'darwin_gitleaks': runner / 'darwin-arm64' / 'gitleaks',
# Both targets (Mac runners spec 3.1): the Mac worker's bytes are
# part of what production receives.
'darwin_runner': runner / 'darwin-arm64' / 'equipo-runner',
@@ -82,6 +84,17 @@ def built_from(path, commit):
return bool(commit) and info.get('vcs.revision') == commit and info.get('vcs.modified') == 'false'
+def scanner_from_pin(path):
+ """Third-party scanners name their pinned module, not Equipo's commit."""
+ try:
+ out = subprocess.run(['go', 'version', '-m', str(path)], capture_output=True, text=True, check=True).stdout
+ except (OSError, subprocess.CalledProcessError):
+ return False
+ records = [line.strip().split() for line in out.splitlines()]
+ return (any(row[:3] == ['mod', 'github.com/zricethezav/gitleaks/v8', 'v8.30.1'] for row in records)
+ and not any(row and row[0] == '=>' for row in records))
+
+
def self_consistent(version, sums, commit):
"""The runner release names its own bytes: one build, one set of digests."""
runner = ROOT / 'releases' / f'equipo-runner-linux-amd64-{version}'
@@ -91,9 +104,10 @@ def self_consistent(version, sums, commit):
proxies = [b['sha256'] for b in release['binaries'] if b['name'] == 'equipo-tool-proxy']
targets = install['targets']
return (proxies == [sums['tool_proxy']] and install['release'] == release and install['version'] == version
+ and install['gitleaks'] == 'v8.30.1'
and install['runner_sha256'] == sums['runner']
- and targets['linux/amd64'] == {'runner_sha256': sums['runner'], 'tool_proxy_sha256': sums['tool_proxy']}
- and targets['darwin/arm64'] == {'runner_sha256': sums['darwin_runner']}
+ and targets['linux/amd64'] == {'runner_sha256': sums['runner'], 'tool_proxy_sha256': sums['tool_proxy'], 'gitleaks_sha256': sums['gitleaks']}
+ and targets['darwin/arm64'] == {'runner_sha256': sums['darwin_runner'], 'gitleaks_sha256': sums['darwin_gitleaks']}
and (runner / 'COMMIT').read_text().strip() == commit), release
except (OSError, ValueError, KeyError, TypeError):
return False, None
@@ -137,7 +151,7 @@ def main():
print(f'refused: the {version} runner release does not name its own bytes', file=sys.stderr)
return 1
for name, path in artifacts(version, instance).items():
- if not built_from(path, commit):
+ if not (scanner_from_pin(path) if name in ('gitleaks', 'darwin_gitleaks') else built_from(path, commit)):
print(f'refused: the {name} binary does not say it was built from {commit}, unmodified', file=sys.stderr)
return 1
go = subprocess.run(['go', 'env', 'GOVERSION'], capture_output=True, text=True, check=True).stdout.strip()