oficina / equipo Public

Align end-to-end fixtures with trusted checks and quoted briefs

Seed trusted gate manifests in headless repositories and assert that Mac
diagnostics wait for a person. Decode and deduplicate quoted fake-provider
directives while preserving production prompt framing.

Targeted runtime scenarios, parser mutations and shared local gates pass.
codex agent, operated by paul@keymail.dev pushed by paul@keymail.dev 147b6c0cea99408341b657d027a329982d9c01ca parent 7d2432f
8 files changed, +163 −28
  • .rastrillo/budgets.txt +1 −1
  • internal/fakeclaude/fake.go +8 −6
  • internal/fakeclaude/step_markers.go +48 −0
  • internal/fakeclaude/step_markers_test.go +37 −0
  • internal/fakecodex/fake.go +3 −2
  • internal/headless/engineering_test.go +4 −4
  • internal/headless/mac_test.go +59 −13
  • internal/headless/projects_test.go +3 −2

CI failed — run details

CI log
=== prepare ===
ci-box: machine: aarch64, 32 CPUs, 62 GiB memory, kernel 7.0.0-1017-aws
ci-box: python 3.12.3; Docker version 29.1.3, build 29.1.3-0ubuntu3~24.04.2
ci-box: user namespaces allowed: 233151
ci-box: cgroup: cgroup2fs
ci-box: disk /home/ci/work/repos/oficina__equipo/wt/injection-defences: Type  Size Avail | ext4   96G   86G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   86G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 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.3s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.8s
ci-box: pi: installed and verified in 7.2s
ci-box: opencode: installed and verified in 1.9s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.7s
ci-box: clone deepened in 4.2s
ci-box: file times set from content: 2694 files, 172 directories
ci-box: ready in 17.4s
=== copy ===
EQUIPO_RELEASE_COPY_CHECK=1 CGO_ENABLED=0 go test ./internal/equipotest -run '^TestReleaseCopyReviewed$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipotest	0.243s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  5.1s
+ go list -export -test -tags testbuild -f  ./...
  5.0s
+ go list -export -test -tags browser,testbuild -f  ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  2.7s
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -version
staticcheck 2026.1 (v0.7.0)
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 -version
Go: go1.26.11
Scanner: govulncheck@v1.8.0
DB: https://vuln.go.dev
DB updated: 2026-11-11 02:51:11 +0000 UTC

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

receipt: test step 1m27.741s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m25.843s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m25.84s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 61.27, cpu waiting 38.52%, memory waiting 0.00%, io waiting 0.36%
--- 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 1m30.703s 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 1m28.598s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m28.6s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 61.27, cpu waiting 38.38%, memory waiting 0.00%, io waiting 0.35%
--- shard 2 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-connections: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$' ./internal/headless

receipt: test step 1m32.418s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m29.869s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m18.63s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 6.12s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 5.12s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 61.27, cpu waiting 38.20%, memory waiting 0.00%, io waiting 0.34%
--- 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 1m27.538s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m25.213s amadan.net/oficina/equipo/internal/headless
receipt: slow test 43.35s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 21.42s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.76s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.68s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 60.60, cpu waiting 38.58%, memory waiting 0.00%, io waiting 0.37%
--- shard 4 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-guards: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless

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

receipt: test step 3m11.759s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 3m9.082s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m52.27s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 23.38s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.2s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 7.96s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.26s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 14.10, cpu waiting 7.82%, memory waiting 0.00%, io waiting 0.06%
--- shard 6 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane thintest: ./internal/thintest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test([^C]|C[^o]|Co[^n]|Con[^t])|^TestContract(Assistant|Outcome|Team|Handoff|HostAllowlist|HostIsPerPerson|Look|Use[A-Z]|RemoteCall|LanesRunAtOnce|NoMergeQuestionWhenGateMerges|PreviewHeldUntilPublishAnswer|PreviewNotHeldBelow19|PublishNeedsOwnerAnswer)' ./internal/thintest
--- FAIL amadan.net/oficina/equipo/internal/thintest TestContractTeamJobStates
=== RUN   TestContractTeamJobStates
--- FAIL: TestContractTeamJobStates (2.29s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered, repanicked]
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0xc5d5b4]

goroutine 15362 [running]:
testing.tRunner.func1.2({0xe53720, 0x1d61230})
	/usr/local/go/src/testing/testing.go:1974 +0x1a0
testing.tRunner.func1()
rastrillo: budget test: go test failed
	/usr/local/go/src/testing/testing.go:1977 +0x318
panic({0xe53720?, 0x1d61230?})
	/usr/local/go/src/runtime/panic.go:860 +0x12c
amadan.net/oficina/equipo/internal/thintest.(*toolRig).built(0x5fdd322e85f0, {0xfc0196, 0xb}, 0x0, {0x5fdd302ad0c0, 0x40})
	/work/equipo/internal/thintest/preview_contract_test.go:51 +0x84
amadan.net/oficina/equipo/internal/thintest.(*teamRig).jobThroughStates(0x5fdd31ad7518)
	/work/equipo/internal/thintest/assistant_job_contract_test.go:422 +0x1ac
amadan.net/oficina/equipo/internal/thintest.TestContractTeamJobStates(0x5fdd30bde008)
	/work/equipo/internal/thintest/assistant_job_contract_test.go:488 +0x38
testing.tRunner(0x5fdd30bde008, 0x1226498)
	/usr/local/go/src/testing/testing.go:2036 +0xc4
created by testing.(*T).Run in goroutine 1
	/usr/local/go/src/testing/testing.go:2101 +0x3a8

--- FAIL amadan.net/oficina/equipo/internal/thintest (package output)
FAIL	amadan.net/oficina/equipo/internal/thintest	6.843s


receipt: test step 9.111s 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 test 2.29s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobStates
receipt: slow test 1.22s amadan.net/oficina/equipo/internal/thintest TestContractAssistantConversation
receipt: slow test 390ms amadan.net/oficina/equipo/internal/thintest TestContractAssistantGlanceDropped
receipt: slow test 310ms amadan.net/oficina/equipo/internal/thintest TestContractTeamJobStatuses
receipt: slow test 270ms amadan.net/oficina/equipo/internal/thintest TestContractTeamJobThreadPage
exit status 1
+ go 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)' -v -run '^TestContractTeamJobStates$' -count=1 ./internal/thintest   (retry, once)
FAILED TWICE ./internal/thintest:TestContractTeamJobStates thintest
=== RUN   TestContractTeamJobStates
--- FAIL: TestContractTeamJobStates (3.39s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered, repanicked]
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0xc5d5b4]

goroutine 37 [running]:
testing.tRunner.func1.2({0xe53720, 0x1d61230})
	/usr/local/go/src/testing/testing.go:1974 +0x1a0
testing.tRunner.func1()
	/usr/local/go/src/testing/testing.go:1977 +0x318
panic({0xe53720?, 0x1d61230?})
	/usr/local/go/src/runtime/panic.go:860 +0x12c
amadan.net/oficina/equipo/internal/thintest.(*toolRig).built(0xa80d5a94d70, {0xfc0196, 0xb}, 0x0, {0xa80d8d1f700, 0x40})
	/work/equipo/internal/thintest/preview_contract_test.go:51 +0x84
amadan.net/oficina/equipo/internal/thintest.(*teamRig).jobThroughStates(0xa80d9e91dc0)
	/work/equipo/internal/thintest/assistant_job_contract_test.go:422 +0x1ac
amadan.net/oficina/equipo/internal/thintest.TestContractTeamJobStates(0xa80d603a908)
	/work/equipo/internal/thintest/assistant_job_contract_test.go:488 +0x38
testing.tRunner(0xa80d603a908, 0x1226498)
	/usr/local/go/src/testing/testing.go:2036 +0xc4
created by testing.(*T).Run in goroutine 1
	/usr/local/go/src/testing/testing.go:2101 +0x3a8
FAIL	amadan.net/oficina/equipo/internal/thintest	3.724s
FAIL
machine: 32 CPUs, load 9.95, cpu waiting 8.05%, memory waiting 0.00%, io waiting 1.30%
make: *** [Makefile:113: ci-shard] Error 1

amadan: step check shard 6 of 29 failed: exit status 2
--- 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 TestContractMacRecheckOnEnrol
=== RUN   TestContractMacRecheckOnEnrol
    macrecheck_contract_test.go:97: failed to get reader: context deadline exceeded
--- FAIL: TestContractMacRecheckOnEnrol (45.53s)

--- FAIL amadan.net/oficina/equipo/internal/thintest TestContractPublishSite
=== RUN   TestContractPublishSite
    publish_contract_test.go:125: no preview
--- FAIL: TestContractPublishSite (2.21s)

--- FAIL amadan.net/oficina/equipo/internal/thintest TestContractAskImplementer
=== RUN   TestContractAskImplementer
    questions_contract_test.go:95: failed to get reader: context deadline exceeded
--- FAIL: TestContractAskImplementer (45.24s)

--- FAIL amadan.net/oficina/equipo/internal/thintest TestContractAskOfflineRunner
=== RUN   TestContractAskOfflineRunner
    review1_contract_test.go:251: failed to get reader: context deadline exceeded
--- FAIL: TestContractAskOfflineRunner (45.20s)

--- FAIL amadan.net/oficina/equipo/internal/thintest (package output)
FAIL
rastrillo-budget/v1 ran 3m32.405s
FAIL	amadan.net/oficina/equipo/internal/thintest	212.743s


receipt: test step 3m34.016s 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 3m32.405s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 45.53s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckOnEnrol
receipt: slow test 45.24s amadan.net/oficina/equipo/internal/thintest TestContractAskImplementer
receipt: slow test 45.2s amadan.net/oficina/equipo/internal/thintest TestContractAskOfflineRunner
receipt: slow test 8.9s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 4.81s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
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 '^TestContractAskImplementer$|^TestContractAskOfflineRunner$|^TestContractMacRecheckOnEnrol$|^TestContractPublishSite$' -count=1 ./internal/thintest   (retry, once)
FAILED TWICE ./internal/thintest:TestContractAskImplementer thintest-contract
FAILED TWICE ./internal/thintest:TestContractAskOfflineRunner thintest-contract
FAILED TWICE ./internal/thintest:TestContractMacRecheckOnEnrol thintest-contract
FAILED TWICE ./internal/thintest:TestContractPublishSite thintest-contract
=== RUN   TestContractMacRecheckOnEnrol
    macrecheck_contract_test.go:97: failed to get reader: context deadline exceeded
--- FAIL: TestContractMacRecheckOnEnrol (46.48s)
=== RUN   TestContractPublishSite
    publish_contract_test.go:125: no preview
--- FAIL: TestContractPublishSite (2.21s)
=== RUN   TestContractAskImplementer
    questions_contract_test.go:95: failed to get reader: context deadline exceeded
--- FAIL: TestContractAskImplementer (45.23s)
=== RUN   TestContractAskOfflineRunner
    review1_contract_test.go:251: failed to get reader: context deadline exceeded
--- FAIL: TestContractAskOfflineRunner (45.20s)
FAIL
rastrillo-budget/v1 ran 2m19.136s
FAIL	amadan.net/oficina/equipo/internal/thintest	139.398s
FAIL
machine: 32 CPUs, load 1.64, cpu waiting 0.50%, memory waiting 0.00%, io waiting 0.00%
make: *** [Makefile:113: ci-shard] Error 1

amadan: step check shard 7 of 29 failed: exit status 2
--- shard 8 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-thin: ./internal/runner/thin
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/runner/thin
budget note: internal/runner/thin took 4m26.092s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m31.458s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 4m26.092s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 36.78s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.76s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.61s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.38s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 6.71s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 4.92, cpu waiting 2.06%, memory waiting 0.00%, io waiting 0.01%
--- shard 9 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-bug: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$' ./internal/runner

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

receipt: test step 57.074s 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 55.787s amadan.net/oficina/equipo/internal/runner
receipt: slow test 45.8s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 41.22s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.42s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.54s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 57.95, cpu waiting 35.68%, memory waiting 0.00%, io waiting 0.62%
--- shard 11 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-rest: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$|^TestPlanWorkflowCandidateOrder$|^TestPlanWorkflowFeature$|^TestCoordinatorRecoveryCallRefusalKeepsServing$|^TestCoordinatorRefusalMatrix$' ./internal/runner

receipt: test step 35.45s 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 34.538s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.13s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.44s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.13s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.48s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestCoordinatorTransientRefusalKeepsServing
machine: 32 CPUs, load 26.98, cpu waiting 18.85%, memory waiting 0.00%, io waiting 0.90%
--- 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 33.6%, load 18.53
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 1m4.977s 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 1m3.221s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 26.12s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 26.08s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 24.1s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 21.5s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 21.39s amadan.net/oficina/equipo/internal/equipotest TestAuthorityFailureIsNotRevocation
machine: 32 CPUs, load 58.20, cpu waiting 36.70%, memory waiting 0.00%, io waiting 0.31%
--- 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 33.5%, load 18.53
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 1m13.647s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m11.792s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 18.71s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 18.68s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 18.65s amadan.net/oficina/equipo/internal/equipotest TestProjectRequestActorAndUpdate
receipt: slow test 18.64s amadan.net/oficina/equipo/internal/equipotest TestProjectConcurrentRetry
receipt: slow test 18.63s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
machine: 32 CPUs, load 51.08, cpu waiting 33.59%, memory waiting 0.00%, io waiting 0.28%
--- 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 33.6%, load 18.53
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 1m10.826s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m6.115s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 14.55s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.07s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.06s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 10.04s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 6.95s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 54.83, cpu waiting 34.63%, memory waiting 0.00%, io waiting 0.29%
--- 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 33.6%, load 18.53
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 1m6.777s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m4.859s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 24.2s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 23.21s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 23.18s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 21.47s amadan.net/oficina/equipo/internal/equipotest TestSigninBackgroundSweep
receipt: slow test 21.41s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsCurrentOwner
machine: 32 CPUs, load 58.20, cpu waiting 35.63%, memory waiting 0.00%, io waiting 0.30%
--- 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 33.5%, load 18.53
test lane plan3test: ./internal/plan3test
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/plan3test
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/plan3test TestPlan3ReleaseBoundaries
=== RUN   TestPlan3ReleaseBoundaries
--- FAIL: TestPlan3ReleaseBoundaries (0.31s)

--- FAIL amadan.net/oficina/equipo/internal/plan3test TestPlan3ReleaseBoundaries/inventory
=== RUN   TestPlan3ReleaseBoundaries/inventory
    plan3_release_test.go:22: entry has no copy review status or applicable acceptance work.reason.preview_headers
--- FAIL: TestPlan3ReleaseBoundaries/inventory (0.01s)

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


receipt: test step 50.36s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 48.782s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.52s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 3.52s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 1.51s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.45s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.22s amadan.net/oficina/equipo/internal/plan3test TestPlanMigrationUpgrade
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestPlan3ReleaseBoundaries$/^inventory$' -count=1 ./internal/plan3test   (retry, once)
FAILED TWICE ./internal/plan3test:TestPlan3ReleaseBoundaries/inventory plan3test
=== RUN   TestPlan3ReleaseBoundaries
=== RUN   TestPlan3ReleaseBoundaries/inventory
    plan3_release_test.go:22: entry has no copy review status or applicable acceptance work.reason.preview_headers
--- FAIL: TestPlan3ReleaseBoundaries (0.01s)
    --- FAIL: TestPlan3ReleaseBoundaries/inventory (0.01s)
FAIL
rastrillo-budget/v1 ran 11ms
FAIL	amadan.net/oficina/equipo/internal/plan3test	0.324s
FAIL
machine: 32 CPUs, load 60.65, cpu waiting 38.32%, memory waiting 0.00%, io waiting 0.41%
make: *** [Makefile:113: ci-shard] Error 1

amadan: step check shard 16 of 29 failed: exit status 2
--- shard 17 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: rest started 30s late; cpu waiting 33.6%, load 18.53
test lane rest: ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wiretest ./tools/drive
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
budget note: internal/equipo took 24.087s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 13.805s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/setup took 11.008s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/idtest took 42.045s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/containment took 1m0.009s, over the 15s its record on line 40 allows; reported only, timing fails on CI
budget note: internal/runner/forge took 23.465s, over the 20s its record on line 35 allows; reported only, timing fails on CI
budget note: internal/runner/provider/pi took 1m19.358s, over the 1m0s its record on line 27 allows; reported only, timing fails on CI
budget note: internal/runner/workspace took 11.364s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 1m53.271s against a 60s target (the gate's other steps are not in this figure)
receipt: 44 packages ran, 14 cached, 18 without tests, 0 failed
receipt: slow package 1m19.358s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 1m7.038s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 1m0.009s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow package 54.479s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 42.045s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 28.04s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 23.78s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 22.55s amadan.net/oficina/equipo/cmd/equipo-runner TestReleaseRunnerHasNoFakeWorker
receipt: slow test 14.3s amadan.net/oficina/equipo/internal/runner/provider/pi TestPiGoBinaryIsolation
receipt: slow test 12.62s amadan.net/oficina/equipo/internal/idtest TestIDCallbackGuardAndPendingNonce
machine: 32 CPUs, load 28.53, cpu waiting 16.83%, memory waiting 0.00%, io waiting 0.13%
--- 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
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserChat
=== RUN   TestBrowserChat
time=2026-11-19T07:56:39.307Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-19T07:56:39.307Z level=INFO msg="startup phase done" phase=state_lock took=63µs
time=2026-11-19T07:56:39.307Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-19T07:56:39.307Z level=INFO msg="startup phase done" phase=claim_roots took=80µs
time=2026-11-19T07:56:39.307Z level=INFO msg="startup phase" phase=sweep
time=2026-11-19T07:56:39.342Z level=INFO msg="startup phase done" phase=sweep took=34.999ms
time=2026-11-19T07:56:39.342Z level=INFO msg="startup phase" phase=credentials
time=2026-11-19T07:56:39.342Z level=INFO msg="startup phase done" phase=credentials took=115µs
time=2026-11-19T07:56:39.342Z level=INFO msg="startup phase" phase=open_state
time=2026-11-19T07:56:39.392Z level=INFO msg="startup phase done" phase=open_state took=49.207ms
time=2026-11-19T07:56:39.392Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-19T07:56:39.393Z level=INFO msg=connecting host=127.0.0.1:35987 protocol=27
time=2026-11-19T07:56:39.395Z level=INFO msg=connected host=127.0.0.1:35987 took=2.473ms
time=2026-11-19T07:56:39.395Z level=INFO msg="capabilities gathering"
time=2026-11-19T07:56:39.397Z level=INFO msg="capabilities gathered" took=1.597ms tags=linux,claude,go
time=2026-11-19T07:56:39.401Z level=INFO msg="hello sent" protocol=27
time=2026-11-19T07:56:39.408Z level=INFO msg=welcome protocol=27 role=primary generation=1
time=2026-11-19T07:56:41.552Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_test.go:46: waiting for [...document.querySelectorAll('[equipo-message="incoming"] [equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes('fake coordinator')): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserChat (6.11s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
=== RUN   TestBrowserChatSendStaysOnPage
time=2026-11-19T07:56:45.482Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-19T07:56:45.482Z level=INFO msg="startup phase done" phase=state_lock took=57µs
time=2026-11-19T07:56:45.482Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-19T07:56:45.482Z level=INFO msg="startup phase done" phase=claim_roots took=94µs
time=2026-11-19T07:56:45.482Z level=INFO msg="startup phase" phase=sweep
time=2026-11-19T07:56:45.521Z level=INFO msg="startup phase done" phase=sweep took=38.125ms
time=2026-11-19T07:56:45.521Z level=INFO msg="startup phase" phase=credentials
time=2026-11-19T07:56:45.521Z level=INFO msg="startup phase done" phase=credentials took=119µs
time=2026-11-19T07:56:45.521Z level=INFO msg="startup phase" phase=open_state
time=2026-11-19T07:56:45.568Z level=INFO msg="startup phase done" phase=open_state took=47.205ms
time=2026-11-19T07:56:45.569Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-19T07:56:45.572Z level=INFO msg=connecting host=127.0.0.1:34751 protocol=27
time=2026-11-19T07:56:45.573Z level=INFO msg=connected host=127.0.0.1:34751 took=1.003ms
time=2026-11-19T07:56:45.573Z level=INFO msg="capabilities gathering"
time=2026-11-19T07:56:45.575Z level=INFO msg="capabilities gathered" took=1.658ms tags=linux,claude,go
time=2026-11-19T07:56:45.579Z level=INFO msg="hello sent" protocol=27
time=2026-11-19T07:56:45.586Z level=INFO msg=welcome protocol=27 role=primary generation=1
time=2026-11-19T07:56:48.126Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_test.go:108: waiting for [...document.querySelectorAll('[equipo-message="incoming"] [equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes('fake coordinator')): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserChatSendStaysOnPage (6.31s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
=== RUN   TestBrowserDraftIsTheMessage
time=2026-11-19T07:56:51.752Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-19T07:56:51.753Z level=INFO msg="startup phase done" phase=state_lock took=160µs
time=2026-11-19T07:56:51.753Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-19T07:56:51.753Z level=INFO msg="startup phase done" phase=claim_roots took=232µs
time=2026-11-19T07:56:51.753Z level=INFO msg="startup phase" phase=sweep
time=2026-11-19T07:56:51.784Z level=INFO msg="startup phase done" phase=sweep took=30.712ms
time=2026-11-19T07:56:51.784Z level=INFO msg="startup phase" phase=credentials
time=2026-11-19T07:56:51.784Z level=INFO msg="startup phase done" phase=credentials took=152µs
time=2026-11-19T07:56:51.784Z level=INFO msg="startup phase" phase=open_state
time=2026-11-19T07:56:51.825Z level=INFO msg="startup phase done" phase=open_state took=40.991ms
time=2026-11-19T07:56:51.826Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-19T07:56:51.828Z level=INFO msg=connecting host=127.0.0.1:43183 protocol=27
time=2026-11-19T07:56:51.830Z level=INFO msg=connected host=127.0.0.1:43183 took=1.508ms
time=2026-11-19T07:56:51.830Z level=INFO msg="capabilities gathering"
time=2026-11-19T07:56:51.834Z level=INFO msg="capabilities gathered" took=3.718ms tags=linux,claude,go
time=2026-11-19T07:56:51.834Z level=INFO msg="hello sent" protocol=27
time=2026-11-19T07:56:51.839Z level=INFO msg=welcome protocol=27 role=primary generation=1
time=2026-11-19T07:56:54.184Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_thinking_test.go:106: waiting for !!window.__m: context deadline exceeded (last evaluation: <nil>)
--- FAIL: TestBrowserDraftIsTheMessage (8.18s)

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


receipt: test step 50.122s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 48.548s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.27s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 8.18s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 7.74s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 6.31s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
receipt: slow test 6.11s amadan.net/oficina/equipo/internal/headless TestBrowserChat
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' -v -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserDraftIsTheMessage$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserChat browser-headless-chat 147b6c0cea99408341b657d027a329982d9c01ca 6.11s 53.51
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserChatSendStaysOnPage browser-headless-chat 147b6c0cea99408341b657d027a329982d9c01ca 6.31s 53.51
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserDraftIsTheMessage browser-headless-chat 147b6c0cea99408341b657d027a329982d9c01ca 8.18s 53.51
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 48.19, cpu waiting 30.53%, memory waiting 0.00%, io waiting 0.25%
--- shard 19 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-work: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' ./internal/headless
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
=== RUN   TestBrowserRailFollowsWork
time=2026-11-19T07:56:35.837Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-19T07:56:35.837Z level=INFO msg="startup phase done" phase=state_lock took=66µs
time=2026-11-19T07:56:35.837Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-19T07:56:35.837Z level=INFO msg="startup phase done" phase=claim_roots took=83µs
time=2026-11-19T07:56:35.837Z level=INFO msg="startup phase" phase=sweep
time=2026-11-19T07:56:35.864Z level=INFO msg="startup phase done" phase=sweep took=27.011ms
time=2026-11-19T07:56:35.864Z level=INFO msg="startup phase" phase=credentials
time=2026-11-19T07:56:35.864Z level=INFO msg="startup phase done" phase=credentials took=115µs
time=2026-11-19T07:56:35.864Z level=INFO msg="startup phase" phase=open_state
time=2026-11-19T07:56:35.904Z level=INFO msg="startup phase done" phase=open_state took=40.103ms
time=2026-11-19T07:56:35.905Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-19T07:56:35.905Z level=INFO msg=connecting host=127.0.0.1:38791 protocol=27
time=2026-11-19T07:56:35.907Z level=INFO msg=connected host=127.0.0.1:38791 took=1.682ms
time=2026-11-19T07:56:35.907Z level=INFO msg="capabilities gathering"
time=2026-11-19T07:56:35.907Z level=INFO msg="capabilities gathered" took=441µs tags=linux,claude,go
time=2026-11-19T07:56:35.908Z level=INFO msg="hello sent" protocol=27
time=2026-11-19T07:56:35.912Z level=INFO msg=welcome protocol=27 role=primary generation=1
time=2026-11-19T07:56:37.129Z level=INFO msg="connection checked" connection=claude-1 state=healthy
time=2026-11-19T07:56:45.599Z level=INFO msg="kept sessions" kept=1 bytes=2396 expired=0
time=2026-11-19T07:56:50.266Z level=INFO msg="kept sessions" kept=2 bytes=3996 expired=0
time=2026-11-19T07:56:51.057Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-19T07:56:51.057Z level=INFO msg="startup phase done" phase=state_lock took=196µs
time=2026-11-19T07:56:51.057Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-19T07:56:51.057Z level=INFO msg="startup phase done" phase=claim_roots took=212µs
time=2026-11-19T07:56:51.057Z level=INFO msg="startup phase" phase=sweep
time=2026-11-19T07:56:51.103Z level=INFO msg="startup phase done" phase=sweep took=45.2ms
time=2026-11-19T07:56:51.105Z level=INFO msg="startup phase" phase=credentials
time=2026-11-19T07:56:51.105Z level=INFO msg="startup phase done" phase=credentials took=237µs
time=2026-11-19T07:56:51.105Z level=INFO msg="startup phase" phase=open_state
time=2026-11-19T07:56:51.166Z level=INFO msg="startup phase done" phase=open_state took=61.165ms
time=2026-11-19T07:56:51.167Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-19T07:56:51.169Z level=INFO msg=connecting host=127.0.0.1:45535 protocol=27
time=2026-11-19T07:56:51.171Z level=INFO msg=connected host=127.0.0.1:45535 took=1.063ms
time=2026-11-19T07:56:51.172Z level=INFO msg="capabilities gathering"
time=2026-11-19T07:56:51.173Z level=INFO msg="capabilities gathered" took=486µs tags=linux,claude,go
time=2026-11-19T07:56:51.175Z level=INFO msg="hello sent" protocol=27
time=2026-11-19T07:56:51.180Z level=INFO msg=welcome protocol=27 role=primary generation=1
time=2026-11-19T07:56:53.201Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_review_test.go:57: waiting for document.querySelector('#rail [data-specialist="engineering"]')?.dataset.state==='working' && document.querySelector('#rail [data-specialist="engineering"]').querySelector('[equipo-nav-task]')?.textContent==='Slow sidebar change' && document.querySelector('#nav-tasks [data-count]')?.textContent==='1': context deadline exceeded (last evaluation: context deadline exceeded)
time=2026-11-19T07:56:57.990Z level=WARN msg="step account" err="context canceled"
--- FAIL: TestBrowserRailFollowsWork (22.70s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m34.149s
FAIL	amadan.net/oficina/equipo/internal/headless	94.457s


receipt: test step 1m35.684s 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 1m34.149s amadan.net/oficina/equipo/internal/headless
receipt: slow test 25.7s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 22.7s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 14.26s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 11.03s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 10.26s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' -v -run '^TestBrowserRailFollowsWork$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserRailFollowsWork browser-headless-work 147b6c0cea99408341b657d027a329982d9c01ca 22.70s 58.20
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 42.34, cpu waiting 25.94%, memory waiting 0.00%, io waiting 0.21%
--- shard 20 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-connections: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless

receipt: test step 1m46.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 1m44.354s amadan.net/oficina/equipo/internal/headless
receipt: slow test 16.75s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 13.44s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 13.1s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 10.81s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.43s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 51.08, cpu waiting 31.53%, memory waiting 0.00%, io waiting 0.26%
--- shard 21 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-rest: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserCopyContinue
=== RUN   TestBrowserCopyContinue
time=2026-11-19T07:56:50.625Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-19T07:56:50.626Z level=INFO msg="startup phase done" phase=state_lock took=331µs
time=2026-11-19T07:56:50.626Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-19T07:56:50.626Z level=INFO msg="startup phase done" phase=claim_roots took=369µs
time=2026-11-19T07:56:50.626Z level=INFO msg="startup phase" phase=sweep
time=2026-11-19T07:56:50.665Z level=INFO msg="startup phase done" phase=sweep took=38.452ms
time=2026-11-19T07:56:50.665Z level=INFO msg="startup phase" phase=credentials
time=2026-11-19T07:56:50.665Z level=INFO msg="startup phase done" phase=credentials took=200µs
time=2026-11-19T07:56:50.665Z level=INFO msg="startup phase" phase=open_state
time=2026-11-19T07:56:50.724Z level=INFO msg="startup phase done" phase=open_state took=59.209ms
time=2026-11-19T07:56:50.725Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-19T07:56:50.726Z level=INFO msg=connecting host=127.0.0.1:35161 protocol=27
time=2026-11-19T07:56:50.730Z level=INFO msg=connected host=127.0.0.1:35161 took=2.591ms
time=2026-11-19T07:56:50.730Z level=INFO msg="capabilities gathering"
time=2026-11-19T07:56:50.731Z level=INFO msg="capabilities gathered" took=438µs tags=linux,claude,go
time=2026-11-19T07:56:50.731Z level=INFO msg="hello sent" protocol=27
time=2026-11-19T07:56:50.737Z level=INFO msg=welcome protocol=27 role=primary generation=1
    browser_copy_test.go:90: waiting for !document.querySelector('[data-copy-continue]'): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserCopyContinue (6.44s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-19T07:57:29.339Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-19T07:57:29.339Z level=INFO msg="startup phase done" phase=state_lock took=75µs
time=2026-11-19T07:57:29.339Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-19T07:57:29.339Z level=INFO msg="startup phase done" phase=claim_roots took=79µs
time=2026-11-19T07:57:29.339Z level=INFO msg="startup phase" phase=sweep
time=2026-11-19T07:57:29.366Z level=INFO msg="startup phase done" phase=sweep took=26.994ms
time=2026-11-19T07:57:29.366Z level=INFO msg="startup phase" phase=credentials
time=2026-11-19T07:57:29.366Z level=INFO msg="startup phase done" phase=credentials took=112µs
time=2026-11-19T07:57:29.366Z level=INFO msg="startup phase" phase=open_state
time=2026-11-19T07:57:29.407Z level=INFO msg="startup phase done" phase=open_state took=41.092ms
time=2026-11-19T07:57:29.408Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-19T07:57:29.409Z level=INFO msg=connecting host=127.0.0.1:36333 protocol=27
time=2026-11-19T07:57:29.411Z level=INFO msg=connected host=127.0.0.1:36333 took=2.242ms
time=2026-11-19T07:57:29.412Z level=INFO msg="capabilities gathering"
time=2026-11-19T07:57:29.412Z level=INFO msg="capabilities gathered" took=586µs tags=linux,claude,go
time=2026-11-19T07:57:29.413Z level=INFO msg="hello sent" protocol=27
time=2026-11-19T07:57:29.417Z level=INFO msg=welcome protocol=27 role=primary generation=1
time=2026-11-19T07:57:30.551Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_receipts_test.go:169: waiting for [...document.querySelectorAll('[equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes("I'm your coordinator")): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserEmptyExplore (5.90s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m37.321s
FAIL	amadan.net/oficina/equipo/internal/headless	97.649s


receipt: test step 1m38.931s 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 1m37.321s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.19s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 12.77s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 11.17s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.64s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.88s amadan.net/oficina/equipo/internal/headless TestBrowserRefreshRace
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' -v -run '^TestBrowserCopyContinue$|^TestBrowserEmptyExplore$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserCopyContinue browser-headless-rest 147b6c0cea99408341b657d027a329982d9c01ca 6.44s 54.83
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest 147b6c0cea99408341b657d027a329982d9c01ca 5.90s 54.83
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 48.19, cpu waiting 29.56%, memory waiting 0.00%, io waiting 0.25%
--- 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/idtest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserOficinaIDDoor)$' ./internal/idtest

receipt: test step 3.097s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1.509s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 1.51s 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.237s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1.865s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 1.86s amadan.net/oficina/equipo/internal/plan3test TestTeamsHierarchyBrowser
browser lane browser-rest: ./internal/thintest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAccessEmojiByline|TestBrowserAccessFinalOutcomes|TestBrowserAccessRequest|TestBrowserAccessReview|TestBrowserActivitySubjects|TestBrowserAutonomySettings|TestBrowserCoordinatorQueue|TestBrowserHousekeeping|TestBrowserInnerGallery|TestBrowserInnerScreens|TestBrowserInstantThinking|TestBrowserInstantThinkingQueued|TestBrowserMachines|TestBrowserPhoneIndex|TestBrowserPlacementQuestionAndPending|TestBrowserProjectPlacement|TestBrowserProjectsList|TestBrowserReportActionFeedback|TestBrowserReportNextSteps|TestBrowserReportThread|TestBrowserRollup|TestBrowserRosterAlignment|TestBrowserRosterDecisionStates|TestBrowserRosterQuietDay|TestBrowserRosterReports|TestBrowserRosterSetAside|TestBrowserRosterSubchat|TestBrowserRosterThinking|TestBrowserRosterVisual|TestBrowserSettingsHousekeepingGroups|TestBrowserSettingsMenu|TestBrowserSettingsRail|TestBrowserSettingsSaveBar|TestBrowserSettingsShots|TestBrowserSettingsStayOnPage|TestBrowserSettingsTeams|TestBrowserShipsButtons|TestBrowserSpecialistRows|TestBrowserSpendFollowsAnswers|TestBrowserTaskRows|TestBrowserTeamPanel|TestBrowserThinkingCycles|TestBrowserThinkingLinesClear|TestBrowserThinkingWords|TestBrowserTokenRowEmail|TestBrowserTrackStarCentre)$' ./internal/thintest
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/thintest TestBrowserPhoneIndex
=== RUN   TestBrowserPhoneIndex
    index_browser_test.go:18: failed to get reader: context deadline exceeded
--- FAIL: TestBrowserPhoneIndex (45.58s)

--- FAIL amadan.net/oficina/equipo/internal/thintest TestBrowserTrackStarCentre
=== RUN   TestBrowserTrackStarCentre
    inner_browser_test.go:141: failed to get reader: context deadline exceeded
--- FAIL: TestBrowserTrackStarCentre (45.43s)

--- FAIL amadan.net/oficina/equipo/internal/thintest TestBrowserInnerGallery
=== RUN   TestBrowserInnerGallery
    inner_browser_test.go:202: failed to get reader: context deadline exceeded
--- FAIL: TestBrowserInnerGallery (45.39s)

--- FAIL amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
=== RUN   TestBrowserInnerScreens
    inner_browser_test.go:230: failed to get reader: context deadline exceeded
--- FAIL: TestBrowserInnerScreens (45.40s)

--- FAIL amadan.net/oficina/equipo/internal/thintest TestBrowserProjectsList
=== RUN   TestBrowserProjectsList
    projects_browser_test.go:17: failed to get reader: context deadline exceeded
--- FAIL: TestBrowserProjectsList (45.40s)

--- FAIL amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsMenu
=== RUN   TestBrowserSettingsMenu
    settings_browser_test.go:120: light 390: the menu is not full-row drill-ins
--- FAIL: TestBrowserSettingsMenu (0.59s)

--- FAIL amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsRail
=== RUN   TestBrowserSettingsRail
    settings_browser_test.go:156: 1280: the rail moved, or is not ‹ Equipo and the sections, or ‹ Equipo does not lead back to Tasks
--- FAIL: TestBrowserSettingsRail (0.34s)

--- FAIL amadan.net/oficina/equipo/internal/thintest TestBrowserSpecialistRows
=== RUN   TestBrowserSpecialistRows
    specialist_rows_browser_test.go:18: failed to get reader: context deadline exceeded
--- FAIL: TestBrowserSpecialistRows (45.39s)

--- FAIL amadan.net/oficina/equipo/internal/thintest TestBrowserTeamPanel
=== RUN   TestBrowserTeamPanel
    team_panel_browser_test.go:56: failed to get reader: context deadline exceeded
--- FAIL: TestBrowserTeamPanel (45.40s)

--- FAIL amadan.net/oficina/equipo/internal/thintest (package output)
FAIL
rastrillo-budget/v1 ran 7m40.606s
FAIL	amadan.net/oficina/equipo/internal/thintest	460.911s


receipt: test step 7m41.959s 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 7m40.606s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 45.58s amadan.net/oficina/equipo/internal/thintest TestBrowserPhoneIndex
receipt: slow test 45.43s amadan.net/oficina/equipo/internal/thintest TestBrowserTrackStarCentre
receipt: slow test 45.4s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
receipt: slow test 45.4s amadan.net/oficina/equipo/internal/thintest TestBrowserProjectsList
receipt: slow test 45.4s amadan.net/oficina/equipo/internal/thintest TestBrowserTeamPanel
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAccessEmojiByline|TestBrowserAccessFinalOutcomes|TestBrowserAccessRequest|TestBrowserAccessReview|TestBrowserActivitySubjects|TestBrowserAutonomySettings|TestBrowserCoordinatorQueue|TestBrowserHousekeeping|TestBrowserInnerGallery|TestBrowserInnerScreens|TestBrowserInstantThinking|TestBrowserInstantThinkingQueued|TestBrowserMachines|TestBrowserPhoneIndex|TestBrowserPlacementQuestionAndPending|TestBrowserProjectPlacement|TestBrowserProjectsList|TestBrowserReportActionFeedback|TestBrowserReportNextSteps|TestBrowserReportThread|TestBrowserRollup|TestBrowserRosterAlignment|TestBrowserRosterDecisionStates|TestBrowserRosterQuietDay|TestBrowserRosterReports|TestBrowserRosterSetAside|TestBrowserRosterSubchat|TestBrowserRosterThinking|TestBrowserRosterVisual|TestBrowserSettingsHousekeepingGroups|TestBrowserSettingsMenu|TestBrowserSettingsRail|TestBrowserSettingsSaveBar|TestBrowserSettingsShots|TestBrowserSettingsStayOnPage|TestBrowserSettingsTeams|TestBrowserShipsButtons|TestBrowserSpecialistRows|TestBrowserSpendFollowsAnswers|TestBrowserTaskRows|TestBrowserTeamPanel|TestBrowserThinkingCycles|TestBrowserThinkingLinesClear|TestBrowserThinkingWords|TestBrowserTokenRowEmail|TestBrowserTrackStarCentre)$' -v -run '^TestBrowserInnerGallery$|^TestBrowserInnerScreens$|^TestBrowserPhoneIndex$|^TestBrowserProjectsList$|^TestBrowserSettingsMenu$|^TestBrowserSettingsRail$|^TestBrowserSpecialistRows$|^TestBrowserTeamPanel$|^TestBrowserTrackStarCentre$' -count=1 ./internal/thintest   (retry, once)
FAILED TWICE ./internal/thintest:TestBrowserInnerGallery browser-rest
FAILED TWICE ./internal/thintest:TestBrowserInnerScreens browser-rest
FAILED TWICE ./internal/thintest:TestBrowserPhoneIndex browser-rest
FAILED TWICE ./internal/thintest:TestBrowserProjectsList browser-rest
FAILED TWICE ./internal/thintest:TestBrowserSettingsMenu browser-rest
FAILED TWICE ./internal/thintest:TestBrowserSettingsRail browser-rest
FAILED TWICE ./internal/thintest:TestBrowserSpecialistRows browser-rest
FAILED TWICE ./internal/thintest:TestBrowserTeamPanel browser-rest
FAILED TWICE ./internal/thintest:TestBrowserTrackStarCentre browser-rest
=== RUN   TestBrowserPhoneIndex
    index_browser_test.go:18: failed to get reader: context deadline exceeded
--- FAIL: TestBrowserPhoneIndex (46.41s)
=== RUN   TestBrowserTrackStarCentre
    inner_browser_test.go:141: failed to get reader: context deadline exceeded
--- FAIL: TestBrowserTrackStarCentre (45.39s)
=== RUN   TestBrowserInnerGallery
    inner_browser_test.go:202: failed to get reader: context deadline exceeded
--- FAIL: TestBrowserInnerGallery (45.40s)
=== RUN   TestBrowserInnerScreens
    inner_browser_test.go:230: failed to get reader: context deadline exceeded
--- FAIL: TestBrowserInnerScreens (45.39s)
=== RUN   TestBrowserProjectsList
    projects_browser_test.go:17: failed to get reader: context deadline exceeded
--- FAIL: TestBrowserProjectsList (45.39s)
=== RUN   TestBrowserSettingsMenu
    settings_browser_test.go:120: light 390: the menu is not full-row drill-ins
--- FAIL: TestBrowserSettingsMenu (0.59s)
=== RUN   TestBrowserSettingsRail
    settings_browser_test.go:156: 1280: the rail moved, or is not ‹ Equipo and the sections, or ‹ Equipo does not lead back to Tasks
--- FAIL: TestBrowserSettingsRail (0.33s)
=== RUN   TestBrowserSpecialistRows
    specialist_rows_browser_test.go:18: failed to get reader: context deadline exceeded
--- FAIL: TestBrowserSpecialistRows (45.40s)
=== RUN   TestBrowserTeamPanel
    team_panel_browser_test.go:56: failed to get reader: context deadline exceeded
--- FAIL: TestBrowserTeamPanel (45.39s)
FAIL
rastrillo-budget/v1 ran 5m19.718s
FAIL	amadan.net/oficina/equipo/internal/thintest	319.979s
FAIL
machine: 32 CPUs, load 0.13, cpu waiting 0.00%, memory waiting 0.00%, io waiting 0.00%
make: *** [Makefile:113: ci-shard] Error 1

amadan: step check shard 22 of 29 failed: exit status 2
--- shard 23 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 23: make test-quarantine
python3 scripts/ci-test.py quarantine
quarantine: 12 tests from scripts/ci-quarantine.txt; a failure is retried once, and a pass on the retry is reported as a flake
+ go test -tags testbuild -timeout 15m -v -run '^TestHeadlessConnections$/^A5_cancel_and_sign_out$|^TestHeadlessConnections$/^C4_claude_sign_in$|^TestHeadlessConnections$/^C5_engineering_failover$|^TestHeadlessConnections$/^C5_engineering_to_codex$|^TestHeadlessConnections$/^C5_engineering_waits$' ./internal/headless   (56s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 5.21s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.37s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 10.28s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 10.06s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 26.92s
+ 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   (72s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 16.95s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 17.01s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 21.47s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 14.97s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (23s)
ok ./internal/headless TestMixedVersions 21.34s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.79s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (2s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.06s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 61.49, cpu waiting 38.69%, memory waiting 0.00%, io waiting 0.47%
--- shard 24 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 24: make runner-host
python3 scripts/runner-prerequisites.py
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks

receipt: test step 13.448s against a 60s target (the gate's other steps are not in this figure)
receipt: 4 packages ran, 0 cached, 3 without tests, 0 failed
receipt: slow package 7.966s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 172ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 101ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 2ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/gotoolchain
receipt: slow test 5.83s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.72s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 330ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 170ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/provider/codex TestDirectJournalAdapterBarrier
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.923s 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.898s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 270ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 210ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceExitStatus
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
machine: 32 CPUs, load 9.95, cpu waiting 11.16%, memory waiting 0.00%, io waiting 1.18%
--- 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 33.6%, load 18.53
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2408 text files, 2742 matches, 0 failures
python3 scripts/ci-test.py check
lanes: 18 lanes and 5 browser lanes run every test once; 20-check@29
CGO_ENABLED=0 go build ./...
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o /dev/null ./cmd/equipo-runner
go vet ./...
go vet -tags testbuild ./internal/runner/thin ./internal/headless
GOOS=darwin GOARCH=arm64 go vet ./cmd/equipo-runner/... ./internal/runner/... ./internal/wire/... ./internal/release/...
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
budget size: 85 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.394s
machine: 32 CPUs, load 61.49, cpu waiting 39.19%, memory waiting 0.00%, io waiting 0.46%
--- 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 33.6%, load 18.53
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 57.95, cpu waiting 34.55%, memory waiting 0.00%, io waiting 0.64%
--- 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 33.6%, load 18.53
shard 27: make govulncheck
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./...
=== Symbol Results ===

No vulnerabilities found.

Your code is affected by 0 vulnerabilities.
This scan also found 0 vulnerabilities in packages you import and 5
vulnerabilities in modules you require, but your code doesn't appear to call
these vulnerabilities.
Use '-show verbose' for more details.
machine: 32 CPUs, load 26.98, cpu waiting 20.52%, memory waiting 0.00%, io waiting 0.87%
--- 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 33.5%, load 18.53
shard 28: make gitleaks
7:56AM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
7:56AM INF 985 commits scanned.
7:56AM INF scanned ~59150400 bytes (59.15 MB) in 20.8s
7:56AM INF no leaks found
machine: 32 CPUs, load 53.51, cpu waiting 32.24%, memory waiting 0.00%, io waiting 0.69%

amadan: job failed at step check shards 6, 7, 16, 22 of 29 — its output is above, not at the tail of this log
diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt
index 141793b4..f8f783d5 100644
--- a/.rastrillo/budgets.txt
+++ b/.rastrillo/budgets.txt
@@ -70,7 +70,7 @@ perf GET /api/v1/tasks/{id}/files/{file} skip Research kept images: bearer-only
perf GET /tasks/{id}/files/{file} skip Research kept images: the bytes of one image, shown on the task page; a file, not a screen.
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 - 11189 End-to-end scenarios, including approved access through the real runner and server while git is blocked. Measured 11189 test lines.
+size internal/headless - 11236 Injection defences and end-to-end authority fixtures; measured source/test lines -/11236.
size internal/thintest - 31442 Injection defences, current authority and provenance guards; measured source/test lines -/31442. Existing package boundary retained.
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/internal/fakeclaude/fake.go b/internal/fakeclaude/fake.go
index 296d976b..b3bc7958 100644
--- a/internal/fakeclaude/fake.go
+++ b/internal/fakeclaude/fake.go
@@ -552,8 +552,9 @@ var stepSleep = regexp.MustCompile(`stepsleep:([0-9]+)`)
// engineer plays an Engineering step: permission first, then the edit in
// the working directory (the namespace's /workspace).
func (f *fake) engineer(prompt string, turn int, emit func(any)) string {
+ prompt = StepMarkerText(prompt)
read := map[string]bool{}
- for i, m := range editWord.FindAllStringSubmatch(prompt, -1) {
+ for i, m := range DistinctStepMarkers(editWord, prompt) {
if path := filepath.Join("/workspace", filepath.Clean("/"+m[1])); !read[path] {
read[path] = true
f.readTool(fmt.Sprintf("toolu_fake_%d_er%d", turn, i), path, emit)
@@ -573,7 +574,7 @@ func (f *fake) engineer(prompt string, turn int, emit func(any)) string {
}
return !isError && json.Unmarshal([]byte(text), &answer) == nil && answer.Behavior == "allow"
}
- for i, m := range editWord.FindAllStringSubmatch(prompt, -1) {
+ for i, m := range DistinctStepMarkers(editWord, prompt) {
path := filepath.Join("/workspace", filepath.Clean("/"+m[1]))
if !ask(i, "Edit", map[string]any{"file_path": path, "old_string": m[2], "new_string": m[3]}) {
done = append(done, "Edit of "+m[1]+" was denied.")
@@ -701,7 +702,8 @@ var (
// reviewer plays a Review step: reads what the words name in the
// working directory and gives its verdict through submit_review.
func (f *fake) reviewer(prompt string, turn int, emit func(any)) string {
- for i, m := range append(reviewNeed.FindAllStringSubmatch(prompt, -1), reviewChanges.FindAllStringSubmatch(prompt, -1)...) {
+ prompt = StepMarkerText(prompt)
+ for i, m := range append(DistinctStepMarkers(reviewNeed, prompt), DistinctStepMarkers(reviewChanges, prompt)...) {
f.readTool(fmt.Sprintf("toolu_fake_%d_rr%d", turn, i), filepath.Join("/workspace", filepath.Clean("/"+m[1])), emit)
}
if m := reviewSleep.FindStringSubmatch(prompt); m != nil {
@@ -712,7 +714,7 @@ func (f *fake) reviewer(prompt string, turn int, emit func(any)) string {
verdict, summary := "approve", "The change does what the task asks."
findings := []map[string]any{}
var notes []string
- for i, m := range reviewWrite.FindAllStringSubmatch(prompt, -1) {
+ for i, m := range DistinctStepMarkers(reviewWrite, prompt) {
id := fmt.Sprintf("toolu_fake_%d_rw%d", turn, i)
path := filepath.Join("/workspace", filepath.Clean("/"+m[1]))
emit(map[string]any{"type": "assistant", "session_id": f.session, "parent_tool_use_id": nil, "message": map[string]any{"model": f.model, "id": "msg_" + id, "type": "message", "role": "assistant", "content": []any{map[string]any{"type": "tool_use", "id": id, "name": "Write", "input": map[string]any{"file_path": path, "content": "x"}}}}, "uuid": "assistant-" + id})
@@ -723,12 +725,12 @@ func (f *fake) reviewer(prompt string, turn int, emit func(any)) string {
}
notes = append(notes, fmt.Sprintf("Write to %s was %s.", m[1], map[bool]string{true: "allowed", false: "denied"}[allowed]))
}
- for _, m := range reviewChanges.FindAllStringSubmatch(prompt, -1) {
+ for _, m := range DistinctStepMarkers(reviewChanges, prompt) {
line, _ := strconv.Atoi(m[2])
verdict, summary = "changes_requested", "One thing needs changing."
findings = append(findings, map[string]any{"path": m[1], "line": line, "text": unfold.Replace(m[3])})
}
- for _, m := range reviewNeed.FindAllStringSubmatch(prompt, -1) {
+ for _, m := range DistinctStepMarkers(reviewNeed, prompt) {
raw, err := os.ReadFile(m[1])
if err != nil || !strings.Contains(string(raw), m[2]) {
verdict, summary = "changes_requested", "Not done yet."
diff --git a/internal/fakeclaude/step_markers.go b/internal/fakeclaude/step_markers.go
new file mode 100644
index 00000000..15b4bf54
--- /dev/null
+++ b/internal/fakeclaude/step_markers.go
@@ -0,0 +1,48 @@
+package fakeclaude
+
+import (
+ "regexp"
+ "strconv"
+ "strings"
+)
+
+// StepMarkerText decodes quoted prompt values for fake CLI fixture markers. Decode
+// those values without stripping literal quotes from an edit's replacement.
+func StepMarkerText(prompt string) string {
+ for range 4 {
+ lines := strings.Split(prompt, "\n")
+ changed := false
+ for i, line := range lines {
+ at := strings.IndexByte(line, '"')
+ if at < 0 {
+ continue
+ }
+ prefix := strings.TrimSpace(line[:at])
+ if prefix != "" && prefix != "-" && !strings.HasSuffix(prefix, ":") {
+ continue
+ }
+ if value, err := strconv.Unquote(strings.TrimSpace(line[at:])); err == nil {
+ lines[i], changed = line[:at]+value, true
+ }
+ }
+ prompt = strings.Join(lines, "\n")
+ if !changed {
+ break
+ }
+ }
+ return prompt
+}
+
+// DistinctStepMarkers runs one fixture directive once even when the prompt
+// carries it in both the person's original words and the coordinator's brief.
+func DistinctStepMarkers(pattern *regexp.Regexp, prompt string) [][]string {
+ seen := map[string]bool{}
+ var out [][]string
+ for _, match := range pattern.FindAllStringSubmatch(prompt, -1) {
+ if !seen[match[0]] {
+ out = append(out, match)
+ seen[match[0]] = true
+ }
+ }
+ return out
+}
diff --git a/internal/fakeclaude/step_markers_test.go b/internal/fakeclaude/step_markers_test.go
new file mode 100644
index 00000000..a0c54fd5
--- /dev/null
+++ b/internal/fakeclaude/step_markers_test.go
@@ -0,0 +1,37 @@
+package fakeclaude
+
+import (
+ "strconv"
+ "testing"
+)
+
+func TestQuotedStepMarkers(t *testing.T) {
+ edit := `edit:README.md|teh panes|the "quoted" panes`
+ for _, prompt := range []string{
+ "Coordinator brief: " + strconv.Quote(edit),
+ "CI and Review feedback: " + strconv.Quote("Review finding: "+strconv.Quote(edit)),
+ } {
+ matches := editWord.FindAllStringSubmatch(StepMarkerText(prompt), -1)
+ if len(matches) != 1 || matches[0][1] != "README.md" || matches[0][2] != "teh panes" || matches[0][3] != `the "quoted" panes` {
+ t.Fatalf("quoted edit changed: %#v", matches)
+ }
+ }
+ prompt := "Task title (quoted data): " + strconv.Quote("review:changes:README.md|2|Fix the typo.\nstepsleep:10")
+ findings := reviewChanges.FindAllStringSubmatch(StepMarkerText(prompt), -1)
+ if len(findings) != 1 || findings[0][3] != "Fix the typo." {
+ t.Fatalf("quoted review finding changed: %#v", findings)
+ }
+ if got := StepMarkerText(edit); got != edit {
+ t.Fatalf("literal marker quotes changed: %q", got)
+ }
+}
+
+func TestRepeatedStepMarkersRunOnce(t *testing.T) {
+ one := "review:need:README.md|always|Add always."
+ two := "review:need:README.md|sometimes|Add sometimes."
+ prompt := "Person's words: " + strconv.Quote(one) + "\nCoordinator brief: " + strconv.Quote(one+"\n"+two)
+ got := DistinctStepMarkers(reviewNeed, StepMarkerText(prompt))
+ if len(got) != 2 || got[0][0] != one || got[1][0] != two {
+ t.Fatalf("repeated source duplicated a scripted finding: %#v", got)
+ }
+}
diff --git a/internal/fakecodex/fake.go b/internal/fakecodex/fake.go
index 68cb982f..7ffa2749 100644
--- a/internal/fakecodex/fake.go
+++ b/internal/fakecodex/fake.go
@@ -570,11 +570,12 @@ func (s *server) mcpTool(thread, turn, item, name string, input map[string]any)
// step plays an Engineering or Review step in the working directory.
func (s *server) step(thread, turn, prompt string, review bool, done func(string, any)) {
+ prompt = fakeclaude.StepMarkerText(prompt)
item := func(kind string, i int) string { return fmt.Sprintf("%s_%s_%d", kind, turn[:8], i) }
var notes []string
reply := ""
if !review {
- edits := editWord.FindAllStringSubmatch(prompt, -1)
+ edits := fakeclaude.DistinctStepMarkers(editWord, prompt)
if len(edits) > 0 {
cmd := map[string]any{"id": item("cmd", 0), "type": "commandExecution", "command": "cat " + edits[0][1], "cwd": "/workspace", "status": "inProgress"}
s.notify("item/started", map[string]any{"threadId": thread, "turnId": turn, "item": cmd})
@@ -605,7 +606,7 @@ func (s *server) step(thread, turn, prompt string, review bool, done func(string
}
} else {
verdict, headline, summary, findings := "approve", "Approved.", "The change does what the task asks.", []map[string]any{}
- for _, m := range reviewChanges.FindAllStringSubmatch(prompt, -1) {
+ for _, m := range fakeclaude.DistinctStepMarkers(reviewChanges, prompt) {
line, _ := strconv.Atoi(m[2])
verdict, headline, summary = "changes_requested", "Asked for one more change.", "One thing needs changing."
findings = append(findings, map[string]any{"path": m[1], "line": line, "text": m[3]})
diff --git a/internal/headless/engineering_test.go b/internal/headless/engineering_test.go
index 5944a17d..7084a8f0 100644
--- a/internal/headless/engineering_test.go
+++ b/internal/headless/engineering_test.go
@@ -338,8 +338,8 @@ func scenarioEmptyRepo(t *testing.T, env *Env) {
// an empty paulca repository): the step starts from an empty tree, its
// commit is the repository's initial commit, and the push creates the
// task branch only; the default branch stays unborn until a merge.
-// Review reads that commit and approves it; with no gate, checks say
-// there are none, so the task waits for the person. Reads of the
+// Review reads that commit and approves it. With no trusted base, checks
+// are unavailable and the task waits for the person. Reads of the
// repository still say it has no commits yet.
func scenarioEmptyEngineering(t *testing.T, env *Env) {
if env.Live || env.GrantEmpty == nil {
@@ -384,10 +384,10 @@ func scenarioEmptyEngineering(t *testing.T, env *Env) {
if page := forgeShow(t, bare, eng.CandidateSHA+":book.html"); !strings.Contains(page, "<a href=index.html>Back</a>") {
t.Fatalf("book.html %q", page)
}
- if review.State != wire.StepDone || review.Verdict != wire.VerdictApprove || checks.State != wire.StepDone || checks.Checks != wire.ChecksNone {
+ if review.State != wire.StepDone || review.Verdict != wire.VerdictApprove || checks.State != wire.StepDone || checks.Checks != wire.ChecksCannotRun || checks.Reason != "base_gate_unavailable" || checks.Gate != "" || checks.ExitCode != nil {
t.Fatalf("review %+v checks %+v", review, checks)
}
- if k.Stage != wire.StageReadyToMerge && k.NeedsYou == "" {
+ if k.Stage != wire.StageReadyToMerge || k.NeedsYou != wire.NeedsMerge || k.Merged != nil {
t.Fatalf("task ended %s", k.Stage)
}
read := s.send(t, "tool:read_file:paulca/barber|index.html")
diff --git a/internal/headless/mac_test.go b/internal/headless/mac_test.go
index 480c323a..322a4192 100644
--- a/internal/headless/mac_test.go
+++ b/internal/headless/mac_test.go
@@ -27,6 +27,7 @@ func addWoodstar(t *testing.T, root string, f *localForge) {
work := filepath.Join(root, "seed-woodstar")
for p, body := range map[string]string{
"README.md": "# Woodstar\n\nAn iOS reading app with sliding panes.\n",
+ ".equipo/gates.json": "{\"version\":1,\"files\":[]}\n",
".amadan/ci": "#!/bin/sh\nset -e\nxcodebuild test -scheme Woodstar -destination 'platform=iOS Simulator,name=iPhone 16 Pro'\n",
"Woodstar/Swipe.swift": "let edgeSwipe = false\n",
"Woodstar.xcodeproj/xcshareddata/xcschemes/Woodstar.xcscheme": "<Scheme/>\n",
@@ -55,9 +56,8 @@ func addWoodstar(t *testing.T, root string, f *localForge) {
// build with EQUIPO_FAKE_PLATFORM, enrolled as the owner's second runner
// (a worker), its own roots, the fake xcodebuild first on its gates'
// PATH, run as a process so it can be killed. It plays a Mac whose
-// probe P2 denied (checks labelled seatbelt), so Equipo merges on its
-// own; checks outside the sandbox are asked about instead
-// (TestContractChecksPlacedOnTheWorker).
+// probe P2 denied (checks labelled seatbelt). Worker checks are diagnostic
+// until they certify immutable base gates, so the person chooses Merge.
func macWorker(t *testing.T, inst *thintest.Instance, primary *localRunner) (*localRunner, string) {
t.Helper()
root := private(t, filepath.Join(primary.root, "mac"))
@@ -87,6 +87,57 @@ func stepOf(k wire.Task, specialist string, n int) wire.Step {
return wire.Step{}
}
+// mergeWorkerPass verifies that a worker pass cannot grant merge authority,
+// then exercises the person's explicit decision on that exact candidate.
+func (s *session) mergeWorkerPass(t *testing.T, id string, timeout time.Duration) wire.Task {
+ t.Helper()
+ s.wait(t, "worker checks and review finished", timeout, func(c *thintest.Conversation) bool {
+ k := c.Tasks[id]
+ return k.Stage == wire.StageReadyToMerge || k.Stage == wire.StageDone || k.Stage == wire.StageCancelled
+ })
+ k, err := s.env.Client.Task(s.ctx, id)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if k.Stage != wire.StageReadyToMerge || k.Checks != wire.ChecksPassed || k.Verdict != wire.VerdictApprove || k.Merged != nil || k.MergeDecision == nil || k.MergeDecision.Class != "ask" {
+ t.Fatalf("worker pass granted automatic authority or did not finish: %+v", k)
+ }
+ missingBase := false
+ for _, reason := range k.MergeDecision.Reasons {
+ if reason.Name == "trusted_base_checks" && !reason.OK {
+ missingBase = true
+ }
+ }
+ if !missingBase {
+ t.Fatalf("missing trusted-base evidence not recorded: %+v", k.MergeDecision)
+ }
+ for _, step := range k.Steps {
+ if step.Specialist == wire.SpecialistMerge {
+ t.Fatal("merge dispatched before the person's decision")
+ }
+ }
+ if main := forgeHead(t, s.env.ForgePath(k.Repo), "main"); main != k.BaseSHA {
+ t.Fatalf("main moved before the person's decision: %s != %s", main, k.BaseSHA)
+ }
+ card := s.mergeCard(t, id)
+ if card.State != wire.CardOpen {
+ t.Fatalf("merge card not open: %+v", card)
+ }
+ if _, err := s.env.Client.Answer(s.ctx, card.ID, wire.ChoiceMerge, card.Revision); err != nil {
+ t.Fatal(err)
+ }
+ s.wait(t, "merged after the person's decision", time.Minute, func(c *thintest.Conversation) bool { return c.Tasks[id].Stage == wire.StageDone })
+ merged, err := s.env.Client.Task(s.ctx, id)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if merged.CandidateSHA != k.CandidateSHA || merged.MergeDecision == nil || !strings.HasPrefix(merged.MergeDecision.DecidedBy, "person:") {
+ t.Fatalf("merge did not preserve person authority and candidate: %+v", merged)
+ }
+ mergedOnForge(t, s.env.ForgePath(k.Repo), merged)
+ return merged
+}
+
// TestMacWorker runs the Mac worker scenarios of the spec (§6, M1, M2,
// M4, M5) against a local instance, the primary runner with the fake CLI
// in real bubblewrap, and the fake Mac worker.
@@ -113,8 +164,7 @@ func TestMacWorker(t *testing.T) {
t.Run("M5", func(t *testing.T) {
sent := s.send(t, "tool:record_task:woodstar/woodstar|Describe the panes|Say what the panes are for.\ntool:start_task:$task|edit:README.md|sliding panes|sliding panes, again")
id := s.taskOf(t, sent.Turn.ID)
- s.wait(t, "merged", 4*time.Minute, func(c *thintest.Conversation) bool { return c.Tasks[id].Stage == wire.StageDone })
- k, _ := env.Client.Task(s.ctx, id)
+ k := s.mergeWorkerPass(t, id, 4*time.Minute)
first, second := stepOf(k, wire.SpecialistChecks, 0), stepOf(k, wire.SpecialistChecks, 1)
if first.Checks != wire.ChecksFailed || first.ExitCode == nil || *first.ExitCode != 65 || first.RunnerLabel != "Tito Studio" || k.FixRounds != 1 || second.Checks != wire.ChecksPassed || second.CandidateSHA != k.CandidateSHA {
t.Fatalf("fix round from the worker's output: %+v / %+v / rounds %d", first, second, k.FixRounds)
@@ -123,13 +173,11 @@ func TestMacWorker(t *testing.T) {
// M1: an iOS change; its checks are placed on the worker, the
// candidate relayed as a pack, xcodebuild passes there; review stays on
- // the primary; Equipo merges it.
+ // the primary; the person then chooses Merge.
t.Run("M1", func(t *testing.T) {
sent := s.send(t, "tool:record_task:woodstar/woodstar|iOS edge swipe|Swipe back from the edge feels late.\ntool:start_task:$task|edit:Woodstar/Swipe.swift|edgeSwipe = true|edgeSwipe = true // from the edge")
id := s.taskOf(t, sent.Turn.ID)
- s.settled(t, id, 3*time.Minute)
- s.wait(t, "merged", time.Minute, func(c *thintest.Conversation) bool { return c.Tasks[id].Stage == wire.StageDone })
- k, _ := env.Client.Task(s.ctx, id)
+ k := s.mergeWorkerPass(t, id, 3*time.Minute)
checks, review := stepOf(k, wire.SpecialistChecks, 0), stepOf(k, wire.SpecialistReview, 0)
if checks.RunnerLabel != "Tito Studio" || checks.Checks != wire.ChecksPassed || checks.Gate != ".amadan/ci" || checks.ExitCode == nil || *checks.ExitCode != 0 || checks.TerminationKind != wire.TerminationProcessGroup || strings.Join(checks.Needs, ",") != "macos,xcode,ios_simulator" || checks.CandidateSHA != k.CandidateSHA {
t.Fatalf("checks %+v", checks)
@@ -170,8 +218,7 @@ func TestMacWorker(t *testing.T) {
return false
})
worker.start(t)
- s.wait(t, "merged after the worker came back", 3*time.Minute, func(c *thintest.Conversation) bool { return c.Tasks[id].Stage == wire.StageDone })
- k, _ := env.Client.Task(s.ctx, id)
+ k := s.mergeWorkerPass(t, id, 3*time.Minute)
if c := stepOf(k, wire.SpecialistChecks, 0); c.Checks != wire.ChecksPassed || c.RunnerLabel != "Tito Studio" {
t.Fatalf("checks after reconnect %+v", c)
}
@@ -242,8 +289,7 @@ func TestMacWorker(t *testing.T) {
if _, err := env.Client.RetryTask(s.ctx, id); err != nil {
t.Fatal(err)
}
- s.wait(t, "merged after Retry", 3*time.Minute, func(c *thintest.Conversation) bool { return c.Tasks[id].Stage == wire.StageDone })
- k, _ = env.Client.Task(s.ctx, id)
+ k = s.mergeWorkerPass(t, id, 3*time.Minute)
if c := stepOf(k, wire.SpecialistChecks, 0); c.Attempt != 2 || c.Checks != wire.ChecksPassed || c.RunnerLabel != "Tito Studio" {
t.Fatalf("checks after Retry %+v", c)
}
diff --git a/internal/headless/projects_test.go b/internal/headless/projects_test.go
index 086eb7bf..2294f619 100644
--- a/internal/headless/projects_test.go
+++ b/internal/headless/projects_test.go
@@ -53,8 +53,9 @@ func newLocalForge(t *testing.T, root string) *localForge {
"sample": {"README.md": "# Woodstar\n\nWoodstar is a reading app with sliding panes. Woodstar keeps your place.\n\nIt has a typo: teh panes.\n", "go.mod": "module amadan.net/oficina/sample\n\ngo 1.26\n", "panes/swipe.go": "package panes\n\n// EdgeSwipe goes back when a finger slides from the edge.\nfunc EdgeSwipe() bool { return false }\n",
// The repository's own gate: fails while the README has the typo,
// printing the edit that fixes it; and an iOS file.
- "Makefile": "ci:\n\t@if grep -q 'teh panes' README.md; then echo 'README.md still says teh panes. edit:README.md|teh panes|the panes'; exit 1; fi\n\t@test -d .git && git rev-parse HEAD\n\t@echo README ok\n",
- "ios/App.swift": "import SwiftUI\n\nlet edgeSwipe = false\n"},
+ ".equipo/gates.json": "{\"version\":1,\"files\":[]}\n",
+ "Makefile": "ci:\n\t@if grep -q 'teh panes' README.md; then echo 'README.md still says teh panes. edit:README.md|teh panes|the panes'; exit 1; fi\n\t@test -d .git && git rev-parse HEAD\n\t@echo README ok\n",
+ "ios/App.swift": "import SwiftUI\n\nlet edgeSwipe = false\n"},
"equipo": {"README.md": "# Equipo\n\nEquipo runs a team's coordinator and specialists.\n", "go.mod": "module amadan.net/oficina/equipo\n\ngo 1.26\n"},
"notes": {"README.md": "# Notes\n\nShared notes.\n"},
}