oficina / equipo Public

Use reviewed API copy for preview errors

Paul Campbell pushed by claude agent, operated by paul@keymail.dev 7bd80b29f74220bdd6cde23d83a21bf7be6a9b61 parent e8da133
13 files changed, +109 −49
  • .rastrillo/budgets.txt +1 −1
  • docs/superpowers/plans/CONTROLLER-REPORT-preview-pass.md +18 −7
  • internal/equipo/api_copy_scan_test.go +0 −19
  • internal/equipo/api_copy_test.go +2 −7
  • internal/equipo/copy.go +2 −0
  • internal/equipo/personapi/handler.go +0 −4
  • internal/equipo/personapi/preview_error_test.go +29 −0
  • native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings +24 −0
  • native/apple/Sources/EquipoKit/Preview/PreviewPresentation.swift +4 −4
  • native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings +24 −0
  • native/apple/Tests/EquipoKitTests/PreviewPassTests.swift +2 −2
  • native/scripts/check-strings.py +1 −1
  • native/scripts/strings.json +2 −4

CI failed — run details

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

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

receipt: test step 1m15.996s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m14.036s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m14.04s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 54.25, cpu waiting 36.69%, memory waiting 0.00%, io waiting 0.72%
--- 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 1m15.829s 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.862s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m13.86s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 54.25, cpu waiting 36.69%, memory waiting 0.00%, io waiting 0.72%
--- shard 2 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-connections: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$' ./internal/headless

receipt: test step 1m16.487s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m14.424s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m4.95s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.08s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.38s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 54.25, cpu waiting 36.69%, memory waiting 0.00%, io waiting 0.72%
--- shard 3 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-mac: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$' ./internal/headless

receipt: test step 1m13.822s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m12.136s amadan.net/oficina/equipo/internal/headless
receipt: slow test 35.59s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 18.89s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.87s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
receipt: slow test 8.79s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
machine: 32 CPUs, load 54.25, cpu waiting 36.68%, memory waiting 0.00%, io waiting 0.75%
--- shard 4 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-guards: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_step_refused$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless

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

receipt: test step 2m43.677s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 2m41.744s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m35.7s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 18.72s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.82s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 6.64s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
receipt: slow test 6.63s amadan.net/oficina/equipo/internal/headless TestHeadlessBatchAfterRefusedReply
machine: 32 CPUs, load 21.47, cpu waiting 12.55%, memory waiting 0.00%, io waiting 0.16%
--- shard 6 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane thintest: ./internal/thintest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test([^C]|C[^o]|Co[^n]|Con[^t])|^TestContract(Assistant|Outcome|Team|Handoff|HostAllowlist|HostIsPerPerson|Look|Use[A-Z]|RemoteCall|LanesRunAtOnce|NoMergeQuestionWhenGateMerges|PreviewHeldUntilPublishAnswer|PreviewNotHeldBelow19|PublishNeedsOwnerAnswer)' ./internal/thintest

receipt: test step 2m10.282s 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 2m8.528s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.65s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.76s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.05s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 3.77s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 2.71s amadan.net/oficina/equipo/internal/thintest TestContractTeamUpdatePersonNeeds
machine: 32 CPUs, load 34.41, cpu waiting 21.24%, memory waiting 0.00%, io waiting 0.28%
--- 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 1m40.596s 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 1m38.464s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.1s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.01s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.57s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 3.02s amadan.net/oficina/equipo/internal/thintest TestContractPausedJob
receipt: slow test 2.39s amadan.net/oficina/equipo/internal/thintest TestContractRetryFailedPreviewAfterMerge
machine: 32 CPUs, load 49.73, cpu waiting 34.82%, memory waiting 0.00%, io waiting 0.48%
--- 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 4m46.493s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 5m0.569s 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 4m46.493s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 37.02s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.93s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.83s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.49s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 6.97s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 3.47, cpu waiting 1.30%, memory waiting 0.00%, io waiting 0.01%
--- shard 9 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-bug: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

receipt: test step 51.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 50.59s amadan.net/oficina/equipo/internal/runner
receipt: slow test 30.56s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.03s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 46.11, cpu waiting 31.59%, memory waiting 0.00%, io waiting 1.08%
--- 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 1m1.014s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 58.915s amadan.net/oficina/equipo/internal/runner
receipt: slow test 48.9s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 44.77s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.4s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.6s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 51.51, cpu waiting 36.05%, memory waiting 0.00%, io waiting 0.92%
--- 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.951s 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.916s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.14s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.33s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.13s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.45s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.62s amadan.net/oficina/equipo/internal/runner TestCoordinatorTransientRefusalKeepsServing
machine: 32 CPUs, load 34.67, cpu waiting 20.20%, memory waiting 0.00%, io waiting 1.42%
--- 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 41.2%, load 27.94
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 1m8.608s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m6.719s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 28.34s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 28.32s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 25.98s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 23.25s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 23.14s amadan.net/oficina/equipo/internal/equipotest TestAuthorityGrantReferences
machine: 32 CPUs, load 49.73, cpu waiting 34.82%, memory waiting 0.00%, io waiting 0.48%
--- shard 13 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-e started 30s late; cpu waiting 41.2%, load 27.94
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 1m18.497s 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 1m16.837s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 20.42s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 20.42s amadan.net/oficina/equipo/internal/equipotest TestProjectsSharedAndGrouped
receipt: slow test 20.38s amadan.net/oficina/equipo/internal/equipotest TestProjectsAccountRevisionAndValidation
receipt: slow test 20.33s amadan.net/oficina/equipo/internal/equipotest TestProjectRetryAndRevision
receipt: slow test 20.33s amadan.net/oficina/equipo/internal/equipotest TestProjectBindingUniqueness
machine: 32 CPUs, load 43.92, cpu waiting 29.96%, memory waiting 0.00%, io waiting 0.41%
--- 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 41.2%, load 27.94
test lane equipotest-r: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestR' ./internal/equipotest

receipt: test step 1m15.463s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m10.273s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 15.84s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.64s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.44s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 10.43s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 7.5s amadan.net/oficina/equipo/internal/equipotest TestRosterAuditFailureRollsBack
machine: 32 CPUs, load 46.87, cpu waiting 31.89%, memory waiting 0.00%, io waiting 0.43%
--- 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 41.2%, load 27.94
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 1m9.262s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m7.517s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 25.59s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 25.48s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 25.38s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 23.57s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsConcurrentRevision
receipt: slow test 23.57s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
machine: 32 CPUs, load 49.73, cpu waiting 34.82%, memory waiting 0.00%, io waiting 0.48%
--- 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 41.2%, load 27.94
test lane plan3test: ./internal/plan3test
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./internal/plan3test
--- FAIL amadan.net/oficina/equipo/internal/plan3test TestPlan3ReleaseBoundaries
=== RUN   TestPlan3ReleaseBoundaries
--- FAIL: TestPlan3ReleaseBoundaries (0.36s)

--- FAIL amadan.net/oficina/equipo/internal/plan3test TestPlan3ReleaseBoundaries/inventory
=== RUN   TestPlan3ReleaseBoundaries/inventory
    plan3_release_test.go:22: pending copy omitted or changed in review inventory api.preview_changed
--- FAIL: TestPlan3ReleaseBoundaries/inventory (0.04s)

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


receipt: test step 54.317s 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 52.548s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.8s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.47s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.57s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.54s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.28s amadan.net/oficina/equipo/internal/plan3test TestInviteMigration
rastrillo: budget test: go test failed
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestPlan3ReleaseBoundaries$/^inventory$' -count=1 ./internal/plan3test   (retry, once)
FAILED TWICE ./internal/plan3test:TestPlan3ReleaseBoundaries/inventory plan3test
=== RUN   TestPlan3ReleaseBoundaries
=== RUN   TestPlan3ReleaseBoundaries/inventory
    plan3_release_test.go:22: pending copy omitted or changed in review inventory api.preview_changed
--- FAIL: TestPlan3ReleaseBoundaries (0.04s)
    --- FAIL: TestPlan3ReleaseBoundaries/inventory (0.04s)
FAIL
rastrillo-budget/v1 ran 40ms
FAIL	amadan.net/oficina/equipo/internal/plan3test	0.237s
FAIL
machine: 32 CPUs, load 53.79, cpu waiting 36.65%, memory waiting 0.00%, io waiting 0.61%
make: *** [Makefile:113: ci-shard] Error 1

amadan: step check shard 16 of 29 failed: exit status 2
--- shard 17 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: rest started 30s late; cpu waiting 41.2%, load 27.94
test lane rest: ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/door ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/claude/realcli ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/forgekey ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/door ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/pause ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/claude/realcli ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/forgekey ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/chatmarkdown: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/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/runner/provider/claude/realcli: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runnerproto: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/testci: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
budget note: internal/equipo took 1m38.626s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 24.074s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/idtest took 1m59.505s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 23.057s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/runner/containment took 49.068s, over the 15s its record on line 40 allows; reported only, timing fails on CI
budget note: internal/runner/provider/claude/realcli took 10.975s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 2m31.66s against a 60s target (the gate's other steps are not in this figure)
receipt: 23 packages ran, 43 cached, 17 without tests, 0 failed
receipt: slow package 1m59.505s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 1m38.626s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 1m5.887s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 53.163s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 51.357s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow test 57.49s amadan.net/oficina/equipo/internal/idtest TestDoorRemembersOficinaID
receipt: slow test 49.92s amadan.net/oficina/equipo/internal/idtest TestDoorForgetsOficinaIDForARefusedSession
receipt: slow test 49.65s amadan.net/oficina/equipo/internal/idtest TestDoorStepUpIsLocal
receipt: slow test 49.62s amadan.net/oficina/equipo/internal/idtest TestDoorOficinaSettingsUnreadableIsNoLoop
receipt: slow test 48.61s amadan.net/oficina/equipo/internal/idtest TestDoorNeverJudgesANativeSession
machine: 32 CPUs, load 17.23, cpu waiting 9.00%, memory waiting 0.00%, io waiting 0.11%
--- shard 18 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-chat: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' ./internal/headless

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

receipt: test step 1m29.145s 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.612s amadan.net/oficina/equipo/internal/headless
receipt: slow test 26.81s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 20.8s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 12.92s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 9.28s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 9.25s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 52.13, cpu waiting 36.83%, memory waiting 0.00%, io waiting 0.55%
--- shard 20 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-connections: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless

receipt: test step 1m52.294s 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 1m50.71s amadan.net/oficina/equipo/internal/headless
receipt: slow test 13.4s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 13.18s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 12.64s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 11.43s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsSignInEmail
receipt: slow test 11.03s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
machine: 32 CPUs, load 41.28, cpu waiting 28.10%, memory waiting 0.00%, io waiting 0.38%
--- shard 21 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-rest: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInEmail|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
=== RUN   TestBrowserThinkingAndCards
time=2026-11-26T12:43:54.049Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-26T12:43:54.049Z level=INFO msg="startup phase done" phase=state_lock took=72µs
time=2026-11-26T12:43:54.049Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-26T12:43:54.049Z level=INFO msg="startup phase done" phase=claim_roots took=87µs
time=2026-11-26T12:43:54.049Z level=INFO msg="startup phase" phase=sweep
time=2026-11-26T12:43:54.081Z level=INFO msg="startup phase done" phase=sweep took=31.469ms
time=2026-11-26T12:43:54.081Z level=INFO msg="startup phase" phase=credentials
time=2026-11-26T12:43:54.081Z level=INFO msg="startup phase done" phase=credentials took=173µs
time=2026-11-26T12:43:54.081Z level=INFO msg="startup phase" phase=open_state
time=2026-11-26T12:43:54.124Z level=INFO msg="startup phase done" phase=open_state took=42.549ms
time=2026-11-26T12:43:54.125Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-26T12:43:54.126Z level=INFO msg=connecting host=127.0.0.1:33371 protocol=31
time=2026-11-26T12:43:54.127Z level=INFO msg=connected host=127.0.0.1:33371 took=1.066ms
time=2026-11-26T12:43:54.127Z level=INFO msg="capabilities gathering"
time=2026-11-26T12:43:54.128Z level=INFO msg="capabilities gathered" took=684µs tags=linux,claude,go
time=2026-11-26T12:43:54.129Z level=INFO msg="hello sent" protocol=31
time=2026-11-26T12:43:54.134Z level=INFO msg=welcome protocol=31 role=primary generation=1
time=2026-11-26T12:43:55.103Z 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 (7.03s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m21.311s
FAIL	amadan.net/oficina/equipo/internal/headless	81.536s


receipt: test step 1m22.938s 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 1m21.311s amadan.net/oficina/equipo/internal/headless
receipt: slow test 11.25s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.23s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 9.13s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 7.64s amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
receipt: slow test 7.36s amadan.net/oficina/equipo/internal/headless TestBrowserNotebookLook
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInEmail|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' -v -run '^TestBrowserThinkingAndCards$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserThinkingAndCards browser-headless-rest 7bd80b29f74220bdd6cde23d83a21bf7be6a9b61 7.03s 53.79
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 49.73, cpu waiting 34.82%, memory waiting 0.00%, io waiting 0.48%
--- shard 22 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-rest: ./internal/equipo
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserPreviewBlocksNavigation|TestBrowserPreviewPassExchange)$' ./internal/equipo

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

receipt: test step 12.312s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 10.795s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 8.58s amadan.net/oficina/equipo/internal/idtest TestBrowserSmartDoor
receipt: slow test 2.21s 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.752s 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.127s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 2.13s amadan.net/oficina/equipo/internal/plan3test TestTeamsHierarchyBrowser
browser lane browser-rest: ./internal/thintest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAccessEmojiByline|TestBrowserAccessFinalOutcomes|TestBrowserAccessRequest|TestBrowserAccessReview|TestBrowserActivitySubjects|TestBrowserAutonomySettings|TestBrowserCoordinatorQueue|TestBrowserEmptyConversation|TestBrowserEndedNoteStaysGone|TestBrowserHousekeeping|TestBrowserInnerGallery|TestBrowserInnerScreens|TestBrowserInstantThinking|TestBrowserInstantThinkingQueued|TestBrowserMachines|TestBrowserPausedWork|TestBrowserPhoneIndex|TestBrowserPlacementQuestionAndPending|TestBrowserProjectPlacement|TestBrowserProjectsList|TestBrowserReportActionFeedback|TestBrowserReportNextSteps|TestBrowserReportThread|TestBrowserRhythm|TestBrowserRollup|TestBrowserRosterAlignment|TestBrowserRosterDecisionStates|TestBrowserRosterQuietDay|TestBrowserRosterReports|TestBrowserRosterSetAside|TestBrowserRosterSubchat|TestBrowserRosterThinking|TestBrowserRosterVisual|TestBrowserSettingsHousekeepingGroups|TestBrowserSettingsMenu|TestBrowserSettingsRail|TestBrowserSettingsSaveBar|TestBrowserSettingsShots|TestBrowserSettingsStayOnPage|TestBrowserSettingsTeams|TestBrowserShipsButtons|TestBrowserSpecialistRows|TestBrowserSpendFollowsAnswers|TestBrowserTaskRows|TestBrowserTeamPanel|TestBrowserThinkingCycles|TestBrowserThinkingLinesClear|TestBrowserThinkingSteady|TestBrowserThinkingWords|TestBrowserTokenRowEmail|TestBrowserTrackPulse|TestBrowserTrackStarCentre|TestBrowserTryAgain)$' ./internal/thintest

receipt: test step 3m37.316s 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 3m35.577s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 23.25s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.44s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.06s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.7s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.19s amadan.net/oficina/equipo/internal/thintest TestBrowserRhythm
machine: 32 CPUs, load 7.50, cpu waiting 3.54%, 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   (52s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 4.80s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.29s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 8.29s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 8.78s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 26.37s
+ 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   (61s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 21.66s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 11.48s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 9.99s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 15.93s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (21s)
ok ./internal/headless TestMixedVersions 19.07s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.77s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (1s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.05s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 51.51, cpu waiting 36.05%, memory waiting 0.00%, io waiting 0.92%
--- 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.789s against a 60s target (the gate's other steps are not in this figure)
receipt: 4 packages ran, 0 cached, 4 without tests, 0 failed
receipt: slow package 7.629s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 183ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 95ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 3ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 3ms amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow test 5.44s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.7s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 370ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 180ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxToolchain
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run '^TestNamespace' -count=1 ./internal/runner/containment
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run '^TestNamespace' -count=1 ./internal/runner/containment

receipt: test step 3.521s 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.157s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 310ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 200ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 130ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceExitStatus
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
machine: 32 CPUs, load 18.67, cpu waiting 8.33%, memory waiting 0.00%, io waiting 1.98%
--- 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 43.0%, load 27.94
shard 25: make runner-dead-references lanes-check build vet fmt-check spacing budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2820 text files, 3228 matches, 0 failures
python3 scripts/ci-test.py check
lanes: 18 lanes and 5 browser lanes run every test once; 20-check@29
CGO_ENABLED=0 go build ./...
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o /dev/null ./cmd/equipo-runner
go vet ./...
go vet -tags testbuild ./internal/runner/thin ./internal/headless
GOOS=darwin GOARCH=arm64 go vet ./cmd/equipo-runner/... ./internal/runner/... ./internal/wire/... ./internal/release/...
go tool fiesta spacing -skip tokens.css internal/equipo/static
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size
budget size: 92 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.536s
machine: 32 CPUs, load 52.79, cpu waiting 36.48%, memory waiting 0.00%, io waiting 0.80%
--- 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 43.0%, load 27.94
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 42.46, cpu waiting 27.63%, memory waiting 0.00%, io waiting 1.20%
--- 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 41.2%, load 27.94
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 10
vulnerabilities in modules you require, but your code doesn't appear to call
these vulnerabilities.
Use '-show verbose' for more details.
machine: 32 CPUs, load 39.02, cpu waiting 22.06%, memory waiting 0.00%, io waiting 1.37%
--- 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 41.2%, load 27.94
shard 28: make gitleaks
12:44PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
12:44PM INF 1185 commits scanned.
12:44PM INF scanned ~66894328 bytes (66.89 MB) in 22s
12:44PM INF no leaks found
machine: 32 CPUs, load 46.11, cpu waiting 31.59%, memory waiting 0.00%, io waiting 1.08%

amadan: job failed at step check shard 16 of 29 — its output is above, not at the tail of this log
diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt
index 93e66678..9c0e16f3 100644
--- a/.rastrillo/budgets.txt
+++ b/.rastrillo/budgets.txt
@@ -14,7 +14,7 @@ perf GET /* skip Unknown private paths render 404; this fallback contains no scr
time internal/equipo/team 60s Plan 3 loaded CI measured 45.985s; niced serial reruns measured 18.079s and 22.031s. Keep migration, recovery, accounting and concurrency assertions; 60s leaves 30 percent headroom above loaded CI.
time internal/equipotest 300s Final fix package rerun measured 187.035s (review 172.4s); 300s gives 60 percent headroom for HTTP, sandbox, authority and final regression coverage.
-size internal/equipo 23212 - Native preview pass issuance, bound wrapper grants, Retry/timeline and honest no-access merge copy; measured 23212 source lines (2026-11-26).
+size internal/equipo 23214 - Native preview pass issuance, bound wrapper grants, Retry/timeline and honest no-access merge copy; measured 23214 source lines (2026-11-26).
size internal/wire 7199 - Protocol 31 display facts, shared path validation, native task evidence fields and merge credential reasons; measured 7199 source lines (2026-11-26).
size internal/equipotest - 12017 Task 21 repairs historical migration and conversation fixtures after Plan 3, and the Rastrillo upgrade contract comparing served assets with what Assets serves; measured 0/12017 source/test lines.
time internal/runner/checks 90s CI worker measured 44.553s (44.6s rounded);
diff --git a/docs/superpowers/plans/CONTROLLER-REPORT-preview-pass.md b/docs/superpowers/plans/CONTROLLER-REPORT-preview-pass.md
index c0ea2c9a..289a79cd 100644
--- a/docs/superpowers/plans/CONTROLLER-REPORT-preview-pass.md
+++ b/docs/superpowers/plans/CONTROLLER-REPORT-preview-pass.md
@@ -149,12 +149,23 @@ exchange checks passed. Changed-files projection tests passed on the merge.
Linux CI at f149ba60 rejected the computed API error code in the mint handler
with TestAPIErrorCopyKeys. Reproduced locally using
`GOMAXPROCS=2 GOTOOLCHAIN=go1.26.11 CGO_ENABLED=0 go test ./internal/equipo -run '^TestAPIErrorCopyKeys$' -count=1`.
-The HTTP error branches now name their codes literally. The static scanner
-maps the two preview codes to their existing reviewed evidence/question keys,
-matching the runtime error mapper. Added TestAPIErrorCopyScanPreviewScopes;
-both cases failed with the old scanner, then passed with the explicit mappings.
-The scanner still refuses unresolved expressions. No new words were added.
-
-The source budget was remeasured at 23212 lines. The initial Linux run's
+The HTTP error branches now name their codes literally. The scanner is unchanged
+from main. The person API uses its ordinary api.<code> lookup. Luna approved
+api.preview_changed and api.preview_expired on 2026-11-26; they are marked in
+copy.go and imported byte-identically into both native catalogs under parity.
+Native errors and lifecycle expiry use these words; the wrapper retains its
+reviewed web words.
+
+TestPreviewErrorCopyKeys failed for both old runtime mappings, and the native
+staleAndExpiredWordsComeFromReviewedCatalog test failed with the old native keys.
+Both pass after switching to the approved API keys. TestAPIErrorCopyKeys failed
+without the two catalog entries, then passed. The scanner remains unchanged.
+
+The source budget was remeasured at 23214 lines. The initial Linux run's
TestContractRetryAccountActions, TestTimeouts and TestBrowserCopyContinue
failures each passed its automatic retry. The preview browser lane passed.
+
+Approved-copy validation: TestAPIErrorCopyKeys and all TestPreview tests passed
+in the app and person API packages; make copy-release-check, fmt-check and
+budget passed. The native gate passed 377 tests in 50 suites (one existing
+known issue), 336 parity strings, and both app builds.
diff --git a/internal/equipo/api_copy_scan_test.go b/internal/equipo/api_copy_scan_test.go
index 95bf2530..e4424654 100644
--- a/internal/equipo/api_copy_scan_test.go
+++ b/internal/equipo/api_copy_scan_test.go
@@ -38,25 +38,6 @@ func TestAPIErrorCopyScanEscapes(t *testing.T) {
}
}
-func TestAPIErrorCopyScanPreviewScopes(t *testing.T) {
- for _, tc := range []struct{ code, key string }{
- {"preview_changed", "evidence.candidate_changed"},
- {"preview_expired", "question.expired"},
- } {
- t.Run(tc.code, func(t *testing.T) {
- dir := t.TempDir()
- source := `package handler; func f(){ WriteError(w,r,409,"` + tc.code + `",nil) }`
- if err := os.WriteFile(filepath.Join(dir, "handler.go"), []byte(source), 0600); err != nil {
- t.Fatal(err)
- }
- keys, err := scanAPIErrorCopy(dir)
- if err != nil || len(keys) != 1 || !keys[tc.key] {
- t.Fatalf("preview copy scope: %v %v", keys, err)
- }
- })
- }
-}
-
func TestAPIErrorCopyScanRejectsUnresolvedAndIgnoresToolResults(t *testing.T) {
dir := t.TempDir()
file := filepath.Join(dir, "tools.go")
diff --git a/internal/equipo/api_copy_test.go b/internal/equipo/api_copy_test.go
index 4ed9bd7a..955a640a 100644
--- a/internal/equipo/api_copy_test.go
+++ b/internal/equipo/api_copy_test.go
@@ -160,14 +160,9 @@ func scanAPIErrorCopy(root string) (map[string]bool, error) {
return false
}
for _, code := range codes {
- switch code {
- case "subscription_expired":
+ if code == "subscription_expired" {
keys["notifications."+code] = true
- case "preview_changed":
- keys["evidence.candidate_changed"] = true
- case "preview_expired":
- keys["question.expired"] = true
- default:
+ } else {
keys["api."+code] = true
}
// These are the additional scopes of personapi.errorCopyKey. Their
diff --git a/internal/equipo/copy.go b/internal/equipo/copy.go
index fc169758..b9dbb521 100644
--- a/internal/equipo/copy.go
+++ b/internal/equipo/copy.go
@@ -2412,6 +2412,8 @@ var pageCopy = map[string]string{
"time.when_in": "%s (%s)", // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-24)
"api.not_paused": "This work is not paused now. Check its latest status.", // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-24)
"api.already_running": "A request to run this work is already in progress.", // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-24)
+ "api.preview_changed": "The change has been updated. Review it again.", // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-26)
+ "api.preview_expired": "This preview expired. Open it again.", // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-26)
"api.offer_changed": "The option to run this work has changed. Check the current option, then try again.", // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-24)
"work.pause.run_now_may_bill": "This may use a plan that bills per use.", // COPY ACCEPTED BY DELEGATION (Luna, 2026-11-24)
diff --git a/internal/equipo/personapi/handler.go b/internal/equipo/personapi/handler.go
index a7a83924..c4fde992 100644
--- a/internal/equipo/personapi/handler.go
+++ b/internal/equipo/personapi/handler.go
@@ -271,10 +271,6 @@ func errorCopyKey(r *http.Request, code string) string {
return "notifications." + code
}
switch code {
- case "preview_changed":
- return "evidence.candidate_changed"
- case "preview_expired":
- return "question.expired"
case "invalid_input", "forbidden", "revision_conflict":
switch op {
case "roster", "set_roster":
diff --git a/internal/equipo/personapi/preview_error_test.go b/internal/equipo/personapi/preview_error_test.go
new file mode 100644
index 00000000..c88ad082
--- /dev/null
+++ b/internal/equipo/personapi/preview_error_test.go
@@ -0,0 +1,29 @@
+package personapi
+
+import (
+ "encoding/json"
+ "net/http/httptest"
+ "testing"
+)
+
+func TestPreviewErrorCopyKeys(t *testing.T) {
+ for _, tc := range []struct {
+ code, key string
+ status int
+ }{
+ {"preview_changed", "api.preview_changed", 409},
+ {"preview_expired", "api.preview_expired", 410},
+ } {
+ t.Run(tc.code, func(t *testing.T) {
+ w := httptest.NewRecorder()
+ WriteError(w, httptest.NewRequest("POST", "/api/v1/tasks/task/preview-pass", nil), tc.status, tc.code, nil)
+ var got Error
+ if err := json.Unmarshal(w.Body.Bytes(), &got); err != nil {
+ t.Fatal(err)
+ }
+ if w.Code != tc.status || got.Code != tc.code || got.CopyKey != tc.key {
+ t.Fatalf("preview error: status %d, %+v", w.Code, got)
+ }
+ })
+ }
+}
diff --git a/native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings b/native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings
index 9a517d30..54f43c02 100644
--- a/native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings
+++ b/native/apple/Sources/EquipoActivity/Resources/Localizable.xcstrings
@@ -365,6 +365,30 @@
}
}
},
+ "api.preview_changed": {
+ "comment": "COPY APPROVED: Luna, 2026-11-26.",
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "The change has been updated. Review it again."
+ }
+ }
+ }
+ },
+ "api.preview_expired": {
+ "comment": "COPY APPROVED: Luna, 2026-11-26.",
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "This preview expired. Open it again."
+ }
+ }
+ }
+ },
"api.question_ended": {
"extractionState": "manual",
"localizations": {
diff --git a/native/apple/Sources/EquipoKit/Preview/PreviewPresentation.swift b/native/apple/Sources/EquipoKit/Preview/PreviewPresentation.swift
index 1209be76..8b946120 100644
--- a/native/apple/Sources/EquipoKit/Preview/PreviewPresentation.swift
+++ b/native/apple/Sources/EquipoKit/Preview/PreviewPresentation.swift
@@ -75,9 +75,9 @@ import Observation
guard valid, generation == operation else { return }
busy = false
if let error = error as? EquipoAPIError, error.code == "preview_changed" {
- failure = EquipoStrings.text("evidence.candidate_changed")
+ failure = EquipoStrings.text("api.preview_changed")
} else if let error = error as? EquipoAPIError, error.code == "preview_expired" {
- failure = EquipoStrings.text("question.expired")
+ failure = EquipoStrings.text("api.preview_expired")
} else { failure = StoppedWorkActions.logFailure(error) }
}
}
@@ -90,11 +90,11 @@ import Observation
func checkExpiry(now: Date = Date()) {
if let page, now >= page.expiry { expire() }
}
- private func expire() { dismiss(); failure = EquipoStrings.text("question.expired") }
+ private func expire() { dismiss(); failure = EquipoStrings.text("api.preview_expired") }
func observe(_ tasks: [ThinTask]) {
guard let page, let task = tasks.first(where: { $0.id == page.binding.taskID }) else { return }
if Binding(task) != page.binding {
- dismiss(); failure = EquipoStrings.text("evidence.candidate_changed")
+ dismiss(); failure = EquipoStrings.text("api.preview_changed")
}
}
func foreground(client: EquipoClient, now: Date = Date()) async {
diff --git a/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings b/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings
index 9a517d30..54f43c02 100644
--- a/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings
+++ b/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings
@@ -365,6 +365,30 @@
}
}
},
+ "api.preview_changed": {
+ "comment": "COPY APPROVED: Luna, 2026-11-26.",
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "The change has been updated. Review it again."
+ }
+ }
+ }
+ },
+ "api.preview_expired": {
+ "comment": "COPY APPROVED: Luna, 2026-11-26.",
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "This preview expired. Open it again."
+ }
+ }
+ }
+ },
"api.question_ended": {
"extractionState": "manual",
"localizations": {
diff --git a/native/apple/Tests/EquipoKitTests/PreviewPassTests.swift b/native/apple/Tests/EquipoKitTests/PreviewPassTests.swift
index 42a910a4..7e4fa920 100644
--- a/native/apple/Tests/EquipoKitTests/PreviewPassTests.swift
+++ b/native/apple/Tests/EquipoKitTests/PreviewPassTests.swift
@@ -81,7 +81,7 @@ import Testing
}
}
@Test func staleAndExpiredWordsComeFromReviewedCatalog() async throws {
- for (status, code, key) in [(409, "preview_changed", "evidence.candidate_changed"), (410, "preview_expired", "question.expired")] {
+ for (status, code, key) in [(409, "preview_changed", "api.preview_changed"), (410, "preview_expired", "api.preview_expired")] {
let server = ScriptedTransport(), model = PreviewPresentation(elapsedSince: { _ in 0 }, makeBrowser: { _, _ in FakePreviewBrowser() })
let task = try Self.task()
server.on("POST /tasks/\(task.id)/preview-pass", .success(APIResponse(status: status, data: Data("{\"code\":\"\(code)\",\"copy_key\":\"\(key)\",\"request_id\":\"r\"}".utf8))))
@@ -163,7 +163,7 @@ import Testing
await model.foreground(client: client, now: PreviewPassTests.now.addingTimeInterval(900))
#expect(model.page == nil); #expect(browser.closed == 1)
#expect(server.sent("GET /tasks/tk_preview").isEmpty)
- #expect(model.failure == EquipoStrings.text("question.expired"))
+ #expect(model.failure == EquipoStrings.text("api.preview_expired"))
}
@Test func foregroundRefusesChangedOrRevokedTask() async throws {
for revoked in [false, true] {
diff --git a/native/scripts/check-strings.py b/native/scripts/check-strings.py
index dfdd26d7..b8a05da1 100755
--- a/native/scripts/check-strings.py
+++ b/native/scripts/check-strings.py
@@ -18,7 +18,7 @@ plurals = json.loads((native / 'scripts/plurals.json').read_text())
def catalog():
return {'sourceLanguage': 'en', 'version': '1.0', 'strings': {
- k: {**({'comment': 'COPY APPROVED: Luna, 2026-11-26.'} if k.startswith('native.changes.') else {}), 'extractionState': 'manual', 'localizations': {'en': plurals.get(k, {'stringUnit': {'state': 'translated', 'value': v}})}}
+ k: {**({'comment': 'COPY APPROVED: Luna, 2026-11-26.'} if k.startswith('native.changes.') or k in ('api.preview_changed', 'api.preview_expired') else {}), 'extractionState': 'manual', 'localizations': {'en': plurals.get(k, {'stringUnit': {'state': 'translated', 'value': v}})}}
for k, v in sorted(source.items())}}
def used_keys():
diff --git a/native/scripts/strings.json b/native/scripts/strings.json
index 863faad6..089e4f38 100644
--- a/native/scripts/strings.json
+++ b/native/scripts/strings.json
@@ -409,7 +409,6 @@
"work.reason.account_unavailable": "no model account was ready",
"work.reason.amadan_ci_failed": "Amadan's own CI did not pass",
"work.reason.amadan_ci_pending": "Amadan's own CI had not finished",
- "work.reason.amadan_unreachable": "Amadan could not be reached to confirm Equipo may merge here",
"work.reason.base_checks_failed": "the base version's checks failed",
"work.reason.base_gate_unavailable": "the check files from the base version could not be loaded",
"work.reason.branch_moved": "the branch moved on Amadan",
@@ -425,7 +424,6 @@
"work.reason.limited": "its model account reached its limit",
"work.reason.machine_removed": "the machine was removed mid-step",
"work.reason.merge_conflict": "it conflicts with the default branch",
- "work.reason.merge_credential": "the runner has no Amadan credential for this repository",
"work.reason.merge_failed": "Amadan did not merge it",
"work.reason.merge_forbidden": "Equipo may not merge in this repository",
"work.reason.merge_not_authorized": "my rules require me to ask before merging",
@@ -505,6 +503,6 @@
"native.needs.merged_at": "Merged into %1$@ at %2$@",
"evidence.candidate_changed": "The change has been updated. Review it again.",
"question.expired": "Expired",
- "work.reason.merge_credential": "the runner has no Amadan credential for this repository",
- "work.reason.amadan_unreachable": "Amadan could not be reached to confirm Equipo may merge here"
+ "api.preview_changed": "The change has been updated. Review it again.",
+ "api.preview_expired": "This preview expired. Open it again."
}