oficina / equipo Public

runner: authorize bound steps right before each model launch

Astra's task 16 review, round 2.

Research: the step was authorized before its first fetch pass and
before each retry, but not between the last successful pass and the
model's launch, so a grant lost during that pass (an approver demoted)
still started the model. research() now asks the instance (e.lease)
immediately before researchModel() and ends the step cancelled with the
lease's reason on a refusal; the model never runs.

Design and any specialist-bound maker step had the same gap: authorized
before the fetch and the tree's checkout, then launched later. Exec now
asks e.lease immediately before every launch of a bound attempt (the
first, a resume and each failover attempt) and cancels on a refusal.
After a provider failover it still first waits for the instance to ack
the step's queued reports (attemptSynced, was reauthorize), so the
instance knows the attempt it is asked about. Engineering steps without
a binding keep today's behaviour.

Test: TMPDIR=<short> CGO_ENABLED=0 go test ./internal/runner/thin/
  -run 'TestResearchAuthorized|TestDesignAuthorizedRightBeforeLaunch|
  TestBoundFailover'
- TestResearchAuthorizedRightBeforeTheModel: one successful fetch pass;
  asked before passes [0 1]; refused at the second ask, the step is
  cancelled/withdrawn and the model ran 0 times; granted, it runs once.
- TestDesignAuthorizedRightBeforeLaunch: the second ask comes with the
  tree prepared; refused, the step is cancelled/withdrawn, not pushed,
  and no namespace is recorded (nothing launched).
- TestBoundFailoverIsAuthorizedAgain now expects ds7/1 ds7/1 ds7/2, and
  exactly en7/1 for unbound Engineering.
RED: Research asked only before passes [0] and the model ran; Design
without the pre-launch check launched and pushed despite the refusal.
GREEN: ok; thin -run 'Step|Engineer|Pi|Copy|Fix|Limit|Refus|Failover|
Switch|Schedule|Hold|Kept|Design|Render|Lease|Link|Research|Handshake'
ok (148 s); darwin build and vet gates ok; budget thin 31605/27625.

Mutations (each restored), all killed: no check before the Research
model; its refusal ignored; no check before a bound launch and its
refusal ignored (each killed by TestDesignAuthorizedRightBeforeLaunch
alone and by the failover test); every step checked before launch
(first survived: the Engineering assertion now requires exactly en7/1);
failover without waiting for the ack; the ack check ignoring the step;
attemptSynced returning unsynced.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 7eb9edaac183dd0ce49e3572f4d41e675cac6359 parent af97845
6 files changed, +98 −16
  • .rastrillo/budgets.txt +1 −1
  • internal/runner/thin/design_step.go +9 −9
  • internal/runner/thin/design_step_test.go +34 −2
  • internal/runner/thin/engineer.go +12 −4
  • internal/runner/thin/research.go +6 −0
  • internal/runner/thin/research_step_test.go +36 −0

CI failed — 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/specialists-slice-1: Type  Size Avail | ext4   96G   84G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   84G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 1.3s
ci-box: codex: fetched and verified in 3.4s
ci-box: codex-code-mode-host: fetched and verified in 1.2s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.3s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.9s
ci-box: pi: installed and verified in 7.5s
ci-box: opencode: installed and verified in 1.9s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.8s
ci-box: clone deepened in 4.9s
ci-box: file times set from content: 3393 files, 222 directories
ci-box: ready in 18.2s
=== 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.155s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  6.5s
+ go list -export -test -tags testbuild -f  ./...
  6.1s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/equipotest ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  3.7s
rastrillo: budget size: 3 problem(s)
exit status 1
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -version
staticcheck 2026.1 (v0.7.0)
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 -version
Go: go1.26.11
Scanner: govulncheck@v1.8.0
DB: https://vuln.go.dev
DB updated: 2026-11-24 15:56:00 +0000 UTC

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

receipt: test step 1m25.419s 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.176s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m22.18s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 86.77, cpu waiting 47.52%, memory waiting 0.00%, io waiting 0.37%
--- 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 1m25.707s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m23.392s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m23.39s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 86.87, cpu waiting 47.73%, memory waiting 0.00%, io waiting 0.36%
--- 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 1m26.238s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m23.125s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m12.17s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.9s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 5.05s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 86.87, cpu waiting 47.52%, memory waiting 0.00%, io waiting 0.37%
--- 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 1m22.414s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m19.403s amadan.net/oficina/equipo/internal/headless
receipt: slow test 39.42s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 21.51s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.27s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
receipt: slow test 9.2s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
machine: 32 CPUs, load 86.77, cpu waiting 47.42%, memory waiting 0.00%, io waiting 0.40%
--- shard 4 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-guards: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_step_refused$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless

receipt: test step 1m41.658s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m38.871s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m8.35s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.72s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 8.55s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 7.42s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 4.83s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 74.92, cpu waiting 44.23%, memory waiting 0.00%, io waiting 0.28%
--- shard 5 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-rest: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestHeadless$/^4c_rebase$|^TestHeadless$/^4b_ask$|^TestHeadless$/^4c_checks_card$|^TestHeadless$/^4_step_crash$|^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$|^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$|^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$|^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_step_refused$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless

receipt: test step 3m5.428s 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 3m2.382s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m44.88s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 20.35s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.24s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 7.69s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistantAttachments
receipt: slow test 6.79s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 26.80, cpu waiting 11.85%, memory waiting 0.00%, io waiting 0.06%
--- 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 2m21.112s 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 2m18.877s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 10.1s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.79s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 6.09s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 4.04s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 2.95s amadan.net/oficina/equipo/internal/thintest TestContractTeamUpdatePersonNeeds
machine: 32 CPUs, load 47.80, cpu waiting 24.38%, memory waiting 0.00%, io waiting 0.14%
--- 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 2m1.284s 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 1m58.221s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.61s amadan.net/oficina/equipo/internal/thintest TestContractRetryPreviewUnverifiedMerge
receipt: slow test 9.12s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 4.98s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.58s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 3s amadan.net/oficina/equipo/internal/thintest TestContractPausedJob
machine: 32 CPUs, load 60.75, cpu waiting 33.35%, memory waiting 0.00%, io waiting 0.20%
--- 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
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/runner/thin TestSnapshotRefusesASelfResumingWriter
=== RUN   TestSnapshotRefusesASelfResumingWriter
    worksnap_adversary_linux_test.go:232: 0 of 5 copies saw the page change; 0 refused busy
    worksnap_adversary_linux_test.go:234: the self-resuming writer never wrote during a copy: the test proves nothing
--- FAIL: TestSnapshotRefusesASelfResumingWriter (0.77s)

--- FAIL amadan.net/oficina/equipo/internal/runner/thin (package output)
FAIL
rastrillo-budget/v1 ran 5m32.724s
FAIL	amadan.net/oficina/equipo/internal/runner/thin	332.814s


receipt: test step 5m34.706s 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 5m32.724s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 37.06s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.91s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.85s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.51s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 9.96s amadan.net/oficina/equipo/internal/runner/thin TestTimeoutKeepsNothingForAnOlderInstance
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestSnapshotRefusesASelfResumingWriter$' -count=1 ./internal/runner/thin   (retry, once)
FAILED TWICE ./internal/runner/thin:TestSnapshotRefusesASelfResumingWriter runner-thin
=== RUN   TestSnapshotRefusesASelfResumingWriter
    worksnap_adversary_linux_test.go:232: 0 of 5 copies saw the page change; 0 refused busy
    worksnap_adversary_linux_test.go:234: the self-resuming writer never wrote during a copy: the test proves nothing
--- FAIL: TestSnapshotRefusesASelfResumingWriter (0.77s)
FAIL
rastrillo-budget/v1 ran 775ms
FAIL	amadan.net/oficina/equipo/internal/runner/thin	0.787s
FAIL
machine: 32 CPUs, load 3.71, cpu waiting 0.93%, memory waiting 0.00%, io waiting 0.00%
make: *** [Makefile:113: ci-shard] Error 1

amadan: step check shard 8 of 29 failed: exit status 2
--- shard 9 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-bug: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$' ./internal/runner

receipt: test step 51.822s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 50.698s amadan.net/oficina/equipo/internal/runner
receipt: slow test 30.67s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 70.05, cpu waiting 35.52%, memory waiting 0.00%, io waiting 0.66%
--- 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 1m5.954s 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.339s amadan.net/oficina/equipo/internal/runner
receipt: slow test 54.35s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 46.91s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.4s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.57s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 83.05, cpu waiting 43.72%, memory waiting 0.00%, io waiting 0.52%
--- shard 11 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-rest: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$|^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner

receipt: test step 36.735s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 35.717s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.14s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.31s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.14s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 3.12s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 48.13, cpu waiting 23.74%, memory waiting 0.00%, io waiting 0.84%
--- 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 42.2%, load 39.17
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 1m13.023s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m10.628s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 30.96s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 30.91s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 28.24s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 25.44s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 25.33s amadan.net/oficina/equipo/internal/equipotest TestAuthorityProjectKinds
machine: 32 CPUs, load 74.92, cpu waiting 43.37%, memory waiting 0.00%, io waiting 0.27%
--- 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 40.3%, load 33.44
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 2m18.083s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 2m15.834s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 21.38s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 21.36s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 21.34s amadan.net/oficina/equipo/internal/equipotest TestProjectBindingUniqueness
receipt: slow test 21.3s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 21.27s amadan.net/oficina/equipo/internal/equipotest TestProjectsAccountRevisionAndValidation
machine: 32 CPUs, load 35.79, cpu waiting 15.46%, memory waiting 0.00%, io waiting 0.08%
--- shard 14 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-r started 30s late; cpu waiting 40.3%, load 33.44
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
budget note: internal/equipotest took 5m36.478s, over the 5m0s its record on line 15 allows; reported only, timing fails on CI

receipt: test step 5m42.455s 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 5m36.478s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 4m43.36s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.04s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.01s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 9.95s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 6.92s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 2.49, cpu waiting 0.51%, memory waiting 0.00%, io waiting 0.00%
--- 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 42.2%, load 39.17
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 1m12.053s 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 1m9.697s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 27.7s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 27.67s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 27.42s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 25.66s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedAuditRollback
receipt: slow test 25.59s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
machine: 32 CPUs, load 74.92, cpu waiting 43.37%, memory waiting 0.00%, io waiting 0.27%
--- shard 16 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: plan3test started 30s late; cpu waiting 40.3%, load 33.44
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
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/plan3test TestPlan3ReleaseBoundaries
=== RUN   TestPlan3ReleaseBoundaries
--- FAIL: TestPlan3ReleaseBoundaries (0.33s)

--- FAIL amadan.net/oficina/equipo/internal/plan3test TestPlan3ReleaseBoundaries/inventory
=== RUN   TestPlan3ReleaseBoundaries/inventory
    plan3_release_test.go:22: entry has no copy review status or applicable acceptance chat.specialist.capability.branch.edit
--- FAIL: TestPlan3ReleaseBoundaries/inventory (0.02s)

--- FAIL amadan.net/oficina/equipo/internal/plan3test (package output)
FAIL
rastrillo-budget/v1 ran 56.876s
FAIL	amadan.net/oficina/equipo/internal/plan3test	57.183s


receipt: test step 58.876s 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 56.876s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 4.2s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.62s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.78s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.69s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.44s amadan.net/oficina/equipo/internal/plan3test TestPersonAPIMigrationUpgrade
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestPlan3ReleaseBoundaries$/^inventory$' -count=1 ./internal/plan3test   (retry, once)
FAILED TWICE ./internal/plan3test:TestPlan3ReleaseBoundaries/inventory plan3test
=== RUN   TestPlan3ReleaseBoundaries
=== RUN   TestPlan3ReleaseBoundaries/inventory
    plan3_release_test.go:22: entry has no copy review status or applicable acceptance chat.specialist.capability.branch.edit
--- FAIL: TestPlan3ReleaseBoundaries (0.02s)
    --- FAIL: TestPlan3ReleaseBoundaries/inventory (0.02s)
FAIL
rastrillo-budget/v1 ran 21ms
FAIL	amadan.net/oficina/equipo/internal/plan3test	0.225s
FAIL
machine: 32 CPUs, load 83.68, cpu waiting 47.25%, memory waiting 0.00%, io waiting 0.35%
make: *** [Makefile:113: ci-shard] Error 1

amadan: step check shard 16 of 29 failed: exit status 2
--- 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 42.2%, load 39.17
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/diffscan ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/door ./internal/equipo/github ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/release/renderertest ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/designstep ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/pause ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/claude/realcli ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/render ./internal/runner/renderpage ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/forgekey ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/diffscan ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/door ./internal/equipo/github ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/release/renderertest ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/designstep ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/pause ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/claude/realcli ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/render ./internal/runner/renderpage ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/forgekey ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/chatmarkdown: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
--- FAIL amadan.net/oficina/equipo/internal/runner/pause TestHoldStopsEveryWriter
=== RUN   TestHoldStopsEveryWriter
    pause_linux_test.go:238: Hold: sandbox could not be paused in time (called false)
    pause_linux_test.go:69: sandbox stderr: 
--- FAIL: TestHoldStopsEveryWriter (0.24s)

--- FAIL amadan.net/oficina/equipo/internal/runner/pause TestHoldStopsANamespaceJoiner
=== RUN   TestHoldStopsANamespaceJoiner
    pause_linux_test.go:503: sandbox could not be paused in time
    pause_linux_test.go:69: sandbox stderr: 
--- FAIL: TestHoldStopsANamespaceJoiner (7.00s)

--- FAIL amadan.net/oficina/equipo/internal/runner/pause TestHoldStopsAReparentedDaemon
=== RUN   TestHoldStopsAReparentedDaemon
    pause_linux_test.go:603: daemon made no progress in 2s
    pause_linux_test.go:69: sandbox stderr: 
--- FAIL: TestHoldStopsAReparentedDaemon (2.35s)

--- FAIL amadan.net/oficina/equipo/internal/runner/pause (package output)
FAIL
FAIL	amadan.net/oficina/equipo/internal/runner/pause	12.600s

--- FAIL amadan.net/oficina/equipo/internal/testci TestBudgetRecordsAreShort
=== RUN   TestBudgetRecordsAreShort
    budgets_file_test.go:37: .rastrillo/budgets.txt:17: reason is 201 bytes, over 200
    budgets_file_test.go:37: .rastrillo/budgets.txt:41: reason is 381 bytes, over 200
    budgets_file_test.go:37: .rastrillo/budgets.txt:59: reason is 293 bytes, over 200
    budgets_file_test.go:37: .rastrillo/budgets.txt:74: reason is 249 bytes, over 200
--- FAIL: TestBudgetRecordsAreShort (0.00s)

--- FAIL amadan.net/oficina/equipo/internal/testci (package output)
FAIL
rastrillo-budget/v1 ran 1.786s
FAIL	amadan.net/oficina/equipo/internal/testci	1.799s

budget: amadan.net/oficina/equipo/internal/runner/designstep ran tests but printed no time: add func TestMain(m *testing.M) { os.Exit(budget.Main(m)) }
budget note: internal/equipo took 2m38.304s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 34.174s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/github took 42.314s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/setup took 12.284s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/idtest took 2m1.268s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 49.438s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/containment took 1m6.136s, over the 15s its record on line 40 allows; reported only, timing fails on CI
budget note: internal/runner/forge took 28.122s, over the 20s its record on line 35 allows; reported only, timing fails on CI
budget note: internal/runner/provider/claude/realcli took 16.037s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/provider/pi took 1m19.441s, over the 1m0s its record on line 27 allows; reported only, timing fails on CI
budget note: internal/runner/render took 1m29.336s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 2m44.882s against a 60s target (the gate's other steps are not in this figure)
receipt: 54 packages ran, 17 cached, 17 without tests, 2 failed
receipt: slow package 2m38.304s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 2m1.268s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 1m29.336s amadan.net/oficina/equipo/internal/runner/render
receipt: slow package 1m19.441s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 1m6.137s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow test 55.68s amadan.net/oficina/equipo/internal/idtest TestDoorRemembersOficinaID
receipt: slow test 50.29s amadan.net/oficina/equipo/internal/runner/render TestLaunchNeverClaimsAnUnprovenEnd
receipt: slow test 49.06s amadan.net/oficina/equipo/internal/idtest TestDoorNeverJudgesANativeSession
receipt: slow test 48.73s amadan.net/oficina/equipo/internal/idtest TestDoorOficinaSettingsUnreadableIsNoLoop
receipt: slow test 48.54s amadan.net/oficina/equipo/internal/idtest TestDoorStepUpIsLocal
rastrillo: budget test: go test failed
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestHoldStopsANamespaceJoiner$|^TestHoldStopsAReparentedDaemon$|^TestHoldStopsEveryWriter$' -count=1 ./internal/runner/pause   (retry, once)
FAILED TWICE ./internal/runner/pause:TestHoldStopsANamespaceJoiner rest
FAILED TWICE ./internal/runner/pause:TestHoldStopsAReparentedDaemon rest
FAILED TWICE ./internal/runner/pause:TestHoldStopsEveryWriter rest
=== RUN   TestHoldStopsEveryWriter
--- PASS: TestHoldStopsEveryWriter (0.32s)
=== RUN   TestHoldStopsANamespaceJoiner
--- PASS: TestHoldStopsANamespaceJoiner (0.32s)
=== RUN   TestHoldStopsAReparentedDaemon
    pause_linux_test.go:603: daemon made no progress in 2s
    pause_linux_test.go:69: sandbox stderr: 
--- FAIL: TestHoldStopsAReparentedDaemon (2.31s)
FAIL
FAIL	amadan.net/oficina/equipo/internal/runner/pause	2.960s
FAIL
+ go test -tags testbuild -timeout 15m -v -run '^TestBudgetRecordsAreShort$' -count=1 ./internal/testci   (retry, once)
FAILED TWICE ./internal/testci:TestBudgetRecordsAreShort rest
=== RUN   TestBudgetRecordsAreShort
    budgets_file_test.go:37: .rastrillo/budgets.txt:17: reason is 201 bytes, over 200
    budgets_file_test.go:37: .rastrillo/budgets.txt:41: reason is 381 bytes, over 200
    budgets_file_test.go:37: .rastrillo/budgets.txt:59: reason is 293 bytes, over 200
    budgets_file_test.go:37: .rastrillo/budgets.txt:74: reason is 249 bytes, over 200
--- FAIL: TestBudgetRecordsAreShort (0.00s)
FAIL
rastrillo-budget/v1 ran 0s
FAIL	amadan.net/oficina/equipo/internal/testci	0.004s
FAIL
machine: 32 CPUs, load 23.13, cpu waiting 9.38%, memory waiting 0.00%, io waiting 0.05%
make: *** [Makefile:113: ci-shard] Error 1

amadan: step check shard 17 of 29 failed: exit status 2
--- shard 18 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-chat: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' ./internal/headless

receipt: test step 1m27.752s 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 1m25.488s amadan.net/oficina/equipo/internal/headless
receipt: slow test 39.1s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 14.97s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 10.66s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.58s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 7.16s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 86.87, cpu waiting 47.25%, memory waiting 0.00%, io waiting 0.35%
--- 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-29T00:48:09.677Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-29T00:48:09.677Z level=INFO msg="startup phase done" phase=state_lock took=86µs
time=2026-11-29T00:48:09.677Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-29T00:48:09.677Z level=INFO msg="startup phase done" phase=claim_roots took=101µs
time=2026-11-29T00:48:09.677Z level=INFO msg="startup phase" phase=sweep
time=2026-11-29T00:48:09.720Z level=INFO msg="startup phase done" phase=sweep took=42.781ms
time=2026-11-29T00:48:09.720Z level=INFO msg="startup phase" phase=credentials
time=2026-11-29T00:48:09.720Z level=INFO msg="startup phase done" phase=credentials took=106µs
time=2026-11-29T00:48:09.720Z level=INFO msg="startup phase" phase=open_state
time=2026-11-29T00:48:09.766Z level=INFO msg="startup phase done" phase=open_state took=45.865ms
time=2026-11-29T00:48:09.767Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-29T00:48:09.768Z level=INFO msg=connecting host=127.0.0.1:39247 protocol=36
time=2026-11-29T00:48:09.770Z level=INFO msg=connected host=127.0.0.1:39247 took=1.19ms
time=2026-11-29T00:48:09.770Z level=INFO msg="capabilities gathering"
time=2026-11-29T00:48:09.770Z level=INFO msg="capabilities gathered" took=372µs tags=linux,claude,go
time=2026-11-29T00:48:09.770Z level=INFO msg="hello sent" protocol=36
time=2026-11-29T00:48:09.776Z level=INFO msg=welcome protocol=36 role=primary generation=1
time=2026-11-29T00:48:10.893Z level=INFO msg="connection checked" connection=claude-1 state=healthy
time=2026-11-29T00:48:18.117Z level=INFO msg="kept sessions" kept=1 bytes=2885 expired=0
time=2026-11-29T00:48:23.081Z level=INFO msg="kept sessions" kept=2 bytes=5037 expired=0
time=2026-11-29T00:48:24.168Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-29T00:48:24.169Z level=INFO msg="startup phase done" phase=state_lock took=228µs
time=2026-11-29T00:48:24.169Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-29T00:48:24.169Z level=INFO msg="startup phase done" phase=claim_roots took=211µs
time=2026-11-29T00:48:24.169Z level=INFO msg="startup phase" phase=sweep
time=2026-11-29T00:48:24.230Z level=INFO msg="startup phase done" phase=sweep took=58.753ms
time=2026-11-29T00:48:24.230Z level=INFO msg="startup phase" phase=credentials
time=2026-11-29T00:48:24.231Z level=INFO msg="startup phase done" phase=credentials took=210µs
time=2026-11-29T00:48:24.231Z level=INFO msg="startup phase" phase=open_state
time=2026-11-29T00:48:24.292Z level=INFO msg="startup phase done" phase=open_state took=61.114ms
time=2026-11-29T00:48:24.293Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-29T00:48:24.294Z level=INFO msg=connecting host=127.0.0.1:46321 protocol=36
time=2026-11-29T00:48:24.296Z level=INFO msg=connected host=127.0.0.1:46321 took=1.183ms
time=2026-11-29T00:48:24.296Z level=INFO msg="capabilities gathering"
time=2026-11-29T00:48:24.299Z level=INFO msg="capabilities gathered" took=3.651ms tags=linux,claude,go
time=2026-11-29T00:48:24.300Z level=INFO msg="hello sent" protocol=36
time=2026-11-29T00:48:24.307Z level=INFO msg=welcome protocol=36 role=primary generation=1
time=2026-11-29T00:48:26.399Z 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-29T00:48:31.029Z level=WARN msg="step account" err=cancelled
--- FAIL: TestBrowserRailFollowsWork (22.11s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m32.854s
FAIL	amadan.net/oficina/equipo/internal/headless	93.049s


receipt: test step 1m34.81s 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 1m32.854s amadan.net/oficina/equipo/internal/headless
receipt: slow test 26.78s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 22.11s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 13.67s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 11.83s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
receipt: slow test 9.49s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
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 7eb9edaac183dd0ce49e3572f4d41e675cac6359 22.11s 79.70
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 64.90, cpu waiting 35.47%, memory waiting 0.00%, io waiting 0.21%
--- 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 1m58.472s 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 1m56.22s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.25s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 13.56s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 13.14s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 11.67s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 11.37s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsSignInEmail
machine: 32 CPUs, load 64.90, cpu waiting 34.38%, memory waiting 0.00%, io waiting 0.21%
--- 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|TestBrowserCardAnswerSettlesAtBottom|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInEmail|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless

receipt: test step 1m44.316s 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 1m41.94s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.28s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 13.27s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 11.79s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 9.78s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.53s amadan.net/oficina/equipo/internal/headless TestBrowserRefreshRace
machine: 32 CPUs, load 71.24, cpu waiting 42.44%, memory waiting 0.00%, io waiting 0.26%
--- 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|TestBrowserPreviewPassExchange)$' ./internal/equipo

receipt: test step 4.55s 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.571s amadan.net/oficina/equipo/internal/equipo
receipt: slow test 1.96s amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewPassExchange
receipt: slow test 610ms amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewBlocksNavigation
browser lane browser-rest: ./internal/equipotest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserGitHubManifestCSP)$' ./internal/equipotest

receipt: test step 8.185s 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 6.479s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 6.48s amadan.net/oficina/equipo/internal/equipotest TestBrowserGitHubManifestCSP
browser lane browser-rest: ./internal/idtest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserOficinaIDDoor|TestBrowserSmartDoor)$' ./internal/idtest
budget note: internal/idtest took 11.316s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 12.909s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 11.316s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 9.07s amadan.net/oficina/equipo/internal/idtest TestBrowserSmartDoor
receipt: slow test 2.25s 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 4.458s 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.628s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 2.62s amadan.net/oficina/equipo/internal/plan3test TestTeamsHierarchyBrowser
browser lane browser-rest: ./internal/thintest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAccessEmojiByline|TestBrowserAccessFinalOutcomes|TestBrowserAccessRequest|TestBrowserAccessReview|TestBrowserActivitySubjects|TestBrowserAutonomySettings|TestBrowserCoordinatorQueue|TestBrowserEmptyConversation|TestBrowserEndedNoteStaysGone|TestBrowserHousekeeping|TestBrowserInnerGallery|TestBrowserInnerScreens|TestBrowserInstantThinking|TestBrowserInstantThinkingQueued|TestBrowserMachines|TestBrowserPausedWork|TestBrowserPhoneIndex|TestBrowserPlacementQuestionAndPending|TestBrowserProjectPlacement|TestBrowserProjectsList|TestBrowserReportActionFeedback|TestBrowserReportNextSteps|TestBrowserReportThread|TestBrowserRhythm|TestBrowserRollup|TestBrowserRosterAlignment|TestBrowserRosterDecisionStates|TestBrowserRosterQuietDay|TestBrowserRosterReports|TestBrowserRosterSetAside|TestBrowserRosterSubchat|TestBrowserRosterThinking|TestBrowserRosterVisual|TestBrowserSettingsHousekeepingGroups|TestBrowserSettingsMenu|TestBrowserSettingsRail|TestBrowserSettingsSaveBar|TestBrowserSettingsShots|TestBrowserSettingsStayOnPage|TestBrowserSettingsTeams|TestBrowserShipsButtons|TestBrowserSpecialistRows|TestBrowserSpendFollowsAnswers|TestBrowserTaskRows|TestBrowserTeamPanel|TestBrowserThinkingCycles|TestBrowserThinkingLinesClear|TestBrowserThinkingSteady|TestBrowserThinkingWords|TestBrowserTokenRowEmail|TestBrowserTrackPulse|TestBrowserTrackStarCentre|TestBrowserTryAgain)$' ./internal/thintest

receipt: test step 3m40.989s 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 3m38.086s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 27.34s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.43s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.09s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.72s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.12s amadan.net/oficina/equipo/internal/thintest TestBrowserRhythm
machine: 32 CPUs, load 10.48, cpu waiting 3.81%, memory waiting 0.00%, io waiting 0.01%
--- 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   (54s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 4.89s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.30s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 8.63s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 8.81s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 27.34s
+ 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   (71s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 17.57s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 13.46s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 19.78s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 17.15s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (22s)
ok ./internal/headless TestMixedVersions 18.71s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 1.00s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (2s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.05s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 83.69, cpu waiting 45.14%, memory waiting 0.00%, io waiting 0.47%
--- 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 15.178s against a 60s target (the gate's other steps are not in this figure)
receipt: 4 packages ran, 0 cached, 4 without tests, 0 failed
receipt: slow package 8.012s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 166ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 111ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/claude/realcli
receipt: slow test 5.66s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.77s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 450ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 160ms 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 4.238s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 3.185s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 280ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 200ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 130ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 130ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceOpenCodeBinaryAfterAttestation
machine: 32 CPUs, load 27.87, cpu waiting 12.79%, memory waiting 0.00%, io waiting 1.14%
--- 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 40.3%, load 33.44
shard 25: make runner-dead-references lanes-check build vet fmt-check spacing budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 3105 text files, 3332 matches, 0 failures
python3 native/scripts/check-share.py
Share packaging, keychain-only boundary and reviewed copy verified
python3 scripts/ci-test.py check
lanes: 18 lanes and 5 browser lanes run every test once; 20-check@29
CGO_ENABLED=0 go build ./...
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o /dev/null ./cmd/equipo-runner
go vet ./...
go vet -tags testbuild ./internal/runner/thin ./internal/headless
GOOS=darwin GOARCH=arm64 go vet ./cmd/equipo-runner/... ./internal/runner/... ./internal/wire/... ./internal/release/...
go tool fiesta spacing -skip tokens.css internal/equipo/static
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
internal/runner/provider: 5792 source lines, over the 5731 its exemption (line 29) allows
internal/thintest: 37005 test lines, over the 37004 its exemption (line 74) allows
internal/wire: 8488 source lines, over the 8481 its exemption (line 18) allows
rastrillo: budget size: 3 problem(s)
exit status 1
make[1]: *** [Makefile:75: budget] Error 1
machine: 32 CPUs, load 86.77, cpu waiting 47.47%, memory waiting 0.00%, io waiting 0.39%
make: *** [Makefile:113: ci-shard] Error 2

amadan: step check shard 25 of 29 failed: exit status 2
--- 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 40.3%, load 33.44
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
internal/runner/thin/render_page_test.go:210:48: error should be returned as the last argument (ST1008)
internal/wire/design_test.go:238:76: string literal contains the Unicode format character U+202E, consider using the '\u202e' escape sequence instead (ST1018)
exit status 1
make[1]: *** [Makefile:195: staticcheck] Error 1
machine: 32 CPUs, load 79.75, cpu waiting 42.77%, memory waiting 0.00%, io waiting 0.54%
make: *** [Makefile:113: ci-shard] Error 2

amadan: step check shard 26 of 29 failed: exit status 2
--- 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 40.3%, load 33.44
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 1 vulnerability in packages you import and 10
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 70.05, cpu waiting 38.09%, memory waiting 0.00%, io waiting 0.62%
--- 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 40.3%, load 33.44
shard 28: make gitleaks
12:48AM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
12:48AM INF 1295 commits scanned.
12:48AM INF scanned ~69888218 bytes (69.89 MB) in 27.2s
12:48AM INF no leaks found
machine: 32 CPUs, load 72.93, cpu waiting 39.27%, memory waiting 0.00%, io waiting 0.60%

amadan: job failed at step check shards 8, 16, 17, 25, 26 of 29 — its output is above, not at the tail of this log
diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt
index 08a92bec..524468d8 100644
--- a/.rastrillo/budgets.txt
+++ b/.rastrillo/budgets.txt
@@ -38,7 +38,7 @@ time internal/runner/provider 15s Plan 3 CI repair measured 10.346s for the full
perf GET /releases/* skip Verified runner release file downloads, not browser GET screens.
perf GET /install.sh skip Mac runners: the one-line bootstrap a terminal pipes to sh, not a browser screen.
time internal/runner/containment 15s Plan 3 loaded CI measured 10.817s;
-size internal/runner/thin 31591 27557 Protocol 31 facts, 35 diffs, merge credential, publication guards, kept work, CI units, 34 places publish, GitHub token scans, waiting cards in the Assistant opening, the page renderer health, the paused work snapshot and render_page's step (sites, counts), 36 project proposals answered on older links and the Design step glue and its re-authorized failover; measured 31591/27557.
+size internal/runner/thin 31605 27625 Protocol 31 facts, 35 diffs, merge credential, publication guards, kept work, CI units, 34 places publish, GitHub token scans, waiting cards in the Assistant opening, the page renderer health, the paused work snapshot and render_page's step (sites, counts), 36 project proposals answered on older links and the Design step glue and its re-authorized launches; measured 31605/27625.
time internal/thintest 240s Thin contract and page tests, the Assistant's and the models' included, share one harness. Measured 202s on a shared 16 CPU box (2026-11-13); CI runs two lanes.
time internal/runner/mac 30s Mac runners (Darwin worker): real process groups killed after a grace and proven gone (SIGTERM, SIGKILL, the marker sweep), and the probes run end to end with fake srt and xcodebuild, P6 killing.
time internal/runner/thin 45s Thin v1 slice 4 review: real git repositories for the merge and squash checks, a stalled fetch, and a 16 MiB candidate streamed through the review diff and the checks pack (about 5s).
diff --git a/internal/runner/thin/design_step.go b/internal/runner/thin/design_step.go
index 3312dcd5..4f128672 100644
--- a/internal/runner/thin/design_step.go
+++ b/internal/runner/thin/design_step.go
@@ -77,16 +77,16 @@ func specialistBound(r stepRow) bool {
return r.SpecialistID != "" || r.SpecialistRevision != 0 || r.SpecialistProject != "" || r.Profile != "" || len(r.Capabilities) > 0
}
-// stepSyncPoll is how often reauthorize looks for the instance's ack.
+// stepSyncPoll is how often attemptSynced looks for the instance's ack.
var stepSyncPoll = 200 * time.Millisecond
-// reauthorize is a specialist-bound attempt's start authorization after
-// a provider refusal moved the step on to it (advanceStep): once the
-// instance has acked every step report queued for the step, the advance
-// included, so it knows this attempt, the attempt is authorized as the
-// first was (e.lease), which checks its grant again. Without an
-// authorizer (no instance) there is nothing to ask.
-func (e *Engineer) reauthorize(ctx context.Context, r stepRow) error {
+// attemptSynced waits, after a provider refusal moved a specialist-bound
+// step on to r's attempt (advanceStep), until the instance has acked
+// every step report queued for the step, the advance included, so it
+// knows the attempt it is asked to authorize next (Authorize refuses an
+// attempt it has not heard of). Without an authorizer (no instance)
+// nothing is asked, so there is nothing to wait for.
+func (e *Engineer) attemptSynced(ctx context.Context, r stepRow) error {
if e.Authorize == nil && e.AuthorizeStep == nil {
return nil
}
@@ -96,7 +96,7 @@ func (e *Engineer) reauthorize(ctx context.Context, r stepRow) error {
return err
}
if synced {
- return e.lease(ctx, r)
+ return nil
}
select {
case <-ctx.Done():
diff --git a/internal/runner/thin/design_step_test.go b/internal/runner/thin/design_step_test.go
index bf38d62a..a5962cba 100644
--- a/internal/runner/thin/design_step_test.go
+++ b/internal/runner/thin/design_step_test.go
@@ -551,7 +551,8 @@ func TestBoundFailoverIsAuthorizedAgain(t *testing.T) {
if rep.State != wire.StepCancelled || rep.Reason != "withdrawn" || rep.Attempt != 2 || !rep.Termination {
t.Fatalf("report %+v", rep)
}
- if strings.Join(asked, " ") != "ds7/1 ds7/2" {
+ // At the start, before attempt 1's launch, before attempt 2's.
+ if strings.Join(asked, " ") != "ds7/1 ds7/1 ds7/2" {
t.Fatalf("asked %v", asked)
}
var attempt int64
@@ -568,10 +569,41 @@ func TestBoundFailoverIsAuthorizedAgain(t *testing.T) {
plain := stepRow{DispatchCommand: wire.DispatchCommand{Person: connPerson, TaskID: "tk2", StepID: "en7", Attempt: 1, Specialist: wire.SpecialistEngineering, Repo: "amadan.net/oficina/sample", Branch: "equipo/tk2-x", Title: "x", Findings: []wire.Finding{}}}
r.e.Note = " steplimit:" + connPerson + " steplimit:b@example.com\n"
r.exec(plain)
- if len(asked) == 0 || asked[0] != "en7/1" || slices.Contains(asked, "en7/2") {
+ if strings.Join(asked, " ") != "en7/1" {
t.Fatalf("Engineering asked %v", asked)
}
if err := r.e.O.State.db.QueryRow("SELECT attempt FROM steps WHERE step_id=?", "en7").Scan(&attempt); err != nil || attempt != 2 {
t.Fatalf("Engineering did not fail over: attempt %d %v", attempt, err)
}
}
+
+// TestDesignAuthorizedRightBeforeLaunch (task 16 review, round 2): a
+// bound attempt is authorized again immediately before its process
+// launches, after the fetch and the tree's checkout; a grant that went
+// away meanwhile cancels the step and nothing launches.
+func TestDesignAuthorizedRightBeforeLaunch(t *testing.T) {
+ r := newDesignRig(t)
+ row := stepRow{DispatchCommand: designDispatch("ds8", 1)}
+ var prepared []bool
+ r.e.AuthorizeStep = func(_ context.Context, step string, attempt int64) error {
+ _, err := os.Stat(filepath.Join(r.e.tree(row, "").Dir, "release", "preview.json"))
+ prepared = append(prepared, err == nil)
+ if len(prepared) > 1 {
+ // The approver was demoted while the tree was prepared.
+ return ErrWithdrawn
+ }
+ return nil
+ }
+ r.e.Note = " create:mockups/tk1/index.html|<h1>After</h1>;\n"
+ rep := r.exec(row)
+ if rep.State != wire.StepCancelled || rep.Reason != "withdrawn" || !rep.Termination || rep.Pushed {
+ t.Fatalf("report %+v", rep)
+ }
+ if !slices.Equal(prepared, []bool{false, true}) {
+ t.Fatalf("asked with the tree prepared: %v", prepared)
+ }
+ var ns string
+ if err := r.e.O.State.db.QueryRow("SELECT ns_id FROM steps WHERE step_id=?", "ds8").Scan(&ns); err != nil || ns != "" {
+ t.Fatalf("launched: namespace %q %v", ns, err)
+ }
+}
diff --git a/internal/runner/thin/engineer.go b/internal/runner/thin/engineer.go
index 7b09ee51..850f626f 100644
--- a/internal/runner/thin/engineer.go
+++ b/internal/runner/thin/engineer.go
@@ -363,6 +363,15 @@ func (e *Engineer) Exec(ctx context.Context, r stepRow, progress func(wire.StepR
spec.prompt = e.designFixPrompt(r)
}
}
+ if specialistBound(r) {
+ // Authorized again immediately before each launch: the grant
+ // may have changed while the tree was fetched and prepared, or
+ // since an earlier attempt.
+ if err := e.lease(ctx, r); err != nil {
+ rep.State, rep.Reason, rep.Termination = wire.StepCancelled, leaseReason(err), true
+ return rep
+ }
+ }
res = e.run(ctx, r, tree, spec)
if res.reason == reasonHeld {
// The metered guard holds it (its slot, budget or spend): the
@@ -387,10 +396,9 @@ func (e *Engineer) Exec(ctx context.Context, r stepRow, progress func(wire.StepR
return fail("provider_failed", true)
}
if specialistBound(r) {
- // Its grant may have changed since the first attempt was
- // authorized: the new attempt is authorized again before it
- // launches, as the first was.
- if err := e.reauthorize(ctx, r); err != nil {
+ // The instance hears of the new attempt before it is asked to
+ // authorize it, right before its launch.
+ if err := e.attemptSynced(ctx, r); err != nil {
rep.State, rep.Reason, rep.Termination = wire.StepCancelled, leaseReason(err), true
return rep
}
diff --git a/internal/runner/thin/research.go b/internal/runner/thin/research.go
index 628501f3..ad0ff6fe 100644
--- a/internal/runner/thin/research.go
+++ b/internal/runner/thin/research.go
@@ -358,6 +358,12 @@ func (e *Engineer) research(ctx context.Context, r stepRow, progress func(wire.S
}
defer os.RemoveAll(ws)
prompt, images := e.researchPrompt(r, view, b.Provider)
+ // Authorized again immediately before the model launches: the grant
+ // may have gone during the last pass, which no ask follows.
+ if err := e.lease(ctx, r); err != nil {
+ rep.State, rep.Reason, rep.Termination = wire.StepCancelled, leaseReason(err), true
+ return rep
+ }
a := &researchAttempt{e: e, r: r, view: view}
res := e.researchModel()(ctx, r, workspace.TaskTree{Dir: ws}, specialistRun{action: provider.ResearchStepAction, binding: b, tools: researchTools, names: researchToolNames, permission: researchPermission, call: a.call, prompt: prompt, images: images, limit: researchModelLimit, activity: e.stepActivity(r)})
findings, kept, data := a.close()
diff --git a/internal/runner/thin/research_step_test.go b/internal/runner/thin/research_step_test.go
index 4a52292c..a0ae1992 100644
--- a/internal/runner/thin/research_step_test.go
+++ b/internal/runner/thin/research_step_test.go
@@ -890,3 +890,39 @@ func TestResearchPromptCarriesTheApprovedBrief(t *testing.T) {
t.Fatalf("prompt:\n%s", prompt)
}
}
+
+// TestResearchAuthorizedRightBeforeTheModel (task 16 review, round 2):
+// the grant is checked again after the last fetch pass, immediately
+// before the model launches; a grant that went away during a
+// successful fetch cancels the step and the model never runs.
+func TestResearchAuthorizedRightBeforeTheModel(t *testing.T) {
+ for _, refuse := range []bool{false, true} {
+ g := newResearchRig(t)
+ var passesWhenAsked []int
+ g.e.AuthorizeStep = func(context.Context, string, int64) error {
+ g.mu.Lock()
+ passes, ran := len(g.plans), g.ran
+ g.mu.Unlock()
+ if ran != 0 {
+ t.Errorf("asked after the model ran")
+ }
+ passesWhenAsked = append(passesWhenAsked, passes)
+ if refuse && passes == 1 {
+ // The approver was demoted during the successful fetch.
+ return ErrWithdrawn
+ }
+ return nil
+ }
+ g.passes = append(g.passes, g.page(pngBytes(t, 40, 40)))
+ rep := g.exec(researchRow())
+ if !slices.Equal(passesWhenAsked, []int{0, 1}) || len(g.plans) != 1 {
+ t.Fatalf("refuse %v: asked before passes %v, %d passes", refuse, passesWhenAsked, len(g.plans))
+ }
+ switch {
+ case refuse && (rep.State != wire.StepCancelled || rep.Reason != "withdrawn" || !rep.Termination || g.ran != 0):
+ t.Fatalf("refused: %+v, %d model runs", rep, g.ran)
+ case !refuse && (rep.State != wire.StepDone || g.ran != 1):
+ t.Fatalf("granted: %+v, %d model runs", rep, g.ran)
+ }
+ }
+}