oficina / equipo Public

native: answer merges on the device, in the web's words

Merge and Does main ship? cards are answered on iPhone and Mac with the
server's question and choices, the web's labels, primary and outcome
lines (parity row R-02). check-parity.py fails if a native string with
a web copy key differs from copy.go. Other decisions still open the web.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 680c1ca46572c665623c17467cd63057e7ebe77c parent b1f66f0
11 files changed, +457 −14
  • native/apple/Sources/EquipoKit/Presentation/Roster.swift +61 −0
  • native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings +176 −0
  • native/apple/Sources/EquipoKit/UI/LiveCards.swift +63 −9
  • native/apple/Sources/EquipoKit/UI/Screens/ConversationScreen.swift +1 −1
  • native/apple/Sources/EquipoKit/UI/Screens/TaskScreens.swift +1 −1
  • native/apple/Sources/EquipoMac/LiveTranscript.swift +40 −1
  • native/apple/Tests/EquipoKitTests/MergeCardTests.swift +70 −0
  • native/scripts/check-native.sh +1 −0
  • native/scripts/check-parity.py +26 −0
  • native/scripts/check-strings.py +1 −1
  • native/scripts/strings.json +17 −1

CI cancelled — superseded by a newer push — run details

CI log
=== prepare ===
ci-box: machine: aarch64, 32 CPUs, 62 GiB memory, kernel 7.0.0-1017-aws
ci-box: python 3.12.3; Docker version 29.1.3, build 29.1.3-0ubuntu3~24.04.2
ci-box: user namespaces allowed: 233151
ci-box: cgroup: cgroup2fs
ci-box: disk /home/ci/work/repos/oficina__equipo/wt/native__merge-card: Type  Size Avail | ext4   96G   86G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   86G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 1.3s
ci-box: codex: fetched and verified in 3.4s
ci-box: codex-code-mode-host: fetched and verified in 1.3s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.3s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.9s
ci-box: pi: installed and verified in 7.6s
ci-box: opencode: installed and verified in 1.9s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.6s
ci-box: clone deepened in 2.9s
ci-box: file times set from content: 2723 files, 174 directories
ci-box: ready in 16.1s
=== copy ===
EQUIPO_RELEASE_COPY_CHECK=1 CGO_ENABLED=0 go test ./internal/equipotest -run '^TestReleaseCopyReviewed$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipotest	0.241s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  1.0s
+ go list -export -test -tags testbuild -f  ./...
  0.6s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  0.2s
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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m19.137s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m17.616s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m17.62s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 26.31, cpu waiting 20.18%, memory waiting 0.00%, io waiting 0.57%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m21.073s 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 1m19.538s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m19.54s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 26.31, cpu waiting 19.81%, memory waiting 0.00%, io waiting 0.55%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m21.7s 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 1m19.7s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m9.47s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.66s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.56s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 26.31, cpu waiting 19.81%, memory waiting 0.00%, io waiting 0.55%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m17.03s 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 1m15.404s amadan.net/oficina/equipo/internal/headless
receipt: slow test 36.01s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.06s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.31s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 26.60, cpu waiting 20.32%, memory waiting 0.00%, io waiting 0.59%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m34.883s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m33.182s amadan.net/oficina/equipo/internal/headless
receipt: slow test 58.58s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.51s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 9.83s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 8.55s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 5.7s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 23.93, cpu waiting 16.15%, memory waiting 0.00%, io waiting 0.43%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 3m5.662s 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 3m3.776s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m43.53s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 23.39s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.23s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 7.94s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.24s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 9.45, cpu waiting 3.62%, memory waiting 0.00%, io waiting 0.09%
--- 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 366ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 2m0.883s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 7.82s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.8s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.38s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 3.88s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 2.42s amadan.net/oficina/equipo/internal/thintest TestResearchDoneFallsBack
machine: 32 CPUs, load 1.12, cpu waiting 0.40%, memory waiting 0.00%, io waiting 2.12%
--- 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 306ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m22.798s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.09s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.23s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.41s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.37s amadan.net/oficina/equipo/internal/thintest TestContractPublishNameTaken
receipt: slow test 2.35s amadan.net/oficina/equipo/internal/thintest TestContractPreview
machine: 32 CPUs, load 1.12, cpu waiting 0.40%, memory waiting 0.00%, io waiting 2.12%
--- 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 4m28.168s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 4m41.036s 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 4m28.168s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 36.98s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.9s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.79s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.48s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 6.87s amadan.net/oficina/equipo/internal/runner/thin TestOpenCodeStepsRealOpenCode
machine: 32 CPUs, load 2.56, cpu waiting 0.72%, 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 47.143s 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 46.097s amadan.net/oficina/equipo/internal/runner
receipt: slow test 26.07s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 24.81, cpu waiting 20.02%, memory waiting 0.00%, io waiting 0.98%
--- 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 46.413s 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 44.552s amadan.net/oficina/equipo/internal/runner
receipt: slow test 34.58s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 30.82s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.37s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.58s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 24.81, cpu waiting 20.02%, memory waiting 0.00%, io waiting 0.98%
--- 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 34.513s 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 33.626s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.12s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.46s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.13s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 1.81s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 22.03, cpu waiting 14.36%, memory waiting 0.00%, io waiting 1.20%
--- 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 26.9%, load 17.42
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
cache miss: amadan.net/oficina/equipo/internal/equipotest: its inputs changed

receipt: test step 1m4.619s 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 1m2.835s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 27.11s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 27.02s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 25.11s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 22.56s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 22.43s amadan.net/oficina/equipo/internal/equipotest TestAuthoritySnapshotChanges
machine: 32 CPUs, load 23.93, cpu waiting 16.15%, memory waiting 0.00%, io waiting 0.43%
--- 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 26.9%, load 17.42
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 401ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m14.081s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 19.43s amadan.net/oficina/equipo/internal/equipotest TestProjectsSharedAndGrouped
receipt: slow test 19.43s amadan.net/oficina/equipo/internal/equipotest TestProjectRejectsUnsafeBinding
receipt: slow test 19.41s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 19.38s amadan.net/oficina/equipo/internal/equipotest TestProjectOwnersAreMembers
receipt: slow test 19.3s amadan.net/oficina/equipo/internal/equipotest TestProjectKindsAndDefaultBranch
machine: 32 CPUs, load 17.42, cpu waiting 11.63%, memory waiting 0.00%, io waiting 1.28%
--- shard 14 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-r started 30s late; cpu waiting 26.9%, load 17.42
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
cache miss: amadan.net/oficina/equipo/internal/equipotest: its inputs changed

receipt: test step 1m14.402s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m3.337s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 15.12s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 12.72s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 9.66s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 9.63s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 6.6s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 20.64, cpu waiting 14.14%, memory waiting 0.00%, io waiting 0.38%
--- 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 26.9%, load 17.42
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 513ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m6.433s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 25.51s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 24.68s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 24.62s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 22.72s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedOnce
receipt: slow test 22.66s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsRollbackAndUnavailable
machine: 32 CPUs, load 17.42, cpu waiting 11.63%, memory waiting 0.00%, io waiting 1.28%
--- 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 26.9%, load 17.42
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 590ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 47.181s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.5s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.44s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.42s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.32s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.18s amadan.net/oficina/equipo/internal/plan3test TestPlanMigrationUpgrade
machine: 32 CPUs, load 17.42, cpu waiting 11.63%, memory waiting 0.00%, io waiting 1.28%
--- 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 26.9%, load 17.42
test lane rest: ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/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/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/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/codex: 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
budget note: internal/equipo took 25.955s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/chat took 13.726s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/setup took 10.311s, 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 47.583s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/release took 22.788s, 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 38.994s, over the 15s its record on line 40 allows; reported only, timing fails on CI

receipt: test step 2m14.067s against a 60s target (the gate's other steps are not in this figure)
receipt: 11 packages ran, 49 cached, 18 without tests, 0 failed
receipt: slow package 52.334s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 51.335s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 47.583s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 38.994s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow package 36.305s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow test 30.51s amadan.net/oficina/equipo/cmd/equipo-runner TestReleaseRunnerHasNoFakeWorker
receipt: slow test 21.23s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 15.95s amadan.net/oficina/equipo/internal/idtest TestIDCallbackGuardAndPendingNonce
receipt: slow test 14.94s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 9.18s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringMissingModuleCache
machine: 32 CPUs, load 9.96, cpu waiting 5.05%, memory waiting 0.00%, io waiting 0.13%
--- shard 18 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-chat: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m21.544s 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 1m20.156s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.29s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 15.15s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 10.13s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.58s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 5.86s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 25.16, cpu waiting 19.33%, memory waiting 0.00%, io waiting 0.53%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m29.875s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m28.32s amadan.net/oficina/equipo/internal/headless
receipt: slow test 25.23s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 22.16s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 13.89s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 9.88s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 7.6s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 25.15, cpu waiting 17.23%, memory waiting 0.00%, io waiting 0.47%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m39.008s 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 1m37.384s amadan.net/oficina/equipo/internal/headless
receipt: slow test 13.51s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 13.01s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 12.86s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 10.21s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.12s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 22.26, cpu waiting 15.11%, memory waiting 0.00%, io waiting 0.41%
--- shard 21 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-rest: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-20T05:43:47.485Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-20T05:43:47.485Z level=INFO msg="startup phase done" phase=state_lock took=64µs
time=2026-11-20T05:43:47.485Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-20T05:43:47.485Z level=INFO msg="startup phase done" phase=claim_roots took=83µs
time=2026-11-20T05:43:47.485Z level=INFO msg="startup phase" phase=sweep
time=2026-11-20T05:43:47.515Z level=INFO msg="startup phase done" phase=sweep took=29.494ms
time=2026-11-20T05:43:47.515Z level=INFO msg="startup phase" phase=credentials
time=2026-11-20T05:43:47.515Z level=INFO msg="startup phase done" phase=credentials took=124µs
time=2026-11-20T05:43:47.515Z level=INFO msg="startup phase" phase=open_state
time=2026-11-20T05:43:47.556Z level=INFO msg="startup phase done" phase=open_state took=41.242ms
time=2026-11-20T05:43:47.557Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-20T05:43:47.559Z level=INFO msg=connecting host=127.0.0.1:39433 protocol=28
time=2026-11-20T05:43:47.560Z level=INFO msg=connected host=127.0.0.1:39433 took=995µs
time=2026-11-20T05:43:47.560Z level=INFO msg="capabilities gathering"
time=2026-11-20T05:43:47.561Z level=INFO msg="capabilities gathered" took=367µs tags=linux,claude,go
time=2026-11-20T05:43:47.561Z level=INFO msg="hello sent" protocol=28
time=2026-11-20T05:43:47.565Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-20T05:43:48.531Z 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.77s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m25.485s
FAIL	amadan.net/oficina/equipo/internal/headless	85.777s


receipt: test step 1m26.846s 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 1m25.485s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.86s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 10.61s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 10.43s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 10.36s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.92s amadan.net/oficina/equipo/internal/headless TestBrowserRefreshRace
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' -v -run '^TestBrowserEmptyExplore$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest 680c1ca46572c665623c17467cd63057e7ebe77c 5.77s 25.16
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 23.93, cpu waiting 15.62%, memory waiting 0.00%, io waiting 0.42%
--- 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 283ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 701ms amadan.net/oficina/equipo/internal/equipo
receipt: slow test 700ms 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 201ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1.631s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 1.63s 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 166ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1.794s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 1.79s amadan.net/oficina/equipo/internal/plan3test TestTeamsHierarchyBrowser
browser lane browser-rest: ./internal/thintest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAccessEmojiByline|TestBrowserAccessFinalOutcomes|TestBrowserAccessRequest|TestBrowserAccessReview|TestBrowserActivitySubjects|TestBrowserAutonomySettings|TestBrowserCoordinatorQueue|TestBrowserHousekeeping|TestBrowserInnerGallery|TestBrowserInnerScreens|TestBrowserInstantThinking|TestBrowserInstantThinkingQueued|TestBrowserMachines|TestBrowserPhoneIndex|TestBrowserPlacementQuestionAndPending|TestBrowserProjectPlacement|TestBrowserProjectsList|TestBrowserReportActionFeedback|TestBrowserReportNextSteps|TestBrowserReportThread|TestBrowserRollup|TestBrowserRosterAlignment|TestBrowserRosterDecisionStates|TestBrowserRosterQuietDay|TestBrowserRosterReports|TestBrowserRosterSetAside|TestBrowserRosterSubchat|TestBrowserRosterThinking|TestBrowserRosterVisual|TestBrowserSettingsHousekeepingGroups|TestBrowserSettingsMenu|TestBrowserSettingsRail|TestBrowserSettingsSaveBar|TestBrowserSettingsShots|TestBrowserSettingsStayOnPage|TestBrowserSettingsTeams|TestBrowserShipsButtons|TestBrowserSpecialistRows|TestBrowserSpendFollowsAnswers|TestBrowserTaskRows|TestBrowserTeamPanel|TestBrowserThinkingCycles|TestBrowserThinkingLinesClear|TestBrowserThinkingWords|TestBrowserTokenRowEmail|TestBrowserTrackStarCentre)$' ./internal/thintest

receipt: test step 247ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 3m4.809s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 17.42s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.34s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 10.61s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.34s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
receipt: slow test 9.15s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
machine: 32 CPUs, load 1.12, cpu waiting 1.50%, memory waiting 0.00%, io waiting 2.05%
--- 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 5.18s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.30s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 9.27s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 9.85s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 24.81s
+ 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   (53s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 14.06s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 12.60s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 11.10s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 13.51s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (22s)
ok ./internal/headless TestMixedVersions 19.97s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (1s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.78s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (1s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.05s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 26.51, cpu waiting 20.63%, memory waiting 0.00%, io waiting 0.89%
--- 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 8.21s 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.159s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 175ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 80ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 3ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/gotoolchain
receipt: slow test 5s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.74s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 320ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 170ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 80ms amadan.net/oficina/equipo/internal/runner/provider/codex TestDirectJournalAdapterBarrier
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run '^TestNamespace' -count=1 ./internal/runner/containment
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run '^TestNamespace' -count=1 ./internal/runner/containment

receipt: test step 3.102s 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.802s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 270ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 190ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 120ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReapsOrphans
machine: 32 CPUs, load 3.80, cpu waiting 4.23%, memory waiting 0.00%, io waiting 1.79%
--- 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 26.9%, load 17.42
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2437 text files, 2842 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: 87 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.468s
machine: 32 CPUs, load 24.19, cpu waiting 18.86%, memory waiting 0.00%, io waiting 1.05%
--- 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 26.9%, load 17.42
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 17.42, cpu waiting 11.63%, memory waiting 0.00%, io waiting 1.28%
--- 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 28.6%, load 17.42
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 22.03, cpu waiting 15.52%, memory waiting 0.00%, io waiting 1.16%
--- 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 26.9%, load 17.42
shard 28: make gitleaks
5:43AM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
5:43AM INF 1024 commits scanned.
5:43AM INF scanned ~59973286 bytes (59.97 MB) in 12.4s
5:43AM INF no leaks found
machine: 32 CPUs, load 24.19, cpu waiting 18.86%, memory waiting 0.00%, io waiting 1.05%
=== 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' ./...

amadan: job cancelled — a newer push superseded it
diff --git a/native/apple/Sources/EquipoKit/Presentation/Roster.swift b/native/apple/Sources/EquipoKit/Presentation/Roster.swift
index a95bc769..58f2b848 100644
--- a/native/apple/Sources/EquipoKit/Presentation/Roster.swift
+++ b/native/apple/Sources/EquipoKit/Presentation/Roster.swift
@@ -255,3 +255,64 @@ public enum Feed {
card.kind == "project" || (card.kind == "home" && card.state != "ask")
}
}
+
+// MARK: - Decisions answered here
+
+/// A decision card the device answers itself: merges and "Does main ship?",
+/// laid out exactly as the web's chat_page.go cardView and chat.html do
+/// (parity row R-02, must_match). Labels and outcome lines use the web's own
+/// copy keys (`chat.card.*`, `work.tl.*`); native/scripts/check-parity.py
+/// fails if their words differ from copy.go.
+public struct DecisionView: Sendable, Equatable {
+ public struct Choice: Sendable, Equatable, Identifiable {
+ public var value: String
+ public var label: String
+ public var primary: Bool
+ public var id: String { value }
+ }
+ public var line: String
+ public var open: Bool
+ public var choices: [Choice]
+ /// What was decided, once it was; the web's note.
+ public var note: String?
+ public var previewURL: URL?
+}
+
+extension Feed {
+ /// nil sends the card to the web: any other kind, or a choice with no words.
+ public static func decision(_ card: ThinCard, task: ThinTask?) -> DecisionView? {
+ let primary: String, chose: String, resolved: String
+ var open = card.state == "open"
+ switch card.kind {
+ case "merge":
+ primary = "merge"; chose = "chat.card.merge_chose_"; resolved = "chat.card.merge_resolved"
+ case "merge_ships":
+ primary = "not_ships"; chose = "chat.card.ships_chose_"; resolved = "chat.card.merge_policy_stale"
+ open = open && !(card.options ?? []).isEmpty
+ default:
+ return nil
+ }
+ var choices: [DecisionView.Choice] = []
+ for value in card.options ?? [] {
+ guard let label = webText("chat.card." + value) else { return nil }
+ choices.append(.init(value: value, label: label, primary: value == primary))
+ }
+ var note: String?
+ if card.kind == "merge", task?.kind == "explore" {
+ // From before the task became an exploration: it never merges.
+ open = false; note = webText("work.tl.merge_dropped")
+ } else if card.state == "answered" {
+ note = webText(chose + card.choice)
+ } else if card.state == "resolved" {
+ note = webText(resolved)
+ }
+ let preview = card.previewUrl.flatMap(URL.init(string:)).flatMap { $0.scheme == "https" ? $0 : nil }
+ return DecisionView(line: card.question, open: open, choices: open ? choices : [], note: note, previewURL: preview)
+ }
+
+ /// A web copy key's words in the catalog, or nil when the catalog has none.
+ static func webText(_ key: String) -> String? {
+ let text = EquipoStrings.text(.init(key))
+ return text == key ? nil : text
+ }
+}
diff --git a/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings b/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings
index 81ab2ab6..415c5a7b 100644
--- a/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings
+++ b/native/apple/Sources/EquipoKit/Resources/Localizable.xcstrings
@@ -244,6 +244,171 @@
}
}
},
+ "chat.card.merge": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Merge"
+ }
+ }
+ }
+ },
+ "chat.card.merge_chose_merge": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Merging without checks."
+ }
+ }
+ }
+ },
+ "chat.card.merge_chose_not_now": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Not now."
+ }
+ }
+ }
+ },
+ "chat.card.merge_chose_wait": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Waiting for checks."
+ }
+ }
+ }
+ },
+ "chat.card.merge_chose_wait_mac": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Waiting for a Mac."
+ }
+ }
+ }
+ },
+ "chat.card.merge_policy_stale": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "The merge rules changed since I asked, so nothing was saved."
+ }
+ }
+ }
+ },
+ "chat.card.merge_resolved": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Nothing to decide any more."
+ }
+ }
+ }
+ },
+ "chat.card.not_now": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Not now"
+ }
+ }
+ }
+ },
+ "chat.card.not_ships": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "It doesn't"
+ }
+ }
+ }
+ },
+ "chat.card.preview_link": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Open the preview"
+ }
+ }
+ }
+ },
+ "chat.card.ships": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "It ships"
+ }
+ }
+ }
+ },
+ "chat.card.ships_chose_not_ships": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Main isn't a release, so I can merge small changes on my own when the other rules allow."
+ }
+ }
+ }
+ },
+ "chat.card.ships_chose_ships": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Merging to main ships to users, so I'll ask before merging without checks."
+ }
+ }
+ }
+ },
+ "chat.card.wait": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Wait for checks"
+ }
+ }
+ }
+ },
+ "chat.card.wait_mac": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "Wait for a Mac"
+ }
+ }
+ }
+ },
"checks.cannot_run": {
"extractionState": "manual",
"localizations": {
@@ -1574,6 +1739,17 @@
}
}
}
+ },
+ "work.tl.merge_dropped": {
+ "extractionState": "manual",
+ "localizations": {
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "An earlier attempt to add this change was dropped when the task became an exploration."
+ }
+ }
+ }
}
}
}
diff --git a/native/apple/Sources/EquipoKit/UI/LiveCards.swift b/native/apple/Sources/EquipoKit/UI/LiveCards.swift
index 4538cddc..8f4e8004 100644
--- a/native/apple/Sources/EquipoKit/UI/LiveCards.swift
+++ b/native/apple/Sources/EquipoKit/UI/LiveCards.swift
@@ -73,32 +73,86 @@ struct LiveQuestionCard: View {
}
}
-/// A decision this slice does not take natively: merges, approvals and the
-/// rest open the web app, where the full context and the must-match
-/// behaviour already are (sync proposal, parity rows R-02 and R-03).
+/// A decision card. Merges and "Does main ship?" are answered here, in the
+/// web's words (Feed.decision); every other decision opens the web app,
+/// where its full context is.
struct LiveDecisionCard: View {
let card: ThinCard
let taskTitle: String?
- let origin: URL
+ let session: EquipoSession
+ @State private var phase: Phase = .open
@Environment(\.openURL) private var openURL
+
+ enum Phase: Equatable { case open, sending(String), changed, offline, failed }
+
var body: some View {
- RaisedCard(flat: !card.isOpen) {
- if let taskTitle, !card.question.contains(taskTitle) {
+ let view = Feed.decision(card, task: session.task(card.taskId))
+ RaisedCard(flat: !(view?.open ?? card.isOpen)) {
+ if let taskTitle, !card.question.isEmpty, !card.question.contains(taskTitle) {
Text(taskTitle).font(Typo.caption).foregroundStyle(Palette.secondary)
}
CardHead(text: card.question.isEmpty ? (taskTitle ?? String(localized: "decision.untitled", bundle: .module)) : card.question)
- if card.isOpen {
+ if let view {
+ answerable(view)
+ } else if card.isOpen {
Text(String(localized: "decision.on_web", bundle: .module)).font(Typo.secondary).foregroundStyle(Palette.secondary)
.fixedSize(horizontal: false, vertical: true)
RosterButton(title: String(localized: "card.open_on_web", bundle: .module), primary: true) {
- openURL(Feed.webURL(for: card, origin: origin))
+ openURL(Feed.webURL(for: card, origin: session.origin))
}
} else {
QuietLink(title: String(localized: "card.open_on_web", bundle: .module), icon: "arrow.up.right") {
- openURL(Feed.webURL(for: card, origin: origin))
+ openURL(Feed.webURL(for: card, origin: session.origin))
}
}
}
+ .onChange(of: card.revision) { _, _ in if phase == .changed { phase = .open } }
+ }
+
+ @ViewBuilder private func answerable(_ view: DecisionView) -> some View {
+ if let preview = view.previewURL {
+ QuietLink(title: String(localized: "chat.card.preview_link", bundle: .module), icon: "arrow.up.right") { openURL(preview) }
+ }
+ if view.open {
+ let sending: String? = { if case .sending(let v) = phase { return v }; return nil }()
+ ViewThatFits(in: .horizontal) {
+ HStack(spacing: 10) { buttons(view, sending: sending) }
+ VStack(spacing: 10) { buttons(view, sending: sending) }
+ }
+ feedback
+ } else if let note = view.note {
+ Label { Text(note) } icon: { Image(systemName: "checkmark") }
+ .font(Typo.secondaryStrong).foregroundStyle(Palette.positive)
+ }
+ }
+
+ @ViewBuilder private func buttons(_ view: DecisionView, sending: String?) -> some View {
+ ForEach(view.choices) { choice in
+ RosterButton(title: choice.label, primary: choice.primary, expanded: true,
+ busy: sending == choice.value ? String(localized: "action.sending", bundle: .module) : nil) {
+ Task { await submit(choice.value) }
+ }
+ .disabled(sending != nil)
+ }
+ }
+
+ @ViewBuilder private var feedback: some View {
+ switch phase {
+ case .changed: Text(String(localized: "card.changed", bundle: .module)).font(Typo.secondary).foregroundStyle(Palette.negative)
+ case .offline: Text(String(localized: "card.offline", bundle: .module)).font(Typo.secondary).foregroundStyle(Palette.negative)
+ case .failed: Text(String(localized: "card.failed", bundle: .module)).font(Typo.secondary).foregroundStyle(Palette.negative)
+ default: EmptyView()
+ }
+ }
+
+ private func submit(_ choice: String) async {
+ phase = .sending(choice)
+ switch await session.answer(card, choice: choice) {
+ case .answered: phase = .open
+ case .changed: phase = .changed
+ case .offline: phase = .offline
+ case .failed: phase = .failed
+ }
}
}
diff --git a/native/apple/Sources/EquipoKit/UI/Screens/ConversationScreen.swift b/native/apple/Sources/EquipoKit/UI/Screens/ConversationScreen.swift
index d3a73bfe..eaf354e0 100644
--- a/native/apple/Sources/EquipoKit/UI/Screens/ConversationScreen.swift
+++ b/native/apple/Sources/EquipoKit/UI/Screens/ConversationScreen.swift
@@ -58,7 +58,7 @@ public struct ConversationScreen: View {
case .decision(let card, let byline):
VStack(alignment: .leading, spacing: 8) {
Byline(byline: byline)
- LiveDecisionCard(card: card, taskTitle: session.task(card.taskId)?.title, origin: session.origin)
+ LiveDecisionCard(card: card, taskTitle: session.task(card.taskId)?.title, session: session)
}
case .receipt(let card, _):
LiveReceipt(card: card)
diff --git a/native/apple/Sources/EquipoKit/UI/Screens/TaskScreens.swift b/native/apple/Sources/EquipoKit/UI/Screens/TaskScreens.swift
index 146c6db8..fd349991 100644
--- a/native/apple/Sources/EquipoKit/UI/Screens/TaskScreens.swift
+++ b/native/apple/Sources/EquipoKit/UI/Screens/TaskScreens.swift
@@ -102,7 +102,7 @@ struct TaskCards: View {
if card.kind == "question" {
LiveQuestionCard(card: card, taskTitle: nil, session: session)
} else {
- LiveDecisionCard(card: card, taskTitle: task.title, origin: session.origin)
+ LiveDecisionCard(card: card, taskTitle: task.title, session: session)
}
}
}
diff --git a/native/apple/Sources/EquipoMac/LiveTranscript.swift b/native/apple/Sources/EquipoMac/LiveTranscript.swift
index 8532e04d..40500efc 100644
--- a/native/apple/Sources/EquipoMac/LiveTranscript.swift
+++ b/native/apple/Sources/EquipoMac/LiveTranscript.swift
@@ -286,7 +286,8 @@ final class LiveTranscript: NSView {
}
private func decisionCard(_ card: ThinCard, taskTitle: String?, width: CGFloat) -> RaisedPlate {
- let plate = RaisedPlate(width: width, height: 0, flat: !card.isOpen)
+ let open = Feed.decision(card, task: session.task(card.taskId))?.open ?? card.isOpen
+ let plate = RaisedPlate(width: width, height: 0, flat: !open)
let inner = width - 2 * MacMetric.pad
var y = MacMetric.pad
func add(_ view: NSView, gap: CGFloat = MacMetric.gap) {
@@ -297,6 +298,44 @@ final class LiveTranscript: NSView {
}
let head = card.question.isEmpty ? (taskTitle ?? EquipoStrings.text("decision.untitled")) : card.question
add(makeText(head, MacType.line, .webText, width: inner, lineSpacing: 2, selectable: true), gap: 4)
+ // Merges and "Does main ship?" are answered here, in the web's words.
+ if let view = Feed.decision(card, task: session.task(card.taskId)) {
+ if let preview = view.previewURL {
+ add(button(EquipoStrings.text("chat.card.preview_link"), .link) { NSWorkspace.shared.open(preview) })
+ }
+ if view.open {
+ if let seen = answeredRevision[card.id], seen != card.revision {
+ if case .sending = answers[card.id] {} else { answers[card.id] = nil; answeredRevision[card.id] = nil }
+ }
+ let state = answers[card.id]
+ let sending: String? = { if case .sending(let v) = state { return v }; return nil }()
+ let gap: CGFloat = 10
+ let w = floor((inner - gap * CGFloat(max(view.choices.count - 1, 0))) / CGFloat(max(view.choices.count, 1)))
+ for (index, choice) in view.choices.enumerated() {
+ let busy = sending == choice.value ? EquipoStrings.text("action.sending") : nil
+ let b = button(choice.label, choice.primary ? .primary : .choice, busy: busy) { [weak self] in
+ self?.submit(card: card, choice: choice.value)
+ }
+ if sending != nil && sending != choice.value { b.isEnabled = false }
+ b.frame = NSRect(x: MacMetric.pad + CGFloat(index) * (w + gap), y: y, width: w, height: 32)
+ b.setAccessibilityLabel(busy ?? choice.label)
+ plate.content.addSubview(b)
+ }
+ y += 32 + MacMetric.gap
+ let feedback: String? = {
+ switch state {
+ case .changed: return EquipoStrings.text("card.changed")
+ case .offline: return EquipoStrings.text("card.offline")
+ case .failed: return EquipoStrings.text("card.failed")
+ default: return nil
+ }
+ }()
+ if let feedback { add(makeText(feedback, MacType.small, .webNegative, width: inner)) }
+ } else if let note = view.note {
+ add(outcome(note, width: inner))
+ }
+ return finish(plate, height: y - MacMetric.gap + MacMetric.pad)
+ }
if card.isOpen {
add(makeText(EquipoStrings.text("decision.on_web"), MacType.small, .webSecondary, width: inner))
}
diff --git a/native/apple/Tests/EquipoKitTests/MergeCardTests.swift b/native/apple/Tests/EquipoKitTests/MergeCardTests.swift
new file mode 100644
index 00000000..e8bef8a8
--- /dev/null
+++ b/native/apple/Tests/EquipoKitTests/MergeCardTests.swift
@@ -0,0 +1,70 @@
+import Foundation
+import Testing
+@testable import EquipoKit
+
+/// Merges answered on the device must match the web (parity row R-02,
+/// must_match): the server's question, the same choices in the same order
+/// with the same words, the same primary, and the same outcome line.
+@MainActor @Suite struct MergeCardTests {
+ private func cards() throws -> [ThinCard] {
+ let snapshot: Snapshot = try Fixture.decode("thin/snapshot")
+ return snapshot.cards ?? []
+ }
+
+ @Test func anOpenMergeIsAnsweredHereInTheWebsWords() throws {
+ let card = try #require(try cards().first { $0.kind == "merge" && $0.state == "open" })
+ let view = try #require(Feed.decision(card, task: nil))
+ #expect(view.open)
+ #expect(view.line == card.question, "the server's question, as the web shows it")
+ #expect(view.choices.map(\.value) == ["merge", "wait_mac"], "the server's choices, in its order")
+ #expect(view.choices.map(\.label) == ["Merge", "Wait for a Mac"])
+ #expect(view.choices.filter(\.primary).map(\.value) == ["merge"], "Merge is primary, as on the web")
+ #expect(view.note == nil)
+ }
+
+ @Test func anAnsweredMergeSaysWhatWasChosen() throws {
+ let card = try #require(try cards().first { $0.kind == "merge" && $0.state == "answered" })
+ let view = try #require(Feed.decision(card, task: nil))
+ #expect(!view.open)
+ #expect(view.note == "Merging without checks.")
+ var resolved = card; resolved.state = "resolved"
+ #expect(Feed.decision(resolved, task: nil)?.note == "Nothing to decide any more.")
+ }
+
+ @Test func doesMainShipHasItsOwnPrimaryAndOutcome() throws {
+ var card = try #require(try cards().first { $0.kind == "merge_ships" })
+ let view = try #require(Feed.decision(card, task: nil))
+ #expect(view.choices.map(\.label) == ["It ships", "It doesn't"])
+ #expect(view.choices.filter(\.primary).map(\.value) == ["not_ships"])
+ card.state = "answered"; card.choice = "ships"
+ #expect(Feed.decision(card, task: nil)?.note == "Merging to main ships to users, so I'll ask before merging without checks.")
+ }
+
+ @Test func aMergeFromBeforeAnExplorationIsClosed() throws {
+ let card = try #require(try cards().first { $0.kind == "merge" && $0.state == "open" })
+ let tasks: ThinList<ThinTask> = try Fixture.decode("thin/tasks")
+ var task = try #require(tasks.items?.first); task.kind = "explore"
+ let view = try #require(Feed.decision(card, task: task))
+ #expect(!view.open)
+ #expect(view.note == "An earlier attempt to add this change was dropped when the task became an exploration.")
+ }
+
+ @Test func anUnknownChoiceSendsYouToTheWeb() throws {
+ var card = try #require(try cards().first { $0.kind == "merge" && $0.state == "open" })
+ card.options = ["merge", "something_new"]
+ #expect(Feed.decision(card, task: nil) == nil, "a choice with no words is never guessed at")
+ for kind in ["publish", "direction", "merge_policy", "specialist", "question"] {
+ var other = try #require(try cards().first { $0.kind == "merge" && $0.state == "open" })
+ other.kind = kind
+ #expect(Feed.decision(other, task: nil) == nil, "\(kind) still opens the web, even with choices that have words")
+ }
+ }
+
+ @Test func onlyAnHTTPSPreviewIsLinked() throws {
+ var card = try #require(try cards().first { $0.kind == "merge" && $0.state == "open" })
+ card.previewUrl = "https://preview.example.test/x"
+ #expect(Feed.decision(card, task: nil)?.previewURL?.absoluteString == "https://preview.example.test/x")
+ card.previewUrl = "javascript:alert(1)"
+ #expect(Feed.decision(card, task: nil)?.previewURL == nil)
+ }
+}
diff --git a/native/scripts/check-native.sh b/native/scripts/check-native.sh
index ffb16940..13cb067a 100755
--- a/native/scripts/check-native.sh
+++ b/native/scripts/check-native.sh
@@ -7,6 +7,7 @@ cd "$(dirname "$0")/.."
logs=build/logs; mkdir -p "$logs"
python3 scripts/check-fixtures.py
python3 scripts/check-strings.py
+python3 scripts/check-parity.py
# The repository-wide reference scan (make ci) reads native files too.
python3 ../scripts/runner-dead-references.py
swift test --package-path apple > "$logs/swift-test.log" 2>&1 || { tail -40 "$logs/swift-test.log"; exit 1; }
diff --git a/native/scripts/check-parity.py b/native/scripts/check-parity.py
new file mode 100755
index 00000000..26704ada
--- /dev/null
+++ b/native/scripts/check-parity.py
@@ -0,0 +1,26 @@
+#!/usr/bin/env python3
+"""Keep the native apps in the web's words where they must match.
+
+Every native string whose key is one of the web's copy keys (chat.card.*,
+work.tl.*) must equal copy.go's text for that key, so a merge card says
+exactly what the web says (sync proposal, parity row R-02)."""
+import json, re, sys
+from pathlib import Path
+
+native = Path(__file__).resolve().parents[1]
+strings = json.loads((native / 'scripts/strings.json').read_text())
+copy = (native.parent / 'internal/equipo/copy.go').read_text()
+problems, checked = [], 0
+for key, text in sorted(strings.items()):
+ if not key.startswith(('chat.card.', 'work.tl.')):
+ continue
+ m = re.search(r'"' + re.escape(key) + r'":\s*"((?:[^"\\]|\\.)*)"', copy)
+ if not m:
+ problems.append(f'{key}: not a web copy key'); continue
+ web = json.loads('"' + m.group(1) + '"')
+ checked += 1
+ if web != text:
+ problems.append(f'{key}: native says {text!r}, the web says {web!r}')
+for p in problems: print(p)
+if problems: sys.exit(1)
+print(f'{checked} native strings match the web')
diff --git a/native/scripts/check-strings.py b/native/scripts/check-strings.py
index f0600a09..e81d8b18 100755
--- a/native/scripts/check-strings.py
+++ b/native/scripts/check-strings.py
@@ -43,6 +43,6 @@ for p in problems: print(p)
if problems: sys.exit(1)
# Facts look their words up by a key made from the wire value
# (TaskReport.facts); FactWordsTests checks each one resolves.
-computed = {k for k in source if k.startswith(('checks.', 'review.'))}
+computed = {k for k in source if k.startswith(('checks.', 'review.', 'chat.card.', 'work.tl.'))}
unused = sorted(source.keys() - used_keys() - computed)
print(f'{len(source)} strings, all used keys present' + (f'; unused: {unused}' if unused else ''))
diff --git a/native/scripts/strings.json b/native/scripts/strings.json
index b5882da5..15aff146 100644
--- a/native/scripts/strings.json
+++ b/native/scripts/strings.json
@@ -21,6 +21,21 @@
"card.offline": "Couldn’t reach your team. Try again.",
"card.open_on_web": "Open in Equipo on the web",
"card.question": "Question",
+ "chat.card.merge": "Merge",
+ "chat.card.merge_chose_merge": "Merging without checks.",
+ "chat.card.merge_chose_not_now": "Not now.",
+ "chat.card.merge_chose_wait": "Waiting for checks.",
+ "chat.card.merge_chose_wait_mac": "Waiting for a Mac.",
+ "chat.card.merge_policy_stale": "The merge rules changed since I asked, so nothing was saved.",
+ "chat.card.merge_resolved": "Nothing to decide any more.",
+ "chat.card.not_now": "Not now",
+ "chat.card.not_ships": "It doesn't",
+ "chat.card.preview_link": "Open the preview",
+ "chat.card.ships": "It ships",
+ "chat.card.ships_chose_not_ships": "Main isn't a release, so I can merge small changes on my own when the other rules allow.",
+ "chat.card.ships_chose_ships": "Merging to main ships to users, so I'll ask before merging without checks.",
+ "chat.card.wait": "Wait for checks",
+ "chat.card.wait_mac": "Wait for a Mac",
"checks.cannot_run": "Can’t run here",
"checks.exit %@ %@": "%1$@, exit code %2$@",
"checks.failed": "Failed",
@@ -141,5 +156,6 @@
"thread.reading %@": "%@ is reading",
"thread.sent": "Sent",
"track.position %@ %@": "%1$@ of %2$@",
- "track.spoken %@": "Stage: %@"
+ "track.spoken %@": "Stage: %@",
+ "work.tl.merge_dropped": "An earlier attempt to add this change was dropped when the task became an exploration."
}