oficina / equipo Public

plans: Task 17b blocks and controller as systemd user units (R44)

Astra round 2. Long blocks and every controller start run as transient
user units (t17b-<RUN>-*), tracked by cgroup and stopped by unit name;
the environment-marker and PID-file machinery is gone. A stop is proved
by the unit being inactive or gone with an empty cgroup; anything else is
unresolved. S.0 stops and proves every unit before cleanup. The wait call
has one deadline that covers its reads and the stop. 0.2 probes the
mechanism before any AWS call.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev c04a32bb456f19149e8d596041fd06539dd2c756 parent 4ae8dc0
1 file changed, +281 −207
  • docs/superpowers/plans/2026-11-30-hosted-1a-task17b-live-plan.md +281 −207

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/hosted-runners-1a: Type  Size Avail | ext4   96G   85G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   85G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 1.6s
ci-box: codex: fetched and verified in 3.4s
ci-box: codex-code-mode-host: fetched and verified in 1.3s
ci-box: libwrap: fetched and verified in 0.3s
ci-box: socat: fetched and verified in 0.3s
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
ci-box: image pulled in 9.9s
ci-box: pi: installed and verified in 7.4s
ci-box: opencode: installed and verified in 1.9s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.6s
ci-box: clone deepened in 6.8s
ci-box: file times set from content: 3618 files, 234 directories
ci-box: ready in 20.4s
=== copy ===
EQUIPO_RELEASE_COPY_CHECK=1 CGO_ENABLED=0 go test ./internal/equipotest -run '^TestReleaseCopyReviewed$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipotest	0.232s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  1.5s
+ go list -export -test -tags testbuild -f  ./...
  0.8s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/equipotest ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  0.4s
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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m12.154s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m10.35s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m10.35s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 43.04, cpu waiting 24.78%, memory waiting 0.00%, io waiting 2.22%
--- shard 1 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-review: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadless$/^4_review$|^TestHeadless$/^2b_access$|^TestHeadless$/^runner_crash$|^TestHeadless$/^2b_first_message$|^TestHeadless$/^4_checks_honest$|^TestHeadless$/^7_stream_resume$|^TestHeadless$/^2b_notebook$|^TestHeadless$/^2b_move_in$|^TestHeadless$/^2b_desk_failure$|^TestHeadless$/^cancel$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m8.926s 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.048s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m7.05s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 43.04, cpu waiting 24.86%, memory waiting 0.00%, io waiting 2.38%
--- shard 2 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-connections: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessConnections$|^TestHeadlessTokenPasteEndToEnd$|^TestHeadlessTokenConnection$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m12.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 1m10.457s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m1.57s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 4.83s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.06s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 43.60, cpu waiting 24.78%, memory waiting 0.00%, io waiting 2.22%
--- shard 3 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-mac: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestMacWorker$|^TestHeadlessAttachments$|^TestHeadlessPrewarm$|^TestHeadless$/^1_first_token$|^TestHeadless$/^6_quick_messages$|^TestHeadless$/^8_instance_restart$|^TestHeadless$/^3_runner_offline$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 2m34.533s 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 2m32.548s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m59.24s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 15.48s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 8.99s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 8.84s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 16.68, cpu waiting 7.76%, memory waiting 0.00%, io waiting 0.56%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m28.053s 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 1m26.207s amadan.net/oficina/equipo/internal/headless
receipt: slow test 56.82s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.24s amadan.net/oficina/equipo/internal/headless TestHeadlessRunnerKillLeavesNoCopies
receipt: slow test 7.99s amadan.net/oficina/equipo/internal/headless TestHeadlessCopyRotation
receipt: slow test 7.44s amadan.net/oficina/equipo/internal/headless TestHeadlessPolicyGuards
receipt: slow test 4.72s amadan.net/oficina/equipo/internal/headless TestHeadlessNewHouseRuleStartsFresh
machine: 32 CPUs, load 38.28, cpu waiting 22.17%, memory waiting 0.00%, io waiting 1.70%
--- 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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 3m17.698s 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 3m15.294s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m33.06s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 22.98s amadan.net/oficina/equipo/internal/headless TestMacMixedVersions
receipt: slow test 20.44s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 9.34s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 7.09s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistantAttachments
machine: 32 CPUs, load 9.18, cpu waiting 3.85%, memory waiting 0.00%, io waiting 0.29%
--- 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 522ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 3m30.811s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 15.65s amadan.net/oficina/equipo/internal/thintest TestTasklessHoldResumes
receipt: slow test 11.31s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.69s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 5.47s amadan.net/oficina/equipo/internal/thintest TestNudgeResumesHeldJob
receipt: slow test 5.43s amadan.net/oficina/equipo/internal/thintest TestResumeBeforeRefusalReported
machine: 32 CPUs, load 2.04, cpu waiting 0.21%, memory waiting 0.00%, io waiting 7.36%
--- 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 395ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 2m23.957s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.65s amadan.net/oficina/equipo/internal/thintest TestContractRetryPreviewUnverifiedMerge
receipt: slow test 9.25s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.05s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 4.99s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 3.04s amadan.net/oficina/equipo/internal/thintest TestContractPausedJob
machine: 32 CPUs, load 2.04, cpu waiting 0.21%, memory waiting 0.00%, io waiting 7.36%
--- 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 7m5.872s, over the 45s its record on line 44 allows; reported only, timing fails on CI

receipt: test step 7m21.997s 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 7m5.872s amadan.net/oficina/equipo/internal/runner/thin
receipt: slow test 37.05s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeAnsweredByAnotherModel
receipt: slow test 36.9s amadan.net/oficina/equipo/internal/runner/thin TestModelsEngineeringProbesThenRunsTheStrongest
receipt: slow test 36.86s amadan.net/oficina/equipo/internal/runner/thin TestModelsUnhealthyRetriedOnDemand
receipt: slow test 33.25s amadan.net/oficina/equipo/internal/runner/thin TestWorkerHelloConnections
receipt: slow test 18.52s amadan.net/oficina/equipo/internal/runner/thin TestModelsProbeRunsInsideTheAdmission
machine: 32 CPUs, load 0.66, cpu waiting 0.05%, memory waiting 0.00%, io waiting 0.00%
--- shard 9 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane runner-bug: ./internal/runner
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestDirectBugWorkflow$|^TestEnrolKeepsTheRole$' ./internal/runner
cache miss: amadan.net/oficina/equipo/internal/runner: its inputs changed

receipt: test step 48.46s 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 47.308s amadan.net/oficina/equipo/internal/runner
receipt: slow test 27.28s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 40.32, cpu waiting 24.59%, memory waiting 0.00%, io waiting 3.32%
--- 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 49.436s 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 47.585s amadan.net/oficina/equipo/internal/runner
receipt: slow test 37.46s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 33.08s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.41s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.71s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 40.32, cpu waiting 24.59%, memory waiting 0.00%, io waiting 3.32%
--- 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 40.727s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 39.852s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.13s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 5.01s amadan.net/oficina/equipo/internal/runner TestEnrolCommitsTheCredentialLast
receipt: slow test 3.28s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.12s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.79s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
machine: 32 CPUs, load 31.46, cpu waiting 19.94%, memory waiting 0.00%, io waiting 3.79%
--- 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 32.6%, load 22.52
test lane equipotest-a: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^Test[A-D]|^TestQ' ./internal/equipotest
cache miss: amadan.net/oficina/equipo/internal/equipotest: its inputs changed

receipt: test step 1m12.172s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m10.067s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 31.81s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 31.7s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 29.38s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 26.53s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 26.34s amadan.net/oficina/equipo/internal/equipotest TestBudgetLoweringBelowUsage
machine: 32 CPUs, load 32.63, cpu waiting 18.03%, memory waiting 0.00%, io waiting 1.34%
--- 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 32.2%, load 22.52
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 419ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 2m20.429s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 23.29s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 23.25s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 23.24s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
receipt: slow test 23.23s amadan.net/oficina/equipo/internal/equipotest TestProjectsSharedAndGrouped
receipt: slow test 23.22s amadan.net/oficina/equipo/internal/equipotest TestProjectKindsAndDefaultBranch
machine: 32 CPUs, load 22.52, cpu waiting 13.01%, memory waiting 0.00%, io waiting 4.48%
--- 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 32.6%, load 22.52
test lane equipotest-r: ./internal/equipotest
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestR' ./internal/equipotest
cache miss: amadan.net/oficina/equipo/internal/equipotest: its inputs changed

receipt: test step 1m25.711s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m10.849s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 16.37s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 14.52s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 11.52s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 11.47s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 8.4s amadan.net/oficina/equipo/internal/equipotest TestRosterBootstrapOnce
machine: 32 CPUs, load 28.54, cpu waiting 14.47%, memory waiting 0.00%, io waiting 1.06%
--- 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 32.6%, load 22.52
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 486ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 1m11.889s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 30.35s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 29.88s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 29.85s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 27.37s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
receipt: slow test 27.35s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedOnce
machine: 32 CPUs, load 22.52, cpu waiting 13.01%, memory waiting 0.00%, io waiting 4.48%
--- shard 16 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: plan3test started 30s late; cpu waiting 32.6%, load 22.52
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 569ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 59.375s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 4.34s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.64s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.84s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.8s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.5s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorMessageSourcesUpgrade
machine: 32 CPUs, load 22.52, cpu waiting 13.01%, memory waiting 0.00%, io waiting 4.48%
--- 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 32.6%, load 22.52
test lane rest: ./cmd/equipo ./cmd/equipo-hosted-controller ./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/diffscan ./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/hostedclient ./internal/hostedctl ./internal/hostedwire ./internal/idtest ./internal/isolatedjob ./internal/isolatedjob/awsjob ./internal/isolatedjob/guardfixture ./internal/isolatedjob/isolatedjobtest ./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/mac/creds ./internal/runner/mac/denylist ./internal/runner/mac/fprobe ./internal/runner/mac/proc ./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/websearch ./internal/websearch/websearchtest ./internal/websource ./internal/websource/guard ./internal/websource/hostaddrs ./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-hosted-controller ./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/diffscan ./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/hostedclient ./internal/hostedctl ./internal/hostedwire ./internal/idtest ./internal/isolatedjob ./internal/isolatedjob/awsjob ./internal/isolatedjob/guardfixture ./internal/isolatedjob/isolatedjobtest ./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/mac/creds ./internal/runner/mac/denylist ./internal/runner/mac/fprobe ./internal/runner/mac/proc ./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/websearch ./internal/websearch/websearchtest ./internal/websource ./internal/websource/guard ./internal/websource/hostaddrs ./internal/wire ./internal/wire/forgekey ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/idtest: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/isolatedjob: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude/realcli: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/testci: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/codex: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
budget note: cmd/equipo-runner took 1m32.774s, over the 1m0s its record on line 73 allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo took 2m57.931s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/chat took 42.283s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/github took 45.935s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/equipo/setup took 13.671s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/hostedctl took 34.151s, 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 1m53.937s, over the 10s the default allows; reported only, timing fails on CI
budget note: internal/release took 54.152s, 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 39.999s, over the 15s its record on line 40 allows; reported only, timing fails on CI
budget note: internal/runner/mac took 50.157s, over the 45s its record on line 43 allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/runner/mac/fprobe took 12.299s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI

receipt: test step 2m18.147s against a 60s target (the gate's other steps are not in this figure)
receipt: 15 packages ran, 66 cached, 20 without tests, 0 failed
receipt: slow package 2m57.931s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 1m53.937s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 1m32.774s amadan.net/oficina/equipo/cmd/equipo-runner
receipt: slow package 54.167s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 54.152s amadan.net/oficina/equipo/internal/release
receipt: slow test 1m24.87s amadan.net/oficina/equipo/cmd/equipo-runner TestReleaseRunnerHasNoFakeWorker
receipt: slow test 57.51s amadan.net/oficina/equipo/internal/idtest TestDoorRemembersOficinaID
receipt: slow test 48.97s amadan.net/oficina/equipo/internal/idtest TestDoorOficinaSettingsUnreadableIsNoLoop
receipt: slow test 48.82s amadan.net/oficina/equipo/internal/idtest TestDoorForgetsOficinaIDForARefusedSession
receipt: slow test 48.78s amadan.net/oficina/equipo/internal/idtest TestDoorStepUpIsLocal
machine: 32 CPUs, load 13.42, cpu waiting 6.14%, memory waiting 0.00%, io waiting 0.44%
--- shard 18 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-chat: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m21.905s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m20.141s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.37s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 14.46s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 9.68s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.53s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 5.62s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 40.13, cpu waiting 23.64%, memory waiting 0.00%, io waiting 1.88%
--- shard 19 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-work: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m23.231s 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 1m21.302s amadan.net/oficina/equipo/internal/headless
receipt: slow test 24.91s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 19.42s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 12.79s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 8.62s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 6.92s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 40.13, cpu waiting 23.26%, memory waiting 0.00%, io waiting 1.82%
--- shard 20 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-connections: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m48.076s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m46.27s amadan.net/oficina/equipo/internal/headless
receipt: slow test 13.41s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 11.72s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 11.71s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 11.1s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsSignInEmail
receipt: slow test 10.86s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
machine: 32 CPUs, load 30.42, cpu waiting 16.50%, memory waiting 0.00%, io waiting 1.22%
--- 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|TestBrowserCardAnswerSettlesAtBottom|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
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m31.728s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m29.906s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 11.24s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 9.98s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 9.19s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 7.46s amadan.net/oficina/equipo/internal/headless TestBrowserRefreshRace
machine: 32 CPUs, load 36.81, cpu waiting 21.00%, memory waiting 0.00%, io waiting 1.59%
--- 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 381ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 2.488s amadan.net/oficina/equipo/internal/equipo
receipt: slow test 1.82s amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewPassExchange
receipt: slow test 660ms 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 248ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 6.416s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 6.42s 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.52s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI

receipt: test step 296ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 11.52s amadan.net/oficina/equipo/internal/idtest
receipt: slow test 9.21s amadan.net/oficina/equipo/internal/idtest TestBrowserSmartDoor
receipt: slow test 2.31s 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 305ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 2.506s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 2.51s 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|TestBrowserAskMacOffline|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 311ms against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 1 cached, 0 without tests, 0 failed
receipt: slow package 3m47.802s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 27.93s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.37s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.07s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.91s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 9.46s amadan.net/oficina/equipo/internal/thintest TestBrowserRhythm
machine: 32 CPUs, load 4.60, cpu waiting 1.45%, memory waiting 0.00%, io waiting 7.15%
--- 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   (49s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 5.04s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.37s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 7.82s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 8.16s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 24.73s
+ go test -tags testbuild -timeout 15m -v -run '^TestHeadlessConnections$/^C5_review_auth$|^TestHeadlessConnections$/^C5_review_failover$|^TestHeadlessConnections$/^C5_review_on_codex$|^TestHeadlessConnections$/^C5_review_other_family_first$' ./internal/headless   (49s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 11.16s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 10.66s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 10.13s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 14.76s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (20s)
ok ./internal/headless TestMixedVersions 17.70s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (2s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.77s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (1s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.05s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 40.32, cpu waiting 24.77%, memory waiting 0.00%, io waiting 3.21%
--- shard 24 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 24: make runner-host
python3 scripts/runner-prerequisites.py
CGO_ENABLED=0 RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py retried runner-host -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -no-time -run 'TestDirect|TestProvider|TestCheckSandbox' -count=1 ./internal/runner/provider/... ./internal/runner/checks

receipt: test step 8.653s against a 60s target (the gate's other steps are not in this figure)
receipt: 4 packages ran, 0 cached, 4 without tests, 0 failed
receipt: slow package 7.273s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 168ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 72ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 1ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/claude/realcli
receipt: slow test 5.2s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.69s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 290ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 170ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 80ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxToolchain
CGO_ENABLED=0 EQUIPO_REQUIRE_USER_SESSION=1 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.439s 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.032s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 300ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReadOnlyScratch
receipt: slow test 210ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryUnavailableProof
receipt: slow test 130ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceDirectPolicyAdmission
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReapsOrphans
receipt: slow test 110ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceRecoveryCleansScratch
machine: 32 CPUs, load 13.96, cpu waiting 5.16%, memory waiting 0.00%, io waiting 6.05%
--- 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 32.6%, load 22.52
shard 25: make runner-dead-references lanes-check build vet fmt-check spacing budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 3330 text files, 3857 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: 111 directories within budget
CGO_ENABLED=0 go test ./internal/equipo -run '^TestMigrationModels$' -count=1
ok  	amadan.net/oficina/equipo/internal/equipo	2.867s
machine: 32 CPUs, load 40.32, cpu waiting 24.59%, memory waiting 0.00%, io waiting 3.32%
--- 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 32.6%, load 22.52
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 22.52, cpu waiting 14.06%, memory waiting 0.00%, io waiting 4.34%
--- 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 32.6%, load 22.52
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 1 vulnerability 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 38.94, cpu waiting 25.41%, memory waiting 0.00%, io waiting 2.63%
--- 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 32.2%, load 22.52
shard 28: make gitleaks
10:04AM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
10:04AM INF 1410 commits scanned.
10:04AM INF scanned ~73850663 bytes (73.85 MB) in 17.1s
10:04AM INF no leaks found
machine: 32 CPUs, load 36.87, cpu waiting 23.67%, memory waiting 0.00%, io waiting 3.43%
=== 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.069ms, worst 1.11ms, budget 150ms
perf: GET /api/runner/protocol: median 85µs, worst 106µs, budget 150ms
perf: GET /api/v1/account-setups/{id}: median 605µs, worst 683µs, budget 150ms
perf: GET /api/v1/accounts: median 431µs, worst 447µs, budget 150ms
perf: GET /api/v1/auth/devices: median 460µs, worst 472µs, budget 150ms
perf: GET /api/v1/budgets: median 489µs, worst 515µs, budget 150ms
perf: GET /api/v1/capabilities: median 260µs, worst 282µs, budget 150ms
perf: GET /api/v1/cards/{id}: median 1.232ms, worst 1.375ms, budget 150ms
perf: GET /api/v1/connections: median 561µs, worst 642µs, budget 150ms
perf: GET /api/v1/connections/{id}: median 549µs, worst 575µs, budget 150ms
perf: GET /api/v1/conversation: median 939µs, worst 979µs, budget 150ms
perf: GET /api/v1/conversation/cards: median 1.454ms, worst 1.643ms, budget 150ms
perf: GET /api/v1/coordinator: median 1.832ms, worst 3.014ms, budget 150ms
perf: GET /api/v1/invites/{id}: median 510µs, worst 560µs, budget 150ms
perf: GET /api/v1/journey: median 8.61ms, worst 8.946ms, budget 150ms
perf: GET /api/v1/me: median 476µs, worst 511µs, budget 150ms
perf: GET /api/v1/me/settings: median 555µs, worst 570µs, budget 150ms
perf: GET /api/v1/needs-you: median 8.192ms, worst 8.399ms, budget 150ms
perf: GET /api/v1/notifications: median 1.58ms, worst 1.684ms, budget 150ms
perf: GET /api/v1/onboarding: median 400µs, worst 419µs, budget 150ms
perf: GET /api/v1/people: median 450µs, worst 460µs, budget 150ms
perf: GET /api/v1/playbooks: median 593µs, worst 614µs, budget 150ms
perf: GET /api/v1/playbooks/{id}: median 524µs, worst 558µs, budget 150ms
perf: GET /api/v1/playbooks/{id}/template-diff: median 814µs, worst 861µs, budget 150ms
perf: GET /api/v1/preferences: median 737µs, worst 785µs, budget 150ms
perf: GET /api/v1/projects/{id}: median 450µs, worst 484µs, budget 150ms
perf: GET /api/v1/projects/{id}/settings: median 556µs, worst 572µs, budget 150ms
perf: GET /api/v1/roster: median 460µs, worst 484µs, budget 150ms
perf: GET /api/v1/runners/{id}: median 405µs, worst 418µs, budget 150ms
perf: GET /api/v1/specialists: median 7.72ms, worst 7.897ms, budget 150ms
perf: GET /api/v1/specialists/{id}: median 7.64ms, worst 7.828ms, budget 150ms
perf: GET /api/v1/specialists/{id}/template-diff: median 830µs, worst 860µs, budget 150ms
perf: GET /api/v1/tasks/{id}/plan: median 1.103ms, worst 1.163ms, budget 150ms
perf: GET /api/v1/tasks/{id}/thread: median 720µs, worst 773µs, budget 150ms
perf: GET /api/v1/teams: median 431µs, worst 484µs, budget 150ms
perf: GET /api/v1/templates: median 580µs, worst 625µs, budget 150ms
perf: GET /api/v1/templates/{id}: median 441µs, worst 490µs, budget 150ms
perf: GET /auth/callback: median 88µs, worst 111µs, budget 150ms
perf: GET /auth/devices/{id}: median 3.955ms, worst 4.093ms, budget 150ms
perf: GET /auth/verify: median 87µs, worst 114µs, budget 150ms
perf: GET /connections: median 4.265ms, worst 4.437ms, budget 150ms
perf: GET /conversation: median 8.738ms, worst 11.927ms, budget 150ms
perf: GET /conversation/connections: median 252µs, worst 286µs, budget 150ms
perf: GET /conversation/notebook: median 246µs, worst 282µs, budget 150ms
perf: GET /conversation/settings: median 4.622ms, worst 4.679ms, budget 150ms
perf: GET /conversation/settings/autonomy: median 4.616ms, worst 4.807ms, budget 150ms
perf: GET /conversation/settings/connections: median 7.415ms, worst 7.538ms, budget 150ms
perf: GET /conversation/settings/connections/add: median 7.548ms, worst 7.676ms, budget 150ms
perf: GET /conversation/settings/copy: median 4.562ms, worst 4.698ms, budget 150ms
perf: GET /conversation/settings/github: median 4.123ms, worst 4.199ms, budget 150ms
perf: GET /conversation/settings/housekeeping: median 4.787ms, worst 4.905ms, budget 150ms
perf: GET /conversation/settings/machines: median 5.159ms, worst 7.539ms, budget 150ms
perf: GET /conversation/settings/machines/add: median 5.019ms, worst 5.198ms, budget 150ms
perf: GET /conversation/settings/notebook: median 3.999ms, worst 4.105ms, budget 150ms
perf: GET /conversation/settings/places: median 4.089ms, worst 4.149ms, budget 150ms
perf: GET /conversation/settings/thinking: median 4.512ms, worst 4.644ms, budget 150ms
perf: GET /github/connect/installation: median 177µs, worst 196µs, budget 150ms
perf: GET /github/connect/manifest: median 159µs, worst 184µs, budget 150ms
perf: GET /housekeeping: median 4.279ms, worst 4.437ms, budget 150ms
perf: GET /invites/new: median 588µs, worst 615µs, budget 150ms
perf: GET /invites/{id}: median 627µs, worst 687µs, budget 150ms
perf: GET /jobs: median 3.837ms, worst 3.997ms, budget 150ms
perf: GET /jobs/{id}: median 5.234ms, worst 5.304ms, budget 150ms
perf: GET /journey: median 10.803ms, worst 11.107ms, budget 150ms
perf: GET /nav/rail: median 3.699ms, worst 6.811ms, budget 150ms
perf: GET /needs-you: median 10.767ms, worst 11.178ms, budget 150ms
perf: GET /onboarding: median 4.664ms, worst 4.816ms, budget 150ms
perf: GET /people: median 4.049ms, worst 4.122ms, budget 150ms
perf: GET /playbook-suggestions/{suggestion}: median 5.215ms, worst 5.276ms, budget 150ms
perf: GET /playbooks: median 4.757ms, worst 4.906ms, budget 150ms
perf: GET /playbooks/new: median 4.855ms, worst 4.983ms, budget 150ms
perf: GET /playbooks/{id}: median 5.306ms, worst 5.407ms, budget 150ms
perf: GET /playbooks/{id}/edit: median 5.339ms, worst 5.499ms, budget 150ms
perf: GET /playbooks/{id}/template-diff: median 4.602ms, worst 4.798ms, budget 150ms
perf: GET /preferences: median 4.985ms, worst 7.624ms, budget 150ms
perf: GET /preferences/sources/{source}: median 4.635ms, worst 4.686ms, budget 150ms
perf: GET /projects: median 6.533ms, worst 6.679ms, budget 150ms
perf: GET /projects/accounts: median 4.248ms, worst 4.332ms, budget 150ms
perf: GET /projects/new: median 4.209ms, worst 4.304ms, budget 150ms
perf: GET /projects/{id}: median 10.727ms, worst 10.898ms, budget 150ms
perf: GET /projects/{id}/edit: median 4.24ms, worst 4.339ms, budget 150ms
perf: GET /runners/enrol: median 5ms, worst 5.073ms, budget 150ms
perf: GET /settings: median 4.037ms, worst 4.109ms, budget 150ms
perf: GET /settings/coordinator: median 5.927ms, worst 6.102ms, budget 150ms
perf: GET /settings/devices: median 4.04ms, worst 6.694ms, budget 150ms
perf: GET /settings/recovery: median 4.105ms, worst 4.271ms, budget 150ms
perf: GET /settings/recovery/release: median 4.125ms, worst 4.189ms, budget 150ms
perf: GET /settings/thinking: median 257µs, worst 331µs, budget 150ms
perf: GET /signed-out: median 265µs, worst 294µs, budget 150ms
perf: GET /signin: median 278µs, worst 300µs, budget 150ms
perf: GET /specialists/new: median 3.99ms, worst 4.07ms, budget 150ms
perf: GET /specialists/{key}: median 11.274ms, worst 11.416ms, budget 150ms
perf: GET /specialists/{key}/edit: median 4.183ms, worst 4.248ms, budget 150ms
perf: GET /specialists/{key}/template-diff: median 4.273ms, worst 4.354ms, budget 150ms
perf: GET /tasks: median 6.37ms, worst 6.468ms, budget 150ms
perf: GET /tasks/new: median 3.814ms, worst 3.9ms, budget 150ms
perf: GET /tasks/{id}: median 5.973ms, worst 6.029ms, budget 150ms
perf: GET /tasks/{id}/merge: median 5.663ms, worst 7.226ms, budget 150ms
perf: GET /tasks/{id}/move: median 5.415ms, worst 5.638ms, budget 150ms
perf: GET /tasks/{id}/plan: median 6.259ms, worst 6.489ms, budget 150ms
perf: GET /tasks/{id}/preview: median 1.696ms, worst 1.811ms, budget 150ms
perf: GET /tasks/{id}/questions/{question}: median 5.797ms, worst 5.844ms, budget 150ms
perf: GET /tasks/{id}/rendered-change: median 5.216ms, worst 5.348ms, budget 150ms
perf: GET /tasks/{id}/rendered-change/{hash}.png: median 4.832ms, worst 4.966ms, budget 150ms
perf: GET /tasks/{id}/thread: median 8.428ms, worst 8.528ms, budget 150ms
perf: GET /team/{specialist}: median 5.127ms, worst 5.199ms, budget 150ms
perf: GET /teams: median 10.534ms, worst 14.05ms, budget 150ms
perf: GET /templates: median 4.084ms, worst 4.301ms, budget 150ms
perf: GET /usage: median 5.051ms, worst 5.255ms, budget 150ms
perf: GET /work: median 3.742ms, worst 3.797ms, 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 164ms of [163.535877ms 164.013747ms 164.646271ms], budget 500ms

receipt: test step 37.902s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 106 without tests, 0 failed
receipt: slow package 10.791s 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-hosted-controller
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 test 10.24s amadan.net/oficina/equipo/internal/equipotest TestPerfScreens
receipt: slow test 550ms amadan.net/oficina/equipo/internal/equipotest TestPerfBoot
=== cache ===
ci-box: build cache /home/ci/work/repos/oficina__equipo/cache/go-build: 3.62 GiB in 24929 files
ci-box: module cache /home/ci/work/repos/oficina__equipo/cache/go-mod: 1.22 GiB in 43018 files
diff --git a/docs/superpowers/plans/2026-11-30-hosted-1a-task17b-live-plan.md b/docs/superpowers/plans/2026-11-30-hosted-1a-task17b-live-plan.md
index 5c22b1ff..97cbda28 100644
--- a/docs/superpowers/plans/2026-11-30-hosted-1a-task17b-live-plan.md
+++ b/docs/superpowers/plans/2026-11-30-hosted-1a-task17b-live-plan.md
@@ -93,14 +93,19 @@ comes back to Paul first.
`TestLiveControllerSequence`), not parsed from the test log.
9. **Metric reads in 7 and 8 are observations.** A metrics read that fails is a FINDING (`mread`),
not a hard stop; the listener check stays a hard stop.
-10. **Blocks never overlap** (attempt 4's process note: 7.2, 7.3 and 7.4 were started back to back).
- Each detached block gets a random identity in its environment (`blockctl.sh`, written by 0.2).
- The long-block start refuses while another block is unfinished, and `env.sh` refuses to load
- while a detached block other than its own is unfinished. A block stopped at its bound is marked
- `killed` only after TERM, then KILL, and a fresh scan proves no process holds its identity;
- otherwise it is `unresolved`. S.0, a local emergency stop run before `env.sh`, stops unfinished
- blocks and the controller and proves them gone before S.1 to S.3; if it cannot, that is a hard
- stop reported to Paul with the PIDs.
+10. **Blocks and the controller run as systemd user units (R44), and blocks never overlap.**
+ Attempt 4 started 7.2, 7.3 and 7.4 back to back. Every long block now runs as the transient
+ user unit `t17b-<RUN>-<block>.service` and every controller start as
+ `t17b-<RUN>-ctl-<label>.service` (`systemd-run --user --collect`, `KillMode=control-group`,
+ `TimeoutStopSec=45`), so systemd tracks each one's processes by its cgroup and reaps them.
+ Every start, stop and state read goes by unit name; there are no PID files, PID signals or
+ environment markers. A unit is proved stopped only when it is inactive or failed and gone, or
+ its cgroup is empty; anything unknown is `unresolved`. The long-block start refuses while a block
+ unit is running or unresolved, and `env.sh` refuses to load while a block unit other than its own
+ is. A block past its bound is stopped with `systemctl --user stop`. S.0, a local emergency stop
+ run before `env.sh`, stops every unit of the run and proves each one done before S.1 to S.3; if
+ it cannot, that is a hard stop that prints the unit names for Paul. 0.2 proves the mechanism
+ with a probe unit before any AWS call. Helpers: `unitctl.sh` and `bin/exitpost.sh` (0.2).
11. **Fresh scratch and names.** Scratch is `$TMPDIR/equipo-t17b` (and `$TMPDIR/equipo-t17b-pre` for
0.1 and 0.2); revision 5's 0.1a (attempt 1's scratch) is gone. The run ID is
`<mmdd>-b<6 hex>`, so every name is run-unique, with the same collision checks (R39). The base
@@ -149,11 +154,11 @@ setting are checked by the controller's own code before the first launch.
environment file (0.2) defines every helper the blocks use; nothing is pasted by hand.
- **One block at a time.** A block starts only after the previous one has finished: a foreground
block has returned, and a long block's wait call has printed its exit status. The start call for
- a long block refuses while any other block is unfinished, and `env.sh` refuses to load (exit 1)
- while a detached block other than the one loading it is unfinished, so an overlap stops at once.
- Unfinished means running, or with no proof that it stopped (no status, or status `unresolved`);
- the proof is described under the long-block mechanism. After an abort, S.0 stops any unfinished
- block and the controller before anything sources `env.sh` again. (Attempt 4 started 7.2, 7.3 and
+ a long block refuses while any block unit of the run is running or unresolved, and `env.sh`
+ refuses to load (exit 1) while a block unit other than the one loading it is, so an overlap stops
+ at once. Unresolved means its state cannot be established, or its status is `unresolved`; the
+ proof is described under the long-block mechanism. After an abort, S.0 stops every unit of the
+ run before anything sources `env.sh` again. (Attempt 4 started 7.2, 7.3 and
7.4 back to back; with section 7 skipped it did no harm, but it would have with the controller
running.)
- **Two kinds of stop (Paul, 2026-11-28).** `die` is kept for the hard stops: the wrong account or
@@ -211,86 +216,95 @@ setting are checked by the controller's own code before the first launch.
`INTENT` with neither): never skipped; the block aborts, so teardown cannot complete, S.3 cannot
report "never created", and 10.9 cannot remove the scratch until S.2 reconciles it.
- **Long blocks, one mechanism.** These blocks can run past the Bash tool's 10-minute limit for one
- call: 2.1, 2.3, 3.8, 6.1, 7.2, 7.3, 7.4, 8.2, 10.1 and 10.2 (bounds below). Each is
- written to a script file and run detached from a sandbox-off shell, and its exit status is read
- from a status file. Every one of them starts with the sandbox-off header, so it runs the same way
- detached. The agent never uses another background mechanism.
+ call: 2.1, 2.3, 3.8, 6.1, 7.2, 7.3, 7.4, 8.2, 10.1 and 10.2 (bounds below). Each is written to a
+ script file and run as a transient systemd user unit, started from a sandbox-off shell (R44); its
+ exit status is read from a status file the unit's `ExecStopPost` writes. Every one of them starts
+ with the sandbox-off header (`T17=` set explicitly). The agent never uses another background
+ mechanism.
1. Write the block's text, exactly as printed here with only the `<T17 printed by 0.2>` path filled
in, to `$T17/blocks/<block>.sh` (for example `$T17/blocks/6.1.sh`), as for every block.
- 2. Start it (one sandbox-off call). A refused start changes nothing: it is not an abort. Wait for
- the unfinished block with its wait call, then start again. (After an abort, the safe stop
- begins with S.0, which handles any unfinished block.)
+ 2. Start it (one sandbox-off call). It runs as the transient systemd user unit
+ `t17b-<RUN>-<block>.service` (R44). A refused start changes nothing and is not an abort: wait
+ for the unfinished block with its wait call, then start again. (After an abort, the safe stop
+ begins with S.0, which stops any unit of the run.)
```sh
set -euo pipefail; T17='<T17 printed by 0.2>'; B='<block>'
- . "$T17/blockctl.sh"; d=$BLK_D
+ . "$T17/run.env"; . "$T17/unitctl.sh"; d="$T17/blocks"
[ -s "$d/$B.sh" ] || { echo "ABORT: no $d/$B.sh"; exit 1; }
- [ ! -e "$d/$B.status" ] && [ ! -e "$d/$B.pid" ] && [ ! -e "$d/$B.id" ] || { echo "ABORT: block $B was already started"; exit 1; }
- if busy=$(blk_busy); then echo "REFUSED: another block is not finished: $busy"; exit 1; fi
+ [ ! -e "$d/$B.status" ] && [ ! -e "$d/$B.unit" ] || { echo "ABORT: block $B was already started"; exit 1; }
+ if busy=$(blocks_busy); then echo "REFUSED: a block is not finished: $busy"; exit 1; fi
bash -n "$d/$B.sh"
- id="$B-$(openssl rand -hex 8)"; printf '%s\n' "$id" > "$d/$B.id"
- date +%s > "$d/$B.start"
- setsid nohup env T17_BLOCK="$B" T17_BLOCK_ID="$id" bash -c 'bash "$0" > "$1" 2>&1; echo $? > "$2"' "$d/$B.sh" "$d/$B.out" "$d/$B.status" </dev/null >/dev/null 2>&1 &
- echo $! > "$d/$B.pid"; echo "block $B started, PID $(cat "$d/$B.pid"), identity $id"
+ u="${UNIT_PREFIX}$B.service"; printf '%s\n' "$u" > "$d/$B.unit"; date +%s > "$d/$B.start"
+ unit_start "$u" "$d/$B.out" "$d/$B.status" -E "T17_BLOCK=$B" -- bash "$d/$B.sh" || { echo "ABORT: systemd-run could not start $u; run S.0"; exit 1; }
+ echo "block $B started as unit $u"
```
- 3. Wait (repeat this sandbox-off call until it prints an exit status; each call takes at most
- about 9.5 minutes: 8 of waiting, then up to 45 s to stop a block and 30 s for its last
- processes to exit; `MAXMIN` is the block's bound from the table):
+ 3. Wait (repeat this sandbox-off call until it prints an exit status, `ABORT` or `UNRESOLVED`;
+ `MAXMIN` is the block's bound from the table). Each call has one deadline, 540 s after it
+ starts, that covers every read and the stop: it waits only while at least 135 s are left, each
+ wait step (a 5 s sleep and one `systemctl` read bounded at 10 s) takes at most 15 s, and a stop
+ takes at most 75 s plus 15 s of reads that never pass the deadline. So a call ends within about
+ 9 minutes, under the tool's 10-minute limit.
```sh
set -euo pipefail; T17='<T17 printed by 0.2>'; B='<block>'; MAXMIN='<bound>'
- . "$T17/blockctl.sh"; d=$BLK_D
- id=$(blk_id "$B") && [ -s "$d/$B.start" ] || { echo "ABORT: block $B was not started"; exit 1; }
- for i in $(seq 1 96); do [ -s "$d/$B.status" ] && break; sleep 5; done
- tail -n 60 "$d/$B.out" || true
- if [ -s "$d/$B.status" ]; then
- s=$(cat "$d/$B.status")
- for i in $(seq 1 30); do [ -z "$(blk_pids "$id")" ] && break; sleep 1; done
- if [ -n "$(blk_pids "$id")" ]; then
- echo "block $B wrote status [$s] but processes holding $id are alive: $(blk_pids "$id" | tr '\n' ' ')"
- if blk_stop "$id"; then echo "ABORT: they were stopped (TERM, then KILL) and are gone; run the safe stop from S.0"; exit 1; fi
- echo unresolved > "$d/$B.status"
- echo "HARD STOP: block $B could not be proved stopped; still alive after KILL: $BLK_LEFT. Run S.0; if it cannot prove them gone, report these PIDs to Paul"; exit 1
+ DL=$(( $(date +%s) + 540 ))
+ . "$T17/run.env"; . "$T17/unitctl.sh"; d="$T17/blocks"
+ [ -s "$d/$B.unit" ] && [ -s "$d/$B.start" ] || { echo "ABORT: block $B was not started"; exit 1; }
+ u=$(cat "$d/$B.unit")
+ over() { [ $(( ($(date +%s) - $(cat "$d/$B.start")) / 60 )) -ge "$MAXMIN" ]; }
+ while :; do
+ s=$(unit_state "$u")
+ [ "$s" = running ] && ! over && [ "$(date +%s)" -le $(( DL - 135 )) ] || break
+ sleep 5
+ done
+ tail -n 60 "$d/$B.out" 2>/dev/null || true
+ case "$s" in
+ done)
+ st=$(cat "$d/$B.status" 2>/dev/null || echo unknown)
+ echo "block $B finished: unit $u is inactive or gone with an empty cgroup; exit status $st"
+ [ "$st" = 0 ] || exit 1; exit 0;;
+ unresolved) echo "UNRESOLVED: the state of unit $u cannot be established; this is an abort: run S.0"; exit 1;;
+ esac
+ if over; then
+ if unit_stop "$u" "$(( DL - 5 ))"; then
+ printf 'killed\n' > "$d/$B.status"
+ echo "ABORT: block $B ran past its $MAXMIN-minute bound; systemd stopped unit $u (TERM, then KILL) and it is inactive or gone with an empty cgroup"; exit 1
fi
- echo "block $B exit status $s"; [ "$s" = 0 ] || exit 1; exit 0
+ printf 'unresolved\n' > "$d/$B.status"
+ echo "UNRESOLVED: block $B ran past its $MAXMIN-minute bound and unit $u was not proved stopped within this call; run S.0 in a fresh call"; exit 1
fi
- el=$(( ($(date +%s) - $(cat "$d/$B.start")) / 60 ))
- if [ "$el" -ge "$MAXMIN" ]; then
- if blk_stop "$id"; then
- echo killed > "$d/$B.status"
- echo "ABORT: block $B ran past its $MAXMIN-minute bound; every process holding $id was stopped and a fresh scan finds none"; exit 1
- fi
- echo unresolved > "$d/$B.status"
- echo "HARD STOP: block $B ran past its $MAXMIN-minute bound and could not be proved stopped; still alive after KILL: $BLK_LEFT. Run S.0; if it cannot prove them gone, report these PIDs to Paul"; exit 1
- fi
- echo "block $B still running after $el minutes"
+ echo "block $B still running after $(( ($(date +%s) - $(cat "$d/$B.start")) / 60 )) minutes; call again"
```
- An exit status other than 0, the bound passing, or processes left after the block's status is
- written, is an abort (safe stop, from S.0). How "stopped" is proved: the start call gives each
- detached block a random identity (`T17_BLOCK_ID=<block>-<16 hex>`, saved in
- `blocks/<block>.id`) in its environment, which every process it starts inherits. `blk_stop` sends
- TERM to every process whose own `/proc/<pid>/environ` holds that exact entry (re-read just before
- each signal), waits up to 30 s, then sends KILL each second for up to 15 s, and succeeds only when
- a fresh scan finds no such process. A reused PID or process group cannot hold the identity, so it
- is never signalled and never mistaken for the block. `killed` is written only after that proof;
- when it fails, the status is `unresolved`, which every guard treats as unfinished until S.0 proves
- the processes gone. 0.2 checks once (`blk_selftest`) that the shell can read its own processes'
- environments; otherwise the run cannot start. Bounds in minutes:
+ An exit status other than 0, `killed`, `unresolved` or the bound passing is an abort (safe stop,
+ from S.0). How "stopped" is proved (R44): systemd keeps a unit's processes, and everything they
+ start, in the unit's own cgroup, whatever they do to their environment or process group, and it
+ reaps them. A stop is `systemctl --user stop <unit>`: TERM to every process in the cgroup, KILL
+ after `TimeoutStopSec=45`. `unit_state` reads `done` only when `ActiveState` is inactive or failed
+ and the unit is gone (collected, which systemd does only once the cgroup is empty) or its
+ `cgroup.procs` is absent or empty; anything unknown or unreadable is `unresolved`, which every
+ guard treats as unfinished until S.0 proves the unit done. Starts, stops and reads go by unit name
+ only; nothing is signalled by PID. The exit status comes from the unit's `ExecStopPost`
+ (`bin/exitpost.sh`), which records the main process's status, or `signal:<name>`, however the unit
+ ends. 0.2 proves the mechanism once with a probe unit before any AWS call. Bounds in minutes:
2.1: 10; 2.3: 20; 3.8: 50; 6.1: 40; 7.2: 40; 7.3: 15; 7.4: 25; 8.2: 25; 10.1: 30; 10.2: 130 (its
shared budget is 120).
-- **The controller, with the sandbox off (R37).** A sandboxed Bash call kills its child processes
- when it returns, so every block that starts, checks or stops the controller runs with the agent's
- sandbox OFF: 5.6, 6.1, 7.1, 7.2, 7.3, 7.4, 8.1, 8.2, 10.1, 10.9, S.0, S.1 and S.3, plus the other
- long blocks (2.1, 2.3, 3.8, 10.2), which run detached. Outside
- the sandbox `$TMPDIR` is different, so those blocks set `T17` explicitly to the path 0.2 printed;
- their first line reads `set -euo pipefail; T17='<T17 printed by 0.2>'; . "$T17/env.sh"`, and that
- path is the only text the agent fills in. `start_ctl` starts the controller with `setsid nohup`,
- writes its PID and, when it ends, its exit status to files. `ctl_alive` and `stop_ctl` check that
- the PID still belongs to this run's binary (`/proc/<pid>/cmdline`) before anything is signalled.
- If the controller is gone when a block expects it, or a port stays open with no matching
- process, that is an abort.
+- **The controller, as a unit (R37, R44).** Every block that starts, checks or stops the
+ controller runs with the agent's sandbox OFF: 5.6, 6.1, 7.1, 7.2, 7.3, 7.4, 8.1, 8.2, 10.1, 10.9,
+ S.0, S.1 and S.3, plus the other long blocks (2.1, 2.3, 3.8, 10.2). Those blocks set `T17`
+ explicitly to the path 0.2 printed; their first line reads
+ `set -euo pipefail; T17='<T17 printed by 0.2>'; . "$T17/env.sh"`, and that path is the only text
+ the agent fills in. `start_ctl` starts each controller run as its own transient user unit,
+ `t17b-<RUN>-ctl-<label>.service` (labels `audit-only`, `sequence`, `crash`, `recover`, `orphan`),
+ never as a child of the block that starts it. The controller is the unit's main process; its
+ output goes to `controller.log` and its exit status (137 for 7.3's crash point) to
+ `controller.exit`, written by the unit's `ExecStopPost`. Its environment is the user manager's,
+ the list in `unitctl.sh` and the `EQUIPO_HOSTED_*` settings `start_ctl` is given, nothing else.
+ `ctl_alive` reads the unit's state; `stop_ctl` stops the unit by name and proves it done. If the
+ controller is gone when a block expects it, or a port stays open after its unit is done, that is
+ an abort.
- **docs-t1.** The controller listens on `127.0.0.1:18443` (API) and `127.0.0.1:18444` (metrics)
only, checked after every start. The hook server in the image listens on port 9000 inside the
MicroVM, not on docs-t1. Scratch is `$TMPDIR/equipo-t17b`, removed in 10.9. Go caches stay at
@@ -333,7 +347,7 @@ s=$(git status --porcelain --untracked-files=all -- . ':!docs'); [ -z "$s" ] ||
git log --oneline -1
aws --version
go version
-for t in jq openssl sha256sum curl ss python3 setsid nohup timeout; do command -v "$t" >/dev/null || { echo "ABORT: missing $t"; exit 1; }; done
+for t in jq openssl sha256sum curl ss python3 systemd-run systemctl timeout; do command -v "$t" >/dev/null || { echo "ABORT: missing $t"; exit 1; }; done
CGO_ENABLED=0 go test -tags hostedlive ./internal/isolatedjob/awsjob/livectl -count=1
CGO_ENABLED=0 go test ./internal/isolatedjob/awsjob -count=1
printf '%s\n' "$PIN_SHA" > "$P/pin"
@@ -356,59 +370,123 @@ PIN_SHA=$(cat "$TMPDIR/equipo-t17b-pre/pin") || { echo "ABORT: 0.1 has not passe
(cd /home/paulca/amadan.net/oficina/equipo-hosted-1a && git merge-base --is-ancestor "$PIN_SHA" HEAD \
&& [ -z "$(git diff "$PIN_SHA" HEAD -- . ':!docs')" ]) || { echo "ABORT: HEAD moved away from $PIN_SHA since 0.1"; exit 1; }
[ ! -e "$TMPDIR/equipo-t17b" ] || { echo "ABORT: $TMPDIR/equipo-t17b already exists"; exit 1; }
+case "$TMPDIR/equipo-t17b" in *[!A-Za-z0-9/._-]*) echo "ABORT: the scratch path has characters a systemd command line could misread"; exit 1;; esac
mkdir -m 700 "$TMPDIR/equipo-t17b"
mkdir -m 700 "$TMPDIR/equipo-t17b"/{out,image,iam,keys,bin,blocks}
-cat > "$TMPDIR/equipo-t17b/blockctl.sh" <<'BCEOF'
-# blockctl.sh: detached-block bookkeeping for Task 17b. Functions only; no AWS call. Sourced by
+cat > "$TMPDIR/equipo-t17b/unitctl.sh" <<'BCEOF'
+# unitctl.sh: systemd user units for Task 17b (ruling R44). Functions only; no AWS call. Sourced by
# env.sh, by the long-block start and wait calls, and by S.0, which runs before env.sh.
-# Identity: the start call gives each detached block a random identity, T17_BLOCK_ID=<block>-<16 hex>,
-# written to blocks/<block>.id before the block starts and put in the block's environment, so every
-# process the block starts inherits it. A process belongs to the block only if its own
-# /proc/<pid>/environ holds that exact entry: a reused PID or process group never does.
-: "${T17:?T17 is unset}"
-BLK_D="$T17/blocks"
-# blk_id B: the identity recorded for block B (status 1 if none).
-blk_id() { [ -s "$BLK_D/$1.id" ] && cat "$BLK_D/$1.id"; }
-# blk_pids ID: the PIDs of live processes whose environment holds T17_BLOCK_ID=ID exactly.
-blk_pids() { { grep -lzxF "T17_BLOCK_ID=$1" /proc/[0-9]*/environ 2>/dev/null || true; } | sed -n 's|^/proc/\([0-9][0-9]*\)/environ$|\1|p'; }
-# blk_selftest: 0 if blk_pids can see a marked process of ours; the guards rely on it.
-blk_selftest() { local id="selftest-$$-$RANDOM$RANDOM" p found
- env T17_BLOCK_ID="$id" sleep 30 & p=$!
- sleep 0.5; found=$(blk_pids "$id")
- kill "$p" 2>/dev/null || true; wait "$p" 2>/dev/null || true
- [ "$found" = "$p" ]; }
-# blk_state B: done (a status file that is not "unresolved", and no live process), running (a live
-# process), or unresolved (no identity, no status, or status "unresolved", with nothing alive).
-blk_state() { local id s
- id=$(blk_id "$1") || { echo unresolved; return 0; }
- [ -z "$(blk_pids "$id")" ] || { echo running; return 0; }
- s=$(cat "$BLK_D/$1.status" 2>/dev/null || true)
- case "$s" in ""|unresolved) echo unresolved;; *) echo done;; esac; }
-# blk_busy [EXCEPT]: print "<block> <state>" for each recorded block, other than EXCEPT, that is not
-# done (a PID file without an identity counts as not done); status 0 if there is one, 1 if none.
-blk_busy() { local f b s r=1
- for f in "$BLK_D"/*.pid; do
- [ -e "$f" ] || continue; b=$(basename "${f%.pid}")
- if [ "$b" != "${1:-}" ] && [ ! -s "$BLK_D/$b.id" ]; then echo "$b no-identity"; r=0; fi
- done
- for f in "$BLK_D"/*.id; do
- [ -e "$f" ] || continue; b=$(basename "${f%.id}"); [ "$b" != "${1:-}" ] || continue
- s=$(blk_state "$b"); [ "$s" = done ] || { echo "$b $s"; r=0; }
- done; return "$r"; }
-# _blk_sig SIG ID: signal every process holding ID, re-reading each one's environment just before.
-_blk_sig() { local p
- for p in $(blk_pids "$2"); do
- if { tr '\0' '\n' < "/proc/$p/environ"; } 2>/dev/null | grep -qxF "T17_BLOCK_ID=$2"; then kill "-$1" "$p" 2>/dev/null || true; fi
+# Every detached block and every controller start is a transient user service:
+# t17b-<RUN>-<block>.service or t17b-<RUN>-ctl-<label>.service. systemd keeps the service's
+# processes, and everything they start, in the unit's own cgroup, whatever they do to their
+# environment or process group, and reaps them. Every start, stop and state read goes by unit name;
+# nothing is ever signalled by PID.
+: "${T17:?T17 is unset}"; : "${RUN:?RUN is unset}"
+UNIT_PREFIX="t17b-$RUN-"
+# Variables passed to a unit when set in the caller. env.sh unsets every AWS key, and no key or
+# token is listed here, so no credential can reach a unit's properties.
+UNIT_ENV_VARS="PATH HOME USER LOGNAME LANG LANGUAGE LC_ALL TZ TMPDIR XDG_RUNTIME_DIR XDG_CACHE_HOME XDG_CONFIG_HOME
+ DBUS_SESSION_BUS_ADDRESS GOPATH GOMODCACHE GOCACHE GOCACHEPROG GOFLAGS GOPROXY GOSUMDB GONOSUMDB GOPRIVATE GONOPROXY
+ GOTOOLCHAIN GOENV SSL_CERT_FILE SSL_CERT_DIR HTTP_PROXY HTTPS_PROXY NO_PROXY http_proxy https_proxy no_proxy
+ AWS_PROFILE AWS_REGION AWS_DEFAULT_REGION AWS_PAGER AWS_STS_REGIONAL_ENDPOINTS AWS_RETRY_MODE AWS_MAX_ATTEMPTS CGO_ENABLED"
+# _sc ARGS...: systemctl --user, bounded at 10 s.
+_sc() { timeout 10 systemctl --user "$@"; }
+# unit_state UNIT: prints running, done or unresolved.
+# running: ActiveState active, activating, deactivating, reloading or refreshing.
+# done: ActiveState inactive or failed, and the unit is gone (LoadState not-found: --collect
+# removed it, which systemd does only after its cgroup is empty), or it is loaded and
+# its cgroup no longer exists or lists no process.
+# unresolved: anything else: a systemctl call that fails or times out, any other state, or a
+# cgroup that cannot be read or still lists a process.
+unit_state() { local o load act cg f procs
+ o=$(_sc show -p LoadState -p ActiveState -p ControlGroup -- "$1" 2>/dev/null) || { echo unresolved; return 0; }
+ load=$(sed -n 's/^LoadState=//p' <<<"$o"); act=$(sed -n 's/^ActiveState=//p' <<<"$o"); cg=$(sed -n 's/^ControlGroup=//p' <<<"$o")
+ case "$act" in
+ active|activating|deactivating|reloading|refreshing) echo running; return 0;;
+ inactive|failed) ;;
+ *) echo unresolved; return 0;;
+ esac
+ if [ "$load" = not-found ]; then echo done; return 0; fi
+ [ "$load" = loaded ] || { echo unresolved; return 0; }
+ if [ -n "$cg" ]; then
+ f="/sys/fs/cgroup$cg/cgroup.procs"
+ if [ -e "$f" ]; then
+ procs=$(cat "$f" 2>/dev/null) || { echo unresolved; return 0; }
+ [ -z "$procs" ] || { echo unresolved; return 0; }
+ fi
+ fi
+ echo done; }
+# run_units: the names of every unit of this run that systemd has loaded; status 1 if systemctl fails.
+run_units() { local o; o=$(_sc list-units --all --plain --no-legend --full -- "${UNIT_PREFIX}*") || return 1
+ awk '{for (i = 1; i <= NF; i++) if ($i ~ /\.service$/) {print $i; break}}' <<<"$o"; }
+# unit_stop UNIT [DEADLINE]: systemctl --user stop, bounded at 75 s (systemd sends TERM to every
+# process in the unit's cgroup, KILL after TimeoutStopSec=45, and reaps them); then reads unit_state
+# for up to 15 s, never past DEADLINE (epoch seconds) when one is given. Status 0 only on done.
+unit_stop() { local end; timeout 75 systemctl --user stop -- "$1" >/dev/null 2>&1 || true
+ end=$(( $(date +%s) + 15 )); if [ -n "${2:-}" ] && [ "$2" -lt "$end" ]; then end=$2; fi
+ while :; do
+ [ "$(unit_state "$1")" = done ] && return 0
+ [ "$(date +%s)" -lt "$end" ] || return 1
+ sleep 1
done; }
-# blk_stop ID: TERM every process of the block, wait up to 30 s, then KILL whatever is left (again
-# each second, for processes forked meanwhile) for up to 15 s. Status 0 only when a fresh scan finds
-# no process holding ID; 1 otherwise, with the survivors' PIDs in BLK_LEFT.
-blk_stop() { local i; BLK_LEFT=""
- _blk_sig TERM "$1"
- for i in $(seq 1 30); do [ -z "$(blk_pids "$1")" ] && return 0; sleep 1; done
- for i in $(seq 1 15); do _blk_sig KILL "$1"; sleep 1; [ -z "$(blk_pids "$1")" ] && return 0; done
- BLK_LEFT=$(blk_pids "$1" | tr '\n' ' '); return 1; }
+# unit_start UNIT OUT STATUS [-E NAME=VALUE]... -- CMD...: run CMD as a transient user service in its
+# own cgroup, with KillMode=control-group and TimeoutStopSec=45; stdout and stderr appended to OUT;
+# working directory $T17; and, however it ends, bin/exitpost.sh writes its exit status (or
+# signal:<name>) to STATUS. --collect removes the unit once it has ended. Its environment is the user
+# manager's plus the UNIT_ENV_VARS set in the caller plus the -E pairs.
+unit_start() { local u=$1 out=$2 st=$3 v; shift 3
+ local args=(--user --quiet --collect "--unit=$u" -p KillMode=control-group -p TimeoutStopSec=45
+ -p "WorkingDirectory=$T17" -p StandardInput=null -p "StandardOutput=append:$out" -p "StandardError=append:$out"
+ -p "ExecStopPost=$T17/bin/exitpost.sh $st")
+ for v in $UNIT_ENV_VARS; do [ -z "${!v+x}" ] || args+=(-E "$v=${!v}"); done
+ while [ "$#" -gt 0 ] && [ "$1" != -- ]; do
+ [ "$1" = -E ] && [ "$#" -ge 2 ] || { echo "unit_start: bad arguments" >&2; return 3; }
+ args+=(-E "$2"); shift 2
+ done
+ [ "${1:-}" = -- ] && [ "$#" -ge 2 ] || { echo "unit_start: no command" >&2; return 3; }
+ shift
+ timeout 30 systemd-run "${args[@]}" -- "$@"; }
+# blocks_busy [EXCEPT]: print "<block or unit> <state>" for each detached block of this run, other
+# than EXCEPT, that is running or unresolved (status "unresolved" counts), and for each listed block
+# unit of this run that is not done; status 0 if there is any, 1 if none. A failed listing counts.
+blocks_busy() { local f b s r=1 u units
+ for f in "$T17"/blocks/*.unit; do
+ [ -e "$f" ] || continue; b=$(basename "${f%.unit}"); [ "$b" != "${1:-}" ] || continue
+ s=$(unit_state "$(cat "$f")")
+ if [ "$s" = done ] && [ "$(cat "$T17/blocks/$b.status" 2>/dev/null || true)" = unresolved ]; then s=unresolved; fi
+ [ "$s" = done ] || { echo "$b $s"; r=0; }
+ done
+ if ! units=$(run_units); then echo "units unresolved: systemctl list-units failed"; return 0; fi
+ for u in $units; do
+ case "$u" in "${UNIT_PREFIX}ctl-"*|"${UNIT_PREFIX}probe.service"|"${UNIT_PREFIX}${1:-}.service") continue;; esac
+ s=$(unit_state "$u"); [ "$s" = done ] || { echo "$u $s"; r=0; }
+ done
+ return "$r"; }
+# unit_probe: start t17b-<RUN>-probe.service running sleep 60, see it running with a process in its
+# cgroup, stop it, and prove it done with exit status signal:TERM. 0.2 aborts unless this passes.
+unit_probe() { local u="${UNIT_PREFIX}probe.service" i cg procs
+ [ "$(unit_state "$u")" = done ] || return 1
+ rm -f "$T17/out/probe.status"
+ unit_start "$u" "$T17/out/probe.out" "$T17/out/probe.status" -- sleep 60 || return 1
+ for i in $(seq 1 20); do [ "$(unit_state "$u")" = running ] && break; sleep 0.25; done
+ [ "$(unit_state "$u")" = running ] || { unit_stop "$u"; return 1; }
+ cg=$(_sc show -p ControlGroup --value -- "$u") || { unit_stop "$u"; return 1; }
+ procs=$(cat "/sys/fs/cgroup$cg/cgroup.procs" 2>/dev/null) || procs=""
+ [ -n "$cg" ] && [ -n "$procs" ] || { unit_stop "$u"; return 1; }
+ unit_stop "$u" || return 1
+ [ "$(cat "$T17/out/probe.status" 2>/dev/null || true)" = signal:TERM ]; }
BCEOF
+cat > "$TMPDIR/equipo-t17b/bin/exitpost.sh" <<'EPEOF'
+#!/bin/sh
+# ExecStopPost for Task 17b units: record how the unit's main process ended, in the file named by $1.
+# systemd sets EXIT_CODE (exited, killed or dumped) and EXIT_STATUS (a number or a signal name).
+case "${EXIT_CODE:-}" in
+ exited) printf '%s\n' "${EXIT_STATUS:-unknown}";;
+ "") printf 'unknown\n';;
+ *) printf 'signal:%s\n' "${EXIT_STATUS:-unknown}";;
+esac > "$1"
+EPEOF
+chmod 755 "$TMPDIR/equipo-t17b/bin/exitpost.sh"
cat > "$TMPDIR/equipo-t17b/env.sh" <<'ENVEOF'
# env.sh: sourced by every block, after `set -euo pipefail`. Task 17b only.
: "${TMPDIR:?TMPDIR is unset}"
@@ -430,15 +508,15 @@ export API=127.0.0.1:18443 METRICS=127.0.0.1:18444
# A live MicroVM ID: "microvm-" and a lower-case UUID, 44 characters (attempt 4).
export VMID_RE='microvm-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}'
[ -d "$T17" ] || { echo "ABORT: $T17 does not exist; was TMPDIR changed?" >&2; exit 1; }
-# One block at a time: refuse to load while a detached block other than this one (T17_BLOCK, set by
-# the long-block start call) is unfinished: running, or with no proof that it stopped (blockctl.sh).
-[ -f "$T17/blockctl.sh" ] || { echo "ABORT: $T17/blockctl.sh is missing" >&2; exit 1; }
-. "$T17/blockctl.sh"
-if _busy=$(blk_busy "${T17_BLOCK:-}"); then
- echo "ABORT: a detached block is unfinished: $_busy. Wait for it with its wait call; after an abort, run S.0 first." >&2; exit 1
-fi
[ -f "$T17/run.env" ] && . "$T17/run.env"
[ -f "$LEDGER" ] && . "$LEDGER"
+# One block at a time (R44): refuse to load while a block unit other than this one (T17_BLOCK, set by
+# the long-block start call) is running or unresolved. S.0 does not load env.sh.
+[ -f "$T17/unitctl.sh" ] || { echo "ABORT: $T17/unitctl.sh is missing" >&2; exit 1; }
+. "$T17/unitctl.sh"
+if _busy=$(blocks_busy "${T17_BLOCK:-}"); then
+ echo "ABORT: a block unit is unfinished: $_busy. Wait for it with its wait call; after an abort, run S.0 first." >&2; exit 1
+fi
# die: a hard stop. It also appends to $T17/FATAL, so a hard stop inside a subshell, a poll or a
# command substitution reaches the parent: finding and fatal_check re-raise it, so it can never
@@ -806,34 +884,37 @@ harvest_ctl() { local t; t=$(cat "$T17/controller.start") || die "no controller
CTL_SLICE="$T17/out/controller-$(date -u +%H%M%S).log"; ctl_log > "$CTL_SLICE" || die "controller log unreadable"
harvest "$CTL_SLICE" controller "$t"; }
-# --- the controller process ---
-ctl_pid() { [ -s "$T17/controller.pid" ] && cat "$T17/controller.pid"; }
-# ctl_alive: 0 if this run's controller process is alive; dies if the PID is alive but is something else.
-ctl_alive() {
- local p; p=$(ctl_pid) || return 1
- [ -d "/proc/$p" ] || return 1
- tr '\0' ' ' < "/proc/$p/cmdline" | grep -qF "$T17/bin/controller" || die "PID $p is alive but is not this run's controller"
-}
+# --- the controller: one transient user unit per start, t17b-<RUN>-ctl-<label>.service (R44) ---
+# ctl_unit: the unit of the latest start (status 1 if none was started).
+ctl_unit() { [ -s "$T17/controller.unit" ] && cat "$T17/controller.unit"; }
+# ctl_alive: 0 if the latest controller unit is running; 1 if it is done or none was started; a state
+# that cannot be established is a hard stop. A process systemd has not yet reaped still counts as
+# running, and once systemd has reaped it the unit is done, so there is no zombie case.
+ctl_alive() { local u s; u=$(ctl_unit) || return 1; s=$(unit_state "$u")
+ case "$s" in running) return 0;; done) return 1;; *) die "controller unit $u: state cannot be established ($s)";; esac; }
# listeners: sets LST to the addresses listening on 18443 or 18444 (empty if none); aborts if ss fails.
listeners() { local o; o=$(ss -ltnH '( sport = :18443 or sport = :18444 )') || die "ss failed"; LST=$(printf '%s\n' "$o" | awk 'NF {print $4}' | sort -u | tr '\n' ' '); }
-# start_ctl BINARY LABEL [VAR=VALUE...]: start in its own session; PID and exit status go to files.
+# start_ctl BINARY LABEL [EQUIPO_HOSTED_X=VALUE...]: start the controller as its own unit (never a
+# child of the block that starts it). Its environment is the user manager's, unitctl.sh's list and
+# the settings given here, nothing else; its exit status goes to controller.exit (exitpost.sh).
start_ctl() {
- local bin=$1 label=$2; shift 2
+ local bin=$1 label=$2 u a i ev=(); shift 2
[ -x "$bin" ] || die "no binary $bin"
! ctl_alive || die "a controller is already running"
listeners; [ -z "$LST" ] || die "ports 18443 or 18444 are in use: $LST"
- rm -f "$T17/controller.pid" "$T17/controller.exit"
+ u="${UNIT_PREFIX}ctl-$label.service"
+ [ "$(unit_state "$u")" = done ] || die "unit $u already exists"
+ for a; do case "$a" in EQUIPO_HOSTED_*=*) ev+=(-E "$a");; *) die "start_ctl: $a is not an EQUIPO_HOSTED_ setting";; esac; done
+ rm -f "$T17/controller.exit"
[ -f "$T17/controller.log" ] || : > "$T17/controller.log"
wc -l < "$T17/controller.log" > "$T17/controller.logstart" || die "cannot write controller.logstart"
date -u +%FT%T.%3NZ > "$T17/controller.start" || die "cannot write controller.start"
- jw "CONTROLLER start $label $bin $*"
- setsid nohup env -u EQUIPO_HOSTED_CRASH_AFTER_LAUNCH -u EQUIPO_HOSTED_ENABLED "$@" bash -c \
- '"$0" -config "$1" >>"$2" 2>&1 & echo $! >"$3"; wait $!; echo $? >"$4"' \
- "$bin" "$T17/controller.json" "$T17/controller.log" "$T17/controller.pid" "$T17/controller.exit" \
- </dev/null >/dev/null 2>&1 &
- local i; for i in $(seq 1 50); do [ -s "$T17/controller.pid" ] && break; sleep 0.1; done
+ printf '%s\n' "$u" > "$T17/controller.unit" || die "cannot write controller.unit"
+ jw "CONTROLLER start $label $u $bin $*"
+ unit_start "$u" "$T17/controller.log" "$T17/controller.exit" "${ev[@]}" -- "$bin" -config "$T17/controller.json" || die "systemd-run could not start $u"
+ for i in $(seq 1 20); do [ "$(unit_state "$u")" = running ] && break; [ -s "$T17/controller.exit" ] && break; sleep 0.25; done
ctl_alive || die "the controller did not start (see controller.log)"
- echo "controller $label started, PID $(ctl_pid)"
+ echo "controller $label started as unit $u"
}
_ctl_ready() {
[ -s "$T17/controller.exit" ] && return 2
@@ -852,14 +933,16 @@ ctl_ready() {
local m; m=$(curl -fsS "http://$METRICS/metrics") || soft_fail "metrics unreadable"
echo "controller ready:"; printf '%s\n' "$m" | grep -E '^equipo_hosted_(network_audit_passing|reap_last_error|reap_last_age_seconds|store_readable) ' || soft_fail "readiness metrics missing"
}
-# stop_ctl: SIGTERM, then SIGKILL after 45 s if still alive; ports must close.
+# stop_ctl: stop the latest controller unit (systemd: TERM, KILL after 45 s, reaped) and prove it
+# done; its ports must close.
stop_ctl() {
- local i
- if ctl_alive; then
- jw "CONTROLLER stop $(ctl_pid)"; kill -TERM "$(ctl_pid)"
- for i in $(seq 1 45); do ctl_alive || break; sleep 1; done
- if ctl_alive; then jw "CONTROLLER kill $(ctl_pid)"; kill -KILL "$(ctl_pid)"; sleep 2; fi
- ! ctl_alive || die "the controller is still alive"
+ local u s i
+ if u=$(ctl_unit); then
+ s=$(unit_state "$u")
+ if [ "$s" != done ]; then
+ jw "CONTROLLER stop $u ($s)"
+ unit_stop "$u" || die "controller unit $u could not be proved stopped: $(unit_state "$u")"
+ fi
fi
for i in $(seq 1 10); do [ -s "$T17/controller.exit" ] && break; sleep 1; done
listeners; [ -z "$LST" ] || die "a listener is still open: $LST"
@@ -906,7 +989,7 @@ export TAGS_EC2="Key=purpose,Value=equipo-hosted-dev Key=run,Value=$RUN"
RUNEOF
touch "$TMPDIR/equipo-t17b/ledger.env" "$TMPDIR/equipo-t17b/journal.tsv" "$TMPDIR/equipo-t17b/vms.tsv"
. "$TMPDIR/equipo-t17b/env.sh"
-blk_selftest || die "this shell cannot read its own processes' environments; detached blocks could not be proved stopped"
+unit_probe || die "the systemd user-unit probe (${UNIT_PREFIX}probe.service) failed: detached blocks and the controller could not be tracked (R44); no AWS call has been made"
[[ "$PIN_SHA" =~ ^[0-9a-f]{40}$ ]] || die "PIN_SHA in run.env is not a full SHA"
jw "RUN $RUN start pin=$PIN_SHA"
(cd "$REPO" && CGO_ENABLED=0 go build -tags hostedlive -o "$LIVECTL" ./internal/isolatedjob/awsjob/livectl)
@@ -1831,7 +1914,7 @@ if [ -n "${SKIP_7:-}" ] || [ -n "${SKIP_74:-}" ]; then echo "7.4 skipped"; settl
need CRASH_ATTEMPT CRASH_VM CRASH_START
start_ctl "$T17/bin/controller" recover EQUIPO_HOSTED_ENABLED=1
if ! (ctl_ready); then finding "the restarted controller did not become ready; 7.4 skipped"; stop_ctl; settle_all; exit 0; fi
-if tr '\0' '\n' < "/proc/$(ctl_pid)/environ" | grep -q '^EQUIPO_HOSTED_CRASH_AFTER_LAUNCH='; then finding "the crash switch is set on the restart; 7.4 skipped"; stop_ctl; settle_all; exit 0; fi
+if _sc show -p Environment --value -- "$(ctl_unit)" | tr ' ' '\n' | grep -q '^EQUIPO_HOSTED_CRASH_AFTER_LAUNCH='; then finding "the crash switch is set on the restart; 7.4 skipped"; stop_ctl; settle_all; exit 0; fi
export EQUIPO_HOSTED_LIVE_ATTEMPT="$CRASH_ATTEMPT" EQUIPO_HOSTED_LIVE_CRASH_STEP=recover \
EQUIPO_HOSTED_LIVE_OPERATOR_KEY_ID=task17-operator EQUIPO_HOSTED_LIVE_OPERATOR_KEY_FILE="$T17/keys/operator.key"
if gotest "$T17/out/7.4-recover.log" -tags hostedlive ./internal/hostedclient -run '^TestLiveCrashRecovery$' -count=1 -v -timeout 15m; then rc=0; else rc=$?; fi
@@ -2182,6 +2265,8 @@ for k in run purpose; do v=$([ "$k" = run ] && echo "$RUN" || echo "$TAGV")
```sh
set -euo pipefail; T17='<T17 printed by 0.2>'; . "$T17/env.sh"
! ctl_alive || die "the controller is running"; listeners; [ -z "$LST" ] || die "listeners open: $LST"
+_u=$(run_units) || die "systemctl cannot list the run's units"
+for _x in $_u; do [ "$(unit_state "$_x")" = done ] || die "unit $_x is not done; run S.0"; done
no_unresolved
cut -f2- "$JOURNAL" | grep -vE '^(INTENT|CONTROLLER) ' > "$T17/journal-for-progress.txt"
wc -l "$T17/journal-for-progress.txt" "$VMS"
@@ -2204,60 +2289,42 @@ set -euo pipefail; . "${TMPDIR:?}/equipo-t17b/env.sh"; no_unresolved; rm -rf "$T
Run in this order after any abort: S.0, S.1, S.2, S.3, S.4. Each part is safe to run whatever
phase the run reached.
-**S.0 Emergency stop of detached blocks and the controller (local only, no AWS call; always first).**
-`env.sh` refuses to load while a detached block is unfinished, so after an abort the safe stop
-cannot start from it. S.0 runs before `env.sh`, using only `blockctl.sh` (functions, no AWS call).
-It finds this run's detached blocks by their identity files and their processes by the identity in
-each process's own environment, and the controller by `controller.pid` checked against
-`/proc/<pid>/cmdline`. It stops them (TERM, then KILL), proves they have gone with a fresh scan,
-and journals each outcome as an `EMERGENCY` line. Only then may S.1 to S.3 run; S.1 sources
-`env.sh`, whose guard now passes because S.0 marked every stopped block `emergency-stopped`. If S.0
-cannot prove termination, it prints `HARD STOP` with the PIDs: stop there and report them to Paul.
-Nothing is signalled that is not proven to be this run's.
+**S.0 Emergency stop of the run's units (local only, no AWS call; always first).**
+`env.sh` refuses to load while a block unit is unfinished, so after an abort the safe stop cannot
+start from it. S.0 runs before `env.sh`, using only `run.env` and `unitctl.sh` (functions, no AWS
+call). It lists every unit of this run (`systemctl --user list-units --all 't17b-<RUN>-*'`) and every
+unit name the run recorded (`blocks/*.unit`, `controller.unit`), stops each one that is not done
+(`systemctl --user stop`: TERM, then KILL after 45 s, reaped by systemd), proves each one inactive or
+gone with an empty cgroup, and journals each outcome as an `EMERGENCY` line. It marks a stopped
+block `emergency-stopped`, so `env.sh` loads again, and only then may S.1 to S.3 run. If it cannot
+list the units or prove one done, it prints `HARD STOP` with the unit names: stop there and report
+them to Paul. Nothing is signalled by PID.
```sh
set -euo pipefail
T17='<T17 printed by 0.2>'
-[ -f "$T17/blockctl.sh" ] || { echo "HARD STOP: $T17/blockctl.sh is missing; nothing was signalled. Tell Paul."; exit 1; }
-. "$T17/blockctl.sh"
+[ -f "$T17/run.env" ] && [ -f "$T17/unitctl.sh" ] || { echo "HARD STOP: $T17/run.env or unitctl.sh is missing; nothing was stopped. Tell Paul."; exit 1; }
+. "$T17/run.env"; . "$T17/unitctl.sh"
ej() { printf '%s\t%s\n' "$(date -u +%FT%T.%3NZ)" "EMERGENCY $*" >> "$T17/journal.tsv" || echo "WARNING: journal write failed"; echo "$*"; }
-if ! blk_selftest; then
- echo "HARD STOP: this shell cannot read its own processes' environments, so no block can be proved stopped."
- echo "Block PID files: $(cat "$BLK_D"/*.pid 2>/dev/null | tr '\n' ' '); controller PID file: $(cat "$T17/controller.pid" 2>/dev/null || echo none). Tell Paul."
- exit 1
-fi
+if ! listed=$(run_units); then echo "HARD STOP: systemctl --user cannot list the units ${UNIT_PREFIX}*; nothing was stopped. Tell Paul."; exit 1; fi
+named=$(cat "$T17"/blocks/*.unit "$T17/controller.unit" 2>/dev/null || true)
bad=""
-for f in "$BLK_D"/*.pid; do
- [ -e "$f" ] || continue; b=$(basename "${f%.pid}")
- if [ ! -s "$BLK_D/$b.id" ]; then ej "block $b has a PID file ($(cat "$f")) but no identity: nothing can be proved"; bad="$bad $b:pid=$(cat "$f"):no-identity"; fi
+for u in $(printf '%s\n%s\n' "$listed" "$named" | sed '/^$/d' | sort -u); do
+ case "$u" in "$UNIT_PREFIX"*.service) ;; *) ej "skipped $u: not a unit name of this run"; continue;; esac
+ s=$(unit_state "$u"); [ "$s" != done ] || continue
+ ej "unit $u is $s: stopping it"
+ if unit_stop "$u"; then ej "unit $u: inactive or gone, with an empty cgroup"
+ else s=$(unit_state "$u"); ej "unit $u could not be proved stopped: $s"; bad="$bad $u($s)"; fi
done
-for f in "$BLK_D"/*.id; do
- [ -e "$f" ] || continue; b=$(basename "${f%.id}"); id=$(cat "$f")
- st=$(blk_state "$b"); [ "$st" != done ] || continue
- ej "block $b ($id) is $st; its processes [$(blk_pids "$id" | tr '\n' ' ')]; wrapper PID file [$(cat "$BLK_D/$b.pid" 2>/dev/null || true)]"
- if blk_stop "$id"; then
- printf 'emergency-stopped\n' > "$BLK_D/$b.status"; ej "block $b: stopped; a fresh scan finds no process holding $id"
- else
- printf 'unresolved\n' > "$BLK_D/$b.status"; ej "block $b: still alive after KILL: $BLK_LEFT"; bad="$bad $b:$BLK_LEFT"
+for f in "$T17"/blocks/*.unit; do
+ [ -e "$f" ] || continue; b=$(basename "${f%.unit}")
+ st=$(cat "$T17/blocks/$b.status" 2>/dev/null || true)
+ if { [ -z "$st" ] || [ "$st" = unresolved ]; } && [ "$(unit_state "$(cat "$f")")" = done ]; then
+ printf 'emergency-stopped\n' > "$T17/blocks/$b.status"; ej "block $b: marked emergency-stopped"
fi
done
-alive() { local s; s=$(sed 's/^.*) //' "/proc/$1/stat" 2>/dev/null | cut -d' ' -f1) || return 1; [ -n "$s" ] && [ "$s" != Z ]; }
-mine() { tr '\0' ' ' < "/proc/$1/cmdline" 2>/dev/null | grep -qF "$T17/bin/controller"; }
-cp=$(cat "$T17/controller.pid" 2>/dev/null || true)
-if [ -n "$cp" ] && alive "$cp"; then
- if mine "$cp"; then
- ej "controller PID $cp is alive: TERM"; kill -TERM "$cp" 2>/dev/null || true
- for i in $(seq 1 45); do alive "$cp" || break; sleep 1; done
- if alive "$cp" && mine "$cp"; then
- ej "controller PID $cp: KILL"; kill -KILL "$cp" 2>/dev/null || true
- for i in $(seq 1 10); do alive "$cp" || break; sleep 1; done
- fi
- if alive "$cp" && mine "$cp"; then ej "controller PID $cp is still alive after KILL"; bad="$bad controller:$cp"
- else ej "controller PID $cp has gone"; fi
- else ej "controller.pid names PID $cp, which is not this run's controller: not signalled"; fi
-fi
-if [ -n "$bad" ]; then echo "HARD STOP: termination not proved for:$bad. Report these PIDs to Paul; do not run S.1 to S.3."; exit 1; fi
-ej "S.0 done: no detached block and no controller of this run is alive"
+if [ -n "$bad" ]; then echo "HARD STOP: these units could not be proved stopped:$bad. Report them to Paul; do not run S.1 to S.3."; exit 1; fi
+ej "S.0 done: every unit of this run is inactive or gone, with an empty cgroup"
echo "S.0 done; run S.1 to S.3"
```
@@ -2268,9 +2335,8 @@ set -euo pipefail; T17='<T17 printed by 0.2>'; . "$T17/env.sh"
stop_ctl
```
-If `stop_ctl` aborts because the PID belongs to another process, or a port stays open while `/proc`
-hides the process, stop here and ask Paul: nothing is signalled that is not proven to be this run's
-controller.
+If `stop_ctl` aborts because the controller's unit cannot be proved done, or a port stays open
+after it is, stop here and ask Paul. Nothing is signalled by PID.
**S.2 Reconcile uncertain creations (R39).** For each creation whose `INTENT` has no `CONFIRMED`
record, one direct, guarded read decides. A resource created with a run-unique name (the run ID,
@@ -2601,7 +2667,7 @@ interface counts at each snapshot; the 11.2 estimate at the end; every FINDING.
never observed: terminated VMs stayed visible as `TERMINATED` for at least 6.5 minutes, which
`vm_end` accepts. It stays fail-closed only in `vm_end`.
-### New for Task 17b, 8
+### New for Task 17b, 9
1. **The controller sequence live** (7.2): `to_running` (the reaper reads states once per 60 s
pass), the drain and quiescent calls, suspend through the controller, the resume epoch (one
@@ -2629,6 +2695,14 @@ interface counts at each snapshot; the 11.2 estimate at the end; every FINDING.
saw `network_audit_passing 1`, `reap_last_error 0` and no failure rows). The `provider_bound`
row check is new; a database that was not fresh would fail it, which 0.2's new scratch rules
out.
+9. **Blocks and the controller as systemd user units (R44).** The coordinator found
+ `systemctl --user` usable on docs-t1 (state `degraded`), with a child under `env -i` kept in the
+ unit's cgroup and stopped with it; the plan writer's probes (units `t17b-probe-*`, `sleep` only)
+ showed the same, plus KILL after `TimeoutStopSec`, exit status 137 and `signal:<name>` recorded by
+ `ExecStopPost`, `--collect` removing ended units, and a unit started from inside a unit living on
+ as its own unit. Not yet run with the real blocks, `go test` or the controller. 0.2's probe unit
+ must pass before any AWS call; any later unit state that cannot be read is `unresolved`, and S.0
+ stops and proves every unit before cleanup.
### Placeholders