oficina / equipo Public

runner: accept a managed Claude account's empty settings state

Production failed every other coordinator message once the coordinator
moved to an org-managed Claude account: 2.1.312 writes
policy-limits.json.stamp.json, remote-settings.json ({}) and its
.synced-at into the runtime home, and the warm-turn check refused them.

Accept the stamp as a policy-limits file (4 KB cap). Accept
remote-settings.json only at the root, 0600, at most 64 bytes, read
without following links, and exactly {}; anything else stays
runtime_claude_remote_settings. Accept .synced-at only beside it.
Scrub stubs stay token-only. Tests fail first with the production error.

Astra: NOT READY on round 1 (finding 1, network-delivered managed
settings, is pre-existing on every cold start; Paul ruled to ship this
and follow up in discussion 24), APPROVED on round 2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Squashed from claude-policy-stamp into main.
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 5eef34a900b1f9771e6a362c9bb51d0f8e1c67a0 parent 8dc096b
6 files changed, +322 −5
  • .rastrillo/budgets.txt +1 −1
  • internal/runner/provider/runtime_claude.go +79 −1
  • internal/runner/provider/runtime_home.go +2 −2
  • internal/runner/provider/runtime_remote_settings_test.go +230 −0
  • internal/runner/provider/runtime_startup_test.go +3 −1
  • scripts/runner-reference-allowlist.json +7 −0

CI passed — run details

CI log
=== prepare ===
ci-box: machine: aarch64, 32 CPUs, 62 GiB memory, kernel 7.0.0-1017-aws
ci-box: python 3.12.3; Docker version 29.1.3, build 29.1.3-0ubuntu3~24.04.2
ci-box: user namespaces allowed: 233151
ci-box: cgroup: cgroup2fs
ci-box: disk /home/ci/work/repos/oficina__equipo/wt/main: 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 4.1s
ci-box: codex: fetched and verified in 3.4s
ci-box: codex-code-mode-host: fetched and verified in 1.3s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.3s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.8s
ci-box: pi: installed and verified in 7.3s
ci-box: opencode: installed and verified in 2.3s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.7s
ci-box: clone deepened in 3.3s
ci-box: file times set from content: 2821 files, 185 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.248s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  5.5s
+ go list -export -test -tags testbuild -f  ./...
  5.1s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  3.0s
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -version
staticcheck 2026.1 (v0.7.0)
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 -version
Go: go1.26.11
Scanner: govulncheck@v1.8.0
DB: https://vuln.go.dev
DB updated: 2026-11-11 02:51:11 +0000 UTC

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

receipt: test step 1m32.542s 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.714s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m29.71s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 63.55, cpu waiting 42.20%, memory waiting 0.00%, io waiting 0.35%
--- 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 1m35.121s 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 1m33.01s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m33.01s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 60.78, cpu waiting 41.54%, memory waiting 0.00%, io waiting 0.32%
--- 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 1m37.029s 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 1m33.961s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m22.29s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 6.39s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 5.27s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 60.78, cpu waiting 41.54%, memory waiting 0.00%, io waiting 0.32%
--- 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 1m32.168s 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.485s amadan.net/oficina/equipo/internal/headless
receipt: slow test 46.24s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 22.44s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.95s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.85s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 63.55, cpu waiting 42.20%, memory waiting 0.00%, io waiting 0.35%
--- 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 1m49.241s 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 1m46.491s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m8.12s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 12.44s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 10.66s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 9.16s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 6.11s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 54.71, cpu waiting 35.45%, memory waiting 0.00%, io waiting 0.26%
--- shard 5 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-rest: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^TestHeadless$/^4c_rebase$|^TestHeadless$/^4b_ask$|^TestHeadless$/^4c_checks_card$|^TestHeadless$/^4_step_crash$|^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$|^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$|^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$|^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_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 3m20.916s 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 3m17.985s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m55.47s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 24.21s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.55s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 8.16s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.39s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 14.51, cpu waiting 7.75%, memory waiting 0.00%, io waiting 0.05%
--- shard 6 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane thintest: ./internal/thintest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test([^C]|C[^o]|Co[^n]|Con[^t])|^TestContract(Assistant|Outcome|Team|Handoff|HostAllowlist|HostIsPerPerson|Look|Use[A-Z]|RemoteCall|LanesRunAtOnce|NoMergeQuestionWhenGateMerges|PreviewHeldUntilPublishAnswer|PreviewNotHeldBelow19|PublishNeedsOwnerAnswer)' ./internal/thintest

receipt: test step 2m3.514s 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 2m1.703s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 7.87s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.79s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.58s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 3.83s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 2.46s amadan.net/oficina/equipo/internal/thintest TestResearchDoneFallsBack
machine: 32 CPUs, load 43.12, cpu waiting 27.46%, memory waiting 0.00%, io waiting 0.20%
--- 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 TestContractWorkerTaintIsSticky
=== RUN   TestContractWorkerTaintIsSticky
    placement_contract_test.go:552: waiting for send_pack: failed to get reader: context deadline exceeded
--- FAIL: TestContractWorkerTaintIsSticky (45.23s)

--- FAIL amadan.net/oficina/equipo/internal/thintest (package output)
FAIL
rastrillo-budget/v1 ran 2m4.372s
FAIL	amadan.net/oficina/equipo/internal/thintest	124.699s


receipt: test step 2m6.33s 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 2m4.372s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 45.23s amadan.net/oficina/equipo/internal/thintest TestContractWorkerTaintIsSticky
receipt: slow test 8.93s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 4.84s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.46s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.33s amadan.net/oficina/equipo/internal/thintest TestContractPreview
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 '^TestContractWorkerTaintIsSticky$' -count=1 ./internal/thintest   (retry, once)
##############################################################################
FLAKE ./internal/thintest:TestContractWorkerTaintIsSticky thintest-contract 5eef34a900b1f9771e6a362c9bb51d0f8e1c67a0 45.23s 43.12
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 40.31, cpu waiting 24.85%, memory waiting 0.00%, io waiting 0.18%
--- 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 4m37.495s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m43.239s 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 4m37.495s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 37.1s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.97s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.77s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.47s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 6.88s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 4.22, cpu waiting 1.97%, memory waiting 0.00%, io waiting 0.00%
--- shard 9 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-bug: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$' ./internal/runner

receipt: test step 51.185s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 49.846s amadan.net/oficina/equipo/internal/runner
receipt: slow test 29.81s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.03s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 57.16, cpu waiting 32.80%, 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 1m1.185s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 59.786s amadan.net/oficina/equipo/internal/runner
receipt: slow test 49.67s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 44.71s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.42s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.67s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 67.62, cpu waiting 39.35%, memory waiting 0.00%, io waiting 0.58%
--- 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.559s 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.476s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.13s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.13s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 3.07s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 2.47s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 37.48, cpu waiting 21.27%, 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 37.3%, load 25.79
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 1m7.352s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m5.481s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 27.41s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 27.33s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 25.14s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 22.43s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 22.35s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfiguration
machine: 32 CPUs, load 60.78, cpu waiting 41.54%, memory waiting 0.00%, io waiting 0.32%
--- 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 37.3%, load 29.25
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 1m15.228s 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 1m13.135s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 19.11s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 19.07s amadan.net/oficina/equipo/internal/equipotest TestProjectConcurrentRetry
receipt: slow test 19.01s amadan.net/oficina/equipo/internal/equipotest TestProjectOwnersAreMembers
receipt: slow test 18.99s amadan.net/oficina/equipo/internal/equipotest TestProjectBindingUniqueness
receipt: slow test 18.97s amadan.net/oficina/equipo/internal/equipotest TestProjectRetryAndRevision
machine: 32 CPUs, load 54.71, cpu waiting 36.55%, memory waiting 0.00%, io waiting 0.27%
--- 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 37.3%, load 29.25
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 1m13.727s 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 1m8.57s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 15.5s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.26s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.21s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 10.13s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 7.13s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 57.03, cpu waiting 37.65%, memory waiting 0.00%, io waiting 0.28%
--- 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 37.3%, load 29.25
test lane equipotest-rest: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^Test[A-D]|^TestQ|^Test[E-P]|^TestR' ./internal/equipotest

receipt: test step 1m8.239s 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.349s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 25.47s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 24.7s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 24.61s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 22.94s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsCurrentOwner
receipt: slow test 22.86s amadan.net/oficina/equipo/internal/equipotest TestSigninBackgroundSweep
machine: 32 CPUs, load 60.78, cpu waiting 40.84%, memory waiting 0.00%, io waiting 0.31%
--- 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 37.3%, load 25.79
test lane plan3test: ./internal/plan3test
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/plan3test

receipt: test step 53.675s 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 51.756s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.66s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.53s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.8s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.43s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.21s amadan.net/oficina/equipo/internal/plan3test TestPlanMigrationUpgrade
machine: 32 CPUs, load 65.73, cpu waiting 42.07%, memory waiting 0.00%, io waiting 0.40%
--- 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 37.3%, load 29.25
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/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/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/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
--- FAIL amadan.net/oficina/equipo/internal/runner/provider/codex TestCodexEmptyHomeReplay
=== RUN   TestCodexEmptyHomeReplay
--- FAIL: TestCodexEmptyHomeReplay (10.70s)

--- FAIL amadan.net/oficina/equipo/internal/runner/provider/codex TestCodexEmptyHomeReplay/coordinate
=== RUN   TestCodexEmptyHomeReplay/coordinate
    runtime_replay_test.go:142: real coordinate Open: codex_preflight_probe: provider_identity_mismatch
    runtime_replay_test.go:189: runtime: tmp/arg0-linux d---------
    runtime_replay_test.go:194: real runtime tree rejected: provider_account_containment: runtime_codex_memories
--- FAIL: TestCodexEmptyHomeReplay/coordinate (4.70s)

--- FAIL amadan.net/oficina/equipo/internal/runner/provider/codex (package output)
FAIL
rastrillo-budget/v1 ran 21.307s
FAIL	amadan.net/oficina/equipo/internal/runner/provider/codex	22.354s

--- FAIL amadan.net/oficina/equipo/internal/runner/webread TestTimeouts
=== RUN   TestTimeouts
    fetch_test.go:537: s1: {Source:s1 Origin:paul Parent: URL:https://shop.example.com/slow-body Hops:[{URL:https://shop.example.com/slow-body Address:151.101.1.1 Status:200}] Address:151.101.1.1 Status:200 Type:text/plain Bytes:5 SHA256:2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 Millis:302 Reason: File:s001.txt}
--- FAIL: TestTimeouts (0.62s)

--- FAIL amadan.net/oficina/equipo/internal/runner/webread (package output)
FAIL
rastrillo-budget/v1 ran 1.847s
FAIL	amadan.net/oficina/equipo/internal/runner/webread	1.901s

budget note: internal/equipo took 50.771s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 13.202s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/idtest took 44.23s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 34.981s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/runner/containment took 1m2.489s, over the 15s its record on line 40 allows; reported only, timing fails on CI
budget note: internal/runner/forge took 24.547s, over the 20s its record on line 35 allows; reported only, timing fails on CI
budget note: internal/runner/provider/pi took 1m23.985s, over the 1m0s its record on line 27 allows; reported only, timing fails on CI
budget note: internal/runner/workspace took 12.24s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 1m58.53s against a 60s target (the gate's other steps are not in this figure)
receipt: 36 packages ran, 23 cached, 18 without tests, 2 failed
receipt: slow package 1m23.985s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 1m12.089s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 1m2.489s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow package 57.72s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 50.771s amadan.net/oficina/equipo/internal/equipo
receipt: slow test 28.75s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 26.11s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 25.1s amadan.net/oficina/equipo/cmd/equipo-runner TestReleaseRunnerHasNoFakeWorker
receipt: slow test 14.77s amadan.net/oficina/equipo/internal/runner/provider/pi TestPiGoBinaryIsolation
receipt: slow test 13.99s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeP1OnlyOpenCodeReachable
rastrillo: budget test: go test failed
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestCodexEmptyHomeReplay$/^coordinate$' -count=1 ./internal/runner/provider/codex   (retry, once)
##############################################################################
FLAKE ./internal/runner/provider/codex:TestCodexEmptyHomeReplay/coordinate rest 5eef34a900b1f9771e6a362c9bb51d0f8e1c67a0 4.70s 29.98
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
+ go test -tags testbuild -timeout 15m -v -run '^TestTimeouts$' -count=1 ./internal/runner/webread   (retry, once)
##############################################################################
FLAKE ./internal/runner/webread:TestTimeouts rest 5eef34a900b1f9771e6a362c9bb51d0f8e1c67a0 0.62s 29.98
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 29.98, cpu waiting 16.67%, memory waiting 0.00%, io waiting 0.12%
--- 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-22T11:36:47.584Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-22T11:36:47.584Z level=INFO msg="startup phase done" phase=state_lock took=216µs
time=2026-11-22T11:36:47.584Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-22T11:36:47.584Z level=INFO msg="startup phase done" phase=claim_roots took=194µs
time=2026-11-22T11:36:47.584Z level=INFO msg="startup phase" phase=sweep
time=2026-11-22T11:36:47.626Z level=INFO msg="startup phase done" phase=sweep took=41.29ms
time=2026-11-22T11:36:47.626Z level=INFO msg="startup phase" phase=credentials
time=2026-11-22T11:36:47.626Z level=INFO msg="startup phase done" phase=credentials took=186µs
time=2026-11-22T11:36:47.626Z level=INFO msg="startup phase" phase=open_state
time=2026-11-22T11:36:47.684Z level=INFO msg="startup phase done" phase=open_state took=58.234ms
time=2026-11-22T11:36:47.685Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-22T11:36:47.687Z level=INFO msg=connecting host=127.0.0.1:40769 protocol=28
time=2026-11-22T11:36:47.693Z level=INFO msg=connected host=127.0.0.1:40769 took=4.176ms
time=2026-11-22T11:36:47.693Z level=INFO msg="capabilities gathering"
time=2026-11-22T11:36:47.693Z level=INFO msg="capabilities gathered" took=388µs tags=linux,claude,go
time=2026-11-22T11:36:47.694Z level=INFO msg="hello sent" protocol=28
time=2026-11-22T11:36:47.703Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-22T11:36:49.764Z 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.26s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
=== RUN   TestBrowserChatSendStaysOnPage
time=2026-11-22T11:36:53.858Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-22T11:36:53.858Z level=INFO msg="startup phase done" phase=state_lock took=75µs
time=2026-11-22T11:36:53.858Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-22T11:36:53.858Z level=INFO msg="startup phase done" phase=claim_roots took=94µs
time=2026-11-22T11:36:53.858Z level=INFO msg="startup phase" phase=sweep
time=2026-11-22T11:36:53.919Z level=INFO msg="startup phase done" phase=sweep took=60.869ms
time=2026-11-22T11:36:53.919Z level=INFO msg="startup phase" phase=credentials
time=2026-11-22T11:36:53.919Z level=INFO msg="startup phase done" phase=credentials took=121µs
time=2026-11-22T11:36:53.919Z level=INFO msg="startup phase" phase=open_state
time=2026-11-22T11:36:53.989Z level=INFO msg="startup phase done" phase=open_state took=70.099ms
time=2026-11-22T11:36:53.989Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-22T11:36:53.991Z level=INFO msg=connecting host=127.0.0.1:33583 protocol=28
time=2026-11-22T11:36:53.992Z level=INFO msg=connected host=127.0.0.1:33583 took=902µs
time=2026-11-22T11:36:53.992Z level=INFO msg="capabilities gathering"
time=2026-11-22T11:36:53.993Z level=INFO msg="capabilities gathered" took=945µs tags=linux,claude,go
time=2026-11-22T11:36:53.996Z level=INFO msg="hello sent" protocol=28
time=2026-11-22T11:36:54.002Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-22T11:36:56.226Z 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.37s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
=== RUN   TestBrowserDraftIsTheMessage
time=2026-11-22T11:37:00.335Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-22T11:37:00.335Z level=INFO msg="startup phase done" phase=state_lock took=160µs
time=2026-11-22T11:37:00.335Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-22T11:37:00.335Z level=INFO msg="startup phase done" phase=claim_roots took=101µs
time=2026-11-22T11:37:00.335Z level=INFO msg="startup phase" phase=sweep
time=2026-11-22T11:37:00.389Z level=INFO msg="startup phase done" phase=sweep took=54.386ms
time=2026-11-22T11:37:00.390Z level=INFO msg="startup phase" phase=credentials
time=2026-11-22T11:37:00.390Z level=INFO msg="startup phase done" phase=credentials took=238µs
time=2026-11-22T11:37:00.390Z level=INFO msg="startup phase" phase=open_state
time=2026-11-22T11:37:00.459Z level=INFO msg="startup phase done" phase=open_state took=68.713ms
time=2026-11-22T11:37:00.459Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-22T11:37:00.463Z level=INFO msg=connecting host=127.0.0.1:40161 protocol=28
time=2026-11-22T11:37:00.465Z level=INFO msg=connected host=127.0.0.1:40161 took=964µs
time=2026-11-22T11:37:00.466Z level=INFO msg="capabilities gathering"
time=2026-11-22T11:37:00.466Z level=INFO msg="capabilities gathered" took=433µs tags=linux,claude,go
time=2026-11-22T11:37:00.466Z level=INFO msg="hello sent" protocol=28
time=2026-11-22T11:37:00.477Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-22T11:37:02.480Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_thinking_test.go:106: waiting for !!window.__m: context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserDraftIsTheMessage (8.39s)

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


receipt: test step 52.336s 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 50.095s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.65s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 8.39s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 8.07s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 6.37s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
receipt: slow test 6.26s 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 5eef34a900b1f9771e6a362c9bb51d0f8e1c67a0 6.26s 57.16
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserChatSendStaysOnPage browser-headless-chat 5eef34a900b1f9771e6a362c9bb51d0f8e1c67a0 6.37s 57.16
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserDraftIsTheMessage browser-headless-chat 5eef34a900b1f9771e6a362c9bb51d0f8e1c67a0 8.39s 57.16
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 51.53, cpu waiting 34.36%, 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-22T11:36:44.488Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-22T11:36:44.488Z level=INFO msg="startup phase done" phase=state_lock took=66µs
time=2026-11-22T11:36:44.488Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-22T11:36:44.488Z level=INFO msg="startup phase done" phase=claim_roots took=86µs
time=2026-11-22T11:36:44.488Z level=INFO msg="startup phase" phase=sweep
time=2026-11-22T11:36:44.521Z level=INFO msg="startup phase done" phase=sweep took=32.838ms
time=2026-11-22T11:36:44.521Z level=INFO msg="startup phase" phase=credentials
time=2026-11-22T11:36:44.521Z level=INFO msg="startup phase done" phase=credentials took=104µs
time=2026-11-22T11:36:44.521Z level=INFO msg="startup phase" phase=open_state
time=2026-11-22T11:36:44.567Z level=INFO msg="startup phase done" phase=open_state took=46.331ms
time=2026-11-22T11:36:44.568Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-22T11:36:44.569Z level=INFO msg=connecting host=127.0.0.1:34765 protocol=28
time=2026-11-22T11:36:44.570Z level=INFO msg=connected host=127.0.0.1:34765 took=925µs
time=2026-11-22T11:36:44.570Z level=INFO msg="capabilities gathering"
time=2026-11-22T11:36:44.572Z level=INFO msg="capabilities gathered" took=1.691ms tags=linux,claude,go
time=2026-11-22T11:36:44.576Z level=INFO msg="hello sent" protocol=28
time=2026-11-22T11:36:44.578Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-22T11:36:46.095Z level=INFO msg="connection checked" connection=claude-1 state=healthy
time=2026-11-22T11:36:55.497Z level=INFO msg="kept sessions" kept=1 bytes=2770 expired=0
time=2026-11-22T11:37:00.379Z level=INFO msg="kept sessions" kept=2 bytes=4922 expired=0
time=2026-11-22T11:37:01.108Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-22T11:37:01.108Z level=INFO msg="startup phase done" phase=state_lock took=230µs
time=2026-11-22T11:37:01.108Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-22T11:37:01.108Z level=INFO msg="startup phase done" phase=claim_roots took=265µs
time=2026-11-22T11:37:01.108Z level=INFO msg="startup phase" phase=sweep
time=2026-11-22T11:37:01.159Z level=INFO msg="startup phase done" phase=sweep took=50.59ms
time=2026-11-22T11:37:01.160Z level=INFO msg="startup phase" phase=credentials
time=2026-11-22T11:37:01.160Z level=INFO msg="startup phase done" phase=credentials took=241µs
time=2026-11-22T11:37:01.160Z level=INFO msg="startup phase" phase=open_state
time=2026-11-22T11:37:01.208Z level=INFO msg="startup phase done" phase=open_state took=48.093ms
time=2026-11-22T11:37:01.208Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-22T11:37:01.209Z level=INFO msg=connecting host=127.0.0.1:35027 protocol=28
time=2026-11-22T11:37:01.210Z level=INFO msg=connected host=127.0.0.1:35027 took=1.322ms
time=2026-11-22T11:37:01.211Z level=INFO msg="capabilities gathering"
time=2026-11-22T11:37:01.213Z level=INFO msg="capabilities gathered" took=1.956ms tags=linux,claude,go
time=2026-11-22T11:37:01.213Z level=INFO msg="hello sent" protocol=28
time=2026-11-22T11:37:01.221Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-22T11:37:03.234Z 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-22T11:37:06.850Z level=WARN msg="step tree" err="context canceled"
--- FAIL: TestBrowserRailFollowsWork (23.05s)

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


receipt: test step 1m40.626s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 1m38.888s amadan.net/oficina/equipo/internal/headless
receipt: slow test 27.68s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 23.05s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 14.9s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 11.42s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 11.32s 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 5eef34a900b1f9771e6a362c9bb51d0f8e1c67a0 23.05s 57.03
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 43.12, cpu waiting 26.56%, memory waiting 0.00%, io waiting 0.19%
--- 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 1m49.224s 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 1m46.712s amadan.net/oficina/equipo/internal/headless
receipt: slow test 17.96s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 14.24s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 13.02s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 11.11s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.5s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 54.71, cpu waiting 34.36%, memory waiting 0.00%, io waiting 0.25%
--- 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 TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-22T11:37:37.533Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-22T11:37:37.533Z level=INFO msg="startup phase done" phase=state_lock took=76µs
time=2026-11-22T11:37:37.533Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-22T11:37:37.533Z level=INFO msg="startup phase done" phase=claim_roots took=79µs
time=2026-11-22T11:37:37.533Z level=INFO msg="startup phase" phase=sweep
time=2026-11-22T11:37:37.563Z level=INFO msg="startup phase done" phase=sweep took=30.172ms
time=2026-11-22T11:37:37.564Z level=INFO msg="startup phase" phase=credentials
time=2026-11-22T11:37:37.564Z level=INFO msg="startup phase done" phase=credentials took=107µs
time=2026-11-22T11:37:37.564Z level=INFO msg="startup phase" phase=open_state
time=2026-11-22T11:37:37.607Z level=INFO msg="startup phase done" phase=open_state took=43.293ms
time=2026-11-22T11:37:37.607Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-22T11:37:37.608Z level=INFO msg=connecting host=127.0.0.1:43667 protocol=28
time=2026-11-22T11:37:37.610Z level=INFO msg=connected host=127.0.0.1:43667 took=1.99ms
time=2026-11-22T11:37:37.610Z level=INFO msg="capabilities gathering"
time=2026-11-22T11:37:37.611Z level=INFO msg="capabilities gathered" took=469µs tags=linux,claude,go
time=2026-11-22T11:37:37.615Z level=INFO msg="hello sent" protocol=28
time=2026-11-22T11:37:37.616Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-22T11:37:38.684Z 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.84s)

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


receipt: test step 1m41.29s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 1m38.771s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.58s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 13.78s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 12.14s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 11.2s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 8.26s 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 '^TestBrowserEmptyExplore$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest 5eef34a900b1f9771e6a362c9bb51d0f8e1c67a0 5.84s 57.03
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 51.53, cpu waiting 33.27%, 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/equipo
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserPreviewBlocksNavigation)$' ./internal/equipo

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

receipt: test step 3.083s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1.598s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 1.6s 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.263s 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.892s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 1.89s amadan.net/oficina/equipo/internal/plan3test TestTeamsHierarchyBrowser
browser lane browser-rest: ./internal/thintest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAccessEmojiByline|TestBrowserAccessFinalOutcomes|TestBrowserAccessRequest|TestBrowserAccessReview|TestBrowserActivitySubjects|TestBrowserAutonomySettings|TestBrowserCoordinatorQueue|TestBrowserEmptyConversation|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|TestBrowserThinkingSteady|TestBrowserThinkingWords|TestBrowserTokenRowEmail|TestBrowserTrackPulse|TestBrowserTrackStarCentre)$' ./internal/thintest

receipt: test step 3m23.314s 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 3m21.579s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 17.67s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.32s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 11.99s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.52s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 7.91s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
machine: 32 CPUs, load 12.43, cpu waiting 6.14%, memory waiting 0.00%, io waiting 0.03%
--- 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   (61s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 5.38s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.40s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 11.17s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 12.24s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 27.73s
+ 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   (78s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 21.30s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 14.34s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 12.34s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 27.14s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (25s)
ok ./internal/headless TestMixedVersions 22.64s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.84s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (2s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.09s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 67.18, cpu waiting 42.48%, memory waiting 0.00%, io waiting 0.44%
--- 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 14.086s 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.726s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 220ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 62ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 3ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/gotoolchain
receipt: slow test 5.54s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.72s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 370ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 200ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 90ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxToolchain
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run '^TestNamespace' -count=1 ./internal/runner/containment
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run '^TestNamespace' -count=1 ./internal/runner/containment

receipt: test step 4.066s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 3.05s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 310ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 190ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceOpenCodeBinaryAfterAttestation
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
machine: 32 CPUs, load 23.00, cpu waiting 11.39%, memory waiting 0.00%, io waiting 1.21%
--- 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 37.3%, load 29.25
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2534 text files, 2850 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: 88 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.494s
machine: 32 CPUs, load 65.73, cpu waiting 42.72%, memory waiting 0.00%, io waiting 0.43%
--- 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 37.3%, load 29.25
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 64.20, cpu waiting 36.61%, 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 37.3%, load 29.25
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 37.48, cpu waiting 23.13%, 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 37.3%, load 25.79
shard 28: make gitleaks
11:36AM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
11:37AM INF 1081 commits scanned.
11:37AM INF scanned ~60847118 bytes (60.85 MB) in 22.7s
11:37AM INF no leaks found
machine: 32 CPUs, load 57.16, cpu waiting 34.21%, memory waiting 0.00%, io waiting 0.68%
=== perf ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -require TestPerfScreens,TestPerfBoot -tags perf -count=1 -p 1 -parallel 1 -run '^TestPerf' ./...
perf: GET /: median 1.06ms, worst 1.173ms, budget 150ms
perf: GET /api/runner/protocol: median 82µs, worst 107µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 612µs, worst 672µs, budget 150ms
perf: GET /api/v1/accounts: median 430µs, worst 454µs, budget 150ms
perf: GET /api/v1/auth/devices: median 441µs, worst 467µs, budget 150ms
perf: GET /api/v1/budgets: median 492µs, worst 519µs, budget 150ms
perf: GET /api/v1/capabilities: median 247µs, worst 284µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.203ms, worst 1.309ms, budget 150ms
perf: GET /api/v1/connections: median 551µs, worst 574µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 520µs, worst 555µs, budget 150ms
perf: GET /api/v1/conversation: median 857µs, worst 963µs, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.366ms, worst 1.44ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.696ms, worst 1.833ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 451µs, worst 491µs, budget 150ms
perf: GET /api/v1/journey: median 7.552ms, worst 8.3ms, budget 150ms
perf: GET /api/v1/me: median 422µs, worst 466µs, budget 150ms
perf: GET /api/v1/me/settings: median 517µs, worst 606µs, budget 150ms
perf: GET /api/v1/needs-you: median 7.179ms, worst 7.501ms, budget 150ms
perf: GET /api/v1/notifications: median 1.608ms, worst 1.656ms, budget 150ms
perf: GET /api/v1/onboarding: median 396µs, worst 442µs, budget 150ms
perf: GET /api/v1/people: median 448µs, worst 498µs, budget 150ms
perf: GET /api/v1/playbooks: median 574µs, worst 590µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 521µs, worst 547µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 847µs, worst 899µs, budget 150ms
perf: GET /api/v1/preferences: median 780µs, worst 852µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 458µs, worst 503µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 562µs, worst 609µs, budget 150ms
perf: GET /api/v1/roster: median 480µs, worst 492µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 423µs, worst 447µs, budget 150ms
perf: GET /api/v1/specialists: median 7.992ms, worst 8.154ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 7.833ms, worst 8.052ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 822µs, worst 941µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.132ms, worst 1.222ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 739µs, worst 790µs, budget 150ms
perf: GET /api/v1/teams: median 430µs, worst 468µs, budget 150ms
perf: GET /api/v1/templates: median 612µs, worst 666µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 470µs, worst 500µs, budget 150ms
perf: GET /auth/callback: median 82µs, worst 101µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.419ms, worst 3.502ms, budget 150ms
perf: GET /auth/verify: median 85µs, worst 125µs, budget 150ms
perf: GET /connections: median 3.819ms, worst 5.501ms, budget 150ms
perf: GET /conversation: median 7.508ms, worst 7.697ms, budget 150ms
perf: GET /conversation/connections: median 257µs, worst 288µs, budget 150ms
perf: GET /conversation/notebook: median 238µs, worst 262µs, budget 150ms
perf: GET /conversation/settings: median 3.998ms, worst 4.094ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 3.608ms, worst 3.626ms, budget 150ms
perf: GET /conversation/settings/connections: median 6.309ms, worst 6.471ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 6.346ms, worst 6.556ms, budget 150ms
perf: GET /conversation/settings/copy: median 3.575ms, worst 3.739ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 4.295ms, worst 7.217ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.475ms, worst 4.81ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.398ms, worst 4.466ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.331ms, worst 3.365ms, budget 150ms
perf: GET /conversation/settings/thinking: median 3.879ms, worst 3.976ms, budget 150ms
perf: GET /housekeeping: median 3.678ms, worst 3.736ms, budget 150ms
perf: GET /invites/new: median 575µs, worst 611µs, budget 150ms
perf: GET /invites/{id}: median 608µs, worst 665µs, budget 150ms
perf: GET /jobs: median 3.248ms, worst 3.326ms, budget 150ms
perf: GET /jobs/{id}: median 4.319ms, worst 4.423ms, budget 150ms
perf: GET /journey: median 10.133ms, worst 10.562ms, budget 150ms
perf: GET /nav/rail: median 2.916ms, worst 3.127ms, budget 150ms
perf: GET /needs-you: median 9.895ms, worst 10.242ms, budget 150ms
perf: GET /onboarding: median 3.899ms, worst 3.981ms, budget 150ms
perf: GET /people: median 3.241ms, worst 3.328ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 5.014ms, worst 5.257ms, budget 150ms
perf: GET /playbooks: median 4.562ms, worst 4.63ms, budget 150ms
perf: GET /playbooks/new: median 4.679ms, worst 4.766ms, budget 150ms
perf: GET /playbooks/{id}: median 4.369ms, worst 4.467ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 4.471ms, worst 4.69ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 3.835ms, worst 4.014ms, budget 150ms
perf: GET /preferences: median 4.258ms, worst 4.389ms, budget 150ms
perf: GET /preferences/sources/{source}: median 4.124ms, worst 4.381ms, budget 150ms
perf: GET /projects: median 5.162ms, worst 5.232ms, budget 150ms
perf: GET /projects/accounts: median 3.595ms, worst 3.705ms, budget 150ms
perf: GET /projects/new: median 3.525ms, worst 3.578ms, budget 150ms
perf: GET /projects/{id}: median 10.265ms, worst 10.475ms, budget 150ms
perf: GET /projects/{id}/edit: median 3.605ms, worst 3.702ms, budget 150ms
perf: GET /runners/enrol: median 4.281ms, worst 4.353ms, budget 150ms
perf: GET /settings: median 3.401ms, worst 3.528ms, budget 150ms
perf: GET /settings/coordinator: median 5.689ms, worst 8.355ms, budget 150ms
perf: GET /settings/devices: median 3.353ms, worst 3.44ms, budget 150ms
perf: GET /settings/recovery: median 3.423ms, worst 3.53ms, budget 150ms
perf: GET /settings/recovery/release: median 3.315ms, worst 3.373ms, budget 150ms
perf: GET /settings/thinking: median 246µs, worst 269µs, budget 150ms
perf: GET /signin: median 319µs, worst 340µs, budget 150ms
perf: GET /specialists/new: median 3.283ms, worst 3.33ms, budget 150ms
perf: GET /specialists/{key}: median 10.526ms, worst 10.72ms, budget 150ms
perf: GET /specialists/{key}/edit: median 3.466ms, worst 3.575ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 3.633ms, worst 3.7ms, budget 150ms
perf: GET /tasks: median 5.015ms, worst 5.246ms, budget 150ms
perf: GET /tasks/new: median 3.157ms, worst 3.226ms, budget 150ms
perf: GET /tasks/{id}: median 5.651ms, worst 8.813ms, budget 150ms
perf: GET /tasks/{id}/merge: median 4.961ms, worst 5.365ms, budget 150ms
perf: GET /tasks/{id}/move: median 4.652ms, worst 4.739ms, budget 150ms
perf: GET /tasks/{id}/plan: median 5.594ms, worst 5.683ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.556ms, worst 1.659ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.205ms, worst 5.354ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 4.59ms, worst 4.743ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.098ms, worst 4.449ms, budget 150ms
perf: GET /tasks/{id}/thread: median 7.71ms, worst 7.799ms, budget 150ms
perf: GET /team/{specialist}: median 4.249ms, worst 4.271ms, budget 150ms
perf: GET /teams: median 10.248ms, worst 10.431ms, budget 150ms
perf: GET /templates: median 3.392ms, worst 3.511ms, budget 150ms
perf: GET /usage: median 4.206ms, worst 4.292ms, budget 150ms
perf: GET /work: median 3.024ms, worst 3.109ms, budget 150ms
perf: cold boot: median 263ms of [262.687593ms 262.760029ms 263.624407ms], budget 500ms

receipt: test step 48.606s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 84 without tests, 0 failed
receipt: slow package 8.822s amadan.net/oficina/equipo/internal/equipotest
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-runner
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-tool-proxy
receipt: slow package 0s amadan.net/oficina/equipo/internal/advice
receipt: slow package 0s amadan.net/oficina/equipo/internal/attach
receipt: slow test 7.98s amadan.net/oficina/equipo/internal/equipotest TestPerfScreens
receipt: slow test 840ms amadan.net/oficina/equipo/internal/equipotest TestPerfBoot
=== cache ===
ci-box: build cache /home/ci/work/repos/oficina__equipo/cache/go-build: 3.98 GiB in 25542 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 0.87 GiB in 28256 files
diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt
index c90cb976..0433cf4d 100644
--- a/.rastrillo/budgets.txt
+++ b/.rastrillo/budgets.txt
@@ -26,7 +26,7 @@ time internal/runner/provider/claude 45s Task 5 measured 32.430s for fake CLI se
time internal/runner/provider/codex 35s Plan 3 CI repair measured 24.464s for the full package (controller CI 27.908s).
time internal/runner/provider/pi 60s The real pinned Pi in bubblewrap against a fake TensorX: probes P1 to P5 (a hundred RPC turns), the hostile repository, and the pinned tree checked whole (about 160 MB); measured 22s locally.
time internal/runner/provider/opencode 90s The real pinned OpenCode in bubblewrap against a fake Go: probes, the hostile repository per source, termination, resume; the 260 MB binary hashed per launch. Measured 40s.
-size internal/runner/provider 5637 - Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; measured 5637/4467 source/test lines (Claude scrub-mode stubs on token copies).
+size internal/runner/provider 5715 - Fable follow-up: base and diagnostic gates, preview isolation and provenance guards; measured 5715 source lines (Claude policy stamp and empty managed settings).
time internal/plan3test 300s Initial cap for combined browser and runner acceptance; measure at both usable stops.
diff --git a/internal/runner/provider/runtime_claude.go b/internal/runner/provider/runtime_claude.go
index 743893c7..8184f98f 100644
--- a/internal/runner/provider/runtime_claude.go
+++ b/internal/runner/provider/runtime_claude.go
@@ -42,7 +42,7 @@ func (l *AccountLease) claudeRuntimeEntry(rel string, info os.FileInfo) (bool, e
category = "dev_mods"
case "seed-admin":
category = "seed_admin"
- case "policy-limits.json", "policy-limits.json.signature.json", "policy-limits.json.signature-iat.json":
+ case "policy-limits.json", "policy-limits.json.signature.json", "policy-limits.json.signature-iat.json", claudePolicyStamp:
category = "policy_limits"
case "shell-snapshots":
category = "shell_snapshots"
@@ -82,6 +82,10 @@ func (l *AccountLease) claudeRuntimeEntry(rel string, info os.FileInfo) (bool, e
case ".cache", ".cache/claude-cli-nodejs", ".cache/claude-cli-nodejs/-workspace", ".cache/claude-cli-nodejs/-workspace/mcp-logs-equipo", ".config", ".config/anthropic", ".claude", ".claude/ssh", ".npm", ".npm/_logs", "dev-mods", "seed-admin", "shell-snapshots", "session-env":
directory = true
case "policy-limits.json", "policy-limits.json.signature.json", "policy-limits.json.signature-iat.json":
+ case claudePolicyStamp:
+ if info.Size() > claudePolicyStampMax {
+ return true, accountContainment("runtime_claude_policy_limits")
+ }
default:
// These scripts are safe only while agent tools cannot access the staged
// home: claude/launcher.go:139-149 builds native and Bash sandbox denies.
@@ -134,6 +138,80 @@ func (l *AccountLease) claudeGitIgnore(info os.FileInfo) bool {
return err == nil && string(raw) == observed
}
+// 2.1.312 stamps its policy-limits cache (identity, kind and body digest,
+// mode 0600) beside the other policy-limits files. The CLI itself treats a
+// stamp over 4096 bytes as unusable, so nothing larger is its own.
+const (
+ claudePolicyStamp = "policy-limits.json.stamp.json"
+ claudePolicyStampMax = 4096
+)
+
+// remote-settings.json is 2.1.312's cache of the managed settings an
+// organization sets for its account. Managed settings outrank the settings
+// Equipo mounts, so any setting in it could change policy. The empty
+// object sets nothing and so changes no policy: that, and only that, is
+// accepted. The CLI writes JSON.stringify(settings, null, 2) with mode 0600,
+// "{}" for an organization with none; 64 bytes leaves room only for
+// whitespace around it. Its .synced-at sibling holds the millisecond time
+// of that sync, never settings (the CLI reads at most 32 bytes of it), and
+// is accepted only beside an accepted empty object.
+const (
+ claudeRemoteSettings = "remote-settings.json"
+ claudeRemoteSyncedAt = "remote-settings.json.synced-at"
+ claudeRemoteSettingsMax = 64
+ claudeRemoteSyncedAtMax = 32
+)
+
+// claudeRemoteSettingsEntry decides either name wherever it appears in the
+// home; outside the home's root it is refused.
+func (l *AccountLease) claudeRemoteSettingsEntry(rel string) error {
+ if l.source.Expected.ProviderVersion == ClaudeVersion && l.claudeEmptyRemoteSettings() {
+ if rel == claudeRemoteSettings {
+ return nil
+ }
+ if rel == claudeRemoteSyncedAt {
+ if _, ok := l.claudeRemoteFile(claudeRemoteSyncedAt, claudeRemoteSyncedAtMax); ok {
+ return nil
+ }
+ }
+ }
+ if filepath.Base(rel) == claudeRemoteSyncedAt {
+ return accountContainment("runtime_claude_remote_settings_synced_at")
+ }
+ return accountContainment("runtime_claude_remote_settings")
+}
+
+func (l *AccountLease) claudeEmptyRemoteSettings() bool {
+ raw, ok := l.claudeRemoteFile(claudeRemoteSettings, claudeRemoteSettingsMax)
+ return ok && strings.Trim(string(raw), " \t\r\n") == "{}"
+}
+
+// claudeRemoteFile reads a root file of the staged home that is the CLI's
+// own: runner uid, one link, no setuid/setgid, regular, 0600, at most limit
+// bytes, opened without following links.
+func (l *AccountLease) claudeRemoteFile(name string, limit int64) ([]byte, bool) {
+ path := filepath.Join(l.runtime, name)
+ private := func(info os.FileInfo) bool {
+ return runtimeEntryMetadata(info) && info.Mode().IsRegular() && info.Mode().Perm() == 0600 && info.Size() <= limit
+ }
+ info, err := os.Lstat(path)
+ if err != nil || !private(info) {
+ return nil, false
+ }
+ fd, err := openNoLinks(path, unix.O_RDONLY|unix.O_CLOEXEC|unix.O_NONBLOCK)
+ if err != nil {
+ return nil, false
+ }
+ f := os.NewFile(uintptr(fd), path)
+ defer f.Close()
+ opened, err := f.Stat()
+ if err != nil || !os.SameFile(info, opened) || !private(opened) {
+ return nil, false
+ }
+ raw, err := io.ReadAll(io.LimitReader(f, limit+1))
+ return raw, err == nil && int64(len(raw)) <= limit
+}
+
func runtimePolicyEntry(name string) bool {
name = strings.ToLower(name)
switch name {
diff --git a/internal/runner/provider/runtime_home.go b/internal/runner/provider/runtime_home.go
index 2305e5ea..5276a744 100644
--- a/internal/runner/provider/runtime_home.go
+++ b/internal/runner/provider/runtime_home.go
@@ -45,8 +45,8 @@ func (l *AccountLease) validateRuntimeEntries() error {
return entryReason("special_entry")
}
}
- if l.source.Provider == "claude" && name == "remote-settings.json" {
- return accountContainment("runtime_claude_remote_settings")
+ if l.source.Provider == "claude" && (name == claudeRemoteSettings || name == claudeRemoteSyncedAt) {
+ return l.claudeRemoteSettingsEntry(rel)
}
if d.Type()&os.ModeSymlink != 0 {
info, statErr := d.Info()
diff --git a/internal/runner/provider/runtime_remote_settings_test.go b/internal/runner/provider/runtime_remote_settings_test.go
new file mode 100644
index 00000000..74b54088
--- /dev/null
+++ b/internal/runner/provider/runtime_remote_settings_test.go
@@ -0,0 +1,230 @@
+package provider
+
+import (
+ "context"
+ "errors"
+ "os"
+ "path/filepath"
+ "strings"
+ "testing"
+ "time"
+
+ "golang.org/x/sys/unix"
+)
+
+const syncedAtFixture = "1795305600000"
+
+// writeRemoteSettings writes the files 2.1.312 leaves after an empty
+// managed-settings sync: the object, then the time of the sync.
+func writeRemoteSettings(t *testing.T, home, settings string, syncedAt bool) {
+ t.Helper()
+ writeFake(t, filepath.Join(home, "remote-settings.json"), settings)
+ if syncedAt {
+ writeFake(t, filepath.Join(home, "remote-settings.json.synced-at"), syncedAtFixture)
+ }
+}
+
+func TestClaudeEmptyRemoteSettingsAccepted(t *testing.T) {
+ for _, tc := range []struct {
+ name, settings string
+ syncedAt bool
+ }{
+ {"object", "{}", false}, {"object+synced-at", "{}", true}, {"newline", "{}\n", true},
+ {"surrounding", " \t\r\n{}\r\n \t", true}, {"at-cap", "{}" + strings.Repeat(" ", 62), true},
+ } {
+ t.Run(tc.name, func(t *testing.T) {
+ l := claudeRuntimeFixture(t)
+ writeRemoteSettings(t, l.runtime, tc.settings, tc.syncedAt)
+ if err := l.validateRuntimeEntries(); err != nil {
+ t.Fatal(err)
+ }
+ })
+ }
+}
+
+func TestClaudePolicyStampCap(t *testing.T) {
+ for _, size := range []int{225, 4096, 4097} {
+ l := claudeRuntimeFixture(t)
+ writeFake(t, filepath.Join(l.runtime, "policy-limits.json.stamp.json"), strings.Repeat("x", size))
+ err := l.validateRuntimeEntries()
+ if size <= 4096 && err != nil {
+ t.Fatalf("%d bytes: %v", size, err)
+ }
+ if size > 4096 && ContainmentReason(err) != "runtime_claude_policy_limits" {
+ t.Fatalf("%d bytes: %v", size, err)
+ }
+ }
+}
+
+// Anything but the empty object, as anything but a private regular file,
+// or from another CLI version stays refused, and the refusal names it.
+func TestClaudeRemoteSettingsOtherwiseRefused(t *testing.T) {
+ const settings, synced = "remote-settings.json", "remote-settings.json.synced-at"
+ for _, tc := range []struct {
+ name, target, kind, content string
+ syncedAt bool
+ want string
+ }{
+ {"permissions", settings, "file", `{"permissions":{}}`, true, "remote_settings"},
+ {"array", settings, "file", "[]", false, "remote_settings"},
+ {"null", settings, "file", "null", false, "remote_settings"},
+ {"empty-file", settings, "file", "", false, "remote_settings"},
+ {"inner-space", settings, "file", "{ }", false, "remote_settings"},
+ {"nul", settings, "file", "{}\x00", false, "remote_settings"},
+ {"oversize", settings, "file", "{}" + strings.Repeat(" ", 63), false, "remote_settings"},
+ {"directory", settings, "directory", "", false, "remote_settings"},
+ {"symlink", settings, "symlink", "", false, "remote_settings"},
+ {"hardlink", settings, "hardlink", "", false, "remote_settings"},
+ {"fifo", settings, "fifo", "", false, "remote_settings"},
+ {"mode", settings, "mode", "", false, "remote_settings"},
+ {"setuid", settings, "setuid", "", false, "remote_settings"},
+ {"version", settings, "version", "", true, "remote_settings"},
+ {"synced-alone", synced, "alone", "", false, "remote_settings_synced_at"},
+ {"synced-oversize", synced, "file", strings.Repeat("1", 33), false, "remote_settings_synced_at"},
+ {"synced-directory", synced, "directory", "", false, "remote_settings_synced_at"},
+ {"synced-symlink", synced, "symlink", "", false, "remote_settings_synced_at"},
+ {"synced-hardlink", synced, "hardlink", "", false, "remote_settings_synced_at"},
+ {"synced-fifo", synced, "fifo", "", false, "remote_settings_synced_at"},
+ {"synced-mode", synced, "mode", "", false, "remote_settings_synced_at"},
+ {"synced-setgid", synced, "setgid", "", false, "remote_settings_synced_at"},
+ {"synced-nested", "projects/" + synced, "file", syncedAtFixture, false, "remote_settings_synced_at"},
+ } {
+ t.Run(tc.name, func(t *testing.T) {
+ l := claudeRuntimeFixture(t)
+ must := func(err error) {
+ t.Helper()
+ if err != nil {
+ t.Fatal(err)
+ }
+ }
+ if tc.target == synced || strings.HasSuffix(tc.target, "/"+synced) {
+ if tc.kind != "alone" {
+ // A nested copy is refused even beside an accepted root pair.
+ writeRemoteSettings(t, l.runtime, "{}", tc.target != synced)
+ }
+ } else if tc.syncedAt {
+ writeFake(t, filepath.Join(l.runtime, synced), syncedAtFixture)
+ }
+ path := filepath.Join(l.runtime, tc.target)
+ must(os.MkdirAll(filepath.Dir(path), 0700))
+ valid := "{}"
+ if tc.target != settings {
+ valid = syncedAtFixture
+ }
+ switch tc.kind {
+ case "file":
+ writeFake(t, path, tc.content)
+ case "directory":
+ must(os.Mkdir(path, 0700))
+ case "symlink":
+ target := filepath.Join(t.TempDir(), "state")
+ writeFake(t, target, valid)
+ must(os.Symlink(target, path))
+ case "hardlink":
+ target := filepath.Join(t.TempDir(), "state")
+ writeFake(t, target, valid)
+ must(os.Link(target, path))
+ case "fifo":
+ must(unix.Mkfifo(path, 0600))
+ case "mode":
+ writeFake(t, path, valid)
+ must(os.Chmod(path, 0644))
+ case "setuid":
+ writeFake(t, path, valid)
+ must(os.Chmod(path, 0600|os.ModeSetuid))
+ case "setgid":
+ writeFake(t, path, valid)
+ must(os.Chmod(path, 0600|os.ModeSetgid))
+ case "version":
+ writeFake(t, path, valid)
+ l.source.Expected.ProviderVersion = "other"
+ case "alone":
+ writeFake(t, path, valid)
+ }
+ err := l.validateRuntimeEntries()
+ if !errors.Is(err, ErrContainment) || ContainmentReason(err) != "runtime_claude_"+tc.want {
+ t.Fatalf("want runtime_claude_%s: %v", tc.want, err)
+ }
+ })
+ }
+}
+
+// writeManagedTurn writes what 2.1.312 left in a runtime home during a
+// first turn on an org-managed account (production 2026-11-22, top-level
+// names and sizes captured), less the token-only scrub stubs.
+func writeManagedTurn(t *testing.T, home string) {
+ t.Helper()
+ for _, dir := range []string{"projects", "backups", "dev-mods", "seed-admin", "sessions", ".claude", ".config", ".npm", ".cache"} {
+ if err := os.MkdirAll(filepath.Join(home, dir), 0700); err != nil {
+ t.Fatal(err)
+ }
+ }
+ for name, size := range map[string]int{"policy-limits.json": 409, "policy-limits.json.signature.json": 3006, "policy-limits.json.stamp.json": 225} {
+ writeFake(t, filepath.Join(home, name), strings.Repeat("x", size))
+ }
+ writeRemoteSettings(t, home, "{}", true)
+}
+
+// Production 2026-11-22: a warm coordinator on an org-managed account
+// was refused before its second turn, runtime_claude_unexpected_entry:
+// unlisted. This is the top-level set captured from that runtime home.
+func TestTokenCopySecondTurnManagedAccount(t *testing.T) {
+ l := openTokenCopy(t, tokenFixture(t))
+ ctx := context.Background()
+ if err := l.CheckCopy(ctx); err != nil {
+ t.Fatalf("first turn: %v", err)
+ }
+ home := l.Binding().Home
+ scrubStubs(t, home, 0600, 0700)
+ writeManagedTurn(t, home)
+ if err := l.CheckCopy(ctx); err != nil {
+ t.Fatalf("second turn: %v", err)
+ }
+}
+
+// The same second turn on a subscription copy: the CLI's own credential
+// file is staged and no scrub stubs are written (those come only with a
+// token launch), and a stub there stays refused.
+func TestSubscriptionCopySecondTurnManagedAccount(t *testing.T) {
+ b, _ := accountFixture(t)
+ b.Provider = "claude"
+ b.Expected.ProviderVersion = ClaudeVersion
+ writeMetadata(t, b.Home, b.Expected)
+ writeFake(t, filepath.Join(b.Home, credentialName("claude")), `{}`)
+ l, err := OpenRuntimeCopy(context.Background(), b, func(context.Context, Binding) (Identity, error) { return b.Expected, nil }, time.Second)
+ if err != nil {
+ t.Fatal(err)
+ }
+ t.Cleanup(func() { l.Close() })
+ ctx := context.Background()
+ if err = l.CheckCopy(ctx); err != nil {
+ t.Fatalf("first turn: %v", err)
+ }
+ home := l.Binding().Home
+ if _, err = os.Lstat(filepath.Join(home, credentialName("claude"))); err != nil {
+ t.Fatalf("subscription copy has no credential file: %v", err)
+ }
+ writeManagedTurn(t, home)
+ if err = l.CheckCopy(ctx); err != nil {
+ t.Fatalf("second turn: %v", err)
+ }
+ writeFake(t, filepath.Join(home, ".bashrc"), "")
+ if err = l.CheckCopy(ctx); ContainmentReason(err) != "runtime_claude_unexpected_entry:.bashrc" {
+ t.Fatalf("scrub stub on a subscription copy: %v", err)
+ }
+}
+
+// The account's own home never feeds these into the staged one.
+func TestClaudeRemoteSettingsNotStaged(t *testing.T) {
+ l := claudeRuntimeFixture(t)
+ names := []string{"policy-limits.json.stamp.json", "remote-settings.json", "remote-settings.json.synced-at"}
+ for _, name := range names {
+ writeFake(t, filepath.Join(l.source.Home, name), "{}")
+ }
+ preflightFixture(t, l)
+ for _, name := range names {
+ if _, err := os.Lstat(filepath.Join(l.runtime, name)); !os.IsNotExist(err) {
+ t.Fatalf("source state staged: %s: %v", name, err)
+ }
+ }
+}
diff --git a/internal/runner/provider/runtime_startup_test.go b/internal/runner/provider/runtime_startup_test.go
index f6133ab2..1d71da2f 100644
--- a/internal/runner/provider/runtime_startup_test.go
+++ b/internal/runner/provider/runtime_startup_test.go
@@ -14,7 +14,7 @@ import (
const sessionEnvFixture = "session-env/12345678-1234-4123-8123-123456789abc/"
func TestAccountClaudeAuthenticatedState(t *testing.T) {
- for _, name := range []string{"policy-limits.json", "policy-limits.json.signature.json", "policy-limits.json.signature-iat.json", "shell-snapshots/snapshot-bash-1793880000000-abc123.sh", "shell-snapshots/snapshot-zsh-1793880000000-0.sh", "shell-snapshots/snapshot-sh-1793880000000-.sh", sessionEnvFixture + "setup-hook-0.sh", sessionEnvFixture + "sessionstart-hook-123.sh", sessionEnvFixture + "cwdchanged-hook-1.sh", sessionEnvFixture + "filechanged-hook-9.sh"} {
+ for _, name := range []string{"policy-limits.json", "policy-limits.json.signature.json", "policy-limits.json.signature-iat.json", "policy-limits.json.stamp.json", "shell-snapshots/snapshot-bash-1793880000000-abc123.sh", "shell-snapshots/snapshot-zsh-1793880000000-0.sh", "shell-snapshots/snapshot-sh-1793880000000-.sh", sessionEnvFixture + "setup-hook-0.sh", sessionEnvFixture + "sessionstart-hook-123.sh", sessionEnvFixture + "cwdchanged-hook-1.sh", sessionEnvFixture + "filechanged-hook-9.sh"} {
t.Run(name, func(t *testing.T) {
for _, kind := range []string{"file", "directory", "link", "hardlink", "fifo", "setuid", "setgid", "version", "provider", "source"} {
t.Run(kind, func(t *testing.T) {
@@ -102,6 +102,8 @@ func TestAccountStartupRefusals(t *testing.T) {
for _, tc := range []struct{ family, path, category string }{
{"claude", "remote-settings.json", "runtime_claude_remote_settings"},
{"claude", "policy-limits.json.extra", "runtime_claude_unexpected_entry"},
+ {"claude", "remote-settings.json.synced-at", "runtime_claude_remote_settings_synced_at"},
+ {"claude", ".claude/remote-settings.json", "runtime_claude_remote_settings"},
{"claude", "shell-snapshots/evil.sh", "runtime_claude_shell_snapshots"},
{"claude", "shell-snapshots/snapshot-fish-1793880000000-abc123.sh", "runtime_claude_shell_snapshots"},
{"claude", "shell-snapshots/snapshot-bash-1793880000000-abcdefg.sh", "runtime_claude_shell_snapshots"},
diff --git a/scripts/runner-reference-allowlist.json b/scripts/runner-reference-allowlist.json
index 3b6490f9..0c345143 100644
--- a/scripts/runner-reference-allowlist.json
+++ b/scripts/runner-reference-allowlist.json
@@ -16469,5 +16469,12 @@
"match": "npm",
"count": 1,
"reason": "Claude Code scrub-mode stub names (.npmrc and similar) a token copy may hold, and the runtime-home entry list; names only, no execution."
+ },
+ {
+ "path": "internal/runner/provider/runtime_remote_settings_test.go",
+ "line_sha256": "bfc4ac6a5ff63255a1af347b495df243e5f561d8532339eca308fc0642ad82a1",
+ "match": "npm",
+ "count": 1,
+ "reason": "Top-level names captured from a production Claude 2.1.312 runtime home (.npm directory); fixture names only, no execution."
}
]