oficina / equipo Public

Never invite a retry when going live is refused for want of access

Main's merge_credential fix (364560b1) makes the runner's own refusal
definite, but the Assistant was still told "going live failed, and
they need to try it again" and that the change "waits for a go-ahead",
so the person was sent back to the same refusal.

A failed merge for want of access (merge_credential, or the hub's
merge_forbidden) now stops its job on causeNoAccess:
- the Assistant's note says what is missing and that trying again
  will not help; it never names Equipo;
- where the work stands says it can't go live until access is set up,
  not that it waits for a go-ahead; the job is not shown ready;
- the stopped job card has its own sentence;
- Equipo's decision panel asks no "Try again?" for these (Retry stays,
  for once access is set up). The views use main's merge_credential
  words.

Copy approved by Paul (2026-11-26, coordinator session, unchanged).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev 8e3cc96090554b6dac0bf1cea3f1357494d889ac parent c217397
13 files changed, +178 −16
  • .rastrillo/budgets.txt +4 −4
  • docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md +2 −0
  • internal/equipo/chat/handoff.go +25 −4
  • internal/equipo/chat/handoff_test.go +26 −1
  • internal/equipo/chat/jobs.go +13 −4
  • internal/equipo/chat/tools.go +11 −1
  • internal/equipo/copy.go +9 −0
  • internal/equipo/templates/work_parts.html +1 −1
  • internal/equipo/work_views.go +6 −0
  • internal/equipo/work_views_test.go +44 −0
  • internal/plan3test/plan3_release_test.go +4 −1
  • internal/thintest/assistant_job_state_contract_test.go +26 −0
  • internal/thintest/assistant_team_contract_test.go +7 −0

CI cancelled — superseded by a newer push — 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/honest-merge-refusals-v2: Type  Size Avail | ext4   96G   85G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   85G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 1.4s
ci-box: codex: fetched and verified in 3.7s
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.4s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.9s
ci-box: pi: installed and verified in 7.5s
ci-box: opencode: installed and verified in 2.2s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.8s
ci-box: clone deepened in 4.3s
ci-box: file times set from content: 3071 files, 197 directories
ci-box: ready in 18.1s
=== 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.147s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  4.1s
+ go list -export -test -tags testbuild -f  ./...
  3.9s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  3.3s
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -version
staticcheck 2026.1 (v0.7.0)
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 -version
Go: go1.26.11
Scanner: govulncheck@v1.8.0
DB: https://vuln.go.dev
DB updated: 2026-11-24 15:56:00 +0000 UTC

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

--- FAIL amadan.net/oficina/equipo/internal/headless TestHeadless/4c_rebase
=== RUN   TestHeadless/4c_rebase
time=2026-11-26T11:31:41.033Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-26T11:31:41.034Z level=INFO msg="startup phase done" phase=state_lock took=389µs
time=2026-11-26T11:31:41.034Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-26T11:31:41.034Z level=INFO msg="startup phase done" phase=claim_roots took=481µs
time=2026-11-26T11:31:41.035Z level=INFO msg="startup phase" phase=sweep
time=2026-11-26T11:31:41.078Z level=INFO msg="startup phase done" phase=sweep took=43.822ms
time=2026-11-26T11:31:41.079Z level=INFO msg="startup phase" phase=credentials
time=2026-11-26T11:31:41.079Z level=INFO msg="startup phase done" phase=credentials took=199µs
time=2026-11-26T11:31:41.079Z level=INFO msg="startup phase" phase=open_state
time=2026-11-26T11:31:41.121Z level=INFO msg="startup phase done" phase=open_state took=42.513ms
time=2026-11-26T11:31:41.122Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-26T11:31:41.123Z level=INFO msg=connecting host=127.0.0.1:40345 protocol=30
time=2026-11-26T11:31:41.126Z level=INFO msg=connected host=127.0.0.1:40345 took=1.077ms
time=2026-11-26T11:31:41.126Z level=INFO msg="capabilities gathering"
time=2026-11-26T11:31:41.127Z level=INFO msg="capabilities gathered" took=1.224ms tags=linux,claude,go
time=2026-11-26T11:31:41.127Z level=INFO msg="hello sent" protocol=30
time=2026-11-26T11:31:41.133Z level=INFO msg=welcome protocol=30 role=primary generation=1
time=2026-11-26T11:31:41.908Z level=INFO msg="connection checked" connection=claude-1 state=healthy
time=2026-11-26T11:31:45.743Z level=INFO msg="kept sessions" kept=1 bytes=2824 expired=0
time=2026-11-26T11:31:51.427Z level=INFO msg="kept sessions" kept=2 bytes=5030 expired=0
    merge_test.go:245: steps [engineering:done checks:passed review:approve merge:merge_conflict engineering:queued], want [engineering:done checks:passed review:approve merge:merge_conflict engineering:done checks:passed review:approve merge:done] (in_progress )
time=2026-11-26T11:31:51.544Z level=WARN msg="step base" err=*fmt.wrapError
--- FAIL: TestHeadless/4c_rebase (10.99s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m6.836s
FAIL	amadan.net/oficina/equipo/internal/headless	67.067s


receipt: test step 1m8.49s 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 1m6.836s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m6.84s amadan.net/oficina/equipo/internal/headless TestHeadless
exit status 1
+ go test -tags testbuild -timeout 15m -run '^TestHeadless$/^4c_rebase$|^TestHeadless$/^4b_ask$|^TestHeadless$/^4c_checks_card$|^TestHeadless$/^4_step_crash$' -v -run '^TestHeadless$/^4c_rebase$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestHeadless/4c_rebase headless-work 8e3cc96090554b6dac0bf1cea3f1357494d889ac 10.99s 62.98
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 62.81, cpu waiting 37.64%, memory waiting 0.00%, io waiting 0.58%
--- 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 1m16.366s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m14.608s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m14.61s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 65.21, cpu waiting 37.14%, memory waiting 0.00%, io waiting 0.72%
--- 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
--- FAIL amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
=== RUN   TestHeadlessTokenPasteEndToEnd
time=2026-11-26T11:31:53.902Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-26T11:31:53.902Z level=INFO msg="startup phase done" phase=state_lock took=72µs
time=2026-11-26T11:31:53.902Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-26T11:31:53.902Z level=INFO msg="startup phase done" phase=claim_roots took=80µs
time=2026-11-26T11:31:53.902Z level=INFO msg="startup phase" phase=sweep
time=2026-11-26T11:31:53.935Z level=INFO msg="startup phase done" phase=sweep took=32.879ms
time=2026-11-26T11:31:53.935Z level=INFO msg="startup phase" phase=credentials
time=2026-11-26T11:31:53.935Z level=INFO msg="startup phase done" phase=credentials took=99µs
time=2026-11-26T11:31:53.935Z level=INFO msg="startup phase" phase=open_state
time=2026-11-26T11:31:53.978Z level=INFO msg="startup phase done" phase=open_state took=43.478ms
time=2026-11-26T11:31:53.980Z level=INFO msg=connecting host=127.0.0.1:42037 protocol=30
time=2026-11-26T11:31:53.982Z level=INFO msg=connected host=127.0.0.1:42037 took=1.258ms
time=2026-11-26T11:31:53.983Z level=INFO msg="capabilities gathering"
time=2026-11-26T11:31:53.984Z level=INFO msg="capabilities gathered" took=807µs tags=linux,claude,go
time=2026-11-26T11:31:53.984Z level=INFO msg="hello sent" protocol=30
time=2026-11-26T11:31:53.989Z level=INFO msg=welcome protocol=30 role=primary generation=1
time=2026-11-26T11:31:58.738Z level=WARN msg="disconnect logout" err="exit status 2"
    token_test.go:231: the token's home stayed: <nil>
--- FAIL: TestHeadlessTokenPasteEndToEnd (5.28s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m14.107s
FAIL	amadan.net/oficina/equipo/internal/headless	74.382s


receipt: test step 1m15.961s 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 1m14.107s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m4.88s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.28s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 3.94s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
rastrillo: budget test: go test failed
exit status 1
+ go test -tags testbuild -timeout 15m -run '^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$' -v -run '^TestHeadlessTokenPasteEndToEnd$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestHeadlessTokenPasteEndToEnd headless-connections 8e3cc96090554b6dac0bf1cea3f1357494d889ac 5.28s 65.21
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 64.80, cpu waiting 37.03%, memory waiting 0.00%, io waiting 0.65%
--- 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 1m13.714s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m12.107s amadan.net/oficina/equipo/internal/headless
receipt: slow test 35.63s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 18.79s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.93s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
receipt: slow test 8.76s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
machine: 32 CPUs, load 65.21, cpu waiting 36.68%, memory waiting 0.00%, io waiting 0.74%
--- 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 1m31.767s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m30.161s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m1.21s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.08s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 8.31s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 6.99s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 4.57s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 60.42, cpu waiting 37.59%, memory waiting 0.00%, io waiting 0.55%
--- 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 2m43.069s 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 2m41.409s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m35.22s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 18.66s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.79s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 6.66s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
receipt: slow test 6.4s amadan.net/oficina/equipo/internal/headless TestHeadlessBatchAfterRefusedReply
machine: 32 CPUs, load 24.55, cpu waiting 12.58%, memory waiting 0.00%, io waiting 0.16%
--- 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 2m12.882s 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 2m10.765s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.74s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.74s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.11s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 3.89s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 2.63s amadan.net/oficina/equipo/internal/thintest TestContractTeamUpdatePersonNeeds
machine: 32 CPUs, load 37.56, cpu waiting 21.29%, memory waiting 0.00%, io waiting 0.27%
--- 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
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/thintest TestContractRetryAccountActions
=== RUN   TestContractRetryAccountActions
    retry_contract_test.go:296: sign in again
--- FAIL: TestContractRetryAccountActions (0.18s)

--- FAIL amadan.net/oficina/equipo/internal/thintest (package output)
FAIL
rastrillo-budget/v1 ran 1m38.578s
FAIL	amadan.net/oficina/equipo/internal/thintest	98.812s


receipt: test step 1m40.355s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 1m38.578s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.23s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.06s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.53s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.97s amadan.net/oficina/equipo/internal/thintest TestContractPausedJob
receipt: slow test 2.38s amadan.net/oficina/equipo/internal/thintest TestContractRetryFailedPreviewAfterMerge
exit status 1
+ go 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)' -v -run '^TestContractRetryAccountActions$' -count=1 ./internal/thintest   (retry, once)
##############################################################################
FLAKE ./internal/thintest:TestContractRetryAccountActions thintest-contract 8e3cc96090554b6dac0bf1cea3f1357494d889ac 0.18s 56.53
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 56.53, cpu waiting 34.27%, memory waiting 0.00%, io waiting 0.46%
--- shard 8 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-thin: ./internal/runner/thin
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/runner/thin
cache miss: amadan.net/oficina/equipo/internal/runner/thin: its inputs changed

amadan: job cancelled — a newer push superseded it
--- shard 9 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-bug: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

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

receipt: test step 1m0.277s 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 58.371s amadan.net/oficina/equipo/internal/runner
receipt: slow test 48.26s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 43.88s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.4s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.7s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 61.67, cpu waiting 36.20%, memory waiting 0.00%, io waiting 0.94%
--- shard 11 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-rest: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$|^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

receipt: test step 36.026s 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.093s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.15s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.38s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.12s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.68s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 36.13, cpu waiting 21.08%, memory waiting 0.00%, io waiting 1.41%
--- 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 39.5%, load 27.34
test lane equipotest-a: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test[A-D]|^TestQ' ./internal/equipotest

receipt: test step 1m9.318s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m7.202s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 28.5s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 28.45s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 26.19s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 23.4s amadan.net/oficina/equipo/internal/equipotest TestBudgetLoweringBelowUsage
receipt: slow test 23.36s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
machine: 32 CPUs, load 56.53, cpu waiting 35.16%, memory waiting 0.00%, io waiting 0.48%
--- shard 13 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-e started 30s late; cpu waiting 39.5%, load 27.34
test lane equipotest-e: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test[E-P]' ./internal/equipotest

receipt: test step 1m19.022s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m17.332s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 20.79s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 20.78s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 20.77s amadan.net/oficina/equipo/internal/equipotest TestProjectBindingUniqueness
receipt: slow test 20.73s amadan.net/oficina/equipo/internal/equipotest TestProjectRejectsUnsafeBinding
receipt: slow test 20.68s amadan.net/oficina/equipo/internal/equipotest TestProjectsAccountRevisionAndValidation
machine: 32 CPUs, load 53.04, cpu waiting 31.24%, memory waiting 0.00%, io waiting 0.42%
--- 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 39.6%, load 27.34
test lane equipotest-r: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestR' ./internal/equipotest

receipt: test step 1m15.255s 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.11s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 15.54s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.64s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.52s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 10.44s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 7.51s amadan.net/oficina/equipo/internal/equipotest TestRosterProtectsLastOwner
machine: 32 CPUs, load 53.04, cpu waiting 33.25%, memory waiting 0.00%, io waiting 0.45%
--- shard 15 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-rest started 30s late; cpu waiting 39.5%, load 27.34
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 1m8.786s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m7.088s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 25.65s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 25.21s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 25.19s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 23.4s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsRollbackAndUnavailable
receipt: slow test 23.35s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
machine: 32 CPUs, load 59.19, cpu waiting 36.25%, memory waiting 0.00%, io waiting 0.49%
--- shard 16 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: plan3test started 30s late; cpu waiting 39.5%, load 27.34
test lane plan3test: ./internal/plan3test
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/plan3test

receipt: test step 54.757s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 52.692s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.74s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.5s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.79s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.53s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.29s amadan.net/oficina/equipo/internal/plan3test TestPlanMigrationUpgrade
machine: 32 CPUs, load 62.81, cpu waiting 37.13%, memory waiting 0.00%, io waiting 0.63%
--- shard 17 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: rest started 30s late; cpu waiting 39.5%, load 27.34
test lane rest: ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/door ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/claude/realcli ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/forgekey ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/door ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/claude/realcli ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/forgekey ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/chatmarkdown: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude/realcli: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runnerproto: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/testci: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/wire/wireschema: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
budget note: internal/equipo took 51.858s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 18.951s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/setup took 10.566s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/idtest took 1m49.357s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 23.057s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/runner/containment took 48.969s, over the 15s its record on line 40 allows; reported only, timing fails on CI
budget note: internal/runner/provider/claude/realcli took 12.978s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 2m30.751s against a 60s target (the gate's other steps are not in this figure)
receipt: 24 packages ran, 42 cached, 17 without tests, 0 failed
receipt: slow package 1m49.357s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 1m7.975s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 53.223s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 52.165s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 51.858s amadan.net/oficina/equipo/internal/equipo
receipt: slow test 53.7s amadan.net/oficina/equipo/internal/idtest TestDoorRemembersOficinaID
receipt: slow test 46.04s amadan.net/oficina/equipo/internal/idtest TestDoorOficinaSettingsUnreadableIsNoLoop
receipt: slow test 45.55s amadan.net/oficina/equipo/internal/idtest TestDoorStepUpIsLocal
receipt: slow test 45.12s amadan.net/oficina/equipo/internal/idtest TestDoorForgetsOficinaIDForARefusedSession
receipt: slow test 45.09s amadan.net/oficina/equipo/internal/idtest TestDoorNeverJudgesANativeSession
machine: 32 CPUs, load 18.14, cpu waiting 9.32%, memory waiting 0.00%, io waiting 0.11%
--- shard 18 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-chat: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' ./internal/headless

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

receipt: test step 1m29.402s 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.809s amadan.net/oficina/equipo/internal/headless
receipt: slow test 27.25s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 20.84s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 12.75s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 9.54s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 8.91s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 60.42, cpu waiting 37.72%, memory waiting 0.00%, io waiting 0.57%
--- 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 1m52.875s 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 1m51.166s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.08s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 13.42s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 12.12s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 11.43s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 11.29s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsSignInEmail
machine: 32 CPUs, load 49.68, cpu waiting 28.39%, memory waiting 0.00%, io waiting 0.37%
--- shard 21 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-rest: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInEmail|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserCopyContinue
=== RUN   TestBrowserCopyContinue
time=2026-11-26T11:31:21.533Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-26T11:31:21.533Z level=INFO msg="startup phase done" phase=state_lock took=83µs
time=2026-11-26T11:31:21.533Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-26T11:31:21.533Z level=INFO msg="startup phase done" phase=claim_roots took=123µs
time=2026-11-26T11:31:21.533Z level=INFO msg="startup phase" phase=sweep
time=2026-11-26T11:31:21.571Z level=INFO msg="startup phase done" phase=sweep took=37.926ms
time=2026-11-26T11:31:21.571Z level=INFO msg="startup phase" phase=credentials
time=2026-11-26T11:31:21.572Z level=INFO msg="startup phase done" phase=credentials took=107µs
time=2026-11-26T11:31:21.572Z level=INFO msg="startup phase" phase=open_state
time=2026-11-26T11:31:21.617Z level=INFO msg="startup phase done" phase=open_state took=45.236ms
time=2026-11-26T11:31:21.617Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-26T11:31:21.619Z level=INFO msg=connecting host=127.0.0.1:44377 protocol=30
time=2026-11-26T11:31:21.621Z level=INFO msg=connected host=127.0.0.1:44377 took=2.137ms
time=2026-11-26T11:31:21.621Z level=INFO msg="capabilities gathering"
time=2026-11-26T11:31:21.622Z level=INFO msg="capabilities gathered" took=1.529ms tags=linux,claude,go
time=2026-11-26T11:31:21.623Z level=INFO msg="hello sent" protocol=30
time=2026-11-26T11:31:21.630Z level=INFO msg=welcome protocol=30 role=primary generation=1
    browser_copy_test.go:90: waiting for !document.querySelector('[data-copy-continue]'): context deadline exceeded (last evaluation: <nil>)
--- FAIL: TestBrowserCopyContinue (6.41s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m31.935s
FAIL	amadan.net/oficina/equipo/internal/headless	92.128s


receipt: test step 1m33.504s 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 1m31.935s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.68s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 10.91s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.35s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 9.68s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.42s amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|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 8e3cc96090554b6dac0bf1cea3f1357494d889ac 6.41s 59.19
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 59.19, cpu waiting 36.25%, memory waiting 0.00%, io waiting 0.49%
--- shard 22 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-rest: ./internal/equipo
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserPreviewBlocksNavigation)$' ./internal/equipo

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

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

receipt: test step 3.713s 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.067s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 2.07s 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

amadan: job cancelled — a newer push superseded it
--- shard 23 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 23: make test-quarantine
python3 scripts/ci-test.py quarantine
quarantine: 12 tests from scripts/ci-quarantine.txt; a failure is retried once, and a pass on the retry is reported as a flake
+ go test -tags testbuild -timeout 15m -v -run '^TestHeadlessConnections$/^A5_cancel_and_sign_out$|^TestHeadlessConnections$/^C4_claude_sign_in$|^TestHeadlessConnections$/^C5_engineering_failover$|^TestHeadlessConnections$/^C5_engineering_to_codex$|^TestHeadlessConnections$/^C5_engineering_waits$' ./internal/headless   (52s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 4.63s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.16s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 8.47s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 8.59s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 27.57s
+ 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   (54s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 12.20s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 11.19s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 10.44s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 17.92s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (21s)
ok ./internal/headless TestMixedVersions 18.99s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.78s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (1s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.06s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 59.29, cpu waiting 34.27%, memory waiting 0.00%, io waiting 1.04%
--- 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 11.862s against a 60s target (the gate's other steps are not in this figure)
receipt: 4 packages ran, 0 cached, 4 without tests, 0 failed
receipt: slow package 7.887s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 185ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 64ms 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.48s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.76s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 520ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 180ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxToolchain
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run '^TestNamespace' -count=1 ./internal/runner/containment
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run '^TestNamespace' -count=1 ./internal/runner/containment

receipt: test step 3.462s 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.082s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 310ms 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 TestNamespaceReapsOrphans
machine: 32 CPUs, load 20.40, cpu waiting 9.05%, memory waiting 0.00%, io waiting 1.97%
--- shard 25 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: runner-dead-references started 30s late; cpu waiting 39.5%, load 27.34
shard 25: make runner-dead-references lanes-check build vet fmt-check spacing budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2783 text files, 3228 matches, 0 failures
python3 scripts/ci-test.py check
lanes: 18 lanes and 5 browser lanes run every test once; 20-check@29
CGO_ENABLED=0 go build ./...
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o /dev/null ./cmd/equipo-runner
go vet ./...
go vet -tags testbuild ./internal/runner/thin ./internal/headless
GOOS=darwin GOARCH=arm64 go vet ./cmd/equipo-runner/... ./internal/runner/... ./internal/wire/... ./internal/release/...
go tool fiesta spacing -skip tokens.css internal/equipo/static
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
budget size: 92 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.428s
machine: 32 CPUs, load 62.98, cpu waiting 36.73%, memory waiting 0.00%, io waiting 0.82%
--- shard 26 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: staticcheck started 30s late; cpu waiting 39.5%, load 27.34
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 47.87, cpu waiting 30.18%, memory waiting 0.00%, io waiting 1.15%
--- shard 27 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: govulncheck started 30s late; cpu waiting 39.5%, load 27.34
shard 27: make govulncheck
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./...
=== Symbol Results ===

No vulnerabilities found.

Your code is affected by 0 vulnerabilities.
This scan also found 0 vulnerabilities in packages you import and 3
vulnerabilities in modules you require, but your code doesn't appear to call
these vulnerabilities.
Use '-show verbose' for more details.
machine: 32 CPUs, load 36.13, cpu waiting 22.78%, memory waiting 0.00%, io waiting 1.36%
--- shard 28 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: gitleaks started 30s late; cpu waiting 39.6%, load 27.34
shard 28: make gitleaks
11:31AM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
11:31AM INF 1176 commits scanned.
11:31AM INF scanned ~66620335 bytes (66.62 MB) in 23.9s
11:31AM INF no leaks found
machine: 32 CPUs, load 56.53, cpu waiting 34.27%, memory waiting 0.00%, io waiting 1.04%
diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt
index 12bbad0a..6462fb0c 100644
--- a/.rastrillo/budgets.txt
+++ b/.rastrillo/budgets.txt
@@ -14,7 +14,7 @@ perf GET /* skip Unknown private paths render 404; this fallback contains no scr
time internal/equipo/team 60s Plan 3 loaded CI measured 45.985s; niced serial reruns measured 18.079s and 22.031s. Keep migration, recovery, accounting and concurrency assertions; 60s leaves 30 percent headroom above loaded CI.
time internal/equipotest 300s Final fix package rerun measured 187.035s (review 172.4s); 300s gives 60 percent headroom for HTTP, sandbox, authority and final regression coverage.
-size internal/equipo 22600 - Stuck tasks' Retry and timeline (2026-11-25), merge_credential and amadan_unreachable copy (2026-11-26); measured 22600 source lines.
+size internal/equipo 22615 - Stuck tasks' Retry and timeline (2026-11-25), merge_credential copy (2026-11-26), no-access merges ask no retry (2026-11-26); measured 22615 source lines.
size internal/wire 7088 - Native task evidence fields, merge_credential and amadan_unreachable reasons (2026-11-26); measured 7088 source lines.
size internal/equipotest - 12017 Task 21 repairs historical migration and conversation fixtures after Plan 3, and the Rastrillo upgrade contract comparing served assets with what Assets serves; measured 0/12017 source/test lines.
time internal/runner/checks 90s CI worker measured 44.553s (44.6s rounded);
@@ -30,7 +30,7 @@ size internal/runner/provider 5731 - Fable follow-up: base and diagnostic gates,
time internal/plan3test 300s Initial cap for combined browser and runner acceptance; measure at both usable stops.
-size internal/plan3test - 11913 Paused-work, Assistant, stuck-task and merge credential strings in the release inventory (2026-11-26); measured 11913 test lines.
+size internal/plan3test - 11916 Paused-work, Assistant, stuck-task, merge credential and no-access strings in the release inventory (2026-11-26); measured 11916 test lines.
time internal/runner/forge 20s Plan 3 CI repair measured 10.527s for the full package (controller CI 10.407s).
time internal/runner/provider 15s Plan 3 CI repair measured 10.346s for the full package (controller CI 10.709s);
@@ -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 34839 9685 Native task hosted projection and stable completion time with regressions; measured 34839/9685 (2026-11-26).
+size internal/equipo/chat 34879 9710 Native task hosted projection and stable completion time; no-access merges never invite a retry; measured 34879/9710 (2026-11-26).
perf GET /api/v1/questions/{id} skip Thin v1 person API: bearer-only JSON for devices; the browser reads questions on /tasks/{id}.
perf GET /api/v1/steps/{id}/log skip Thin v1 person API: bearer-only JSON for devices; the browser shows the log tail on /tasks/{id}.
perf GET /api/v1/connections/preference skip Connections slice 1 person API: bearer-only JSON for devices; the browser shows the preference on /conversation/connections.
@@ -71,7 +71,7 @@ perf GET /tasks/{id}/files/{file} skip Research kept images: the bytes of one im
perf GET /api/v1/runners skip Mac runners person API: bearer-only JSON for devices; the browser shows runners in the Team section.
time cmd/equipo-runner 60s TestReleaseRunnerHasNoFakeWorker builds the release runner and the thin package under testbuild (about 12s locally).
size internal/headless - 11437 Grant scenarios for a named repository (hub #48); the sign-in's account email at 1280 and 390; measured 11437 test lines.
-size internal/thintest - 35085 Stuck-task contracts plus paused-job fixed-clock coverage at three hours (2026-11-26); measured 35085 test lines.
+size internal/thintest - 35118 Stuck-task contracts, paused-job fixed-clock coverage, the no-access merge job contract (2026-11-26); measured 35118 test lines.
perf GET /api/v1/projects/{id}/merge-policy skip Merge authority person API: bearer-only JSON for devices; the browser reads the policy on /projects/{id}.
perf GET /api/v1/usage skip Thin v1 person API: bearer-only JSON for devices; the browser reads usage through /usage.
diff --git a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
index ae2e6956..e3b15798 100644
--- a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
+++ b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
@@ -6910,6 +6910,8 @@ records remain unchanged.
| `work.tl.coordinator_retried` | The coordinator started %s again. | Copy specialist | Runtime; COPY APPROVED (Paul, 2026-11-25, copy-review 6haczxo74hoyyuf7xkojgqd27e, unchanged) |
| `work.reason.merge_credential` | the runner has no Amadan credential for this repository | Copy specialist | Runtime; COPY APPROVED (Paul, 2026-11-25, copy-review 6wxwi7zo3fph5nu4nm6eipptfq, unchanged) |
| `work.reason.amadan_unreachable` | Amadan could not be reached to confirm Equipo may merge here | Copy specialist | Runtime; COPY APPROVED (Paul, 2026-11-25, copy-review 6wxwi7zo3fph5nu4nm6eipptfq, unchanged) |
+| `assistant.team.no_access` | The change is ready, but it can't go live until access to publish it is set up. | Told to the Assistant: where the work stands once going live was refused for want of access (merge_credential, merge_forbidden), instead of "waits for a go-ahead" | Runtime; COPY APPROVED (Paul, 2026-11-26, coordinator session, unchanged) |
+| `assistant.job.detail.no_access` | It can't go live until access to publish it is set up. | Base job card: a stopped job's sentence more when going live was refused for want of access | Runtime; COPY APPROVED (Paul, 2026-11-26, coordinator session, unchanged) |
## Task 21
diff --git a/internal/equipo/chat/handoff.go b/internal/equipo/chat/handoff.go
index 6e9a300d..061025a3 100644
--- a/internal/equipo/chat/handoff.go
+++ b/internal/equipo/chat/handoff.go
@@ -740,6 +740,23 @@ func (t *txn) handoffSettled(h handoffRecord) (bool, error) {
return true, nil
}
+// noAccess: s is a merge step refused for want of access to publish to
+// the repository: the runner had no usable credential for it (merge_credential),
+// or the hub said the agent may not merge there (merge_forbidden).
+func noAccess(s *stepRecord) bool {
+ return s != nil && s.Specialist == wire.SpecialistMerge && (s.Reason == wire.ReasonMergeCredential || s.Reason == "merge_forbidden")
+}
+
+// goingLiveCause is why going live stopped on the failed step s:
+// causeNoAccess when it is a merge refused for want of access (trying
+// again cannot help), else causeGoingLive.
+func goingLiveCause(s *stepRecord) string {
+ if noAccess(s) {
+ return causeNoAccess
+ }
+ return causeGoingLive
+}
+
// mergeFailed: the task is back at Ready to merge because its candidate's
// merge failed and ended (merge.go's mergeFailed): only the person's
// Merge tries it again.
@@ -827,6 +844,10 @@ func (t *txn) taskSummary(k taskRecord) (string, error) {
stage := "assistant.team.stage." + k.Stage
switch needs := pr.needsYou(k); {
case wire.FinalStage(k.Stage):
+ case (needs == wire.NeedsMerge || needs == wire.NeedsRetry) && !k.CancelRequested && pr.merge != nil && pr.merge.State == wire.StepFailed && pr.merge.Terminated && noAccess(pr.merge):
+ // Going live was refused for want of access: what is missing,
+ // never "waits for a go-ahead".
+ stage = "assistant.team.no_access"
case needs != "" && needs != wire.NeedsMerge:
stage = "assistant.team.stopped"
case !slices.Contains(wire.Stages, k.Stage) || k.CancelRequested:
@@ -932,9 +953,9 @@ func (t *txn) jobStop(h handoffRecord, settled bool) (reason, cause string, ende
pr := progressFor(k, steps)
switch needs := pr.needsYou(k); {
case needs == wire.NeedsMerge && mergeFailed(k, pr):
- return stopBlocked, causeGoingLive, false, nil
+ return stopBlocked, goingLiveCause(pr.merge), false, nil
case needs == wire.NeedsRetry && live:
- return stopBlocked, causeGoingLive, false, nil
+ return stopBlocked, goingLiveCause(newest), false, nil
case needs == wire.NeedsRetry:
failed = true
case needs != "" && needs != wire.NeedsMerge:
@@ -1115,9 +1136,9 @@ func (t *txn) jobNote(h handoffRecord) (string, error) {
return "", err
}
// A Publish asked again because going live failed is not ready: the
- // person tries again.
+ // person tries again. Nor is going live refused for want of access.
ready := false
- if !asking && cause != causeGoingLive {
+ if !asking && cause != causeGoingLive && cause != causeNoAccess {
if ready, err = t.readyToTry(h); err != nil {
return "", err
}
diff --git a/internal/equipo/chat/handoff_test.go b/internal/equipo/chat/handoff_test.go
index 5114835b..65b0f273 100644
--- a/internal/equipo/chat/handoff_test.go
+++ b/internal/equipo/chat/handoff_test.go
@@ -101,7 +101,7 @@ func TestFallbackTitle(t *testing.T) {
// 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,
- wire.NeedsHeld, wire.NeedsBranchMoved, wire.NeedsReviewBlocked, wire.NeedsFixRounds, wire.NeedsMergeConflict, wire.NeedsMachineRemoved, wire.NeedsRunnerOffline, wire.NeedsMacSandbox, wire.NeedsDirection, causeGoingLive}
+ 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[]") {
t.Errorf("%s: %q", c, line)
@@ -115,4 +115,29 @@ func TestJobNoteBlockedLines(t *testing.T) {
t.Errorf("%q: %q", c, line)
}
}
+ // Going live refused for want of access: what is missing, and never
+ // an invitation to try the same again.
+ if line := blockedLine(causeNoAccess); !strings.Contains(line, "no access") || strings.Contains(strings.ToLower(line), "equipo") || strings.Contains(line, "need to try it again") || line == blockedLine(causeGoingLive) {
+ t.Errorf("no access: %q", line)
+ }
+}
+
+// TestGoingLiveCause: a failed merge refused for want of access (the
+// runner's own refusal, or the hub's forbidden) stops its job on access;
+// any other failed merge or publish on going live.
+func TestGoingLiveCause(t *testing.T) {
+ for _, c := range []struct {
+ s *stepRecord
+ want string
+ }{
+ {&stepRecord{Specialist: wire.SpecialistMerge, Reason: wire.ReasonMergeCredential}, causeNoAccess},
+ {&stepRecord{Specialist: wire.SpecialistMerge, Reason: "merge_forbidden"}, causeNoAccess},
+ {&stepRecord{Specialist: wire.SpecialistMerge, Reason: "merge_failed"}, causeGoingLive},
+ {&stepRecord{Specialist: wire.SpecialistPublish, Reason: wire.ReasonMergeCredential}, causeGoingLive},
+ {nil, causeGoingLive},
+ } {
+ if got := goingLiveCause(c.s); got != c.want {
+ t.Errorf("%+v: %q, want %q", c.s, got, c.want)
+ }
+ }
}
diff --git a/internal/equipo/chat/jobs.go b/internal/equipo/chat/jobs.go
index 96a99efa..990c6fc0 100644
--- a/internal/equipo/chat/jobs.go
+++ b/internal/equipo/chat/jobs.go
@@ -223,11 +223,16 @@ func (t *txn) jobView(h handoffRecord) (state, result, detail, carryOn string, l
}
return state, t.copy("assistant.job.status." + key), t.copy("assistant.job.detail." + key), "", links, nil
}
- return state, t.copy("assistant.job." + state), t.copy("assistant.job.detail." + state), "", links, nil
+ detail = t.copy("assistant.job.detail." + state)
+ if state == wire.JobStopped && key != "" {
+ detail = t.copy("assistant.job.detail." + key)
+ }
+ return state, t.copy("assistant.job." + state), detail, "", links, nil
}
-// jobState is jobView's state, a working job's status key and the link
-// the state offers first, if any.
+// jobState is jobView's state, a working job's status key (a stopped
+// job's detail key when it has one of its own) and the link the state
+// offers first, if any.
func (t *txn) jobState(h handoffRecord) (state, key string, first *wire.CardLink, err error) {
if h.State == handoffCancelled {
return wire.JobStopped, "", nil, nil
@@ -238,7 +243,7 @@ func (t *txn) jobState(h handoffRecord) (state, key string, first *wire.CardLink
}
// The job's note's stop (jobStop): a blocker only the person clears
// stops it before its work settles too.
- reason, _, ended, err := t.jobStop(h, settled)
+ reason, cause, ended, err := t.jobStop(h, settled)
if err != nil {
return "", "", nil, err
}
@@ -271,6 +276,10 @@ func (t *txn) jobState(h handoffRecord) (state, key string, first *wire.CardLink
if err != nil || asking {
return wire.JobAsking, "", nil, err
}
+ if reason != "" && cause == causeNoAccess {
+ // Going live refused for want of access: its own sentence.
+ return wire.JobStopped, causeNoAccess, nil, nil
+ }
if reason != "" {
return wire.JobStopped, "", nil, nil
}
diff --git a/internal/equipo/chat/tools.go b/internal/equipo/chat/tools.go
index ac78940b..d23c6d72 100644
--- a/internal/equipo/chat/tools.go
+++ b/internal/equipo/chat/tools.go
@@ -134,9 +134,15 @@ const (
// the person tries going live again.
const causeGoingLive = "going_live"
+// causeNoAccess: a job's merge was refused for want of access to publish
+// to its repository (goingLiveCause): trying again cannot help until
+// someone sets that access up, so the person is never invited to.
+const causeNoAccess = "no_access"
+
// blockedLine is noteBlocked's plain words for what stopped a job for
// its person: a team card that waits on them (by kind), a task's need,
-// or going live that failed ("" for anything else).
+// going live that failed, or going live refused for want of access ("" for
+// anything else).
func blockedLine(cause string) string {
switch cause {
case wire.CardAccess:
@@ -167,6 +173,10 @@ func blockedLine(cause string) string {
return "they need to let it be tested on their Mac"
case causeGoingLive:
return "going live failed, and they need to try it again"
+ case causeNoAccess:
+ // Read by the model only, never shown as copy (covered: Paul,
+ // 2026-11-26, coordinator session). It never names Equipo.
+ return "there is no access to publish it where the work lives, and someone needs to set that access up before it can go live; trying again will not help until then"
}
return ""
}
diff --git a/internal/equipo/copy.go b/internal/equipo/copy.go
index 70c8347e..fc169758 100644
--- a/internal/equipo/copy.go
+++ b/internal/equipo/copy.go
@@ -2414,6 +2414,15 @@ var pageCopy = map[string]string{
"api.already_running": "A request to run this work is already in progress.", // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-24)
"api.offer_changed": "The option to run this work has changed. Check the current option, then try again.", // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-24)
"work.pause.run_now_may_bill": "This may use a plan that bills per use.", // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-24)
+
+ // Going live refused for want of access to publish to the repository:
+ // the runner had no usable credential for it (merge_credential), or the
+ // hub said the agent may not merge there (merge_forbidden). Trying
+ // again cannot help until someone sets that access up, so neither
+ // invites it: where the work stands, told to the Assistant, and the
+ // stopped job card's sentence more.
+ "assistant.team.no_access": "The change is ready, but it can't go live until access to publish it is set up.", // COPY APPROVED (Paul, 2026-11-26, coordinator session, unchanged)
+ "assistant.job.detail.no_access": "It can't go live until access to publish it is set up.", // COPY APPROVED (Paul, 2026-11-26, coordinator session, unchanged)
}
// pasteLabels are the paste box's words, for the shared renderer, and
diff --git a/internal/equipo/templates/work_parts.html b/internal/equipo/templates/work_parts.html
index 1a04a0cd..4e1be335 100644
--- a/internal/equipo/templates/work_parts.html
+++ b/internal/equipo/templates/work_parts.html
@@ -36,7 +36,7 @@
{{define "decision"}}{{$t := .Task}}{{with $t.Decision}}<div equipo-decision{{if eq $.From "task"}} id="decide"{{end}}{{with .Tone}} data-tone="{{.}}"{{end}} data-need="{{.Need}}" data-decision="{{$t.ID}}">
{{if $.Head}}{{template "mono" $t.Mono}}<div equipo-d-title><a href="/tasks/{{$t.ID}}">{{$t.Title}}</a><div equipo-quiet>{{template "placement-chip" $t}} · {{template "source" $t}}</div></div>{{end}}
<p equipo-d-why>{{.Why}}</p>
-<p equipo-d-ask>{{.Ask}}</p>{{if .Link}}<p equipo-quiet data-direction-line>{{with .LinkText}}{{.}} {{end}}<a equipo-link href="{{.Link}}" rel="noopener noreferrer" target="_blank" data-direction-link>{{.LinkLabel}}</a>{{with .AltLink}} <a equipo-link href="{{.}}" rel="noopener noreferrer" target="_blank" data-direction-branch>{{$t.Decision.AltLabel}}</a>{{end}}</p>{{end}}{{with .Said}}<p equipo-quiet data-triage-said>{{.}}</p>{{end}}{{with .Failed}}<p equipo-quiet data-triage-failed>{{.}}</p>{{end}}{{with .Recommend}}<p equipo-quiet data-triage-recommend>{{.}}</p>{{end}}
+{{with .Ask}}<p equipo-d-ask>{{.}}</p>{{end}}{{if .Link}}<p equipo-quiet data-direction-line>{{with .LinkText}}{{.}} {{end}}<a equipo-link href="{{.Link}}" rel="noopener noreferrer" target="_blank" data-direction-link>{{.LinkLabel}}</a>{{with .AltLink}} <a equipo-link href="{{.}}" rel="noopener noreferrer" target="_blank" data-direction-branch>{{$t.Decision.AltLabel}}</a>{{end}}</p>{{end}}{{with .Said}}<p equipo-quiet data-triage-said>{{.}}</p>{{end}}{{with .Failed}}<p equipo-quiet data-triage-failed>{{.}}</p>{{end}}{{with .Recommend}}<p equipo-quiet data-triage-recommend>{{.}}</p>{{end}}
<div equipo-d-actions>{{if .CopyContinue}}<form method="post" action="/conversation/tasks/{{$t.ID}}/continue-without-copy"><input type="hidden" name="from" value="{{$.From}}"><button equipo-btn data-primary type="submit" data-copy-continue>{{copy "copy.continue"}}</button></form>{{end}}{{with .Card}}<form method="post" action="/conversation/cards/{{.ID}}/answer"><input type="hidden" name="revision" value="{{.Revision}}"><input type="hidden" name="from" value="{{$.From}}"><input type="hidden" name="task" value="{{$t.ID}}">{{if $.Task.Decision.Note}}<textarea rst-input name="note" maxlength="1000" rows="2" aria-label="{{copy "chat.card.direction_note"}}" placeholder="{{copy "chat.card.direction_note"}}" data-direction-note></textarea>{{end}}{{range $.Task.Decision.Choices}}<button equipo-btn{{if .Primary}} data-primary{{end}} type="submit" name="choice" value="{{.Value}}" data-merge-choice="{{.Value}}">{{.Label}}</button>{{end}}</form>{{end}}{{if .Fold}}<form method="post" action="/tasks/{{$t.ID}}/duplicate"><input type="hidden" name="from" value="{{$.From}}"><input type="hidden" name="of" value="{{$t.Dup.ID}}"><button equipo-btn data-primary type="submit" data-task-duplicate>{{copy "work.decide.fold"}}</button></form>{{end}}{{if .Recover}}<form method="post" action="/conversation/tasks/{{$t.ID}}/recover"><input type="hidden" name="from" value="{{$.From}}"><button equipo-btn data-primary type="submit" data-task-recover>{{copy "work.recover"}}</button></form>{{end}}{{with .Unsandboxed}}<details equipo-mach-confirm data-unsandboxed><summary equipo-btn>{{copy "work.decide.unsandboxed"}}</summary><div><p>{{.Warning}}</p><form method="post" action="/conversation/tasks/{{$t.ID}}/unsandboxed"><input type="hidden" name="from" value="{{$.From}}"><input type="hidden" name="step" value="{{.Step}}"><input type="hidden" name="attempt" value="{{.Attempt}}"><button equipo-btn data-danger type="submit" data-task-unsandboxed>{{copy "work.decide.unsandboxed_confirm"}}</button></form></div></details>{{end}}{{if .Retry}}<form method="post" action="/conversation/tasks/{{$t.ID}}/retry"><input type="hidden" name="from" value="{{$.From}}"><button {{if .Fold}}equipo-link{{else}}equipo-btn data-primary{{end}} type="submit" data-task-retry>{{copy "work.retry"}}</button></form>{{end}}{{if .Round}}<form method="post" action="/conversation/tasks/{{$t.ID}}/round"><input type="hidden" name="from" value="{{$.From}}"><button equipo-btn data-primary type="submit" data-task-round>{{copy "work.decide.round"}}</button></form>{{end}}{{if .Talk}}<a equipo-btn href="/conversation?about={{$t.ID}}" data-ask-coordinator>{{copy "work.decide.ask_coordinator"}}</a>{{end}}{{if .Cancel}}<form method="post" action="/conversation/tasks/{{$t.ID}}/cancel"><input type="hidden" name="from" value="{{$.From}}"><button equipo-link type="submit" data-task-cancel>{{copy "work.decide.cancel"}}</button></form>{{end}}{{with .Hint}}<span equipo-quiet>{{.}}</span>{{end}}<span equipo-d-quiet>{{if .Mac}}<a equipo-link href="/conversation/settings/machines/add" data-set-up-mac>{{copy "work.decide.mac_set_up"}}</a>{{end}}<a equipo-link href="/conversation?about={{$t.ID}}" data-ask-about>{{copy "work.ask_about"}}</a></span></div>
</div>{{end}}{{end}}
{{define "star-toggle"}}{{$p := .P}}<form method="post" action="/projects/{{$p.ID}}/star" equipo-star-form><input type="hidden" name="starred" value="{{if $p.Star.On}}0{{else}}1{{end}}"><input type="hidden" name="from" value="{{.From}}"><button type="submit" equipo-star{{if $p.Star.On}} aria-pressed="true"{{if $p.Star.Auto}} data-auto{{end}}{{else}} aria-pressed="false"{{end}} aria-label="{{$p.Star.Label}}" title="{{$p.Star.Who}}" data-star-toggle>{{icon "star"}}</button></form>{{end}}
diff --git a/internal/equipo/work_views.go b/internal/equipo/work_views.go
index 49195a39..72051daa 100644
--- a/internal/equipo/work_views.go
+++ b/internal/equipo/work_views.go
@@ -750,6 +750,12 @@ func decisionOf(t wire.Task, v taskLine) *decisionView {
d.Why = fmt.Sprintf(copyText("work.decide.stopped_why"), who(v.Stopped), reason, attempt)
d.Retry, d.Cancel = v.Retry, v.Cancel
d.Ask = copyText("work.decide.retry_ask")
+ if v.Stopped != nil && v.Stopped.Specialist == wire.SpecialistMerge && (v.Stopped.Reason == wire.ReasonMergeCredential || v.Stopped.Reason == "merge_forbidden") {
+ // Trying again cannot help until someone sets up access:
+ // the reason says what is missing, and nothing asks to try
+ // again (Retry stays, for once access is given).
+ d.Ask = ""
+ }
case wire.NeedsFixRounds:
d.Tone, d.Why, d.Ask, d.Talk, d.Cancel, d.Round = "attention", copyText("work.decide.fix_rounds_why"), copyText("work.decide.talk_ask"), true, v.Cancel, v.Mine
if t.ChecksReason == "base_checks_failed" {
diff --git a/internal/equipo/work_views_test.go b/internal/equipo/work_views_test.go
index fa9393e7..06e9eccd 100644
--- a/internal/equipo/work_views_test.go
+++ b/internal/equipo/work_views_test.go
@@ -1,6 +1,7 @@
package equipo
import (
+ "fmt"
"strings"
"testing"
"time"
@@ -51,6 +52,49 @@ func TestStoppedMergeShowsTheHubAnswer(t *testing.T) {
t.Fatalf("no stopped merge in %+v", timelineOf(task, v))
}
+// A merge the runner refused for want of access says what is missing,
+// on the stage line and in the timeline, not that Amadan did not merge
+// it; the runner's words on which precondition failed are its details.
+func TestStoppedMergeWithoutAccess(t *testing.T) {
+ now := time.Now()
+ words := copyText("work.reason." + wire.ReasonMergeCredential)
+ if words == "" {
+ t.Fatal("no words for merge_credential")
+ }
+ tail := "error: forge: no usable forge credential for the repository"
+ task := wire.Task{ID: "tk1", Creator: "a@example.com", Stage: wire.StageReadyToMerge, Steps: []wire.Step{{Specialist: wire.SpecialistMerge, State: wire.StepFailed, Reason: wire.ReasonMergeCredential, Attempt: 1, Terminated: true, LogTail: tail, FinishedAt: &now}}}
+ v := taskLineOf(task, "a@example.com")
+ v.richOf(task, "a@example.com", nil, now)
+ if v.StageLine != fmt.Sprintf(copyText("work.stopped"), words) {
+ t.Fatalf("stage line %q", v.StageLine)
+ }
+ for _, it := range timelineOf(task, v) {
+ if it.Kind == "stopped" && it.Headline == sentenceCase(words)+"." {
+ if html := string(pasteBox.Render(it.Markdown)); !strings.Contains(html, "no usable forge credential") {
+ t.Fatalf("details %q", html)
+ }
+ return
+ }
+ }
+ t.Fatalf("no stopped merge in %+v", timelineOf(task, v))
+}
+
+// A merge stopped for want of access that waits on the person asks no
+// "Try again?": nothing the person can retry helps until access is
+// given. Another stopped merge still asks.
+func TestStoppedMergeWithoutAccessAsksNoRetry(t *testing.T) {
+ now := time.Now()
+ for reason, ask := range map[string]string{wire.ReasonMergeCredential: "", "merge_forbidden": "", "merge_failed": copyText("work.decide.retry_ask")} {
+ task := wire.Task{ID: "tk1", Creator: "a@example.com", Stage: wire.StageMerging, NeedsYou: wire.NeedsRetry, Steps: []wire.Step{{Specialist: wire.SpecialistMerge, State: wire.StepFailed, Reason: reason, Attempt: 1, Terminated: true, FinishedAt: &now}}}
+ v := taskLineOf(task, "a@example.com")
+ v.richOf(task, "a@example.com", nil, now)
+ d := decisionOf(task, v)
+ if d == nil || d.Ask != ask || !strings.Contains(d.Why, copyText("work.reason."+reason)) {
+ t.Fatalf("%s: %+v", reason, d)
+ }
+ }
+}
+
// A push the hub refused shows the person why: the stopped step's details
// carry the refusal and git's answer from the runner's report, as written
// (the runner redacts and bounds them).
diff --git a/internal/plan3test/plan3_release_test.go b/internal/plan3test/plan3_release_test.go
index 5cefd80c..7707fb82 100644
--- a/internal/plan3test/plan3_release_test.go
+++ b/internal/plan3test/plan3_release_test.go
@@ -183,6 +183,9 @@ func plan3CopyInventory(t *testing.T) {
approvedFailedReplies := strings.HasPrefix(key, "chat.failed.") && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-22, copy-review ipgtz3lqoo3rj6rpiodpekh6vu, unchanged)") || key == "signin.refused" && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-22, copy-review smart-door-copy-5, unchanged)")
// Paul's own review of the Engineering stop reasons.
approvedStopReasons := slices.Contains([]string{"work.reason.no_further_changes", "work.reason.tools_refused"}, key) && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-23, copy-review eavqvil43jg2zs3wxx3kxp3bpm, unchanged)")
+ // Paul's approval of the no-access going-live strings, given in the
+ // coordinator's session (2026-11-26).
+ approvedNoAccess := slices.Contains([]string{"assistant.team.no_access", "assistant.job.detail.no_access"}, key) && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-26, coordinator session, unchanged)")
// Paul's own review of the merge step's credential and hub reasons.
approvedMergeCredential := slices.Contains([]string{"work.reason.merge_credential", "work.reason.amadan_unreachable"}, key) && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-25, copy-review 6wxwi7zo3fph5nu4nm6eipptfq, unchanged)")
// Paul's own review of the coordinator's stuck-task strings.
@@ -212,7 +215,7 @@ func plan3CopyInventory(t *testing.T) {
acceptedProjects := slices.Contains([]string{"projects.amadan", "projects.yours", "projects.can_add", "projects.add_reachable", "projects.names", "projects.names_hint", "projects.details", "projects.title", "projects.description", "projects.save", "projects.context", "projects.found", "projects.selected", "projects.owner_add", "projects.selection_lost", "projects.other", "projects.name_question", "projects.personal_names", "projects.forget_name", "docs/api/equipo-v1.md / Projects and starting a request"}, key) && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Luna, 2026-11-22)")
acceptedAgentAccess := slices.Contains([]string{"copyAgentConfig", "copyAgentForbidden", "copyAgentNotFound", "copyAgentUnavailable", "copyAgentTooLarge", "copyAgentInvalid", "copyAgentMedia", "copyAgentUnauthenticated", "agent.equipo_projects_list", "agent.equipo_tasks_list", "agent.equipo_task_get", "agent.equipo_needs_you", "docs/api/equipo-v1.md / Delegated read-only operations"}, key) && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Luna, 2026-11-20)")
acceptedCopy := strings.TrimSuffix(cells[3], " |") == "COPY ACCEPTED BY DELEGATION (Copy, record-bound) sha256:"+copydesk.Hash(rows[key])
- if !approvedMergeCredential && !approvedStuckTasks && !acceptedPaused && !acceptedNewTeamCard && !acceptedGitHubEgress && !acceptedForgeSeam && !acceptedAPIErrors && !acceptedNativeProjects && !acceptedInjection && !acceptedMail && !acceptedPush && !acceptedAgentAccess && !acceptedProjects && !acceptedCardNames && !acceptedAccess && !acceptedPlacementEdges && !acceptedPlacement && !acceptedReportActions && !acceptedRoster && !acceptedCopy && !strings.Contains(cells[3], "COPY REVIEW REQUIRED") && !acceptedAll && !acceptedGuide && !acceptedRound2 && !acceptedStarter && !acceptedDelegation && !approvedPublish && !approvedAssistant && !approvedJobs && !approvedOficina && !approvedFailedReplies && !approvedStopReasons {
+ if !approvedNoAccess && !approvedMergeCredential && !approvedStuckTasks && !acceptedPaused && !acceptedNewTeamCard && !acceptedGitHubEgress && !acceptedForgeSeam && !acceptedAPIErrors && !acceptedNativeProjects && !acceptedInjection && !acceptedMail && !acceptedPush && !acceptedAgentAccess && !acceptedProjects && !acceptedCardNames && !acceptedAccess && !acceptedPlacementEdges && !acceptedPlacement && !acceptedReportActions && !acceptedRoster && !acceptedCopy && !strings.Contains(cells[3], "COPY REVIEW REQUIRED") && !acceptedAll && !acceptedGuide && !acceptedRound2 && !acceptedStarter && !acceptedDelegation && !approvedPublish && !approvedAssistant && !approvedJobs && !approvedOficina && !approvedFailedReplies && !approvedStopReasons {
t.Fatal("entry has no copy review status or applicable acceptance", key)
}
}
diff --git a/internal/thintest/assistant_job_state_contract_test.go b/internal/thintest/assistant_job_state_contract_test.go
index dc90ebbe..697d17f6 100644
--- a/internal/thintest/assistant_job_state_contract_test.go
+++ b/internal/thintest/assistant_job_state_contract_test.go
@@ -6,6 +6,7 @@ import (
"testing"
"time"
+ "amadan.net/oficina/equipo/internal/equipo"
"amadan.net/oficina/equipo/internal/wire"
)
@@ -194,6 +195,31 @@ func TestContractTeamJobSettledStates(t *testing.T) {
o.settledStopped(request)
o.noteFor("the failed merge's note", blockedOn("going live failed, and they need to try it again"))
}},
+ {"merge_credential", func(o *teamRig, request, id string, merge *wire.DispatchCommand) {
+ // The runner refused the merge itself: no access to publish to
+ // the repository. Stopped, saying what is missing, and the
+ // Assistant is not told to have the person try again.
+ o.step("pw-m-run", wire.StepReport{TaskID: merge.TaskID, StepID: merge.StepID, Attempt: merge.Attempt, State: wire.StepRunning, BaseSHA: merge.BaseSHA, CandidateSHA: merge.CandidateSHA})
+ o.step("pw-m-fail", wire.StepReport{TaskID: merge.TaskID, StepID: merge.StepID, Attempt: merge.Attempt, State: wire.StepFailed, Reason: wire.ReasonMergeCredential, BaseSHA: merge.BaseSHA, CandidateSHA: merge.CandidateSHA, Termination: true})
+ o.wait("ready to merge again", func(c *Conversation) bool { return c.Tasks[id].Stage == wire.StageReadyToMerge })
+ o.endUpdates()
+ card := o.jobOf(request, "stopped", func(c wire.AssistantCard) bool { return c.State != wire.JobWorking })
+ if card.State != wire.JobStopped || card.Result != equipo.RunnerCopy("assistant.job.stopped") || card.Detail != equipo.RunnerCopy("assistant.job.detail.no_access") {
+ o.t.Fatalf("the job card %+v, want stopped for want of access", card)
+ }
+ if n := o.openOutcomes(); n != 0 {
+ o.t.Fatalf("%d go-ahead or Publish cards open", n)
+ }
+ note := o.noteFor("the refused merge's note", blockedOn(noAccessLine))
+ for _, retry := range []string{"try it again", "go-ahead", "team_nudge", equipo.RunnerCopy("assistant.team.stage.ready_to_merge")} {
+ if strings.Contains(note, retry) {
+ o.t.Fatalf("the note invites %q: %q", retry, note)
+ }
+ }
+ if !strings.Contains(note, equipo.RunnerCopy("assistant.team.no_access")) {
+ o.t.Fatalf("the note does not say what is missing: %q", note)
+ }
+ }},
{"publish_declined", func(o *teamRig, request, id string, merge *wire.DispatchCommand) {
o.mergedStep("pw-m", merge, strings.Repeat("e", 40))
o.wait("done", func(c *Conversation) bool { return c.Tasks[id].Stage == wire.StageDone })
diff --git a/internal/thintest/assistant_team_contract_test.go b/internal/thintest/assistant_team_contract_test.go
index 1a6dffcf..6f2fa1f2 100644
--- a/internal/thintest/assistant_team_contract_test.go
+++ b/internal/thintest/assistant_team_contract_test.go
@@ -1708,9 +1708,16 @@ func personNeeds() []personNeed {
{"merge_failed", "going live failed, and they need to try it again", func(o *teamRig, id, step string) {
o.exec("UPDATE chat_steps SET specialist = ?, state = ?, terminated = 1, reason = 'provider_failed' WHERE id = ?", wire.SpecialistMerge, wire.StepFailed, step)
}},
+ {"merge_credential", noAccessLine, func(o *teamRig, id, step string) {
+ o.exec("UPDATE chat_steps SET specialist = ?, state = ?, terminated = 1, reason = ? WHERE id = ?", wire.SpecialistMerge, wire.StepFailed, wire.ReasonMergeCredential, step)
+ }},
}
}
+// noAccessLine is the note's plain line for going live refused for want
+// of access to the repository: what is missing, not "try it again".
+const noAccessLine = "there is no access to publish it where the work lives, and someone needs to set that access up before it can go live; trying again will not help until then"
+
// TestContractTeamUpdatePersonNeeds (ruling P4j): every need only the
// person can meet stops the job for them: the note says what in plain
// words and never asks the Assistant to nudge it, however its step