oficina / equipo Public

Apply agent SQL privacy to project transactions

Share request-specific database session configuration across chat read and transaction paths. Probe all four agent operations and force each identity, membership and application query to fail without leaking person data or changing the shared logger.
Co-Authored-By: Codex GPT-6-Astra <noreply@openai.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 42b8eb12c413d2f08e1ce9837841b36c2488eedf parent 2a4024d
4 files changed, +194 −35
  • .rastrillo/budgets.txt +1 −1
  • docs/superpowers/plans/2026-11-20-equipo-agent-access-evidence.md +75 −0
  • internal/equipo/agent_access_test.go +110 −31
  • internal/equipo/chat/store.go +8 −3

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/agent-access__read-only: Type  Size Avail | ext4   96G   85G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   85G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 1.4s
ci-box: codex: fetched and verified in 3.4s
ci-box: codex-code-mode-host: fetched and verified in 1.3s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.3s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 10.1s
ci-box: pi: installed and verified in 7.7s
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.9s
ci-box: clone deepened in 3.4s
ci-box: file times set from content: 2807 files, 184 directories
ci-box: ready in 17.2s
=== copy ===
EQUIPO_RELEASE_COPY_CHECK=1 CGO_ENABLED=0 go test ./internal/equipotest -run '^TestReleaseCopyReviewed$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipotest	0.254s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  3.9s
+ go list -export -test -tags testbuild -f  ./...
  3.7s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  3.1s
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 1m30.566s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m28.95s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m28.95s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 55.64, cpu waiting 36.39%, memory waiting 0.00%, io waiting 0.40%
--- 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 1m33.519s 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 1m31.857s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m31.86s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 55.64, cpu waiting 36.02%, memory waiting 0.00%, io waiting 0.39%
--- 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 1m34.834s 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 1m32.8s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m20.99s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 6.34s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 5.47s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 52.86, cpu waiting 36.02%, memory waiting 0.00%, io waiting 0.39%
--- 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 1m29.175s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m27.237s amadan.net/oficina/equipo/internal/headless
receipt: slow test 44.05s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 22.34s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.93s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.91s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 57.52, cpu waiting 36.53%, memory waiting 0.00%, io waiting 0.43%
--- 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 1m48.052s 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.115s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m7.19s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 12.82s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 10.73s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 9.15s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 6.23s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 46.48, cpu waiting 29.90%, memory waiting 0.00%, io waiting 0.30%
--- 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.947s 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 3m19.11s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m55.06s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 24.72s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.76s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 8.31s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.43s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 12.85, cpu waiting 6.38%, 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 2m1.48s 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 1m59.368s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 7.88s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.74s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 3.71s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 3.49s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 2.49s amadan.net/oficina/equipo/internal/thintest TestResearchDoneFallsBack
machine: 32 CPUs, load 37.21, cpu waiting 23.95%, memory waiting 0.00%, io waiting 0.24%
--- shard 7 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane thintest-contract: ./internal/thintest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -skip '^Test([^C]|C[^o]|Co[^n]|Con[^t])|^TestContract(Assistant|Outcome|Team|Handoff|HostAllowlist|HostIsPerPerson|Look|Use[A-Z]|RemoteCall|LanesRunAtOnce|NoMergeQuestionWhenGateMerges|PreviewHeldUntilPublishAnswer|PreviewNotHeldBelow19|PublishNeedsOwnerAnswer)' ./internal/thintest

receipt: test step 1m25.054s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m22.945s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.02s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 4.97s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.44s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.37s amadan.net/oficina/equipo/internal/thintest TestContractPreview
receipt: slow test 2.35s amadan.net/oficina/equipo/internal/thintest TestContractPublishNameTaken
machine: 32 CPUs, load 57.52, cpu waiting 36.08%, memory waiting 0.00%, io waiting 0.46%
--- shard 8 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-thin: ./internal/runner/thin
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/runner/thin
cache miss: amadan.net/oficina/equipo/internal/runner/thin: its inputs changed
budget note: internal/runner/thin took 4m38.569s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m51.683s 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 4m38.569s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 37.01s 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.81s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.48s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 7.11s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 3.37, cpu waiting 1.42%, 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
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

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

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

receipt: test step 35.705s 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.664s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.13s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.28s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.12s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.56s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestCoordinatorTransientRefusalKeepsServing
machine: 32 CPUs, load 36.36, cpu waiting 20.16%, memory waiting 0.00%, io waiting 1.03%
--- 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 36.8%, load 26.64
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 1m6.728s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m4.658s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 27.27s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 27.22s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 25.22s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 22.47s amadan.net/oficina/equipo/internal/equipotest TestAuthorityUsesLiveRoster
receipt: slow test 22.36s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelDuplicates
machine: 32 CPUs, load 52.86, cpu waiting 35.49%, memory waiting 0.00%, io waiting 0.37%
--- 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 36.8%, load 26.64
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.711s 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.737s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 19.24s amadan.net/oficina/equipo/internal/equipotest TestProjectRetryAndRevision
receipt: slow test 19.21s amadan.net/oficina/equipo/internal/equipotest TestProjectRejectsUnsafeBinding
receipt: slow test 19.16s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 19.14s amadan.net/oficina/equipo/internal/equipotest TestProjectsAccountRevisionAndValidation
receipt: slow test 19.09s amadan.net/oficina/equipo/internal/equipotest TestProjectOwnersAreMembers
machine: 32 CPUs, load 46.48, cpu waiting 30.88%, memory waiting 0.00%, io waiting 0.31%
--- 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 36.8%, load 26.64
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.2s 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.127s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 14.98s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.32s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.39s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 10.3s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 7.27s amadan.net/oficina/equipo/internal/equipotest TestRosterProtectsLastOwner
machine: 32 CPUs, load 49.91, cpu waiting 31.89%, memory waiting 0.00%, io waiting 0.32%
--- 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 36.8%, load 26.64
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 1m7.469s 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.536s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 24.94s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 24.42s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 24.34s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 22.56s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
receipt: slow test 22.35s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsConcurrentRevision
machine: 32 CPUs, load 52.86, cpu waiting 34.82%, memory waiting 0.00%, io waiting 0.36%
--- 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 36.8%, load 26.64
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.432s 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.444s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.65s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.55s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.6s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.53s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.25s amadan.net/oficina/equipo/internal/plan3test TestPlanMigrationUpgrade
machine: 32 CPUs, load 56.70, cpu waiting 36.08%, memory waiting 0.00%, io waiting 0.46%
--- 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 36.8%, load 26.64
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/testci: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runnerproto: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/wire/wireschema: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
--- 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:306 Reason: File:s001.txt}
--- FAIL: TestTimeouts (0.62s)

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

budget note: internal/equipo took 46.811s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 11.499s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/idtest took 39.555s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 19.39s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/runner/containment took 48.558s, over the 15s its record on line 40 allows; reported only, timing fails on CI

receipt: test step 2m32.297s against a 60s target (the gate's other steps are not in this figure)
receipt: 20 packages ran, 40 cached, 18 without tests, 1 failed
receipt: slow package 1m5.198s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 53.093s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 50.851s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 48.558s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow package 46.811s amadan.net/oficina/equipo/internal/equipo
receipt: slow test 26.03s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 21.14s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 13.89s amadan.net/oficina/equipo/cmd/equipo-runner TestReleaseRunnerHasNoFakeWorker
receipt: slow test 12.66s amadan.net/oficina/equipo/internal/idtest TestIDCallbackGuardAndPendingNonce
receipt: slow test 10.69s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringMissingModuleCache
rastrillo: budget test: go test failed
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestTimeouts$' -count=1 ./internal/runner/webread   (retry, once)
##############################################################################
FLAKE ./internal/runner/webread:TestTimeouts rest 42b8eb12c413d2f08e1ce9837841b36c2488eedf 0.62s 17.04
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 17.04, cpu waiting 8.61%, memory waiting 0.00%, io waiting 0.08%
--- 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
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserChat
=== RUN   TestBrowserChat
time=2026-11-20T20:56:58.473Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T20:56:58.473Z level=INFO msg="startup phase done" phase=state_lock took=154µs
time=2026-11-20T20:56:58.473Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T20:56:58.474Z level=INFO msg="startup phase done" phase=claim_roots took=113µs
time=2026-11-20T20:56:58.474Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T20:56:58.507Z level=INFO msg="startup phase done" phase=sweep took=33.721ms
time=2026-11-20T20:56:58.507Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T20:56:58.508Z level=INFO msg="startup phase done" phase=credentials took=169µs
time=2026-11-20T20:56:58.508Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T20:56:58.551Z level=INFO msg="startup phase done" phase=open_state took=43.283ms
time=2026-11-20T20:56:58.552Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T20:56:58.554Z level=INFO msg=connecting host=127.0.0.1:34889 protocol=28
time=2026-11-20T20:56:58.556Z level=INFO msg=connected host=127.0.0.1:34889 took=974µs
time=2026-11-20T20:56:58.556Z level=INFO msg="capabilities gathering"
time=2026-11-20T20:56:58.557Z level=INFO msg="capabilities gathered" took=858µs tags=linux,claude,go
time=2026-11-20T20:56:58.560Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T20:56:58.562Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T20:57:00.752Z 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.15s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
=== RUN   TestBrowserChatSendStaysOnPage
time=2026-11-20T20:57:04.688Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T20:57:04.688Z level=INFO msg="startup phase done" phase=state_lock took=61µs
time=2026-11-20T20:57:04.688Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T20:57:04.688Z level=INFO msg="startup phase done" phase=claim_roots took=83µs
time=2026-11-20T20:57:04.688Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T20:57:04.733Z level=INFO msg="startup phase done" phase=sweep took=44.794ms
time=2026-11-20T20:57:04.733Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T20:57:04.733Z level=INFO msg="startup phase done" phase=credentials took=158µs
time=2026-11-20T20:57:04.733Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T20:57:04.790Z level=INFO msg="startup phase done" phase=open_state took=56.417ms
time=2026-11-20T20:57:04.790Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T20:57:04.791Z level=INFO msg=connecting host=127.0.0.1:41427 protocol=28
time=2026-11-20T20:57:04.793Z level=INFO msg=connected host=127.0.0.1:41427 took=2.479ms
time=2026-11-20T20:57:04.793Z level=INFO msg="capabilities gathering"
time=2026-11-20T20:57:04.796Z level=INFO msg="capabilities gathered" took=2.437ms tags=linux,claude,go
time=2026-11-20T20:57:04.802Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T20:57:04.805Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T20:57:06.869Z 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.24s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
=== RUN   TestBrowserDraftIsTheMessage
time=2026-11-20T20:57:10.891Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T20:57:10.891Z level=INFO msg="startup phase done" phase=state_lock took=744µs
time=2026-11-20T20:57:10.892Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T20:57:10.892Z level=INFO msg="startup phase done" phase=claim_roots took=268µs
time=2026-11-20T20:57:10.893Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T20:57:10.946Z level=INFO msg="startup phase done" phase=sweep took=52.89ms
time=2026-11-20T20:57:10.946Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T20:57:10.946Z level=INFO msg="startup phase done" phase=credentials took=162µs
time=2026-11-20T20:57:10.946Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T20:57:10.998Z level=INFO msg="startup phase done" phase=open_state took=52.622ms
time=2026-11-20T20:57:10.999Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T20:57:11.001Z level=INFO msg=connecting host=127.0.0.1:43833 protocol=28
time=2026-11-20T20:57:11.003Z level=INFO msg=connected host=127.0.0.1:43833 took=2.261ms
time=2026-11-20T20:57:11.003Z level=INFO msg="capabilities gathering"
time=2026-11-20T20:57:11.004Z level=INFO msg="capabilities gathered" took=408µs tags=linux,claude,go
time=2026-11-20T20:57:11.004Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T20:57:11.012Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T20:57:13.196Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_thinking_test.go:106: waiting for !!window.__m: context deadline exceeded (last evaluation: <nil>)
--- FAIL: TestBrowserDraftIsTheMessage (8.31s)

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


receipt: test step 51.21s 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 49.558s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.7s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 8.31s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 8.04s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 6.24s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
receipt: slow test 6.15s amadan.net/oficina/equipo/internal/headless TestBrowserChat
rastrillo: budget test: go test failed
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 42b8eb12c413d2f08e1ce9837841b36c2488eedf 6.15s 53.06
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserChatSendStaysOnPage browser-headless-chat 42b8eb12c413d2f08e1ce9837841b36c2488eedf 6.24s 53.06
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserDraftIsTheMessage browser-headless-chat 42b8eb12c413d2f08e1ce9837841b36c2488eedf 8.31s 53.06
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 46.48, cpu waiting 29.90%, memory waiting 0.00%, io waiting 0.30%
--- 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-20T20:56:56.293Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T20:56:56.294Z level=INFO msg="startup phase done" phase=state_lock took=72µs
time=2026-11-20T20:56:56.294Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T20:56:56.294Z level=INFO msg="startup phase done" phase=claim_roots took=87µs
time=2026-11-20T20:56:56.294Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T20:56:56.328Z level=INFO msg="startup phase done" phase=sweep took=34.741ms
time=2026-11-20T20:56:56.329Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T20:56:56.329Z level=INFO msg="startup phase done" phase=credentials took=211µs
time=2026-11-20T20:56:56.329Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T20:56:56.371Z level=INFO msg="startup phase done" phase=open_state took=42.074ms
time=2026-11-20T20:56:56.372Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T20:56:56.373Z level=INFO msg=connecting host=127.0.0.1:38005 protocol=28
time=2026-11-20T20:56:56.374Z level=INFO msg=connected host=127.0.0.1:38005 took=974µs
time=2026-11-20T20:56:56.374Z level=INFO msg="capabilities gathering"
time=2026-11-20T20:56:56.380Z level=INFO msg="capabilities gathered" took=5.283ms tags=linux,claude,go
time=2026-11-20T20:56:56.381Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T20:56:56.388Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T20:56:57.914Z level=INFO msg="connection checked" connection=claude-1 state=healthy
time=2026-11-20T20:57:07.624Z level=INFO msg="kept sessions" kept=1 bytes=2770 expired=0
time=2026-11-20T20:57:12.353Z level=INFO msg="kept sessions" kept=2 bytes=4922 expired=0
time=2026-11-20T20:57:13.153Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T20:57:13.154Z level=INFO msg="startup phase done" phase=state_lock took=869µs
time=2026-11-20T20:57:13.154Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T20:57:13.154Z level=INFO msg="startup phase done" phase=claim_roots took=89µs
time=2026-11-20T20:57:13.154Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T20:57:13.198Z level=INFO msg="startup phase done" phase=sweep took=44.105ms
time=2026-11-20T20:57:13.198Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T20:57:13.199Z level=INFO msg="startup phase done" phase=credentials took=107µs
time=2026-11-20T20:57:13.199Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T20:57:13.245Z level=INFO msg="startup phase done" phase=open_state took=46.788ms
time=2026-11-20T20:57:13.246Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T20:57:13.246Z level=INFO msg=connecting host=127.0.0.1:40879 protocol=28
time=2026-11-20T20:57:13.248Z level=INFO msg=connected host=127.0.0.1:40879 took=1.144ms
time=2026-11-20T20:57:13.248Z level=INFO msg="capabilities gathering"
time=2026-11-20T20:57:13.249Z level=INFO msg="capabilities gathered" took=946µs tags=linux,claude,go
time=2026-11-20T20:57:13.250Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T20:57:13.256Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T20:57:15.277Z 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: <nil>)
time=2026-11-20T20:57:19.661Z level=WARN msg="step account" err="context canceled"
--- FAIL: TestBrowserRailFollowsWork (23.95s)

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


receipt: test step 1m39.081s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 1m37.559s amadan.net/oficina/equipo/internal/headless
receipt: slow test 26.78s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 23.95s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 14.98s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 11.12s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 10.14s 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 42b8eb12c413d2f08e1ce9837841b36c2488eedf 23.95s 49.91
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 34.55, cpu waiting 23.17%, memory waiting 0.00%, io waiting 0.23%
--- 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 1m47.453s 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 1m45.652s amadan.net/oficina/equipo/internal/headless
receipt: slow test 16.73s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 14.21s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 13.09s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 10.71s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.71s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 46.48, cpu waiting 29.90%, memory waiting 0.00%, io waiting 0.30%
--- 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
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
=== RUN   TestBrowserThinkingAndCards
time=2026-11-20T20:56:31.641Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T20:56:31.641Z level=INFO msg="startup phase done" phase=state_lock took=91µs
time=2026-11-20T20:56:31.641Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T20:56:31.642Z level=INFO msg="startup phase done" phase=claim_roots took=230µs
time=2026-11-20T20:56:31.642Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T20:56:31.674Z level=INFO msg="startup phase done" phase=sweep took=32.497ms
time=2026-11-20T20:56:31.674Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T20:56:31.674Z level=INFO msg="startup phase done" phase=credentials took=126µs
time=2026-11-20T20:56:31.674Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T20:56:31.715Z level=INFO msg="startup phase done" phase=open_state took=40.336ms
time=2026-11-20T20:56:31.716Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T20:56:31.717Z level=INFO msg=connecting host=127.0.0.1:43495 protocol=28
time=2026-11-20T20:56:31.720Z level=INFO msg=connected host=127.0.0.1:43495 took=3.49ms
time=2026-11-20T20:56:31.720Z level=INFO msg="capabilities gathering"
time=2026-11-20T20:56:31.722Z level=INFO msg="capabilities gathered" took=1.231ms tags=linux,claude,go
time=2026-11-20T20:56:31.723Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T20:56:31.737Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T20:56:33.012Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_cards_test.go:66: waiting for (()=>{const l=document.querySelector('[equipo-thinking] [equipo-activity]');return !!l && l.textContent==='Adding oficina/sample…'})(): context deadline exceeded (last evaluation: <nil>)
--- FAIL: TestBrowserThinkingAndCards (6.90s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserCopyContinue
=== RUN   TestBrowserCopyContinue
time=2026-11-20T20:56:58.629Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T20:56:58.629Z level=INFO msg="startup phase done" phase=state_lock took=188µs
time=2026-11-20T20:56:58.629Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T20:56:58.629Z level=INFO msg="startup phase done" phase=claim_roots took=159µs
time=2026-11-20T20:56:58.629Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T20:56:58.680Z level=INFO msg="startup phase done" phase=sweep took=51.08ms
time=2026-11-20T20:56:58.680Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T20:56:58.680Z level=INFO msg="startup phase done" phase=credentials took=196µs
time=2026-11-20T20:56:58.680Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T20:56:58.737Z level=INFO msg="startup phase done" phase=open_state took=56.439ms
time=2026-11-20T20:56:58.737Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T20:56:58.738Z level=INFO msg=connecting host=127.0.0.1:39981 protocol=28
time=2026-11-20T20:56:58.741Z level=INFO msg=connected host=127.0.0.1:39981 took=2.792ms
time=2026-11-20T20:56:58.741Z level=INFO msg="capabilities gathering"
time=2026-11-20T20:56:58.742Z level=INFO msg="capabilities gathered" took=522µs tags=linux,claude,go
time=2026-11-20T20:56:58.743Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T20:56:58.750Z level=INFO msg=welcome protocol=28 role=primary generation=1
    browser_copy_test.go:90: waiting for !document.querySelector('[data-copy-continue]'): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserCopyContinue (6.41s)

--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-20T20:57:40.841Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T20:57:40.842Z level=INFO msg="startup phase done" phase=state_lock took=64µs
time=2026-11-20T20:57:40.842Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T20:57:40.842Z level=INFO msg="startup phase done" phase=claim_roots took=92µs
time=2026-11-20T20:57:40.842Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T20:57:40.875Z level=INFO msg="startup phase done" phase=sweep took=33.308ms
time=2026-11-20T20:57:40.875Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T20:57:40.875Z level=INFO msg="startup phase done" phase=credentials took=155µs
time=2026-11-20T20:57:40.875Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T20:57:40.916Z level=INFO msg="startup phase done" phase=open_state took=40.435ms
time=2026-11-20T20:57:40.916Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T20:57:40.918Z level=INFO msg=connecting host=127.0.0.1:43977 protocol=28
time=2026-11-20T20:57:40.919Z level=INFO msg=connected host=127.0.0.1:43977 took=976µs
time=2026-11-20T20:57:40.920Z level=INFO msg="capabilities gathering"
time=2026-11-20T20:57:40.920Z level=INFO msg="capabilities gathered" took=575µs tags=linux,claude,go
time=2026-11-20T20:57:40.921Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T20:57:40.927Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T20:57:42.101Z 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.88s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m30.514s
FAIL	amadan.net/oficina/equipo/internal/headless	90.831s


receipt: test step 1m32.09s 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 1m30.514s amadan.net/oficina/equipo/internal/headless
receipt: slow test 12.43s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 11.39s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 10.53s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 8.49s amadan.net/oficina/equipo/internal/headless TestBrowserNotebookLook
receipt: slow test 8.22s amadan.net/oficina/equipo/internal/headless TestBrowserRefreshRace
rastrillo: budget test: go test failed
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' -v -run '^TestBrowserCopyContinue$|^TestBrowserEmptyExplore$|^TestBrowserThinkingAndCards$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserCopyContinue browser-headless-rest 42b8eb12c413d2f08e1ce9837841b36c2488eedf 6.41s 55.64
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest 42b8eb12c413d2f08e1ce9837841b36c2488eedf 5.88s 55.64
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
##############################################################################
FLAKE ./internal/headless:TestBrowserThinkingAndCards browser-headless-rest 42b8eb12c413d2f08e1ce9837841b36c2488eedf 6.90s 55.64
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 40.19, cpu waiting 24.76%, 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.219s 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 661ms amadan.net/oficina/equipo/internal/equipo
receipt: slow test 660ms 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 2.924s 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.676s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 1.68s 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.531s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 2.041s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 2.04s 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 3m22.798s 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.177s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 17.83s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.34s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.01s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.63s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 8.21s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
machine: 32 CPUs, load 10.95, cpu waiting 5.40%, memory waiting 0.00%, io waiting 0.04%
--- 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   (60s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 5.45s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.50s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 10.88s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 12.99s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 26.76s
+ 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   (67s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 21.59s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 13.93s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 13.02s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 16.74s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (25s)
ok ./internal/headless TestMixedVersions 22.89s
+ 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   (1s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.06s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 57.09, cpu waiting 34.85%, memory waiting 0.00%, io waiting 0.60%
--- shard 24 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 24: make runner-host
python3 scripts/runner-prerequisites.py
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks

receipt: test step 11.469s 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.731s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 225ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 85ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 2ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/gotoolchain
receipt: slow test 5.49s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.73s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 380ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 220ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxToolchain
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run '^TestNamespace' -count=1 ./internal/runner/containment
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run '^TestNamespace' -count=1 ./internal/runner/containment

receipt: test step 3.479s 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.113s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 290ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 200ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 130ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceExitStatus
machine: 32 CPUs, load 18.95, cpu waiting 8.39%, memory waiting 0.00%, io waiting 1.44%
--- 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 36.8%, load 26.64
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2520 text files, 2846 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.483s
machine: 32 CPUs, load 57.09, cpu waiting 34.38%, memory waiting 0.00%, io waiting 0.62%
--- 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 36.8%, load 26.64
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 46.80, cpu waiting 27.53%, memory waiting 0.00%, io waiting 0.87%
--- 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 36.8%, load 26.64
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 36.36, cpu waiting 21.66%, memory waiting 0.00%, io waiting 1.00%
--- 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 36.8%, load 26.64
shard 28: make gitleaks
8:56PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
8:57PM INF 1068 commits scanned.
8:57PM INF scanned ~60692419 bytes (60.69 MB) in 21.4s
8:57PM INF no leaks found
machine: 32 CPUs, load 53.06, cpu waiting 29.98%, memory waiting 0.00%, io waiting 0.82%
=== 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.137ms, worst 1.184ms, budget 150ms
perf: GET /api/runner/protocol: median 89µs, worst 106µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 631µs, worst 665µs, budget 150ms
perf: GET /api/v1/accounts: median 433µs, worst 459µs, budget 150ms
perf: GET /api/v1/auth/devices: median 476µs, worst 487µs, budget 150ms
perf: GET /api/v1/budgets: median 510µs, worst 550µs, budget 150ms
perf: GET /api/v1/capabilities: median 265µs, worst 271µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.345ms, worst 4.065ms, budget 150ms
perf: GET /api/v1/connections: median 665µs, worst 695µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 630µs, worst 640µs, budget 150ms
perf: GET /api/v1/conversation: median 1.045ms, worst 1.125ms, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.733ms, worst 1.822ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.876ms, worst 2.063ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 468µs, worst 545µs, budget 150ms
perf: GET /api/v1/journey: median 7.809ms, worst 8.098ms, budget 150ms
perf: GET /api/v1/me: median 433µs, worst 446µs, budget 150ms
perf: GET /api/v1/me/settings: median 508µs, worst 567µs, budget 150ms
perf: GET /api/v1/needs-you: median 7.623ms, worst 7.83ms, budget 150ms
perf: GET /api/v1/notifications: median 1.7ms, worst 1.764ms, budget 150ms
perf: GET /api/v1/onboarding: median 406µs, worst 424µs, budget 150ms
perf: GET /api/v1/people: median 460µs, worst 477µs, budget 150ms
perf: GET /api/v1/playbooks: median 606µs, worst 650µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 525µs, worst 569µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 860µs, worst 898µs, budget 150ms
perf: GET /api/v1/preferences: median 793µs, worst 811µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 465µs, worst 488µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 599µs, worst 693µs, budget 150ms
perf: GET /api/v1/roster: median 475µs, worst 509µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 443µs, worst 486µs, budget 150ms
perf: GET /api/v1/specialists: median 8.377ms, worst 8.525ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 8.269ms, worst 8.38ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 881µs, worst 1.016ms, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.196ms, worst 1.3ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 745µs, worst 802µs, budget 150ms
perf: GET /api/v1/teams: median 448µs, worst 514µs, budget 150ms
perf: GET /api/v1/templates: median 623µs, worst 641µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 454µs, worst 507µs, budget 150ms
perf: GET /auth/callback: median 84µs, worst 94µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.518ms, worst 3.684ms, budget 150ms
perf: GET /auth/verify: median 83µs, worst 107µs, budget 150ms
perf: GET /connections: median 4.052ms, worst 4.124ms, budget 150ms
perf: GET /conversation: median 8.275ms, worst 10.402ms, budget 150ms
perf: GET /conversation/connections: median 264µs, worst 275µs, budget 150ms
perf: GET /conversation/notebook: median 268µs, worst 295µs, budget 150ms
perf: GET /conversation/settings: median 4.217ms, worst 4.368ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 3.767ms, worst 3.841ms, budget 150ms
perf: GET /conversation/settings/connections: median 6.597ms, worst 6.776ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 6.622ms, worst 6.728ms, budget 150ms
perf: GET /conversation/settings/copy: median 3.788ms, worst 3.981ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 4.222ms, worst 4.467ms, budget 150ms
perf: GET /conversation/settings/machines: median 4.697ms, worst 6.865ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 4.652ms, worst 4.783ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.443ms, worst 3.614ms, budget 150ms
perf: GET /conversation/settings/thinking: median 4.065ms, worst 4.216ms, budget 150ms
perf: GET /housekeeping: median 3.828ms, worst 3.979ms, budget 150ms
perf: GET /invites/new: median 595µs, worst 631µs, budget 150ms
perf: GET /invites/{id}: median 632µs, worst 720µs, budget 150ms
perf: GET /jobs: median 3.315ms, worst 3.491ms, budget 150ms
perf: GET /jobs/{id}: median 4.461ms, worst 4.66ms, budget 150ms
perf: GET /journey: median 12.374ms, worst 12.514ms, budget 150ms
perf: GET /nav/rail: median 3.221ms, worst 3.354ms, budget 150ms
perf: GET /needs-you: median 12.883ms, worst 13.935ms, budget 150ms
perf: GET /onboarding: median 4.533ms, worst 4.686ms, budget 150ms
perf: GET /people: median 3.74ms, worst 3.822ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 5.276ms, worst 5.616ms, budget 150ms
perf: GET /playbooks: median 4.827ms, worst 4.947ms, budget 150ms
perf: GET /playbooks/new: median 4.822ms, worst 4.987ms, budget 150ms
perf: GET /playbooks/{id}: median 4.618ms, worst 4.777ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 4.697ms, worst 4.967ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 3.88ms, worst 4.129ms, budget 150ms
perf: GET /preferences: median 4.575ms, worst 4.774ms, budget 150ms
perf: GET /preferences/sources/{source}: median 4.362ms, worst 5.965ms, budget 150ms
perf: GET /projects: median 5.628ms, worst 5.936ms, budget 150ms
perf: GET /projects/accounts: median 3.625ms, worst 3.685ms, budget 150ms
perf: GET /projects/new: median 3.728ms, worst 3.777ms, budget 150ms
perf: GET /projects/{id}: median 10.649ms, worst 10.974ms, budget 150ms
perf: GET /projects/{id}/edit: median 3.777ms, worst 3.903ms, budget 150ms
perf: GET /runners/enrol: median 4.599ms, worst 4.725ms, budget 150ms
perf: GET /settings: median 3.542ms, worst 3.643ms, budget 150ms
perf: GET /settings/coordinator: median 5.792ms, worst 6.002ms, budget 150ms
perf: GET /settings/devices: median 3.484ms, worst 3.541ms, budget 150ms
perf: GET /settings/recovery: median 3.69ms, worst 3.873ms, budget 150ms
perf: GET /settings/recovery/release: median 3.653ms, worst 3.791ms, budget 150ms
perf: GET /settings/thinking: median 241µs, worst 296µs, budget 150ms
perf: GET /signin: median 323µs, worst 342µs, budget 150ms
perf: GET /specialists/new: median 3.387ms, worst 3.571ms, budget 150ms
perf: GET /specialists/{key}: median 11.082ms, worst 11.275ms, budget 150ms
perf: GET /specialists/{key}/edit: median 3.619ms, worst 3.771ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 3.702ms, worst 3.749ms, budget 150ms
perf: GET /tasks: median 5.224ms, worst 5.368ms, budget 150ms
perf: GET /tasks/new: median 3.298ms, worst 3.381ms, budget 150ms
perf: GET /tasks/{id}: median 5.704ms, worst 5.848ms, budget 150ms
perf: GET /tasks/{id}/merge: median 5.058ms, worst 7.803ms, budget 150ms
perf: GET /tasks/{id}/move: median 4.872ms, worst 5.116ms, budget 150ms
perf: GET /tasks/{id}/plan: median 5.876ms, worst 6.037ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.522ms, worst 1.562ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.314ms, worst 5.406ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 4.894ms, worst 5.017ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.4ms, worst 4.483ms, budget 150ms
perf: GET /tasks/{id}/thread: median 8.173ms, worst 8.447ms, budget 150ms
perf: GET /team/{specialist}: median 4.411ms, worst 4.543ms, budget 150ms
perf: GET /teams: median 10.495ms, worst 13.441ms, budget 150ms
perf: GET /templates: median 3.682ms, worst 3.765ms, budget 150ms
perf: GET /usage: median 4.278ms, worst 4.454ms, budget 150ms
perf: GET /work: median 3.146ms, worst 3.276ms, budget 150ms
perf: cold boot: median 264ms of [263.540613ms 263.906433ms 264.453513ms], budget 500ms

receipt: test step 40.786s 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 9.066s 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 8.22s 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: 4.27 GiB in 24421 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 0.87 GiB in 28256 files
ci-box: build cache over 4.0 GiB: dropped 1.57 GiB this job did not read, kept 2.70 GiB
diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt
index 4bd2aa83..f57353e9 100644
--- a/.rastrillo/budgets.txt
+++ b/.rastrillo/budgets.txt
@@ -56,7 +56,7 @@ perf GET /api/v1/tasks/{id} skip Thin v1 person API: bearer-only JSON for device
perf GET /api/v1/assistant/snapshot skip Assistant person API: bearer-only JSON for Base's chat, not a browser screen.
perf GET /api/v1/assistant/messages skip Assistant person API: bearer-only JSON for Base's chat, not a browser screen.
perf GET /api/v1/assistant/events skip Assistant event stream (Server-Sent Events), bearer-only and long-lived; not a screen.
-size internal/equipo/chat 32043 - Native push and activity reads plus per-request private SQL logging and task source-cap reporting before visibility filtering; measured 32043 source lines with rastrillo budget size.
+size internal/equipo/chat 32048 - Native push and activity reads, task source caps, and one private SQL session helper shared by read and tx; measured 32048 source lines with rastrillo budget size.
perf GET /api/v1/questions/{id} skip Thin v1 person API: bearer-only JSON for devices; the browser reads questions on /tasks/{id}.
perf GET /api/v1/steps/{id}/log skip Thin v1 person API: bearer-only JSON for devices; the browser shows the log tail on /tasks/{id}.
perf GET /api/v1/connections/preference skip Connections slice 1 person API: bearer-only JSON for devices; the browser shows the preference on /conversation/connections.
diff --git a/docs/superpowers/plans/2026-11-20-equipo-agent-access-evidence.md b/docs/superpowers/plans/2026-11-20-equipo-agent-access-evidence.md
index a60cc57c..2a4b8721 100644
--- a/docs/superpowers/plans/2026-11-20-equipo-agent-access-evidence.md
+++ b/docs/superpowers/plans/2026-11-20-equipo-agent-access-evidence.md
@@ -469,3 +469,78 @@ The existing macOS limitations on whole-repository runner/toolproxy checks
remain; Linux CI is the final gate. After committing, run the committed-file
reference scan, push with the ephemeral-token helper, and await CI. The final
controller report records that exact SHA and verdict.
+
+
+## Projects transaction logging, Astra re-review
+
+The re-review of `2a4024dc` found that `Projects` uses `chat.Store.tx`,
+whereas the first logging fix only applied the private context in `read`.
+The previous log-capture test covered Needs you, so it missed this path.
+
+Replaced that test before changing implementation. It now drives all four
+HTTP operations with populated project/task fixtures and execution enabled
+so Projects also performs its runner/roster lookups. A test connection-pool
+wrapper records actual queries across request transactions, including raw
+`database/sql` Home identity queries that bypass GORM callbacks. Each recorded
+query is then forced to fail in SQLite with a missing-column error, retaining
+its original parameters. The test requires the failure to occur, verifies
+the appropriate denial (403 for identity resolution, 503 for application
+queries), and rejects either the person's address or Home subject in logs.
+
+The successful baseline requires exactly three Home-link, local-account and
+roster lookups per operation: request authentication, invocation, and inside
+the application transaction. Each operation's full query sequence is tested:
+18 forced errors for projects, and 19 each for tasks, task get, and Needs you,
+75 in total. A separate failing query before and after the agent calls proves
+the shared Warn-level logger remains active and can capture an address.
+
+Before implementation, `GOTOOLCHAIN=go1.26.11 CGO_ENABLED=0 go test
+./internal/equipo -run '^TestAgentReadsDoNotLogPerson$' -count=1` failed on
+five projects queries: its membership recheck (query 9) and four runner
+queries joining the roster (13, 14, 16, 17). Each returned 503 and logged
+`owner@example.com`. The other operations' forced-query cases passed.
+
+The fix centralises per-request session configuration in
+`chat.Store.transactionSession`. Both `read` and `tx` use that session before
+starting their transaction. It honours the existing private-read context,
+retains writer selection and every authority check, and does not mutate the
+shared logger. Runtime copy and the task truncation fix are unchanged.
+The full regression passed after implementation (2.427s).
+
+### Restored mutations
+
+All commands below use `GOTOOLCHAIN=go1.26.11 CGO_ENABLED=0` and
+`go test ./internal/equipo -count=1` with the indicated `-run` selector.
+Each mutation was restored in a `finally` block.
+
+| Mutation | Selector | Observed result |
+| --- | --- | --- |
+| Make `tx` use the original shared database session | `^TestAgentReadsDoNotLogPerson$/^equipo_projects_list$` | FAIL, five person-address assertions |
+| Make `read` use the original shared database session | `^TestAgentReadsDoNotLogPerson$` | FAIL, four person-address assertions |
+| Make agent preparation use the shared logger | `^TestAgentReadsDoNotLogPerson$` | FAIL, eight person-address assertions |
+
+Each failed on leaked data, not compilation. The restored source is the
+candidate tested by the gates below.
+
+### Re-review gates
+
+| Command | Result |
+| --- | --- |
+| `go test ./internal/equipo ./internal/equipo/chat ./internal/equipo/oficinaid ./internal/equipo/personapi -count=1` | PASS, 27.238s / 5.870s / 2.831s / 0.425s |
+| `go test ./internal/plan3test -run 'TestPersonAPI\|TestPlan3ReleaseBoundaries' -count=1` | PASS, 8.902s |
+| `make fmt-check` | PASS, pinned Go 1.26.11 formatter |
+| `make gitleaks` | PASS, 1067 commits, no leaks |
+| `make budget` | Initial FAIL measured 32048 chat source lines against 32043; raised only that entry to measured 32048 with reason, then PASS, 88 directories |
+| `make migration-check` | PASS, 1.521s |
+| `make copy-release-check` | PASS, 0.689s |
+| `make lanes-check` | PASS, 18 normal and 5 browser lanes |
+| `python3 scripts/copy-status.py verify` | PASS, version 1, valid true |
+| `go vet ./internal/equipo ./internal/equipo/chat ./internal/equipo/oficinaid ./internal/equipo/personapi` | PASS |
+| `go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 ./internal/equipo ./internal/equipo/chat ./internal/equipo/oficinaid ./internal/equipo/personapi` | PASS |
+| `git diff --check` | PASS |
+
+All Go commands used `GOTOOLCHAIN=go1.26.11 CGO_ENABLED=0`. The documented
+macOS limitations on whole-repository runner/toolproxy checks still apply.
+After this commit, run the committed-file reference scan, push with the
+specified ephemeral-token helper and await Linux CI. The final controller
+report records the pushed SHA and verdict. No merge or deployment is done.
diff --git a/internal/equipo/agent_access_test.go b/internal/equipo/agent_access_test.go
index 290c62f1..85958089 100644
--- a/internal/equipo/agent_access_test.go
+++ b/internal/equipo/agent_access_test.go
@@ -3,6 +3,7 @@ package equipo
import (
"bytes"
"context"
+ "database/sql"
"encoding/base64"
"encoding/json"
"errors"
@@ -21,9 +22,11 @@ import (
"amadan.net/rastrillo/rastrillo/crypto"
"amadan.net/rastrillo/rastrillo/db"
"amadan.net/rastrillo/rastrillo/dbtest"
+ "amadan.net/rastrillo/rastrillo/gormlite"
"github.com/sqids/sqids-go"
"gorm.io/gorm"
"gorm.io/gorm/logger"
+ "gorm.io/plugin/dbresolver"
)
func agentEnv(t *testing.T) map[string]string {
@@ -470,54 +473,130 @@ func TestAgentDisabledAndDirectConfig(t *testing.T) {
}
}
+// agentQueryProbe records the actual SQL across all request transactions,
+// including raw database/sql identity reads which bypass GORM callbacks.
+type agentQueryProbe struct {
+ *sql.DB
+ queries []string
+ failAt int
+ hit bool
+}
+
+type agentProbeTx struct {
+ *sql.Tx
+ probe *agentQueryProbe
+}
+
+func (p *agentQueryProbe) BeginTx(ctx context.Context, opts *sql.TxOptions) (gorm.ConnPool, error) {
+ tx, err := p.DB.BeginTx(ctx, opts)
+ if err != nil {
+ return nil, err
+ }
+ return &agentProbeTx{tx, p}, nil
+}
+
+func (p *agentQueryProbe) query(query string) string {
+ p.queries = append(p.queries, query)
+ if p.failAt == len(p.queries) {
+ p.hit = true
+ // Keep the parameters and make SQLite itself return a query error.
+ return strings.Replace(query, "SELECT ", "SELECT agent_missing_column, ", 1)
+ }
+ return query
+}
+
+func (tx *agentProbeTx) QueryContext(ctx context.Context, query string, args ...any) (*sql.Rows, error) {
+ return tx.Tx.QueryContext(ctx, tx.probe.query(query), args...)
+}
+
+func (tx *agentProbeTx) QueryRowContext(ctx context.Context, query string, args ...any) *sql.Row {
+ return tx.Tx.QueryRowContext(ctx, tx.probe.query(query), args...)
+}
+
func TestAgentReadsDoNotLogPerson(t *testing.T) {
- for _, failure := range []string{"needs-you", "membership", "read-membership"} {
- t.Run(failure, func(t *testing.T) {
+ for _, op := range []string{"equipo_projects_list", "equipo_tasks_list", "equipo_task_get", "equipo_needs_you"} {
+ t.Run(op, func(t *testing.T) {
s, cfg, home := agentFixture(t)
+ // Exercise Projects' runner lookups, which also join the roster.
+ s.chatExecution = true
+ for _, query := range []string{
+ `INSERT INTO chat_projects(id,repo,title,state,revision) VALUES('project','amadan.net/oficina/example','Example','active',1)`,
+ `INSERT INTO chat_tasks(id,project_id,title,creator,stage,revision) VALUES('task','project','Task','owner@example.com','ready_to_merge',1)`,
+ } {
+ if _, err := s.db.Writer().Exec(query); err != nil {
+ t.Fatal(err)
+ }
+ }
var logs bytes.Buffer
- s.db.G = s.db.G.Session(&gorm.Session{Logger: logger.New(log.New(&logs, "", 0), logger.Config{LogLevel: logger.Info})})
- var n int64
- if err := s.db.G.Raw("SELECT count(*) FROM members WHERE address = ?", cfg.Owners[0]).Scan(&n).Error; err != nil {
+ probe := &agentQueryProbe{DB: s.db.Writer()}
+ g, err := gorm.Open(gormlite.Dialector{Conn: probe}, &gorm.Config{Logger: logger.New(log.New(&logs, "", 0), logger.Config{LogLevel: logger.Warn})})
+ if err != nil {
t.Fatal(err)
}
- if !strings.Contains(logs.String(), cfg.Owners[0]) {
- t.Fatal("SQL capture did not include the control query's address")
+ if err = g.Use(dbresolver.Register(dbresolver.Config{Replicas: []gorm.Dialector{gormlite.Dialector{Conn: probe}}})); err != nil {
+ t.Fatal(err)
}
- logs.Reset()
- if failure == "needs-you" {
- if _, err := s.db.Writer().Exec("DROP TABLE chat_tasks"); err != nil {
- t.Fatal(err)
+ s.db.G = g
+ control := func(t *testing.T) {
+ t.Helper()
+ var n int64
+ if err := s.db.G.Raw("SELECT agent_missing_column FROM members WHERE address = ?", cfg.Owners[0]).Scan(&n).Error; err == nil {
+ t.Fatal("control query did not fail")
}
- } else {
- calls := 0
- if err := s.db.G.Callback().Query().Before("gorm:query").Register("agent_test_missing_members", func(tx *gorm.DB) {
- if tx.Statement.Table == "members" {
- calls++
- if failure == "membership" || calls == 3 {
- tx.Statement.Table = "missing_members"
- }
- }
- }); err != nil {
- t.Fatal(err)
+ if !strings.Contains(logs.String(), cfg.Owners[0]) {
+ t.Fatal("shared logger did not capture control address")
}
+ logs.Reset()
}
+ control(t)
p := access.Principal{Subject: "pr_aaaaaaaaaaaaaaaaaaaaaaaaaa", Grant: "grant", Teams: []string{cfg.AgentTeam}, Scopes: []string{"equipo:read"}}
h, err := newEquipoAgent(s, cfg, home, access.VerifyFunc(func(context.Context, string) (access.Principal, error) { return p, nil }))
if err != nil {
t.Fatal(err)
}
- w := agentRequest(h, "POST", "/api/v1/operations/equipo_needs_you", `{"team":"`+cfg.AgentTeam+`"}`, "valid")
- if w.Code != 503 {
- t.Fatalf("query failure: %d %s", w.Code, w.Body)
+ body := `{"team":"` + cfg.AgentTeam + `"}`
+ if op == "equipo_task_get" {
+ body = `{"team":"` + cfg.AgentTeam + `","id":"task"}`
}
- if strings.Contains(logs.String(), cfg.Owners[0]) {
- t.Fatalf("person reached SQL logs: %s", &logs)
+ request := func() *httptest.ResponseRecorder {
+ return agentRequest(h, "POST", "/api/v1/operations/"+op, body, "valid")
}
- if err := s.db.G.Raw("SELECT count(*) FROM members WHERE address = ?", cfg.Owners[0]).Scan(&n).Error; err != nil {
- t.Fatal(err)
+ if w := request(); w.Code != 200 {
+ t.Fatal(w.Code, w.Body)
}
- if !strings.Contains(logs.String(), cfg.Owners[0]) {
- t.Fatal("agent read changed the shared database logger")
+ queries := append([]string(nil), probe.queries...)
+ // Each operation must resolve Home, the local account, and the
+ // roster at request authentication, invocation, and application read.
+ for _, table := range []string{"home_identity_links", "equipo_id_accounts", "FROM `members`"} {
+ count := 0
+ for _, query := range queries {
+ if strings.Contains(query, table) {
+ count++
+ }
+ }
+ if count != 3 {
+ t.Fatalf("%s: got %d lookups, want 3", table, count)
+ }
+ }
+ for i, query := range queries {
+ t.Run(fmt.Sprintf("query-%02d", i+1), func(t *testing.T) {
+ probe.queries, probe.failAt, probe.hit = nil, i+1, false
+ logs.Reset()
+ w := request()
+ want := 503
+ if strings.Contains(query, "home_identity_links") || strings.Contains(query, "equipo_id_accounts") {
+ want = 403
+ }
+ if !probe.hit || w.Code != want {
+ t.Fatalf("forced query %s: hit=%v, status=%d, want=%d, body=%s", query, probe.hit, w.Code, want, w.Body)
+ }
+ for _, secret := range []string{cfg.Owners[0], p.Subject} {
+ if strings.Contains(logs.String(), secret) {
+ t.Fatalf("person reached SQL logs: %s", &logs)
+ }
+ }
+ control(t)
+ })
}
})
}
diff --git a/internal/equipo/chat/store.go b/internal/equipo/chat/store.go
index 8f07bb13..3acf58ba 100644
--- a/internal/equipo/chat/store.go
+++ b/internal/equipo/chat/store.go
@@ -151,7 +151,7 @@ func newID(prefix string) string { return prefix + strings.ToLower(rand.Text())
// it touched after commit.
func (s *Store) tx(ctx context.Context, fn func(*txn) error) error {
t := &txn{s: s, ctx: ctx, touched: map[string]bool{}}
- err := s.db.G.WithContext(ctx).Clauses(dbresolver.Write).Transaction(func(tx *gorm.DB) error {
+ err := s.transactionSession(ctx).Transaction(func(tx *gorm.DB) error {
t.db = tx
return fn(t)
})
@@ -188,12 +188,17 @@ func WithPrivateReads(ctx context.Context) context.Context {
return context.WithValue(ctx, privateReadsKey{}, true)
}
-func (s *Store) read(ctx context.Context, fn func(*gorm.DB) error) error {
+// transactionSession applies request SQL privacy to both read and tx paths.
+func (s *Store) transactionSession(ctx context.Context) *gorm.DB {
g := s.db.G.WithContext(ctx)
if private, _ := ctx.Value(privateReadsKey{}).(bool); private {
g = g.Session(&gorm.Session{Logger: logger.Discard})
}
- return g.Clauses(dbresolver.Write).Transaction(fn)
+ return g.Clauses(dbresolver.Write)
+}
+
+func (s *Store) read(ctx context.Context, fn func(*gorm.DB) error) error {
+ return s.transactionSession(ctx).Transaction(fn)
}
type txn struct {