oficina / equipo Public

equipo: recovery card whenever the maker stops resolving for the task

Controller ruling on task 17's concern 4: the recovery card comes
whenever grantFor(maker's profile, task's project) no longer finds the
maker's row (revoked, scope no longer the task's project after a move,
approver no longer an owner, profile off the menu, row gone), with the
same other conditions (every Design attempt terminal with its proof,
not busy), the same card and the same re-check at the tap.

- recoverable: grant-based, not revoke-only.
- Triggers: finishMove (after its restart) and the placement pass
  (Place sweeps open maker tasks, for a maker that stops resolving with
  no step event), beside the revoke, step reports and syncs.
- Assistant (concern 1): the card stopped no job and the Assistant was
  never told (dropped). It now stops the work as the other decision
  cards do: blocksWork, the hand-off's blocking kinds, and blockedLine.

Tests: CGO_ENABLED=0 go test ./internal/equipo/chat/ -run
'TestDesign|TestStartTaskRoutes|TestJobNoteBlockedLines'. New:
TestDesignRecoveryAfterAMove (a Design task moved to Suite gets the card
once its attempt ended with proof and its restarted step ended at
dispatch; a team-made task moved to Fresh gets none and runs as the
team's Design; one moved to Patrix, which has its own, gets the card),
TestDesignRecoverySweep (a grant that stops holding, found by Place; the
job's blocking card).

RED: with the revoke-only check (mutation F1) the move test fails
("cards after the move []") and so does the sweep.
GREEN: whole internal/equipo/chat and internal/equipo; thintest -run
'Specialist|Design|Place|Move|Handoff|Job|Assistant|Held|Explore'.

Mutations, each killed: grant-based check (F1), the maker exactly (F2),
the move's offer (F3), the placement sweep (F4), blocksWork (F6),
blockedLine (F7), hand-off blocking kinds (F8). Survived: the sweep's
stage filter (F5), layered under recoverable's own open-task check; it
only keeps the sweep off ended tasks.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 548e7ac9b3e453a86cd645136d40e968ff6a699a parent df1e4c4
9 files changed, +175 −10
  • .rastrillo/budgets.txt +1 −1
  • internal/equipo/chat/design_routing.go +29 −5
  • internal/equipo/chat/design_routing_test.go +132 −0
  • internal/equipo/chat/handoff.go +1 −1
  • internal/equipo/chat/handoff_test.go +1 −1
  • internal/equipo/chat/outcome.go +1 −1
  • internal/equipo/chat/placement.go +5 −0
  • internal/equipo/chat/runners.go +3 −1
  • internal/equipo/chat/tools.go +2 −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.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 10.1s
ci-box: pi: installed and verified in 7.5s
ci-box: opencode: installed and verified in 2.4s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.8s
ci-box: clone deepened in 6.0s
ci-box: file times set from content: 3396 files, 222 directories
ci-box: ready in 19.7s
=== 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.154s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  6.7s
+ go list -export -test -tags testbuild -f  ./...
  6.3s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/equipotest ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  3.8s
rastrillo: budget size: 2 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.349s 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.851s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m22.85s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 77.67, cpu waiting 48.37%, 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 1m28.001s 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.2s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m25.2s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 77.67, cpu waiting 48.39%, memory waiting 0.00%, io waiting 0.35%
--- 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 1m28.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 1m24.899s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m13.73s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.93s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 5.24s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 77.67, cpu waiting 48.39%, memory waiting 0.00%, io waiting 0.35%
--- 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 1m24.459s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m21.898s amadan.net/oficina/equipo/internal/headless
receipt: slow test 41.16s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 21.95s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.44s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.34s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 77.67, cpu waiting 48.37%, memory waiting 0.00%, io waiting 0.37%
--- 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 1m44.12s 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.114s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m9.51s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.05s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 8.73s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 7.69s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 5.13s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 66.71, cpu waiting 43.66%, memory waiting 0.00%, io waiting 0.26%
--- 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 3m8.884s 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 3m6.015s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m47.03s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 20.98s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.59s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 7.43s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistantAttachments
receipt: slow test 6.83s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 22.60, cpu waiting 11.60%, memory waiting 0.00%, io waiting 0.05%
--- 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 2m22.792s 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 2m19.62s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 10.41s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.83s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.13s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 4.05s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 2.95s amadan.net/oficina/equipo/internal/thintest TestContractTeamUpdatePersonNeeds
machine: 32 CPUs, load 42.36, cpu waiting 24.53%, memory waiting 0.00%, io waiting 0.13%
--- 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 2m2.809s 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 2m0.03s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.72s amadan.net/oficina/equipo/internal/thintest TestContractRetryPreviewUnverifiedMerge
receipt: slow test 9.22s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.01s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.66s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 3.03s amadan.net/oficina/equipo/internal/thintest TestContractPausedJob
machine: 32 CPUs, load 55.54, cpu waiting 33.58%, memory waiting 0.00%, io waiting 0.19%
--- 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
--- 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 5m34.598s
FAIL	amadan.net/oficina/equipo/internal/runner/thin	334.700s


receipt: test step 5m36.825s 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 5m34.598s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 37.06s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.95s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.9s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.52s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 10.03s amadan.net/oficina/equipo/internal/runner/thin TestTimeoutKeepsNothingForAnOlderInstance
rastrillo: budget test: go test failed
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.78s)
FAIL
rastrillo-budget/v1 ran 776ms
FAIL	amadan.net/oficina/equipo/internal/runner/thin	0.789s
FAIL
machine: 32 CPUs, load 4.51, cpu waiting 0.98%, 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 54.642s 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 53.389s amadan.net/oficina/equipo/internal/runner
receipt: slow test 33.36s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 66.77, cpu waiting 38.16%, memory waiting 0.00%, io waiting 0.61%
--- 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 1m7.969s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m6.52s amadan.net/oficina/equipo/internal/runner
receipt: slow test 56.47s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 49.78s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.42s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 75.70, cpu waiting 45.37%, memory waiting 0.00%, io waiting 0.48%
--- 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 37.088s 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 36.131s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.14s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.59s 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 TestCoordinatorTransientRefusalKeepsServing
machine: 32 CPUs, load 36.36, cpu waiting 23.95%, memory waiting 0.00%, io waiting 0.83%
--- 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.0%, load 27.42
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.527s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m11.257s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 31s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 30.81s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 28.31s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 25.28s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 25.07s amadan.net/oficina/equipo/internal/equipotest TestAuthorityProjectOwnershipIsLocal
machine: 32 CPUs, load 66.71, cpu waiting 44.50%, 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 42.0%, load 27.42
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 2m19.775s 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 2m17.409s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 22.33s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 22.3s amadan.net/oficina/equipo/internal/equipotest TestProjectsAccountRevisionAndValidation
receipt: slow test 22.3s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 22.24s amadan.net/oficina/equipo/internal/equipotest TestProjectRequestActorAndUpdate
receipt: slow test 22.24s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
machine: 32 CPUs, load 29.99, cpu waiting 16.18%, 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 42.0%, load 27.42
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 5m37.738s, over the 5m0s its record on line 15 allows; reported only, timing fails on CI

receipt: test step 5m43.942s 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 5m37.738s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 4m44s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.68s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.63s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 10.6s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 7.54s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 2.87, cpu waiting 0.53%, 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.0%, load 27.42
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.565s 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.188s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 28.05s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 27.8s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 27.73s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 25.43s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettings
receipt: slow test 25.26s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
machine: 32 CPUs, load 70.52, cpu waiting 44.50%, 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 43.1%, load 27.42
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
--- FAIL amadan.net/oficina/equipo/internal/plan3test TestPlan3ReleaseBoundaries
=== RUN   TestPlan3ReleaseBoundaries
--- FAIL: TestPlan3ReleaseBoundaries (0.36s)

--- 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 57.087s
FAIL	amadan.net/oficina/equipo/internal/plan3test	57.462s


receipt: test step 59.594s 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 57.087s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 4.16s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.62s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.98s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.79s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.47s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorMessageSourcesUpgrade
rastrillo: budget test: go test failed
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 19ms
FAIL	amadan.net/oficina/equipo/internal/plan3test	0.223s
FAIL
machine: 32 CPUs, load 75.30, cpu waiting 47.45%, memory waiting 0.00%, io waiting 0.32%
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 43.1%, load 27.42
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 TestHoldResumesAtTheBound
=== RUN   TestHoldResumesAtTheBound
    pause_linux_test.go:298: writers not resumed at the bound while the work ran on: moved []
    pause_linux_test.go:69: sandbox stderr: 
--- FAIL: TestHoldResumesAtTheBound (0.85s)

--- 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 (6.92s)

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

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

--- FAIL amadan.net/oficina/equipo/internal/testci TestBudgetRecordsAreShort
=== RUN   TestBudgetRecordsAreShort
    budgets_file_test.go:37: .rastrillo/budgets.txt:17: reason is 247 bytes, over 200
    budgets_file_test.go:37: .rastrillo/budgets.txt:18: reason is 250 bytes, over 200
    budgets_file_test.go:37: .rastrillo/budgets.txt:41: reason is 461 bytes, over 200
    budgets_file_test.go:37: .rastrillo/budgets.txt:59: reason is 384 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.677s
FAIL	amadan.net/oficina/equipo/internal/testci	1.687s

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 2m41.455s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 37.185s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/github took 40.637s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/setup took 12.404s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/idtest took 2m6.237s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 51.083s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/containment took 1m6.532s, over the 15s its record on line 40 allows; reported only, timing fails on CI
budget note: internal/runner/forge took 30.276s, over the 20s its record on line 35 allows; reported only, timing fails on CI
budget note: internal/runner/provider/claude/realcli took 16.377s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/provider/pi took 1m22.283s, over the 1m0s its record on line 27 allows; reported only, timing fails on CI
budget note: internal/runner/render took 1m29.311s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 2m48.706s 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 2m41.455s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 2m6.237s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 1m29.311s amadan.net/oficina/equipo/internal/runner/render
receipt: slow package 1m22.283s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 1m9.964s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow test 1m0.07s amadan.net/oficina/equipo/internal/idtest TestDoorRemembersOficinaID
receipt: slow test 51.44s amadan.net/oficina/equipo/internal/idtest TestDoorOficinaSettingsUnreadableIsNoLoop
receipt: slow test 50.95s amadan.net/oficina/equipo/internal/idtest TestDoorForgetsOficinaIDForARefusedSession
receipt: slow test 50.74s amadan.net/oficina/equipo/internal/idtest TestDoorStepUpIsLocal
receipt: slow test 50.37s amadan.net/oficina/equipo/internal/idtest TestDoorNeverJudgesANativeSession
rastrillo: budget test: go test failed
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestHoldResumesAtTheBound$|^TestHoldStopsANamespaceJoiner$|^TestHoldStopsAReparentedDaemon$' -count=1 ./internal/runner/pause   (retry, once)
FAILED TWICE ./internal/runner/pause:TestHoldResumesAtTheBound rest
FAILED TWICE ./internal/runner/pause:TestHoldStopsANamespaceJoiner rest
FAILED TWICE ./internal/runner/pause:TestHoldStopsAReparentedDaemon rest
=== RUN   TestHoldResumesAtTheBound
--- PASS: TestHoldResumesAtTheBound (1.21s)
=== 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	3.854s
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 247 bytes, over 200
    budgets_file_test.go:37: .rastrillo/budgets.txt:18: reason is 250 bytes, over 200
    budgets_file_test.go:37: .rastrillo/budgets.txt:41: reason is 461 bytes, over 200
    budgets_file_test.go:37: .rastrillo/budgets.txt:59: reason is 384 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 18.34, cpu waiting 8.89%, memory waiting 0.00%, io waiting 0.04%
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 1m28.913s 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 1m27.016s amadan.net/oficina/equipo/internal/headless
receipt: slow test 39.35s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 14.86s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 11.41s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.76s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 7.29s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 75.30, cpu waiting 47.87%, memory waiting 0.00%, io waiting 0.33%
--- 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
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
rastrillo: budget test: go test failed
=== RUN   TestBrowserRailFollowsWork
time=2026-11-29T01:25:26.457Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-29T01:25:26.457Z level=INFO msg="startup phase done" phase=state_lock took=97µs
time=2026-11-29T01:25:26.457Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-29T01:25:26.457Z level=INFO msg="startup phase done" phase=claim_roots took=117µs
time=2026-11-29T01:25:26.458Z level=INFO msg="startup phase" phase=sweep
time=2026-11-29T01:25:26.508Z level=INFO msg="startup phase done" phase=sweep took=50.039ms
time=2026-11-29T01:25:26.508Z level=INFO msg="startup phase" phase=credentials
time=2026-11-29T01:25:26.508Z level=INFO msg="startup phase done" phase=credentials took=147µs
time=2026-11-29T01:25:26.508Z level=INFO msg="startup phase" phase=open_state
time=2026-11-29T01:25:26.560Z level=INFO msg="startup phase done" phase=open_state took=51.15ms
time=2026-11-29T01:25:26.560Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-29T01:25:26.562Z level=INFO msg=connecting host=127.0.0.1:36981 protocol=36
time=2026-11-29T01:25:26.563Z level=INFO msg=connected host=127.0.0.1:36981 took=1.286ms
time=2026-11-29T01:25:26.563Z level=INFO msg="capabilities gathering"
time=2026-11-29T01:25:26.564Z level=INFO msg="capabilities gathered" took=489µs tags=linux,claude,go
time=2026-11-29T01:25:26.567Z level=INFO msg="hello sent" protocol=36
time=2026-11-29T01:25:26.573Z level=INFO msg=welcome protocol=36 role=primary generation=1
time=2026-11-29T01:25:27.679Z level=INFO msg="connection checked" connection=claude-1 state=healthy
time=2026-11-29T01:25:35.024Z level=INFO msg="kept sessions" kept=1 bytes=2885 expired=0
time=2026-11-29T01:25:39.610Z level=INFO msg="kept sessions" kept=2 bytes=5037 expired=0
time=2026-11-29T01:25:40.480Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-29T01:25:40.480Z level=INFO msg="startup phase done" phase=state_lock took=66µs
time=2026-11-29T01:25:40.480Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-29T01:25:40.480Z level=INFO msg="startup phase done" phase=claim_roots took=86µs
time=2026-11-29T01:25:40.480Z level=INFO msg="startup phase" phase=sweep
time=2026-11-29T01:25:40.527Z level=INFO msg="startup phase done" phase=sweep took=46.67ms
time=2026-11-29T01:25:40.527Z level=INFO msg="startup phase" phase=credentials
time=2026-11-29T01:25:40.527Z level=INFO msg="startup phase done" phase=credentials took=188µs
time=2026-11-29T01:25:40.527Z level=INFO msg="startup phase" phase=open_state
time=2026-11-29T01:25:40.579Z level=INFO msg="startup phase done" phase=open_state took=52.253ms
time=2026-11-29T01:25:40.580Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-29T01:25:40.582Z level=INFO msg=connecting host=127.0.0.1:44365 protocol=36
time=2026-11-29T01:25:40.584Z level=INFO msg=connected host=127.0.0.1:44365 took=1.301ms
time=2026-11-29T01:25:40.584Z level=INFO msg="capabilities gathering"
time=2026-11-29T01:25:40.587Z level=INFO msg="capabilities gathered" took=3.395ms tags=linux,claude,go
time=2026-11-29T01:25:40.588Z level=INFO msg="hello sent" protocol=36
time=2026-11-29T01:25:40.595Z level=INFO msg=welcome protocol=36 role=primary generation=1
time=2026-11-29T01:25:42.586Z 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-29T01:25:46.770Z level=WARN msg="step account" err=cancelled
time=2026-11-29T01:25:46.770Z level=WARN msg="step sweep" err=cancelled
time=2026-11-29T01:25:46.770Z level=WARN msg="kept sessions" err=cancelled
--- FAIL: TestBrowserRailFollowsWork (21.21s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m33.781s
FAIL	amadan.net/oficina/equipo/internal/headless	93.997s


receipt: test step 1m35.722s 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 1m33.781s amadan.net/oficina/equipo/internal/headless
receipt: slow test 27.64s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 21.21s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 13.78s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 12.25s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
receipt: slow test 9.8s 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 548e7ac9b3e453a86cd645136d40e968ff6a699a 21.21s 71.35
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 55.54, cpu waiting 35.75%, memory waiting 0.00%, io waiting 0.20%
--- 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 1m59.788s 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 1m57.41s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.34s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 14.21s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 13.35s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 11.79s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 11.31s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsSignInEmail
machine: 32 CPUs, load 55.54, cpu waiting 34.64%, memory waiting 0.00%, io waiting 0.20%
--- 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
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserCopyContinue
=== RUN   TestBrowserCopyContinue
rastrillo: budget test: go test failed
time=2026-11-29T01:25:52.735Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-29T01:25:52.735Z level=INFO msg="startup phase done" phase=state_lock took=151µs
time=2026-11-29T01:25:52.735Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-29T01:25:52.735Z level=INFO msg="startup phase done" phase=claim_roots took=124µs
time=2026-11-29T01:25:52.737Z level=INFO msg="startup phase" phase=sweep
time=2026-11-29T01:25:52.804Z level=INFO msg="startup phase done" phase=sweep took=67.246ms
time=2026-11-29T01:25:52.804Z level=INFO msg="startup phase" phase=credentials
time=2026-11-29T01:25:52.804Z level=INFO msg="startup phase done" phase=credentials took=220µs
time=2026-11-29T01:25:52.804Z level=INFO msg="startup phase" phase=open_state
time=2026-11-29T01:25:52.868Z level=INFO msg="startup phase done" phase=open_state took=63.678ms
time=2026-11-29T01:25:52.869Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-29T01:25:52.870Z level=INFO msg=connecting host=127.0.0.1:35381 protocol=36
time=2026-11-29T01:25:52.876Z level=INFO msg=connected host=127.0.0.1:35381 took=4.17ms
time=2026-11-29T01:25:52.876Z level=INFO msg="capabilities gathering"
time=2026-11-29T01:25:52.877Z level=INFO msg="capabilities gathered" took=575µs tags=linux,claude,go
time=2026-11-29T01:25:52.879Z level=INFO msg="hello sent" protocol=36
time=2026-11-29T01:25:52.887Z level=INFO msg=welcome protocol=36 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.52s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m45.824s
FAIL	amadan.net/oficina/equipo/internal/headless	106.019s


receipt: test step 1m47.657s 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 1m45.824s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.42s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 13.99s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 11.31s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 9.8s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.7s amadan.net/oficina/equipo/internal/headless TestBrowserRefreshRace
exit status 1
+ go 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$' -v -run '^TestBrowserCopyContinue$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserCopyContinue browser-headless-rest 548e7ac9b3e453a86cd645136d40e968ff6a699a 6.52s 63.05
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 59.77, cpu waiting 38.04%, memory waiting 0.00%, io waiting 0.22%
--- 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.548s 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.703s amadan.net/oficina/equipo/internal/equipo
receipt: slow test 2.07s amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewPassExchange
receipt: slow test 630ms 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.049s 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.378s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 6.38s 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.825s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 13.518s 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.825s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 9.62s amadan.net/oficina/equipo/internal/idtest TestBrowserSmartDoor
receipt: slow test 2.2s 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 5.126s 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.823s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 2.82s 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 3m45.182s 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 3m41.611s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 27.81s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.46s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.1s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.83s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.49s amadan.net/oficina/equipo/internal/thintest TestBrowserRhythm
machine: 32 CPUs, load 8.34, cpu waiting 3.61%, 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   (53s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 4.87s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.25s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 9.38s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 9.71s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 25.51s
+ 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   (70s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 25.77s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 12.48s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 10.84s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 17.89s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (23s)
ok ./internal/headless TestMixedVersions 19.82s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.87s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (2s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.06s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 77.49, cpu waiting 45.91%, 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.355s 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.357s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 159ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 86ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 2ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/claude/realcli
receipt: slow test 6.04s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.69s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 460ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 160ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 140ms 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.487s 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.229s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 320ms 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 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryMalformedRecord
machine: 32 CPUs, load 20.32, cpu waiting 13.50%, memory waiting 0.00%, io waiting 1.08%
--- 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 42.0%, load 27.42
shard 25: make runner-dead-references lanes-check build vet fmt-check spacing budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 3108 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
rastrillo: budget size: 2 problem(s)
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
exit status 1
make[1]: *** [Makefile:75: budget] Error 1
machine: 32 CPUs, load 77.67, cpu waiting 48.28%, memory waiting 0.00%, io waiting 0.38%
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 42.0%, load 27.42
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:244: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 69.67, cpu waiting 42.97%, memory waiting 0.00%, io waiting 0.53%
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 43.1%, load 27.42
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 66.77, cpu waiting 38.16%, memory waiting 0.00%, io waiting 0.61%
--- 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 42.0%, load 27.42
shard 28: make gitleaks
1:25AM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
1:25AM INF 1297 commits scanned.
1:25AM INF scanned ~69972561 bytes (69.97 MB) in 27.9s
1:25AM INF no leaks found
machine: 32 CPUs, load 66.77, cpu waiting 39.40%, memory waiting 0.00%, io waiting 0.59%

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 c87679a8..f9d8d2cd 100644
--- a/.rastrillo/budgets.txt
+++ b/.rastrillo/budgets.txt
@@ -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 39458 14725 File facts/diffs, previews, merge authority, unfinished work, CI feedback, notification receipts, Assistant files, places and where their cards land, waiting cards, 36 proposal project and Build's note, scoped specialists and their continuation, grants and step bindings, Design routing, the autonomy limit and the recovery card; measured 39458/14725.
+size internal/equipo/chat 39491 14857 File facts/diffs, previews, merge authority, unfinished work, CI feedback, notification receipts, Assistant files, places and where their cards land, waiting cards, 36 proposal project and Build's note, scoped specialists and their continuation, grants and step bindings, Design routing, the autonomy limit and the recovery card (any maker that stops resolving); measured 39491/14857.
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.
diff --git a/internal/equipo/chat/design_routing.go b/internal/equipo/chat/design_routing.go
index cbc8142d..361d1e60 100644
--- a/internal/equipo/chat/design_routing.go
+++ b/internal/equipo/chat/design_routing.go
@@ -193,9 +193,13 @@ func (t *txn) releaseDesignHeld(id string) error {
func recoveryName(maker string) string { return "maker:" + maker }
// recoverable reports whether the task waits for its creator to hand it
-// to Engineering: open, its maker revoked (or gone), every attempt of its
-// maker's steps ended with its end proven (Terminated, whatever its
-// state, done included), and nothing of the task at work (busy).
+// to Engineering: open; its maker can no longer act for the task's
+// project (grantFor no longer finds the maker's row there: revoked, its
+// scope no longer the task's project after a move, its approver no
+// longer an owner, its profile off the menu, or the row gone); every
+// attempt of its maker's steps ended with its end proven (Terminated,
+// whatever its state, done included); and nothing of the task at work
+// (busy).
func (t *txn) recoverable(k taskRecord) (bool, error) {
if k.MakerSpecialistID == "" || wire.FinalStage(k.Stage) || k.CancelRequested || k.MoveProject != "" {
return false, nil
@@ -204,8 +208,11 @@ func (t *txn) recoverable(k taskRecord) (bool, error) {
if err := t.db.Where("id = ?", k.MakerSpecialistID).Limit(1).Find(&sp).Error; err != nil {
return false, err
}
- if sp.ID != "" && sp.State != wire.SpecialistRevoked {
- return false, nil
+ if sp.ID != "" {
+ found, err := t.grantFor(sp.Profile, k.ProjectID)
+ if err != nil || found != nil && found.ID == sp.ID {
+ return false, err
+ }
}
steps, err := t.steps(k.ID)
if err != nil {
@@ -254,6 +261,23 @@ func (t *txn) offerRecovery(id string) error {
return t.cardEvent(c)
}
+// offerRecoveriesAll offers the recovery card for every open task that
+// has a maker: the placement pass's sweep, for a maker that stopped
+// resolving with no step event (an approver demoted, a profile taken off
+// the menu).
+func (t *txn) offerRecoveriesAll() error {
+ var ids []string
+ if err := t.db.Model(&taskRecord{}).Where("maker_specialist_id <> '' AND stage NOT IN ?", []string{wire.StageDone, wire.StageCancelled}).Order("created_at, id").Pluck("id", &ids).Error; err != nil {
+ return err
+ }
+ for _, id := range ids {
+ if err := t.offerRecovery(id); err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
// offerRecoveries offers the recovery card for every task sp made.
func (t *txn) offerRecoveries(sp specialistRecord) error {
var ids []string
diff --git a/internal/equipo/chat/design_routing_test.go b/internal/equipo/chat/design_routing_test.go
index 0598052c..7826acaf 100644
--- a/internal/equipo/chat/design_routing_test.go
+++ b/internal/equipo/chat/design_routing_test.go
@@ -693,3 +693,135 @@ func TestDesignRecoveryTap(t *testing.T) {
t.Fatalf("a second tap: %v", err)
}
}
+
+// liveMakerStep is the task's newest Engineering step that is not retired
+// (a move retires the old ones and numbers anew).
+func (r *hkRig) liveMakerStep(task string) stepRecord {
+ r.t.Helper()
+ var s stepRecord
+ r.must(r.s.db.G.Where("task_id = ? AND specialist = ? AND coalesce(retired, 0) = 0", task, wire.SpecialistEngineering).Order("idx DESC, created_at DESC").First(&s).Error)
+ return s
+}
+
+// TestDesignRecoveryAfterAMove: the card comes whenever the task's maker
+// no longer acts for its project, not only after a revoke. A Design task
+// moved to a project its Design does not cover is asked about once its
+// attempt ended with its proof (its restarted step ended at dispatch);
+// one whose maker still resolves after the move (the team's Design) is
+// not, and its restarted step runs as that maker.
+func TestDesignRecoveryAfterAMove(t *testing.T) {
+ r, l, _ := grantRig(t)
+ r.exec("CREATE TABLE IF NOT EXISTS runners (id text PRIMARY KEY, person text, role text, label text, removing_at datetime, tainted_at datetime, revoked_at datetime)")
+ r.exec("INSERT INTO runners(id, person, role) VALUES ('RUNNER1', ?, ?)", paul, wire.RolePrimary)
+ patrix := r.active(l, "Patrix", "p_patrix")
+ task, s := r.runningDesign(l, patrix, wire.KindChange)
+ k := r.load(task)
+ if err := r.s.MoveTask(r.ctx, paul, task, wire.MoveTask{Repo: repoSuite, Revision: k.Revision}); err != nil {
+ t.Fatal(err)
+ }
+ if n := len(r.recoveryCards(task)); n != 0 {
+ t.Fatalf("%d cards while the attempt runs", n)
+ }
+ r.report(l, s, wire.StepReport{State: wire.StepCancelled, Reason: "cancelled"})
+ if n := len(r.recoveryCards(task)); n != 0 {
+ t.Fatalf("%d cards before the proof", n)
+ }
+ r.report(l, s, wire.StepReport{State: wire.StepCancelled, Reason: "cancelled", Termination: true})
+ k = r.load(task)
+ if k.ProjectID != "p_suite" || k.MakerSpecialistID != patrix.ID {
+ t.Fatalf("after the move %+v", k)
+ }
+ if got := r.liveMakerStep(task); got.ID == s.ID || got.State != wire.StepCancelled || got.Reason != reasonSpecialistNoGrant || !got.Terminated {
+ t.Fatalf("the restarted step %+v", got)
+ }
+ cards := r.recoveryCards(task)
+ if len(cards) != 1 || cards[0].State != wire.CardOpen {
+ t.Fatalf("cards after the move %+v", cards)
+ }
+ c := cards[0]
+ if _, _, err := r.s.Answer(r.ctx, paul, c.ID, wire.AnswerCard{Choice: wire.ChoiceToEngineering, Revision: c.Revision}); err != nil {
+ t.Fatal(err)
+ }
+ if k := r.load(task); k.MakerSpecialistID != "" {
+ t.Fatalf("after the tap %+v", k)
+ }
+
+ // The team's Design still covers Suite's task moved to Fresh.
+ team := r.active(l, "", "")
+ r.must(r.s.db.G.Create(&projectRecord{ID: "p_fresh", Repo: repoFresh, Title: "Fresh", TitleSet: true, State: wire.ProjectActive, Revision: 1, CreatedAt: r.now, UpdatedAt: r.now}).Error)
+ turn, kept := r.personTask(l, "Suite", wire.KindChange)
+ if res := r.call(l, turn.ID, wire.ToolStartTask, map[string]any{"task": kept, "brief": "b", "specialist": team.ID}); res.IsError {
+ t.Fatal(res)
+ }
+ ks := r.makerStep(kept)
+ r.ackDispatches(ks.ID)
+ if refused := r.authorize(l, ks, ""); refused != "" {
+ t.Fatalf("start %q", refused)
+ }
+ kk := r.load(kept)
+ if err := r.s.MoveTask(r.ctx, paul, kept, wire.MoveTask{Repo: repoFresh, Revision: kk.Revision}); err != nil {
+ t.Fatal(err)
+ }
+ r.report(l, r.stepNow(ks.ID), wire.StepReport{State: wire.StepCancelled, Reason: "cancelled", Termination: true})
+ if n := len(r.recoveryCards(kept)); n != 0 {
+ t.Fatalf("%d cards for a maker that still resolves", n)
+ }
+ if got := r.liveMakerStep(kept); got.ID == ks.ID || got.SpecialistID != team.ID || got.State != wire.StepQueued {
+ t.Fatalf("the restarted step %+v", got)
+ }
+
+ // The team's Design does not stand in where a project has its own:
+ // moved to Patrix, the team-made task is asked about.
+ turn2, toPatrix := r.personTask(l, "Suite", wire.KindChange)
+ if res := r.call(l, turn2.ID, wire.ToolStartTask, map[string]any{"task": toPatrix, "brief": "b", "specialist": team.ID}); res.IsError {
+ t.Fatal(res)
+ }
+ ps := r.makerStep(toPatrix)
+ r.ackDispatches(ps.ID)
+ if refused := r.authorize(l, ps, ""); refused != "" {
+ t.Fatalf("start %q", refused)
+ }
+ if err := r.s.MoveTask(r.ctx, paul, toPatrix, wire.MoveTask{Repo: repoPatrix, Revision: r.load(toPatrix).Revision}); err != nil {
+ t.Fatal(err)
+ }
+ r.report(l, r.stepNow(ps.ID), wire.StepReport{State: wire.StepCancelled, Reason: "cancelled", Termination: true})
+ if n := len(r.recoveryCards(toPatrix)); n != 1 {
+ t.Fatalf("%d cards for the team's Design moved to Patrix", n)
+ }
+}
+
+// TestDesignRecoverySweep: a maker that stops resolving with no step
+// event (its grant no longer holds) is found by the placement pass; a
+// task whose maker resolves is not.
+func TestDesignRecoverySweep(t *testing.T) {
+ r, l, _ := grantRig(t)
+ r.exec("CREATE TABLE IF NOT EXISTS runners (id text PRIMARY KEY, person text, role text, label text, removing_at datetime, tainted_at datetime, revoked_at datetime)")
+ sp := r.active(l, "Patrix", "p_patrix")
+ task, s := r.runningDesign(l, sp, wire.KindChange)
+ r.report(l, s, wire.StepReport{State: wire.StepFailed, Reason: "provider_failed", Termination: true})
+ r.must(r.s.Place(r.ctx))
+ if n := len(r.recoveryCards(task)); n != 0 {
+ t.Fatalf("%d cards while the maker resolves", n)
+ }
+ r.exec("UPDATE chat_capability_grants SET revoked_at = ? WHERE specialist_id = ? AND capability = ?", r.now, sp.ID, specialist.CapabilityPageRender)
+ r.must(r.s.Place(r.ctx))
+ r.must(r.s.Place(r.ctx))
+ if n := len(r.recoveryCards(task)); n != 1 {
+ t.Fatalf("%d cards after the grant stopped holding", n)
+ }
+ // The Assistant hears of it as a card that stops the work: a job
+ // whose thread holds one is blocked by it.
+ if !blocksWork(wire.CardMakerRemoved, wire.CardOpen) || blocksWork(wire.CardMakerRemoved, wire.CardAnswered) {
+ t.Fatal("the recovery card does not stop the work")
+ }
+ h := handoffRecord{ID: "h_design1", Person: paul, LedgerKey: "k_design1", State: handoffOpen, Lane: wire.JobLane("h_design1"), CreatedAt: r.now, UpdatedAt: r.now}
+ r.must(r.s.db.G.Create(&h).Error)
+ r.must(r.s.db.G.Create(&cardRecord{ID: "c_job_maker", Person: paul, Kind: wire.CardMakerRemoved, State: wire.CardOpen, TaskID: task, Name: "maker:x", Options: `["to_engineering"]`, Revision: 1, CreatedAt: r.now, UpdatedAt: r.now, Lane: h.Lane}).Error)
+ r.must(r.tx(func(tx *txn) error {
+ kind, err := tx.blockingCard(h)
+ if err == nil && kind != wire.CardMakerRemoved {
+ t.Fatalf("the job's blocking card %q", kind)
+ }
+ return err
+ }))
+}
diff --git a/internal/equipo/chat/handoff.go b/internal/equipo/chat/handoff.go
index 199604e9..0eabfea6 100644
--- a/internal/equipo/chat/handoff.go
+++ b/internal/equipo/chat/handoff.go
@@ -1116,7 +1116,7 @@ func (t *txn) handoffCards(h handoffRecord, kinds []string, states []string) ([]
// blockingCard is the kind of the hand-off's newest open card that stops
// its work (blocksWork), "" with none.
func (t *txn) blockingCard(h handoffRecord) (string, error) {
- cards, err := t.handoffCards(h, []string{wire.CardHome, wire.CardAccess, wire.CardDirection, wire.CardSpecialist, wire.CardResearchSources, wire.CardResearchInventory, wire.CardMergeShips, wire.CardMergePolicy}, []string{wire.CardOpen, wire.CardHomeAsk})
+ cards, err := t.handoffCards(h, []string{wire.CardHome, wire.CardAccess, wire.CardDirection, wire.CardSpecialist, wire.CardResearchSources, wire.CardResearchInventory, wire.CardMergeShips, wire.CardMergePolicy, wire.CardMakerRemoved}, []string{wire.CardOpen, wire.CardHomeAsk})
if err != nil {
return "", err
}
diff --git a/internal/equipo/chat/handoff_test.go b/internal/equipo/chat/handoff_test.go
index b1673492..0ad9ef6b 100644
--- a/internal/equipo/chat/handoff_test.go
+++ b/internal/equipo/chat/handoff_test.go
@@ -102,7 +102,7 @@ func TestFallbackTitle(t *testing.T) {
// waits on them, each need of a task's but the go-ahead and a retryable
// step, and going live that failed. Unknown, it is no line.
func TestJobNoteBlockedLines(t *testing.T) {
- causes := []string{wire.CardAccess, wire.CardHome, wire.CardDirection, wire.CardSpecialist, wire.CardResearchSources, wire.CardResearchInventory, wire.CardMergeShips, wire.CardMergePolicy,
+ causes := []string{wire.CardAccess, wire.CardHome, wire.CardDirection, wire.CardSpecialist, wire.CardResearchSources, wire.CardResearchInventory, wire.CardMergeShips, wire.CardMergePolicy, wire.CardMakerRemoved,
wire.NeedsHeld, wire.NeedsBranchMoved, wire.NeedsReviewBlocked, wire.NeedsFixRounds, wire.NeedsMergeConflict, wire.NeedsMachineRemoved, wire.NeedsRunnerOffline, wire.NeedsMacSandbox, wire.NeedsDirection, causeGoingLive, causeNoAccess}
for _, c := range causes {
if line := blockedLine(c); line == "" || strings.HasSuffix(line, ".") || strings.ContainsAny(line, "\n[]") {
diff --git a/internal/equipo/chat/outcome.go b/internal/equipo/chat/outcome.go
index 42cb14dd..4ba7442e 100644
--- a/internal/equipo/chat/outcome.go
+++ b/internal/equipo/chat/outcome.go
@@ -46,7 +46,7 @@ func blocksWork(kind, state string) bool {
switch kind {
case wire.CardHome:
return state == wire.CardHomeAsk
- case wire.CardAccess, wire.CardDirection, wire.CardSpecialist, wire.CardResearchSources, wire.CardResearchInventory, wire.CardMergeShips, wire.CardMergePolicy:
+ case wire.CardAccess, wire.CardDirection, wire.CardSpecialist, wire.CardResearchSources, wire.CardResearchInventory, wire.CardMergeShips, wire.CardMergePolicy, wire.CardMakerRemoved:
return state == wire.CardOpen
}
return false
diff --git a/internal/equipo/chat/placement.go b/internal/equipo/chat/placement.go
index ad7b68e4..c276e7d1 100644
--- a/internal/equipo/chat/placement.go
+++ b/internal/equipo/chat/placement.go
@@ -280,6 +280,11 @@ func (t *txn) finishMove(k *taskRecord) error {
return ErrConflict
}
}
+ if k.MakerSpecialistID != "" {
+ // Moved to a project its maker does not work on: its next step
+ // ended at dispatch, and its creator is asked.
+ return t.offerRecovery(k.ID)
+ }
return nil
}
diff --git a/internal/equipo/chat/runners.go b/internal/equipo/chat/runners.go
index 5c91b5e7..ff753cca 100644
--- a/internal/equipo/chat/runners.go
+++ b/internal/equipo/chat/runners.go
@@ -740,7 +740,9 @@ func (s *Store) Place(ctx context.Context) error {
return err
}
}
- return nil
+ // A task whose maker no longer acts for its project is asked
+ // about once its Design attempts have ended (design_routing.go).
+ return t.offerRecoveriesAll()
})
}
diff --git a/internal/equipo/chat/tools.go b/internal/equipo/chat/tools.go
index c53f8189..9d9b20d7 100644
--- a/internal/equipo/chat/tools.go
+++ b/internal/equipo/chat/tools.go
@@ -153,6 +153,8 @@ func blockedLine(cause string) string {
return "they need to choose how the work goes on"
case wire.CardSpecialist:
return "they need to approve bringing in a specialist"
+ case wire.CardMakerRemoved:
+ return "the specialist doing the work was removed, and they need to say whether Engineering carries on with it"
case wire.CardResearchSources, wire.CardResearchInventory:
return "they need to approve the research"
case wire.CardMergeShips, wire.CardMergePolicy: