oficina / equipo Public

places: raise a person's place card where they asked

Production, 2026-11-27 (be28c0c8): publish_site, asked in Paul's own
conversation, raised its place card in the task's job lane
(publish.go: raisePlace(k.Creator, k.Lane, ...)), where the
conversation never shows it and Needs you skipped it; the open card
then refused every later ask, so he was stuck.

- A person's request (publish_site, propose_place) raises its place and
  publish cards, and says why it cannot, in the lane that asked; a job's
  merge still raises them in its thread (J4); the publish card after a
  place tap follows the place card's lane; the publish outcome is said
  where the person answered the publish card.
- The one-open-place-card guard no longer strands anyone: the person's
  own open card in another lane, or one older than the request, is
  superseded (audited place.superseded, shown with the existing
  "Nothing to decide any more.") once a fresh card is raised. Only the
  asking person's own cards for that project are ever superseded
  (Astra, 8c5c1fbf), enforced in standingCard and supersedePlaces.
- Tool answers link the card where it is (/conversation or /jobs/<id>).
- Needs you lists open place and publish cards, linked to their lane.
- Migration 0113 (data only): every open place card in a job lane moves
  to its person's own conversation (prod: c_mh62tz7zw2vq5wkojybcmzzcsv).

No new copy. Tests first; 15 mutation checks, each made a named test
fail (listed in the branch commits 8c5c1fbf and 341fc5fb). CI passed
on 409f353b. Astra: one High fixed, ready after fixes.

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

Squashed from place-card-lane into main.
claude agent, operated by paul@keymail.dev 17462415602d8ea9b7f752be1a1c302b77842bfc parent 68b6365
10 files changed, +545 −71
  • .rastrillo/budgets.txt +3 −3
  • internal/equipo/chat/place_supersede_test.go +74 −0
  • internal/equipo/chat/places.go +69 −9
  • internal/equipo/chat/places_tools.go +36 −11
  • internal/equipo/chat/publish.go +93 −45
  • internal/equipo/chat/roster.go +4 −2
  • internal/equipo/chat_page.go +5 −1
  • internal/equipo/migrations/0113_place_cards_in_conversation.sql +16 −0
  • internal/equipo/place_lane_migration_test.go +68 −0
  • internal/thintest/place_lane_contract_test.go +177 −0

CI passed — run details

CI log
=== prepare ===
ci-box: machine: aarch64, 32 CPUs, 62 GiB memory, kernel 7.0.0-1017-aws
ci-box: python 3.12.3; Docker version 29.1.3, build 29.1.3-0ubuntu3~24.04.2
ci-box: user namespaces allowed: 233151
ci-box: cgroup: cgroup2fs
ci-box: disk /home/ci/work/repos/oficina__equipo/wt/main: Type  Size Avail | ext4   96G   86G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   86G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 1.4s
ci-box: codex: fetched and verified in 4.6s
ci-box: codex-code-mode-host: fetched and verified in 1.4s
ci-box: libwrap: fetched and verified in 0.2s
ci-box: socat: fetched and verified in 0.3s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 10.0s
ci-box: pi: installed and verified in 7.5s
ci-box: opencode: installed and verified in 2.3s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.8s
ci-box: clone deepened in 4.6s
ci-box: file times set from content: 3258 files, 212 directories
ci-box: ready in 19.8s
=== 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.153s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  4.4s
+ go list -export -test -tags testbuild -f  ./...
  4.2s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/equipotest ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  3.8s
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 1m19.954s 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 1m18.082s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m18.08s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 60.24, cpu waiting 38.18%, memory waiting 0.00%, io waiting 1.09%
--- 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 1m19.896s 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 1m18.056s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m18.06s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 60.24, cpu waiting 38.21%, memory waiting 0.00%, io waiting 1.05%
--- 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 1m19.114s 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.365s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m7.64s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.35s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.37s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 60.24, cpu waiting 38.18%, memory waiting 0.00%, io waiting 1.09%
--- 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 1m17.048s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m15.344s amadan.net/oficina/equipo/internal/headless
receipt: slow test 38.26s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 19.12s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.07s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 8.88s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 60.24, cpu waiting 37.95%, memory waiting 0.00%, io waiting 1.13%
--- 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 1m34.733s 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.131s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m3.22s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.59s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 8.29s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 7.18s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 4.85s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 56.60, cpu waiting 37.41%, memory waiting 0.00%, io waiting 0.83%
--- 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 2m56.345s 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 2m54.283s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m38.78s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 19.71s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.14s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 7.22s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistantAttachments
receipt: slow test 6.71s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 23.06, cpu waiting 10.62%, memory waiting 0.00%, io waiting 0.20%
--- 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 2m18.374s 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 2m16.154s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 10.19s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.73s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.18s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
receipt: slow test 3.93s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 2.85s amadan.net/oficina/equipo/internal/thintest TestContractTeamUpdatePersonNeeds
machine: 32 CPUs, load 35.39, cpu waiting 19.48%, memory waiting 0.00%, io waiting 0.39%
--- 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 1m59.772s 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 1m57.852s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.6s amadan.net/oficina/equipo/internal/thintest TestContractRetryPreviewUnverifiedMerge
receipt: slow test 9.21s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 4.98s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.65s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 3s amadan.net/oficina/equipo/internal/thintest TestContractPausedJob
machine: 32 CPUs, load 43.85, cpu waiting 25.98%, memory waiting 0.00%, io waiting 0.54%
--- 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 5m14.823s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 5m29.323s 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 5m14.823s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 37.05s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.91s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.86s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 18.51s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
receipt: slow test 9.96s amadan.net/oficina/equipo/internal/runner/thin TestTimeoutKeepsNothingForAnOlderInstance
machine: 32 CPUs, load 2.70, cpu waiting 0.81%, memory waiting 0.00%, io waiting 0.02%
--- 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 52.155s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 51.012s amadan.net/oficina/equipo/internal/runner
receipt: slow test 30.98s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 57.73, cpu waiting 33.04%, memory waiting 0.00%, io waiting 1.68%
--- 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.072s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 59.04s amadan.net/oficina/equipo/internal/runner
receipt: slow test 48.95s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 44.77s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.42s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.65s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 58.15, cpu waiting 36.26%, memory waiting 0.00%, io waiting 1.47%
--- 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 36.646s 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 35.612s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.19s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.51s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.11s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.87s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestReportPostsRetryExactRequest
machine: 32 CPUs, load 35.43, cpu waiting 21.38%, memory waiting 0.00%, io waiting 2.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 40.6%, load 21.88
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 1m10.454s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m8.606s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 29.34s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 29.32s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 27s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 24.02s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 23.76s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfiguration
machine: 32 CPUs, load 54.95, cpu waiting 35.23%, memory waiting 0.00%, io waiting 0.75%
--- 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 39.9%, load 21.88
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 2m13.625s 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 2m11.874s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 19.74s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 19.74s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 19.71s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 19.69s amadan.net/oficina/equipo/internal/equipotest TestProjectConcurrentRetry
receipt: slow test 19.67s amadan.net/oficina/equipo/internal/equipotest TestProjectRetryAndRevision
machine: 32 CPUs, load 26.36, cpu waiting 12.96%, memory waiting 0.00%, io waiting 0.25%
--- 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 39.9%, load 21.88
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 1m17.648s 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.011s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 16.06s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 13.75s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 10.75s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 10.7s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 7.64s amadan.net/oficina/equipo/internal/equipotest TestRosterProtectsLastOwner
machine: 32 CPUs, load 48.42, cpu waiting 31.12%, memory waiting 0.00%, io waiting 0.66%
--- 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 39.9%, load 21.88
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.62s 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.73s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 25.91s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 25.78s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 25.77s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 23.87s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
receipt: slow test 23.79s amadan.net/oficina/equipo/internal/equipotest TestSpecialistSettingsCurrentOwner
machine: 32 CPUs, load 54.95, cpu waiting 35.23%, memory waiting 0.00%, io waiting 0.75%
--- 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 40.6%, load 21.88
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 57.117s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 55.068s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.91s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.54s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.8s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.67s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.39s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorMessageSourcesUpgrade
machine: 32 CPUs, load 58.38, cpu waiting 37.72%, memory waiting 0.00%, io waiting 0.95%
--- 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 39.9%, load 21.88
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/github ./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/github ./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/testci: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude/realcli: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: 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/wire/wireschema: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
--- FAIL amadan.net/oficina/equipo/internal/runner/provider/codex TestCodexAsyncQuestionAnswer
=== RUN   TestCodexAsyncQuestionAnswer
--- FAIL: TestCodexAsyncQuestionAnswer (0.13s)

--- FAIL amadan.net/oficina/equipo/internal/runner/provider/codex TestCodexAsyncQuestionAnswer/schema
=== RUN   TestCodexAsyncQuestionAnswer/schema
    answers_test.go:103: answer not transmitted <nil>
--- FAIL: TestCodexAsyncQuestionAnswer/schema (0.07s)

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

budget note: internal/equipo took 2m23.758s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/chat took 20.38s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/equipo/github took 40.581s, 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 1m55.498s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 24.619s, 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.831s, over the 15s its record on line 40 allows; reported only, timing fails on CI
budget note: internal/runner/provider/claude/realcli took 11.941s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 2m36.138s against a 60s target (the gate's other steps are not in this figure)
receipt: 22 packages ran, 45 cached, 16 without tests, 1 failed
receipt: slow package 2m23.758s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 1m55.498s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 1m7.204s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 54.924s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 53.12s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow test 57.68s amadan.net/oficina/equipo/internal/idtest TestDoorRemembersOficinaID
receipt: slow test 49.28s amadan.net/oficina/equipo/internal/idtest TestDoorForgetsOficinaIDForARefusedSession
receipt: slow test 49.14s amadan.net/oficina/equipo/internal/idtest TestDoorOficinaSettingsUnreadableIsNoLoop
receipt: slow test 48.41s amadan.net/oficina/equipo/internal/idtest TestDoorNeverJudgesANativeSession
rastrillo: budget test: go test failed
receipt: slow test 47.45s amadan.net/oficina/equipo/internal/idtest TestDoorStepUpIsLocal
exit status 1
+ go test -tags testbuild -timeout 15m -v -run '^TestCodexAsyncQuestionAnswer$/^schema$' -count=1 ./internal/runner/provider/codex   (retry, once)
##############################################################################
FLAKE ./internal/runner/provider/codex:TestCodexAsyncQuestionAnswer/schema rest 17462415602d8ea9b7f752be1a1c302b77842bfc 0.07s 18.70
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 18.70, cpu waiting 8.69%, memory waiting 0.00%, io waiting 0.16%
--- 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 1m25.27s 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 1m23.598s amadan.net/oficina/equipo/internal/headless
receipt: slow test 38.74s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 14.92s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 10.39s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.42s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 6.68s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 58.38, cpu waiting 37.72%, memory waiting 0.00%, io waiting 0.95%
--- 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 1m32.44s 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.757s amadan.net/oficina/equipo/internal/headless
receipt: slow test 28.41s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 21.87s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 13.24s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 9.58s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 8.76s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 56.60, cpu waiting 37.73%, memory waiting 0.00%, io waiting 0.86%
--- 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 1m54.386s 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 1m52.863s amadan.net/oficina/equipo/internal/headless
receipt: slow test 14.7s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 13.49s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 12.96s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 11.3s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsSignInEmail
receipt: slow test 11.25s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
machine: 32 CPUs, load 45.75, cpu waiting 27.45%, memory waiting 0.00%, io waiting 0.57%
--- 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

receipt: test step 1m33.227s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m31.61s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.2s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 11.38s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 11.15s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 9.84s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.95s amadan.net/oficina/equipo/internal/headless TestBrowserNotebookLook
machine: 32 CPUs, load 56.60, cpu waiting 37.41%, memory waiting 0.00%, io waiting 0.83%
--- 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 4.169s 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.601s amadan.net/oficina/equipo/internal/equipo
receipt: slow test 1.85s amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewPassExchange
receipt: slow test 750ms amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewBlocksNavigation
browser lane browser-rest: ./internal/equipotest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserGitHubManifestCSP)$' ./internal/equipotest

receipt: test step 7.928s 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 6.277s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 6.28s amadan.net/oficina/equipo/internal/equipotest TestBrowserGitHubManifestCSP
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 11.034s, over the 10s the default allows; reported only, timing fails on CI

receipt: test step 12.474s 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 11.034s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 8.71s amadan.net/oficina/equipo/internal/idtest TestBrowserSmartDoor
receipt: slow test 2.33s 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.598s 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.09s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 2.09s 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 3m40.937s 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 3m38.535s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 26.24s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.46s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.1s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.84s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.64s amadan.net/oficina/equipo/internal/thintest TestBrowserRhythm
machine: 32 CPUs, load 7.71, cpu waiting 3.09%, memory waiting 0.00%, io waiting 0.10%
--- 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   (53s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 4.78s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.17s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 9.29s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 8.97s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 26.57s
+ 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   (55s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 12.77s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 11.68s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 10.40s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 18.36s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (22s)
ok ./internal/headless TestMixedVersions 19.41s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.80s
+ 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 57.73, cpu waiting 35.22%, memory waiting 0.00%, io waiting 1.57%
--- 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 12.578s 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 8.249s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 259ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 65ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow test 5.85s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.82s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 470ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 260ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 100ms 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.597s 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.193s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 330ms 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 TestNamespaceRecoveryCleansScratch
receipt: slow test 130ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceExitStatus
receipt: slow test 130ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
machine: 32 CPUs, load 16.08, cpu waiting 9.14%, memory waiting 0.00%, io waiting 3.07%
--- 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 39.9%, load 21.88
shard 25: make runner-dead-references lanes-check build vet fmt-check spacing budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2970 text files, 3229 matches, 0 failures
python3 native/scripts/check-share.py
Share packaging, keychain-only boundary and reviewed copy verified
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: 93 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.543s
machine: 32 CPUs, load 59.59, cpu waiting 37.56%, memory waiting 0.00%, io waiting 1.24%
--- 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 39.9%, load 21.88
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 48.13, cpu waiting 29.08%, memory waiting 0.00%, io waiting 1.86%
--- 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 39.9%, load 21.88
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 35.43, cpu waiting 23.24%, memory waiting 0.00%, io waiting 2.13%
--- 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 39.9%, load 21.88
shard 28: make gitleaks
6:12PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
6:12PM INF 1247 commits scanned.
6:12PM INF scanned ~68484695 bytes (68.48 MB) in 23.7s
6:12PM INF no leaks found
machine: 32 CPUs, load 57.73, cpu waiting 34.34%, memory waiting 0.00%, io waiting 1.63%
=== perf ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -require TestPerfScreens,TestPerfBoot -tags perf -count=1 -p 1 -parallel 1 -run '^TestPerf' ./...
perf: GET /: median 1.112ms, worst 1.172ms, budget 150ms
perf: GET /api/runner/protocol: median 75µs, worst 105µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 606µs, worst 622µs, budget 150ms
perf: GET /api/v1/accounts: median 433µs, worst 454µs, budget 150ms
perf: GET /api/v1/auth/devices: median 451µs, worst 505µs, budget 150ms
perf: GET /api/v1/budgets: median 510µs, worst 576µs, budget 150ms
perf: GET /api/v1/capabilities: median 242µs, worst 275µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.278ms, worst 1.312ms, budget 150ms
perf: GET /api/v1/connections: median 556µs, worst 597µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 538µs, worst 571µs, budget 150ms
perf: GET /api/v1/conversation: median 892µs, worst 999µs, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.539ms, worst 1.603ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.765ms, worst 1.859ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 460µs, worst 563µs, budget 150ms
perf: GET /api/v1/journey: median 9.488ms, worst 9.761ms, budget 150ms
perf: GET /api/v1/me: median 511µs, worst 526µs, budget 150ms
perf: GET /api/v1/me/settings: median 614µs, worst 634µs, budget 150ms
perf: GET /api/v1/needs-you: median 9.65ms, worst 10.079ms, budget 150ms
perf: GET /api/v1/notifications: median 1.929ms, worst 4.588ms, budget 150ms
perf: GET /api/v1/onboarding: median 444µs, worst 530µs, budget 150ms
perf: GET /api/v1/people: median 468µs, worst 529µs, budget 150ms
perf: GET /api/v1/playbooks: median 620µs, worst 703µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 556µs, worst 577µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 860µs, worst 898µs, budget 150ms
perf: GET /api/v1/preferences: median 791µs, worst 825µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 491µs, worst 563µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 623µs, worst 658µs, budget 150ms
perf: GET /api/v1/roster: median 511µs, worst 544µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 464µs, worst 510µs, budget 150ms
perf: GET /api/v1/specialists: median 8.564ms, worst 8.668ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 8.322ms, worst 8.366ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 890µs, worst 949µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.215ms, worst 1.275ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 780µs, worst 834µs, budget 150ms
perf: GET /api/v1/teams: median 445µs, worst 472µs, budget 150ms
perf: GET /api/v1/templates: median 616µs, worst 668µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 460µs, worst 490µs, budget 150ms
perf: GET /auth/callback: median 75µs, worst 101µs, budget 150ms
perf: GET /auth/devices/{id}: median 4.287ms, worst 4.34ms, budget 150ms
perf: GET /auth/verify: median 69µs, worst 112µs, budget 150ms
perf: GET /connections: median 4.52ms, worst 4.626ms, budget 150ms
perf: GET /conversation: median 9.207ms, worst 9.352ms, budget 150ms
perf: GET /conversation/connections: median 261µs, worst 288µs, budget 150ms
perf: GET /conversation/notebook: median 254µs, worst 275µs, budget 150ms
perf: GET /conversation/settings: median 5.044ms, worst 5.121ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 4.97ms, worst 5.114ms, budget 150ms
perf: GET /conversation/settings/connections: median 7.898ms, worst 9.834ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 7.898ms, worst 8.098ms, budget 150ms
perf: GET /conversation/settings/copy: median 5.152ms, worst 5.186ms, budget 150ms
perf: GET /conversation/settings/github: median 4.477ms, worst 4.6ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 5.156ms, worst 5.263ms, budget 150ms
perf: GET /conversation/settings/machines: median 5.496ms, worst 5.536ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 5.516ms, worst 5.545ms, budget 150ms
perf: GET /conversation/settings/notebook: median 4.213ms, worst 4.283ms, budget 150ms
perf: GET /conversation/settings/places: median 4.408ms, worst 4.582ms, budget 150ms
perf: GET /conversation/settings/thinking: median 5.165ms, worst 7.616ms, budget 150ms
perf: GET /github/connect/installation: median 176µs, worst 205µs, budget 150ms
perf: GET /github/connect/manifest: median 150µs, worst 188µs, budget 150ms
perf: GET /housekeeping: median 4.824ms, worst 4.956ms, budget 150ms
perf: GET /invites/new: median 626µs, worst 647µs, budget 150ms
perf: GET /invites/{id}: median 667µs, worst 756µs, budget 150ms
perf: GET /jobs: median 4.226ms, worst 4.326ms, budget 150ms
perf: GET /jobs/{id}: median 5.713ms, worst 5.881ms, budget 150ms
perf: GET /journey: median 13.093ms, worst 13.466ms, budget 150ms
perf: GET /nav/rail: median 3.876ms, worst 3.994ms, budget 150ms
perf: GET /needs-you: median 12.537ms, worst 12.973ms, budget 150ms
perf: GET /onboarding: median 5.15ms, worst 5.202ms, budget 150ms
perf: GET /people: median 4.451ms, worst 6.965ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 6.001ms, worst 6.291ms, budget 150ms
perf: GET /playbooks: median 5.356ms, worst 5.717ms, budget 150ms
perf: GET /playbooks/new: median 5.589ms, worst 5.755ms, budget 150ms
perf: GET /playbooks/{id}: median 6.393ms, worst 6.432ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 6.37ms, worst 6.438ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 5.507ms, worst 5.597ms, budget 150ms
perf: GET /preferences: median 5.297ms, worst 5.479ms, budget 150ms
perf: GET /preferences/sources/{source}: median 5.127ms, worst 5.22ms, budget 150ms
perf: GET /projects: median 6.932ms, worst 7.052ms, budget 150ms
perf: GET /projects/accounts: median 4.615ms, worst 4.74ms, budget 150ms
perf: GET /projects/new: median 4.696ms, worst 4.819ms, budget 150ms
perf: GET /projects/{id}: median 11.863ms, worst 12.115ms, budget 150ms
perf: GET /projects/{id}/edit: median 4.607ms, worst 4.794ms, budget 150ms
perf: GET /runners/enrol: median 5.523ms, worst 5.578ms, budget 150ms
perf: GET /settings: median 4.44ms, worst 4.538ms, budget 150ms
perf: GET /settings/coordinator: median 6.485ms, worst 6.607ms, budget 150ms
perf: GET /settings/devices: median 4.133ms, worst 4.287ms, budget 150ms
perf: GET /settings/recovery: median 4.393ms, worst 4.465ms, budget 150ms
perf: GET /settings/recovery/release: median 4.353ms, worst 4.464ms, budget 150ms
perf: GET /settings/thinking: median 250µs, worst 266µs, budget 150ms
perf: GET /signed-out: median 266µs, worst 291µs, budget 150ms
perf: GET /signin: median 286µs, worst 329µs, budget 150ms
perf: GET /specialists/new: median 4.313ms, worst 4.421ms, budget 150ms
perf: GET /specialists/{key}: median 16.35ms, worst 18.48ms, budget 150ms
perf: GET /specialists/{key}/edit: median 5.681ms, worst 5.86ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 5.629ms, worst 5.803ms, budget 150ms
perf: GET /tasks: median 8.352ms, worst 8.536ms, budget 150ms
perf: GET /tasks/new: median 5.041ms, worst 5.15ms, budget 150ms
perf: GET /tasks/{id}: median 8.371ms, worst 8.46ms, budget 150ms
perf: GET /tasks/{id}/merge: median 7.422ms, worst 7.599ms, budget 150ms
perf: GET /tasks/{id}/move: median 6.82ms, worst 6.905ms, budget 150ms
perf: GET /tasks/{id}/plan: median 6.965ms, worst 7.03ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.763ms, worst 1.848ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 6.203ms, worst 6.591ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 5.903ms, worst 6.083ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 5.303ms, worst 5.496ms, budget 150ms
perf: GET /tasks/{id}/thread: median 9.437ms, worst 9.711ms, budget 150ms
perf: GET /team/{specialist}: median 5.468ms, worst 5.588ms, budget 150ms
perf: GET /teams: median 14.947ms, worst 15.368ms, budget 150ms
perf: GET /templates: median 5.028ms, worst 5.408ms, budget 150ms
perf: GET /usage: median 6.013ms, worst 6.464ms, budget 150ms
perf: GET /work: median 4.527ms, worst 4.696ms, budget 150ms
perf: GET /auth/devices/{id}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /connections: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/autonomy: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/connections: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/connections/add: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/copy: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/github: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/housekeeping: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/machines: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/machines/add: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/notebook: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/places: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /conversation/settings/thinking: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /housekeeping: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /invites/new: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /invites/{id}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /jobs: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /jobs/{id}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /journey: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /nav/rail: 0 bytes of framework CSS and JS, gzipped; 16000-byte budget
perf: GET /needs-you: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /onboarding: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /people: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /playbook-suggestions/{suggestion}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /playbooks: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /playbooks/new: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /playbooks/{id}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /playbooks/{id}/edit: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /playbooks/{id}/template-diff: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /preferences: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /preferences/sources/{source}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /projects: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /projects/accounts: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /projects/new: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /projects/{id}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /projects/{id}/edit: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /runners/enrol: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /settings: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /settings/coordinator: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /settings/devices: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /settings/recovery: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /settings/recovery/release: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /signed-out: 30270 bytes of framework CSS and JS, gzipped; 40000-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /specialists/new: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /specialists/{key}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /specialists/{key}/edit: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /specialists/{key}/template-diff: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/new: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/merge: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/move: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/plan: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/preview: 25954 bytes of framework CSS and JS, gzipped; 40000-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/questions/{question}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/rendered-change: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /tasks/{id}/thread: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /team/{specialist}: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /teams: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /templates: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /usage: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: GET /work: 57416 bytes of framework CSS and JS, gzipped; 60600-byte budget; it links the whole tokens.css: add Assets: assets to ui.PagesConfig (PagesConfig.Assets) in render.go, and in the layout use {{path $ pageStylesheet}} in place of static/tokens.css and replace the busy.js, live.js, light.js and anchor.js tags and the neededScripts line (or the select.js, calendar.js and datetime.js tags) with {{range pageScripts}}, keeping rastrillo.js and shell.js
perf: cold boot: median 166ms of [165.990023ms 166.150518ms 167.011754ms], budget 500ms

receipt: test step 47.352s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 89 without tests, 0 failed
receipt: slow package 11.387s amadan.net/oficina/equipo/internal/equipotest
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-runner
receipt: slow package 0s amadan.net/oficina/equipo/cmd/equipo-tool-proxy
receipt: slow package 0s amadan.net/oficina/equipo/internal/advice
receipt: slow test 10.83s amadan.net/oficina/equipo/internal/equipotest TestPerfScreens
receipt: slow test 560ms amadan.net/oficina/equipo/internal/equipotest TestPerfBoot
=== cache ===
ci-box: build cache /home/ci/work/repos/oficina__equipo/cache/go-build: 3.72 GiB in 24929 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 1.15 GiB in 40997 files
diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt
index 46daaf66..96000355 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 23915 - Preview grants, retry/timeline, no-access merges, kept work, check-db copy, notification actions, places page, GitHub owner routes; measured 23915 source lines.
+size internal/equipo 23919 - Preview grants, retry/timeline, no-access merges, kept work, check-db copy, notification actions, places page and its superseded card, GitHub owner routes; measured 23919 source lines.
size internal/wire 7885 - Protocol 31 facts, 32 unfinished work, task evidence, CI units, notification inputs, 33 Assistant files, 34 places; measured 7885 source lines.
size internal/equipotest - 12683 GitHub connect value search, lifecycle and sweep-log contracts; Task 21 migration fixtures and Rastrillo asset contract; measured 0/12683 source/test lines.
time internal/runner/checks 90s CI worker measured 44.553s (44.6s rounded);
@@ -56,7 +56,7 @@ perf GET /api/v1/tasks/{id} skip Thin v1 person API: bearer-only JSON for device
perf GET /api/v1/assistant/snapshot skip Assistant person API: bearer-only JSON for Base's chat, not a browser screen.
perf GET /api/v1/assistant/messages skip Assistant person API: bearer-only JSON for Base's chat, not a browser screen.
perf GET /api/v1/assistant/events skip Assistant event stream (Server-Sent Events), bearer-only and long-lived; not a screen.
-size internal/equipo/chat 37374 11258 File facts, previews, merge authority, unfinished work, CI feedback, notification receipts, Assistant files, places; measured 37374/11258.
+size internal/equipo/chat 37509 11332 File facts, previews, merge authority, unfinished work, CI feedback, notification receipts, Assistant files, places and where their cards land; measured 37509/11332.
perf GET /api/v1/questions/{id} skip Thin v1 person API: bearer-only JSON for devices; the browser reads questions on /tasks/{id}.
perf GET /api/v1/steps/{id}/log skip Thin v1 person API: bearer-only JSON for devices; the browser shows the log tail on /tasks/{id}.
perf GET /api/v1/connections/preference skip Connections slice 1 person API: bearer-only JSON for devices; the browser shows the preference on /conversation/connections.
@@ -71,7 +71,7 @@ perf GET /tasks/{id}/files/{file} skip Research kept images: the bytes of one im
perf GET /api/v1/runners skip Mac runners person API: bearer-only JSON for devices; the browser shows runners in the Team section.
time cmd/equipo-runner 60s TestReleaseRunnerHasNoFakeWorker builds the release runner and the thin package under testbuild (about 12s locally).
size internal/headless - 11834 Grant scenarios (#48); sign-in email at 1280 and 390; Assistant files end to end; the restart wait; the live site waits for a place; measured 11834 test lines.
-size internal/thintest - 36730 Protocol 31 contracts, stuck tasks, no-access merges, held retries, unfinished work, free rounds, previews, Assistant files, places; measured 36730 test lines.
+size internal/thintest - 36907 Protocol 31 contracts, stuck tasks, no-access merges, held retries, unfinished work, free rounds, previews, Assistant files, places and where their cards land; measured 36907 test lines.
perf GET /api/v1/projects/{id}/merge-policy skip Merge authority person API: bearer-only JSON for devices; the browser reads the policy on /projects/{id}.
perf GET /api/v1/usage skip Thin v1 person API: bearer-only JSON for devices; the browser reads usage through /usage.
diff --git a/internal/equipo/chat/place_supersede_test.go b/internal/equipo/chat/place_supersede_test.go
new file mode 100644
index 00000000..8f0b0797
--- /dev/null
+++ b/internal/equipo/chat/place_supersede_test.go
@@ -0,0 +1,74 @@
+package chat
+
+import (
+ "context"
+ "io"
+ "log/slog"
+ "os"
+ "path/filepath"
+ "testing"
+ "time"
+
+ "amadan.net/oficina/equipo/internal/wire"
+ "amadan.net/rastrillo/rastrillo/db"
+)
+
+// TestSupersedePlacesOnlyTheirOwn (Astra on 8c5c1fbf): a person's request
+// supersedes only their own place cards for the same project. Another
+// person's card, or one for another project, handed to supersedePlaces
+// stays open at its revision; standingCard never offers them as stale.
+func TestSupersedePlacesOnlyTheirOwn(t *testing.T) {
+ src, err := hkTemplatePath()
+ if err != nil {
+ t.Fatal(err)
+ }
+ raw, err := os.ReadFile(src)
+ if err != nil {
+ t.Fatal(err)
+ }
+ path := filepath.Join(t.TempDir(), "supersede.db")
+ if err := os.WriteFile(path, raw, 0o600); err != nil {
+ t.Fatal(err)
+ }
+ d, err := db.Open(path, slog.New(slog.NewTextHandler(io.Discard, nil)))
+ if err != nil {
+ t.Fatal(err)
+ }
+ t.Cleanup(func() { _ = d.Close() })
+ s := NewStore(d, Authority{Copy: func(key string) string { return key }}, nil)
+ const bob, alice = "bob@example.com", "alice@example.com"
+ old := time.Now().UTC().Add(-time.Hour)
+ card := func(id, person, project string) cardRecord {
+ return cardRecord{ID: id, Person: person, Kind: wire.CardPlace, State: wire.CardOpen, ProjectID: project, Options: "[]", Revision: 3, CreatedAt: old, UpdatedAt: old}
+ }
+ for _, id := range []string{"p1", "p2"} {
+ if err := d.G.Create(&projectRecord{ID: id, Repo: "amadan.net/oficina/" + id, State: wire.ProjectActive, CreatedAt: old, UpdatedAt: old}).Error; err != nil {
+ t.Fatal(err)
+ }
+ }
+ cards := []cardRecord{card("c_alice", alice, "p1"), card("c_bobold", bob, "p1"), card("c_bobother", bob, "p2")}
+ for _, c := range cards {
+ if err := d.G.Create(&c).Error; err != nil {
+ t.Fatal(err)
+ }
+ }
+ since := time.Now().UTC()
+ stands, stale := standingCard(cards[:2], bob, wire.LaneCoordinator, &since)
+ if stands != nil || len(stale) != 1 || stale[0].ID != "c_bobold" {
+ t.Fatalf("stale %+v", stale)
+ }
+ by := card("c_bobnew", bob, "p1")
+ if err := s.tx(context.Background(), func(t *txn) error { return t.supersedePlaces("coordinator:"+bob, cards, by) }); err != nil {
+ t.Fatal(err)
+ }
+ want := map[string]string{"c_alice": "open/3", "c_bobold": "resolved/4", "c_bobother": "open/3"}
+ for id, w := range want {
+ var c cardRecord
+ if err := d.G.Where("id = ?", id).First(&c).Error; err != nil {
+ t.Fatal(err)
+ }
+ if got := c.State + "/" + itoa64(c.Revision); got != w {
+ t.Fatalf("%s: %s, want %s", id, got, w)
+ }
+ }
+}
diff --git a/internal/equipo/chat/places.go b/internal/equipo/chat/places.go
index 5a92ab86..e32dacd9 100644
--- a/internal/equipo/chat/places.go
+++ b/internal/equipo/chat/places.go
@@ -9,6 +9,7 @@ import (
"slices"
"sort"
"strings"
+ "time"
"gorm.io/gorm"
@@ -312,10 +313,14 @@ func stepSnapshot(raw string) *publishSnapshot {
return r.Snapshot
}
-// raisePlace puts a place card for the project's site in person's
-// conversation: the candidates the primary's reach offers, first (when
-// named and offered) first, then Not now. task names the merged task the
-// proposal is for, "" for none. ok false when there is nothing to offer.
+// raisePlace puts a place card for the project's site in person's lane,
+// the one that asked: a job's merge raises it in the job's thread (J4), a
+// person's own request where they asked, whichever lane the task was
+// made in (production, 2026-11-27: publish_site asked in the conversation
+// put the card in the task's job thread, where the person never saw it).
+// The candidates the primary's reach offers, first (when named and
+// offered) first, then Not now. task names the merged task the proposal
+// is for, "" for none. ok false when there is nothing to offer.
func (t *txn) raisePlace(person, lane, turn string, pr projectRecord, task, first string) (cardRecord, bool, error) {
h, err := t.hello(person)
if err != nil {
@@ -369,10 +374,65 @@ func (t *txn) openPlaceCardFor(task string) (bool, error) {
return n > 0, err
}
-func (t *txn) openPlaceCard(projectID string) (bool, error) {
- var n int64
- err := t.db.Model(&cardRecord{}).Where("project_id = ? AND kind = ? AND state = ?", projectID, wire.CardPlace, wire.CardOpen).Count(&n).Error
- return n > 0, err
+// openPlaceCards are the project's open place cards, oldest first.
+func (t *txn) openPlaceCards(projectID string) ([]cardRecord, error) {
+ var out []cardRecord
+ err := t.db.Where("project_id = ? AND kind = ? AND state = ?", projectID, wire.CardPlace, wire.CardOpen).Order("created_at, id").Find(&out).Error
+ return out, err
+}
+
+// standingCard splits open cards for a request by person in lane: the
+// card that stands for it (theirs, in that lane, and for a person's own
+// request (since set) raised no earlier than it), and the rest of their
+// own, which a person's request supersedes. Another person's card is
+// neither: it stays theirs, untouched. Any other request supersedes
+// nothing.
+func standingCard(cards []cardRecord, person, lane string, since *time.Time) (*cardRecord, []cardRecord) {
+ var stands *cardRecord
+ var rest []cardRecord
+ for i := range cards {
+ c := cards[i]
+ if c.Person != person {
+ continue
+ }
+ if stands == nil && c.Lane == lane && (since == nil || !c.CreatedAt.Before(*since)) {
+ stands = &c
+ continue
+ }
+ rest = append(rest, c)
+ }
+ return stands, rest
+}
+
+// supersedePlaces settles open place cards a fresh one (by) replaced:
+// they confirm nothing, say there is nothing to decide any more, and are
+// audited. Only by's person's own open place cards for by's project are
+// settled; any other card passed in is left as it is.
+func (t *txn) supersedePlaces(actor string, cards []cardRecord, by cardRecord) error {
+ for i := range cards {
+ c := cards[i]
+ if c.ID == by.ID || c.Kind != wire.CardPlace || c.State != wire.CardOpen || c.Person != by.Person || c.ProjectID != by.ProjectID {
+ continue
+ }
+ c.State = wire.CardResolved
+ if err := t.saveCard(&c); err != nil {
+ return err
+ }
+ if err := t.auditPlace(actor, "place.superseded", c.ProjectID, "", "", c.ID+">"+by.ID); err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
+// cardAt is, for the coordinator's answer, where a card is for its
+// person: their conversation, or the job thread it is in.
+func cardAt(c cardRecord) string {
+ path := "/conversation"
+ if job, ok := wire.JobOf(c.Lane); ok {
+ path = "/jobs/" + job
+ }
+ return " The card is at " + path + "?card=" + c.ID + "#card-" + c.ID + ": link to it."
}
// answerPlace is an owner's answer on a place card for their own
@@ -477,7 +537,7 @@ func (t *txn) answerPlace(person string, c cardRecord, in wire.AnswerCard) (wire
return wire.Card{}, wire.Card{}, err
}
if k.Creator == person && k.ProjectID == pr.ID {
- if _, _, err := t.offerSite(&k, "", "owner:"+person); err != nil {
+ if _, err := t.offerSite(&k, "", "owner:"+person, siteAsk{lane: c.Lane}); err != nil {
return wire.Card{}, wire.Card{}, err
}
}
diff --git a/internal/equipo/chat/places_tools.go b/internal/equipo/chat/places_tools.go
index 84cef346..e0ff8ba6 100644
--- a/internal/equipo/chat/places_tools.go
+++ b/internal/equipo/chat/places_tools.go
@@ -203,8 +203,22 @@ func (t *txn) proposePlaceTool(r turnRecord, v *wire.ToolCall) (wire.ToolResult,
if _, p, err := t.siteBinding(pr.ID); err != nil || p != nil {
return refused("already_placed", toolPlaceExists), err
}
- if open, err := t.openPlaceCard(pr.ID); err != nil || open {
- return refused("already_proposed", toolPlaceOpen), err
+ // A card the person cannot see where they asked, or one older than
+ // this request, gives way to a fresh one: it never strands them.
+ open, err := t.openPlaceCards(pr.ID)
+ if err != nil {
+ return wire.ToolResult{}, err
+ }
+ since := r.CreatedAt
+ stands, stale := standingCard(open, r.Person, r.Lane, &since)
+ if stands != nil {
+ return refused("already_proposed", toolPlaceOpen+cardAt(*stands)), nil
+ }
+ task := ""
+ for _, c := range stale {
+ if task == "" && c.Person == r.Person && c.TaskID != "" {
+ task = c.TaskID
+ }
}
h, err := t.hello(r.Person)
if err != nil {
@@ -217,10 +231,14 @@ func (t *txn) proposePlaceTool(r turnRecord, v *wire.ToolCall) (wire.ToolResult,
if !found {
return refused("unknown_candidate", toolPlaceUnknown), nil
}
- if _, ok, err := t.raisePlace(r.Person, r.Lane, r.ID, pr, "", in.Candidate); err != nil || !ok {
+ c, ok, err := t.raisePlace(r.Person, r.Lane, r.ID, pr, task, in.Candidate)
+ if err != nil || !ok {
return refused("unknown_candidate", toolPlaceUnknown), err
}
- return wire.ToolResult{Code: "proposed", Text: toolPlaceProposed}, nil
+ if err := t.supersedePlaces("coordinator:"+r.Person, stale, c); err != nil {
+ return wire.ToolResult{}, err
+ }
+ return wire.ToolResult{Code: "proposed", Text: toolPlaceProposed + cardAt(c)}, nil
}
// publishSiteTool is publish_site: for the person's own merged website
@@ -260,16 +278,23 @@ func (t *txn) publishSiteTool(r turnRecord, v *wire.ToolCall) (wire.ToolResult,
if k.Stage != wire.StageDone || !mergedWebsite(k, steps) {
return refused("not_website", toolSiteNotWebsite), nil
}
- did, missing, err := t.offerSite(&k, "", "coordinator:"+r.Person)
+ // The person's own request: its cards go where they asked, and a place
+ // card they cannot see there gives way to a fresh one.
+ since := r.CreatedAt
+ o, err := t.offerSite(&k, "", "coordinator:"+r.Person, siteAsk{lane: r.Lane, since: &since})
switch {
case err != nil:
return wire.ToolResult{}, err
- case did == siteOffered:
- return wire.ToolResult{Code: "offered", Text: toolSiteOffered}, nil
- case did == siteProposed:
- return wire.ToolResult{Code: "proposed", Text: toolSiteProposed}, nil
- case missing != "":
- return refused("not_ready", strings.Replace(toolSiteMissing, "%s", missing, 1)), nil
+ case o.did == siteOffered:
+ return wire.ToolResult{Code: "offered", Text: toolSiteOffered + cardAt(o.card)}, nil
+ case o.did == siteProposed:
+ return wire.ToolResult{Code: "proposed", Text: toolSiteProposed + cardAt(o.card)}, nil
+ case o.missing != "":
+ return refused("not_ready", strings.Replace(toolSiteMissing, "%s", o.missing, 1)), nil
+ case o.card.Kind == wire.CardPlace:
+ return refused("already_proposed", toolPlaceOpen+cardAt(o.card)), nil
+ case o.card.ID != "":
+ return refused("nothing_due", toolSiteNothingDue+cardAt(o.card)), nil
}
return refused("nothing_due", toolSiteNothingDue), nil
}
diff --git a/internal/equipo/chat/publish.go b/internal/equipo/chat/publish.go
index 91f6218f..eb89d85e 100644
--- a/internal/equipo/chat/publish.go
+++ b/internal/equipo/chat/publish.go
@@ -141,7 +141,7 @@ func (t *txn) offerPublish(k *taskRecord, m *stepRecord) error {
if err != nil || !website(steps, m.CandidateSHA) {
return err
}
- _, _, err = t.offerSite(k, "", "runner:"+m.RunnerID)
+ _, err = t.offerSite(k, "", "runner:"+m.RunnerID, siteAsk{lane: k.Lane})
return err
}
@@ -165,54 +165,79 @@ const (
siteProposed = "proposed"
)
+// siteAsk is who asks offerSite and where: lane is the conversation its
+// cards and its reasons go to. since is set for a person's own request (a
+// coordinator tool's turn): an open place card they cannot see there, or
+// one older than the request, is superseded by a fresh one rather than
+// standing in their way. Any other ask supersedes nothing.
+type siteAsk struct {
+ lane string
+ since *time.Time
+}
+
+// siteOffer is what offerSite did (siteOffered, siteProposed or "" when
+// nothing was due), the reason when nothing could be offered, and the
+// card raised, or the open one that stands.
+type siteOffer struct {
+ did, missing string
+ card cardRecord
+}
+
// offerSite asks the creator about publishing k's merged commit: the
// publish card bound to a snapshot when the project's site is placed and
// the primary can do it now; else a place card (an owner, with a
// candidate to offer; first names the coordinator's candidate); else it
-// says, once per commit and reason, what is missing. It returns what it
-// did and the reason, "" for each when nothing was due (a card is open or
-// a publish of the commit is under way).
-func (t *txn) offerSite(k *taskRecord, first, actor string) (string, string, error) {
+// says, once per commit and reason, what is missing. Nothing is due when
+// a card is open or a publish of the commit is under way.
+func (t *txn) offerSite(k *taskRecord, first, actor string, ask siteAsk) (siteOffer, error) {
var pr projectRecord
if err := t.db.Where("id = ?", k.ProjectID).First(&pr).Error; err != nil {
- return "", "", err
+ return siteOffer{}, err
}
// A publish card from before places names no place: settled first.
var legacy []cardRecord
if err := t.db.Where("task_id = ? AND kind = ? AND state = ? AND (place IS NULL OR place = '')", k.ID, wire.CardPublish, wire.CardOpen).Find(&legacy).Error; err != nil {
- return "", "", err
+ return siteOffer{}, err
}
for i := range legacy {
if err := t.settleLegacyPublish(&legacy[i]); err != nil {
- return "", "", err
+ return siteOffer{}, err
}
}
- if open, err := t.openPublishCard(k.ID); err != nil || open {
- return "", "", err
+ if open, err := t.openPublish(k.ID); err != nil || open.ID != "" {
+ return siteOffer{card: open}, err
}
// A primary that cannot publish at all is said first: no place card
// is raised for it.
if _, why, err := t.siteReach(k.Creator); err != nil || why != "" {
if err != nil {
- return "", "", err
+ return siteOffer{}, err
}
- return "", why, t.sayPublishBlocked(k, why)
+ return siteOffer{missing: why}, t.sayPublishBlocked(k, ask.lane, why)
}
snap, missing, err := t.siteSnapshot(*k)
if err != nil {
- return "", "", err
+ return siteOffer{}, err
}
if missing == missingNoPlace {
- if open, err := t.openPlaceCard(pr.ID); err != nil || open {
- return "", "", err
+ open, err := t.openPlaceCards(pr.ID)
+ if err != nil {
+ return siteOffer{}, err
+ }
+ stands, stale := standingCard(open, k.Creator, ask.lane, ask.since)
+ if stands != nil {
+ return siteOffer{card: *stands}, nil
+ }
+ if len(stale) > 0 && ask.since == nil {
+ return siteOffer{}, nil
}
if t.isOwner(k.Creator) == nil {
- _, ok, err := t.raisePlace(k.Creator, k.Lane, "", pr, k.ID, first)
+ c, ok, err := t.raisePlace(k.Creator, ask.lane, "", pr, k.ID, first)
if err != nil {
- return "", "", err
+ return siteOffer{}, err
}
if ok {
- return siteProposed, "", nil
+ return siteOffer{did: siteProposed, card: c}, t.supersedePlaces(actor, stale, c)
}
missing = missingNoLogin
} else {
@@ -220,23 +245,24 @@ func (t *txn) offerSite(k *taskRecord, first, actor string) (string, string, err
}
}
if missing != "" {
- return "", missing, t.sayPublishBlocked(k, missing)
+ return siteOffer{missing: missing}, t.sayPublishBlocked(k, ask.lane, missing)
}
steps, err := t.steps(k.ID)
if err != nil {
- return "", "", err
+ return siteOffer{}, err
}
if publishBlocked(steps, k.MergedSHA, snap.Mode) {
- return "", "", nil
+ return siteOffer{}, nil
}
k.PublishAsked = k.MergedSHA
if err := t.db.Model(&taskRecord{}).Where("id = ?", k.ID).Update("publish_asked", k.MergedSHA).Error; err != nil {
- return "", "", err
+ return siteOffer{}, err
}
- if err := t.raisePublish(k, *snap); err != nil {
- return "", "", err
+ c, err := t.raisePublish(k, *snap, ask.lane)
+ if err != nil {
+ return siteOffer{}, err
}
- return siteOffered, "", t.auditPublish(actor, "publish.requested", k.ID, snap.App, k.MergedSHA, snap.Mode+"@"+snap.Place)
+ return siteOffer{did: siteOffered, card: c}, t.auditPublish(actor, "publish.requested", k.ID, snap.App, k.MergedSHA, snap.Mode+"@"+snap.Place)
}
// settleLegacyPublish settles a publish card raised before places: it
@@ -252,9 +278,10 @@ func (t *txn) settleLegacyPublish(c *cardRecord) error {
return t.auditPublish("instance", "publish.legacy_settled", c.TaskID, "", "", c.ID)
}
-// sayPublishBlocked says in the task's lane why its merged website was
-// not offered for publishing, once per merged commit and reason.
-func (t *txn) sayPublishBlocked(k *taskRecord, missing string) error {
+// sayPublishBlocked says in lane (where it was asked) why the task's
+// merged website was not offered for publishing, once per merged commit,
+// reason and lane.
+func (t *txn) sayPublishBlocked(k *taskRecord, lane, missing string) error {
reason := t.words("places.missing." + missing)
text := t.words("chat.publish_blocked", mdLabel(k.Title), TaskLink(k.ID), reason)
if reason == "" || text == "" {
@@ -262,10 +289,10 @@ func (t *txn) sayPublishBlocked(k *taskRecord, missing string) error {
}
idem := "publish-why:" + k.ID + ":" + short(k.MergedSHA) + ":" + missing
var n int64
- if err := t.db.Model(&messageRecord{}).Where("person = ? AND idempotency_key = ?", k.Creator, idem).Count(&n).Error; err != nil || n > 0 {
+ if err := t.db.Model(&messageRecord{}).Where("person = ? AND idempotency_key = ? AND coalesce(lane, '') = ?", k.Creator, idem, lane).Count(&n).Error; err != nil || n > 0 {
return err
}
- m := messageRecord{ID: newID("m_"), Person: k.Creator, IdempotencyKey: idem, Role: wire.RoleCoordinator, Text: text, Revision: 1, CreatedAt: t.now(), Lane: k.Lane}
+ m := messageRecord{ID: newID("m_"), Person: k.Creator, IdempotencyKey: idem, Role: wire.RoleCoordinator, Text: text, Revision: 1, CreatedAt: t.now(), Lane: lane}
if err := t.db.Create(&m).Error; err != nil {
return err
}
@@ -276,9 +303,9 @@ func (t *txn) sayPublishBlocked(k *taskRecord, missing string) error {
}
// raisePublish puts a publish card for the task's merged commit in its
-// creator's conversation, bound to snap: it names the app and the place,
-// and says what a setup or a mint does with the owner's login.
-func (t *txn) raisePublish(k *taskRecord, snap publishSnapshot) error {
+// creator's lane, bound to snap: it names the app and the place, and
+// says what a setup or a mint does with the owner's login.
+func (t *txn) raisePublish(k *taskRecord, snap publishSnapshot, lane string) (cardRecord, error) {
now := t.now()
question := t.words("chat.card.publish_place_question", mdLabel(k.Title), snap.App, wire.ConsoleLabel(snap.Console), snap.Name)
if extra := t.words("chat.card.publish_" + snap.Mode + "_note"); extra != "" && question != "" {
@@ -288,11 +315,11 @@ func (t *txn) raisePublish(k *taskRecord, snap publishSnapshot) error {
question = k.Title
}
opts, _ := json.Marshal([]string{wire.ChoicePublish, wire.ChoiceNotNow})
- c := cardRecord{ID: newID("c_"), Person: k.Creator, Kind: wire.CardPublish, State: wire.CardOpen, ProjectID: k.ProjectID, TaskID: k.ID, Name: k.Title, Question: question, Options: string(opts), Place: encodeSnapshot(snap), Revision: 1, CreatedAt: now, UpdatedAt: now, Lane: k.Lane}
+ c := cardRecord{ID: newID("c_"), Person: k.Creator, Kind: wire.CardPublish, State: wire.CardOpen, ProjectID: k.ProjectID, TaskID: k.ID, Name: k.Title, Question: question, Options: string(opts), Place: encodeSnapshot(snap), Revision: 1, CreatedAt: now, UpdatedAt: now, Lane: lane}
if err := t.db.Create(&c).Error; err != nil {
- return err
+ return cardRecord{}, err
}
- return t.cardEvent(c)
+ return c, t.cardEvent(c)
}
// answerPublish is the creator's answer on a publish card, valid only
@@ -335,7 +362,7 @@ func (t *txn) answerPublish(person string, c cardRecord, in wire.AnswerCard) (wi
if err := t.settleLegacyPublish(&c); err != nil {
return wire.Card{}, wire.Card{}, err
}
- if _, _, err := t.offerSite(&k, "", "owner:"+person); err != nil {
+ if _, err := t.offerSite(&k, "", "owner:"+person, siteAsk{lane: c.Lane}); err != nil {
return wire.Card{}, wire.Card{}, err
}
out, err := t.cardView(c)
@@ -363,7 +390,7 @@ func (t *txn) answerPublish(person string, c cardRecord, in wire.AnswerCard) (wi
if err := t.auditPublish(person, "publish.stale", k.ID, snap.App, k.MergedSHA, c.ID); err != nil {
return wire.Card{}, wire.Card{}, err
}
- if _, _, err := t.offerSite(&k, "", "owner:"+person); err != nil {
+ if _, err := t.offerSite(&k, "", "owner:"+person, siteAsk{lane: c.Lane}); err != nil {
return wire.Card{}, wire.Card{}, err
}
out, err := t.cardView(c)
@@ -680,6 +707,12 @@ func (t *txn) publishEnded(k *taskRecord, s *stepRecord) error {
if err := t.auditPublish("runner:"+s.RunnerID, kind, k.ID, app, s.CandidateSHA, s.ID+"/"+strconv.FormatInt(s.Attempt, 10)+":"+s.State+":"+s.Reason); err != nil {
return err
}
+ // Said in the lane of the publish card its person answered: a job's
+ // thread for a job's card, their conversation for one asked for there.
+ lane, err := t.siteLane(*k)
+ if err != nil {
+ return err
+ }
if text := t.words(key, args...); text != "" {
idem := "publish:" + s.ID + ":" + strconv.FormatInt(s.Attempt, 10)
var n int64
@@ -687,8 +720,7 @@ func (t *txn) publishEnded(k *taskRecord, s *stepRecord) error {
return err
}
if n == 0 {
- // In the task's lane: a job's result is said in its thread.
- m := messageRecord{ID: newID("m_"), Person: k.Creator, IdempotencyKey: idem, Role: wire.RoleCoordinator, Text: text, Revision: 1, CreatedAt: t.now(), Lane: k.Lane}
+ m := messageRecord{ID: newID("m_"), Person: k.Creator, IdempotencyKey: idem, Role: wire.RoleCoordinator, Text: text, Revision: 1, CreatedAt: t.now(), Lane: lane}
if err := t.db.Create(&m).Error; err != nil {
return err
}
@@ -711,12 +743,12 @@ func (t *txn) publishEnded(k *taskRecord, s *stepRecord) error {
switch {
case s.State != wire.StepDone && app != "" && s.Reason != "publish_app_taken" && s.Reason != reasonAppUnproven:
// Nothing was published: the creator may ask for it again.
- _, _, err := t.offerSite(k, "", "runner:"+s.RunnerID)
+ _, err := t.offerSite(k, "", "runner:"+s.RunnerID, siteAsk{lane: lane})
return err
case s.State == wire.StepDone && snap != nil && snap.Mode != wire.SitePublish && (p == nil || !p.DeployHeld):
// Published, but no deploy key is held for it: the creator is
// asked to mint one (the recovery route; a new tap).
- _, _, err := t.offerSite(k, "", "runner:"+s.RunnerID)
+ _, err := t.offerSite(k, "", "runner:"+s.RunnerID, siteAsk{lane: lane})
return err
}
return nil
@@ -914,9 +946,25 @@ func (t *txn) releasePreview(k taskRecord) error {
}
func (t *txn) openPublishCard(task string) (bool, error) {
- var n int64
- err := t.db.Model(&cardRecord{}).Where("task_id = ? AND kind = ? AND state = ?", task, wire.CardPublish, wire.CardOpen).Count(&n).Error
- return n > 0, err
+ c, err := t.openPublish(task)
+ return c.ID != "", err
+}
+
+// openPublish is the task's open publish card, if any.
+func (t *txn) openPublish(task string) (cardRecord, error) {
+ var c cardRecord
+ err := t.db.Where("task_id = ? AND kind = ? AND state = ?", task, wire.CardPublish, wire.CardOpen).Order("created_at, id").Limit(1).Find(&c).Error
+ return c, err
+}
+
+// siteLane is where a task's site is talked about: the lane of its newest
+// publish card (where its person last decided), else the task's own.
+func (t *txn) siteLane(k taskRecord) (string, error) {
+ var c cardRecord
+ if err := t.db.Where("task_id = ? AND kind = ?", k.ID, wire.CardPublish).Order("created_at DESC, id DESC").Limit(1).Find(&c).Error; err != nil || c.ID == "" {
+ return k.Lane, err
+ }
+ return c.Lane, nil
}
// previewLink is the newest candidate's preview while it is up: an
diff --git a/internal/equipo/chat/roster.go b/internal/equipo/chat/roster.go
index 56f86c80..0b53632e 100644
--- a/internal/equipo/chat/roster.go
+++ b/internal/equipo/chat/roster.go
@@ -292,7 +292,9 @@ func (s *Store) CardPresentations(ctx context.Context, person string, ids []stri
return
}
-// OpenStandaloneCards keeps questions without a task reachable in Needs you.
+// OpenStandaloneCards keeps questions without a task reachable in Needs
+// you, and open place and publish cards: their task is done, so no
+// task's line stands for them there.
type StandaloneCard struct {
wire.Card
Job string
@@ -304,7 +306,7 @@ func (s *Store) OpenStandaloneCards(ctx context.Context, person string) (out []S
return err
}
var cs []cardRecord
- if err := tx.Where("person = ? AND coalesce(task_id, '') = '' AND state IN ? AND "+coordinatorRole, person, []string{wire.CardOpen, wire.CardHomeAsk}).Order("created_at, id").Find(&cs).Error; err != nil {
+ if err := tx.Where("person = ? AND (coalesce(task_id, '') = '' OR kind IN ?) AND state IN ? AND "+coordinatorRole, person, []string{wire.CardPlace, wire.CardPublish}, []string{wire.CardOpen, wire.CardHomeAsk}).Order("created_at, id").Find(&cs).Error; err != nil {
return err
}
t := &txn{s: s, db: tx, ctx: ctx}
diff --git a/internal/equipo/chat_page.go b/internal/equipo/chat_page.go
index 681662ab..572de674 100644
--- a/internal/equipo/chat_page.go
+++ b/internal/equipo/chat_page.go
@@ -229,11 +229,15 @@ func cardView(c wire.Card, choices []string, tasks map[string]wire.Task) chatCar
v.PlaceChoices = append(v.PlaceChoices, placeChoice{ID: cand.ID, Label: fmt.Sprintf(copyText("chat.card.place_option"), cand.ConsoleLabel, cand.Account)})
}
}
- if c.State == wire.CardAnswered {
+ switch c.State {
+ case wire.CardAnswered:
v.Note = copyText("chat.card.place_chose_not_now")
if c.Choice != wire.ChoiceNotNow {
v.Note = copyText("chat.card.place_chose")
}
+ case wire.CardResolved:
+ // Superseded by a fresh card where the person asked.
+ v.Note = copyText("chat.card.merge_resolved")
}
case wire.CardDirection:
v.Line, v.Open = c.Question, c.State == wire.CardOpen
diff --git a/internal/equipo/migrations/0113_place_cards_in_conversation.sql b/internal/equipo/migrations/0113_place_cards_in_conversation.sql
new file mode 100644
index 00000000..95605c71
--- /dev/null
+++ b/internal/equipo/migrations/0113_place_cards_in_conversation.sql
@@ -0,0 +1,16 @@
+-- Production, 2026-11-27: publish_site, asked in the person's own
+-- conversation, raised its place card in the task's job lane, where the
+-- conversation never shows it, and the open card then refused every later
+-- ask. A person's request now raises its card where they asked
+-- (raisePlace). The cards 0112's code raised cannot be told apart by who
+-- asked, so every open place card in a job lane moves to its person's own
+-- conversation, where they can answer it; its publish card follows there.
+-- Its revision moves so a page holding the old one asks again. Data only:
+-- answered and settled cards stay where they were, publish cards in a job
+-- lane stay (the Assistant's outcome card follows them), and a second run
+-- changes nothing.
+UPDATE chat_cards
+SET lane = '', revision = coalesce(revision, 0) + 1
+WHERE kind = 'place'
+ AND state = 'open'
+ AND lane LIKE 'job:%';
diff --git a/internal/equipo/place_lane_migration_test.go b/internal/equipo/place_lane_migration_test.go
new file mode 100644
index 00000000..d0a421f7
--- /dev/null
+++ b/internal/equipo/place_lane_migration_test.go
@@ -0,0 +1,68 @@
+package equipo
+
+import (
+ "context"
+ "testing"
+
+ "amadan.net/rastrillo/rastrillo/migrate"
+)
+
+// Migration 0113 moves an open place card raised in a job thread to its
+// person's own conversation, where they can answer it (production,
+// 2026-11-27: a publish_site asked in the conversation put its card in
+// the task's job lane, c_mh62tz7zw2vq5wkojybcmzzcsv). Only open place
+// cards in a job lane move; their revision moves with them; a second run
+// changes nothing.
+func TestPlaceLaneMigrationMovesOpenPlaceCards(t *testing.T) {
+ ctx := context.Background()
+ var before []migrate.Migration
+ var repair migrate.Migration
+ for _, m := range Schema.All() {
+ if m.ID == "equipo/0113_place_cards_in_conversation" {
+ repair = m
+ break
+ }
+ before = append(before, m)
+ }
+ if repair.SQL == "" {
+ t.Fatal("no migration 0113")
+ }
+ d, err := migrate.Replay(ctx, before)
+ if err != nil {
+ t.Fatal(err)
+ }
+ defer d.Close()
+ if _, err := d.ExecContext(ctx, `INSERT INTO chat_cards (id, person, kind, state, lane, revision, created_at, updated_at) VALUES
+ ('c1', 'p@example.com', 'place', 'open', 'job:h_abc', 1, '2026-11-27', '2026-11-27'),
+ ('c2', 'p@example.com', 'place', 'answered', 'job:h_abc', 2, '2026-11-27', '2026-11-27'),
+ ('c3', 'p@example.com', 'place', 'open', '', 1, '2026-11-27', '2026-11-27'),
+ ('c4', 'p@example.com', 'publish', 'open', 'job:h_abc', 1, '2026-11-27', '2026-11-27'),
+ ('c5', 'p@example.com', 'place', 'open', 'assistant', 1, '2026-11-27', '2026-11-27')`); err != nil {
+ t.Fatal(err)
+ }
+ for range 2 {
+ if _, err := d.ExecContext(ctx, repair.SQL); err != nil {
+ t.Fatal(err)
+ }
+ }
+ want := map[string]string{"c1": "/2", "c2": "job:h_abc/2", "c3": "/1", "c4": "job:h_abc/1", "c5": "assistant/1"}
+ rows, err := d.QueryContext(ctx, `SELECT id, coalesce(lane, '') || '/' || revision FROM chat_cards ORDER BY id`)
+ if err != nil {
+ t.Fatal(err)
+ }
+ defer rows.Close()
+ n := 0
+ for rows.Next() {
+ var id, got string
+ if err := rows.Scan(&id, &got); err != nil {
+ t.Fatal(err)
+ }
+ n++
+ if want[id] != got {
+ t.Fatalf("%s: %s, want %s", id, got, want[id])
+ }
+ }
+ if n != len(want) {
+ t.Fatalf("%d cards", n)
+ }
+}
diff --git a/internal/thintest/place_lane_contract_test.go b/internal/thintest/place_lane_contract_test.go
new file mode 100644
index 00000000..6f370fa5
--- /dev/null
+++ b/internal/thintest/place_lane_contract_test.go
@@ -0,0 +1,177 @@
+package thintest
+
+import (
+ "strings"
+ "testing"
+
+ "amadan.net/oficina/equipo/internal/equipo"
+ "amadan.net/oficina/equipo/internal/wire"
+)
+
+// TestContractPlaceCardReachesThePerson (production, 2026-11-27): a merged
+// website whose task was made in a job thread. Asked in the person's own
+// conversation, publish_site raised the place card in the task's job lane,
+// where the conversation never shows it, and the open card then refused
+// every later ask. A person's request raises its cards, and says why it
+// cannot, where they asked; the card is in Needs you, and the tool's
+// answer links to it. A card they cannot see there, or one older than
+// the current request, is superseded by a fresh one; one this request
+// raised stands. The publish card that follows the tap, and what became
+// of the publish, are said there too.
+func TestContractPlaceCardReachesThePerson(t *testing.T) {
+ r := newToolRigAt(t, wire.ProtocolCurrent)
+ r.sitesOn(wire.ProtocolCurrent, false)
+ base, cand := strings.Repeat("1", 40), strings.Repeat("2", 40)
+ id, _ := r.websiteReady("j", "Quick website", base, cand, true)
+ r.previewDispatch(cand)
+ r.mergeFromCard("j-m", id, base, cand, strings.Repeat("e", 40))
+ // The task was made in a job thread.
+ const job = "job:h_abcdefgh"
+ if err := r.inst.DB.G.Exec("UPDATE chat_tasks SET lane = ? WHERE id = ?", job, id).Error; err != nil {
+ t.Fatal(err)
+ }
+ // Asked in the conversation while the runner still cannot publish:
+ // why is said there, not in the job's thread.
+ if err := r.inst.DB.G.Exec("UPDATE chat_messages SET idempotency_key = idempotency_key || ':before' WHERE idempotency_key LIKE 'publish-why:%'").Error; err != nil {
+ t.Fatal(err)
+ }
+ if res := r.call("j0", wire.ToolPublishSite, map[string]string{"task": id}); res.Code != "not_ready" {
+ t.Fatalf("publish_site without carlos %+v", res)
+ }
+ why := "[Quick website](/tasks/" + id + ") is merged, but I can’t publish it yet: the CARLOS command line tool on your runner is missing or older than v0.43.0."
+ r.wait("why, in the conversation", func(c *Conversation) bool {
+ n := 0
+ for _, m := range c.Replies() {
+ if m.Text == why {
+ n++
+ }
+ }
+ return n == 2
+ })
+ r.next("Publish the site now")
+ r.reachHello("1", []wire.ReachDeploy{})
+ res := r.call("j1", wire.ToolPublishSite, map[string]string{"task": id})
+ if res.IsError || res.Code != "proposed" {
+ t.Fatalf("publish_site %+v", res)
+ }
+ place, ok := r.cardKind(wire.CardPlace, id)
+ if !ok || place.State != wire.CardOpen {
+ t.Fatalf("the place card is not in the person's conversation (lanes %d in %s)", r.rows("SELECT count(*) FROM chat_cards WHERE kind = 'place' AND lane = ?", job), job)
+ }
+ if link := "/conversation?card=" + place.ID + "#card-" + place.ID; !strings.Contains(res.Text, link) {
+ t.Fatalf("the answer does not link the card: %q", res.Text)
+ }
+ if page := r.get(r.inst.Cookie(), "/tasks?needs=you", 200); !strings.Contains(page, "#card-"+place.ID) {
+ t.Fatal("Needs you lacks the place card")
+ }
+
+ // Asked again in the same request: the card stands, linked.
+ cands := placesData(t, r.call("j2", wire.ToolPlaces, map[string]string{"project": "sample"}))["sites"].([]any)[0].(map[string]any)["candidates"].([]any)
+ again := r.call("j2b", wire.ToolProposePlace, map[string]any{"kind": "site", "project": "sample", "candidate": cands[1].(map[string]any)["id"]})
+ if !again.IsError || again.Code != "already_proposed" || !strings.Contains(again.Text, "/conversation?card="+place.ID+"#card-"+place.ID) {
+ t.Fatalf("asked again %+v", again)
+ }
+ if n := r.rows("SELECT count(*) FROM chat_cards WHERE kind = 'place' AND state = 'open'"); n != 1 {
+ t.Fatalf("%d open place cards", n)
+ }
+
+ // A card stranded in a job thread (as in production) is superseded,
+ // even in the request that raised it; the fresh card keeps its task.
+ if err := r.inst.DB.G.Exec("UPDATE chat_cards SET lane = ? WHERE id = ?", job, place.ID).Error; err != nil {
+ t.Fatal(err)
+ }
+ if _, ok := r.cardKind(wire.CardPlace, id); ok {
+ t.Fatal("setup: the stranded card still shows")
+ }
+ res = r.call("j3", wire.ToolProposePlace, map[string]any{"kind": "site", "project": "sample", "candidate": cands[0].(map[string]any)["id"]})
+ fresh, ok := r.cardKind(wire.CardPlace, id)
+ if res.IsError || res.Code != "proposed" || !ok || fresh.ID == place.ID || fresh.State != wire.CardOpen || !strings.Contains(res.Text, "#card-"+fresh.ID) {
+ t.Fatalf("not raised afresh: %+v %+v", res, fresh)
+ }
+ if r.rows("SELECT count(*) FROM chat_cards WHERE id = ? AND state = ?", place.ID, wire.CardResolved) != 1 || r.audits("place.superseded") != 1 {
+ t.Fatal("the stranded card was not superseded, or not audited")
+ }
+
+ // A later request supersedes the one an earlier request raised, though
+ // it shows: the person asked again.
+ r.next("Publish the site")
+ res = r.call("j4", wire.ToolPublishSite, map[string]string{"task": id})
+ third, ok := r.cardKind(wire.CardPlace, id)
+ if res.IsError || res.Code != "proposed" || !ok || third.ID == fresh.ID || !strings.Contains(res.Text, "#card-"+third.ID) {
+ t.Fatalf("asked in a later request %+v %+v", res, third)
+ }
+ if n := r.rows("SELECT count(*) FROM chat_cards WHERE kind = 'place' AND state = 'open'"); n != 1 || r.audits("place.superseded") != 2 {
+ t.Fatalf("%d open place cards", n)
+ }
+ if page := r.get(r.inst.Cookie(), "/conversation", 200); !strings.Contains(page, "Nothing to decide any more.") {
+ t.Fatal("a superseded card does not say so")
+ }
+
+ // The person's tap there confirms it, and the publish card follows in
+ // their conversation, not the job's.
+ out, err := r.client.Answer(r.ctx, third.ID, third.Options[0], third.Revision)
+ if err != nil || out.Card.State != wire.CardAnswered {
+ t.Fatalf("confirm %+v %v", out.Card, err)
+ }
+ pub, ok := r.cardKind(wire.CardPublish, id)
+ if !ok || pub.State != wire.CardOpen {
+ t.Fatal("the publish card is not in the person's conversation")
+ }
+ // Published: said where they tapped Publish.
+ if _, err := r.client.Answer(r.ctx, pub.ID, wire.ChoicePublish, pub.Revision); err != nil {
+ t.Fatal(err)
+ }
+ d := r.publishDispatch()
+ if refused := r.lease(r.runner, "jp-start", wire.LeaseCheck{StepID: d.StepID, Attempt: d.Attempt}); refused != "" {
+ t.Fatalf("start refused %q", refused)
+ }
+ site := "https://" + pub.Site.App + ".bds.oncarlos.com/"
+ r.publishReport("jp-built", d, wire.StepRunning, &wire.PublishResult{Phase: wire.PublishBuilt, Digest: digestA, Files: 2, Bytes: 40})
+ for i, purpose := range []string{wire.LeasePurposePublish, wire.LeasePurposeMint} {
+ if refused := r.lease(r.runner, "jp-check-"+itoa(i), wire.LeaseCheck{StepID: d.StepID, Attempt: d.Attempt, Purpose: purpose, Digest: digestA, Destination: d.Publish.Destination}); refused != "" {
+ t.Fatalf("%s refused %q", purpose, refused)
+ }
+ }
+ r.publishReport("jp-done", d, wire.StepDone, &wire.PublishResult{Phase: wire.PublishDone, App: pub.Site.App, URL: site, Version: "s-eeeeeeeeeeee-x-1", Digest: digestA, Outcome: wire.PublishPublished, DeployHeld: true})
+ r.wait("published, in the conversation", func(c *Conversation) bool {
+ for _, m := range c.Replies() {
+ if strings.Contains(m.Text, site) {
+ return true
+ }
+ }
+ return false
+ })
+}
+
+// TestContractPlaceCardOtherOwnerUntouched (Astra on 8c5c1fbf): one
+// owner's request never settles another owner's place card. Bob asking
+// for the same project's site gets a card of his own; Alice's card stays
+// open at its revision, in her conversation and her Needs you.
+func TestContractPlaceCardOtherOwnerUntouched(t *testing.T) {
+ r := newToolRigAt(t, wire.ProtocolCurrent)
+ r.reachHello("1", []wire.ReachDeploy{})
+ if res := r.call("o0", wire.ToolAddProject, map[string]string{"repo": "oficina/sample"}); res.IsError {
+ t.Fatalf("add_project %+v", res)
+ }
+ cands := placesData(t, r.call("o1", wire.ToolPlaces, map[string]string{"project": "sample"}))["sites"].([]any)[0].(map[string]any)["candidates"].([]any)
+ if res := r.call("o2", wire.ToolProposePlace, map[string]any{"kind": "site", "project": "sample", "candidate": cands[0].(map[string]any)["id"]}); res.Code != "proposed" {
+ t.Fatalf("alice %+v", res)
+ }
+ alice, ok := r.cardKind(wire.CardPlace, "")
+ if !ok || alice.State != wire.CardOpen {
+ t.Fatal("no card for alice")
+ }
+ bob := personToolRigAt(t, r, "bob@example.com", equipo.RoleOwner, wire.ProtocolCurrent)
+ bob.reachHello("b1", []wire.ReachDeploy{})
+ bc := placesData(t, bob.call("b2", wire.ToolPlaces, map[string]string{"project": "sample"}))["sites"].([]any)[0].(map[string]any)["candidates"].([]any)
+ res := bob.call("b3", wire.ToolProposePlace, map[string]any{"kind": "site", "project": "sample", "candidate": bc[0].(map[string]any)["id"]})
+ if res.IsError || res.Code != "proposed" {
+ t.Fatalf("bob %+v", res)
+ }
+ if n := r.rows("SELECT count(*) FROM chat_cards WHERE id = ? AND state = ? AND revision = ?", alice.ID, wire.CardOpen, alice.Revision); n != 1 || r.audits("place.superseded") != 0 {
+ t.Fatal("bob's request settled alice's card")
+ }
+ if page := r.get(r.inst.Cookie(), "/tasks?needs=you", 200); !strings.Contains(page, "#card-"+alice.ID) {
+ t.Fatal("alice's Needs you lost her card")
+ }
+}