oficina / equipo Public

isolatedjob: mutation-check every guard and the clock

Give SystemClock an unexported seam for its wall and elapsed sources
and test a wall clock that jumps back while elapsed time moves on, so
a Mono derived from wall time fails. Check that the real start keeps
its monotonic reading. Record an assertion-failing mutation for every
validation rule, state set, network audit property and clock reading.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev c65ae0209231cabd391c13b92585632a9aa9d2c2 parent 7c78644
3 files changed, +88 −4
  • docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md +38 −0
  • internal/isolatedjob/clock.go +15 −4
  • internal/isolatedjob/isolatedjob_test.go +35 −0

CI failed — run details

CI log
=== prepare ===
ci-box: machine: aarch64, 32 CPUs, 62 GiB memory, kernel 7.0.0-1017-aws
ci-box: python 3.12.3; Docker version 29.1.3, build 29.1.3-0ubuntu3~24.04.2
ci-box: user namespaces allowed: 233151
ci-box: cgroup: cgroup2fs
ci-box: disk /home/ci/work/repos/oficina__equipo/wt/hosted-runners-1a: Type  Size Avail | ext4   96G   84G
ci-box: disk /home/ci/.cache/equipo-ci-box: Type  Size Avail | ext4   96G   84G
ci-box: bwrap: fetched and verified in 0.3s
ci-box: claude: fetched and verified in 1.9s
ci-box: codex: fetched and verified in 3.5s
ci-box: codex-code-mode-host: fetched and verified in 1.4s
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.7s
ci-box: opencode: installed and verified in 2.2s
ci-box: chromium 156.0.8078.79-1~deb13u1: 76 packages fetched, verified and unpacked in 8.8s
ci-box: clone deepened in 3.9s
ci-box: file times set from content: 2843 files, 187 directories
ci-box: ready in 17.7s
=== 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.248s
=== compile ===
go build ./...
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py compile
+ go build -tags testbuild ./...
  1.2s
+ go list -export -test -tags testbuild -f  ./...
  0.6s
+ go list -export -test -tags browser,testbuild -f  ./internal/equipo ./internal/headless ./internal/idtest ./internal/plan3test ./internal/thintest
  0.3s
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -version
staticcheck 2026.1 (v0.7.0)
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 -version
Go: go1.26.11
Scanner: govulncheck@v1.8.0
DB: https://vuln.go.dev
DB updated: 2026-11-11 02:51:11 +0000 UTC

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

receipt: test step 1m21.373s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m19.67s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m19.67s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 33.65, cpu waiting 20.00%, memory waiting 0.00%, io waiting 0.65%
--- 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 1m22.444s 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.762s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m20.76s amadan.net/oficina/equipo/internal/headless TestHeadless
machine: 32 CPUs, load 33.65, cpu waiting 20.00%, memory waiting 0.00%, io waiting 0.65%
--- 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 1m24.407s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m22.272s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m11.7s amadan.net/oficina/equipo/internal/headless TestHeadlessConnections
receipt: slow test 5.74s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenPasteEndToEnd
receipt: slow test 4.82s amadan.net/oficina/equipo/internal/headless TestHeadlessTokenConnection
machine: 32 CPUs, load 32.87, cpu waiting 19.06%, memory waiting 0.00%, io waiting 0.61%
--- 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 1m18.955s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m17.204s amadan.net/oficina/equipo/internal/headless
receipt: slow test 36.89s amadan.net/oficina/equipo/internal/headless TestMacWorker
receipt: slow test 20.24s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 10.46s amadan.net/oficina/equipo/internal/headless TestHeadlessAttachments
receipt: slow test 9.62s amadan.net/oficina/equipo/internal/headless TestHeadlessPrewarm
machine: 32 CPUs, load 33.65, cpu waiting 20.44%, memory waiting 0.00%, io waiting 0.67%
--- shard 4 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
test lane headless-guards: ./internal/headless
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m -run '^TestHeadlessCopyRotation$|^TestHeadlessPolicyGuards$|^TestHeadlessRunnerKillLeavesNoCopies$|^TestHeadlessNewHouseRuleStartsFresh$|^TestHeadless$/^3_engineering$|^TestHeadless$/^3_step_cancel$|^TestHeadless$/^3_step_contained$|^TestHeadless$/^3_empty_repo$|^TestHeadless$/^3_empty_engineering$|^TestHeadless$/^3_empty_merge$|^TestHeadless$/^3_empty_merge_rebuilt$|^TestHeadless$/^3_empty_fix_round$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

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

receipt: test step 3m10.165s 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 3m8.032s amadan.net/oficina/equipo/internal/headless
receipt: slow test 1m45.52s amadan.net/oficina/equipo/internal/headless TestHeadlessAssistant
receipt: slow test 24.4s amadan.net/oficina/equipo/internal/headless TestHeadless
receipt: slow test 11.66s amadan.net/oficina/equipo/internal/headless TestHeadlessResearchHandoff
receipt: slow test 8.21s amadan.net/oficina/equipo/internal/headless TestHeadlessClaudeSignIn
receipt: slow test 7.37s amadan.net/oficina/equipo/internal/headless TestHeadlessTurnBatching
machine: 32 CPUs, load 9.22, cpu waiting 3.49%, memory waiting 0.00%, io waiting 0.10%
--- 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 1.018s 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 2m1.624s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 7.84s amadan.net/oficina/equipo/internal/thintest TestContractTeamJobSettledStates
receipt: slow test 6.74s amadan.net/oficina/equipo/internal/thintest TestExplorePreviewsOff
receipt: slow test 4.31s amadan.net/oficina/equipo/internal/thintest TestContractTeamUpdatePersonNeeds
receipt: slow test 3.81s amadan.net/oficina/equipo/internal/thintest TestContractPreviewHeldUntilPublishAnswer
receipt: slow test 3.52s amadan.net/oficina/equipo/internal/thintest TestContractTeamNudgePersonNeeds
machine: 32 CPUs, load 0.81, cpu waiting 0.02%, memory waiting 0.00%, io waiting 2.44%
--- 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 1.171s 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 1m26.784s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 9.08s amadan.net/oficina/equipo/internal/thintest TestContractPreviewNotScheduled
receipt: slow test 5.03s amadan.net/oficina/equipo/internal/thintest TestContractPublishNotOffered
receipt: slow test 4.41s amadan.net/oficina/equipo/internal/thintest TestContractMacRecheckMergeAuthority
receipt: slow test 2.4s amadan.net/oficina/equipo/internal/thintest TestContractPreview
receipt: slow test 2.34s amadan.net/oficina/equipo/internal/thintest TestContractPublishNameTaken
machine: 32 CPUs, load 0.81, cpu waiting 0.77%, memory waiting 0.00%, io waiting 2.49%
--- 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 4m30.169s, over the 45s its record on line 44 allows; reported only, timing fails on CI

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

receipt: test step 47.48s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 46.314s amadan.net/oficina/equipo/internal/runner
receipt: slow test 26.29s amadan.net/oficina/equipo/internal/runner TestDirectBugWorkflow
receipt: slow test 20.02s amadan.net/oficina/equipo/internal/runner TestEnrolKeepsTheRole
machine: 32 CPUs, load 35.97, cpu waiting 20.03%, memory waiting 0.00%, io waiting 1.15%
--- 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 45.835s 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 43.904s amadan.net/oficina/equipo/internal/runner
receipt: slow test 34.02s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowCandidateOrder
receipt: slow test 30.31s amadan.net/oficina/equipo/internal/runner TestPlanWorkflowFeature
receipt: slow test 8.36s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryCallRefusalKeepsServing
receipt: slow test 1.51s amadan.net/oficina/equipo/internal/runner TestCoordinatorRefusalMatrix
machine: 32 CPUs, load 36.23, cpu waiting 19.72%, memory waiting 0.00%, io waiting 1.19%
--- 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 35s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 34.111s amadan.net/oficina/equipo/internal/runner
receipt: slow test 5.11s amadan.net/oficina/equipo/internal/runner TestDirectFaultIsolation
receipt: slow test 3.44s amadan.net/oficina/equipo/internal/runner TestClaimRefusalsBackOff
receipt: slow test 3.11s amadan.net/oficina/equipo/internal/runner TestCoordinatorRecoveryRefusedKeepsServing
receipt: slow test 2.28s amadan.net/oficina/equipo/internal/runner TestToolVerbUnderFakeHarness
receipt: slow test 1.61s amadan.net/oficina/equipo/internal/runner TestCoordinatorTransientRefusalKeepsServing
machine: 32 CPUs, load 27.93, cpu waiting 15.24%, memory waiting 0.00%, io waiting 1.41%
--- 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 27.9%, load 22.09
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
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/equipotest TestDirectDeadReferencesRepository
=== RUN   TestDirectDeadReferencesRepository
    direct_cutover_test.go:221: repository reference inventory: exit status 1
        internal/runner/containment/helper_version_test.go:133:35: unclassified Node
        reference scan: 2556 text files, 2854 matches, 1 failures
--- FAIL: TestDirectDeadReferencesRepository (1.83s)

--- FAIL amadan.net/oficina/equipo/internal/equipotest (package output)
FAIL
rastrillo-budget/v1 ran 1m2.992s
FAIL	amadan.net/oficina/equipo/internal/equipotest	63.416s


receipt: test step 1m4.839s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 1m2.992s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 27.24s amadan.net/oficina/equipo/internal/equipotest TestAuthorityCoreIntegration
receipt: slow test 27.16s amadan.net/oficina/equipo/internal/equipotest TestBootstrapNamesOwnersSetting
receipt: slow test 25.25s amadan.net/oficina/equipo/internal/equipotest TestAccountLabelMigration
receipt: slow test 22.59s amadan.net/oficina/equipo/internal/equipotest TestBudgetConfigurationFailuresAreAtomic
receipt: slow test 22.5s amadan.net/oficina/equipo/internal/equipotest TestAuthoritySnapshotChanges
exit status 1
+ go test -tags testbuild -timeout 15m -run '^Test[A-D]|^TestQ' -v -run '^TestDirectDeadReferencesRepository$' -count=1 ./internal/equipotest   (retry, once)
FAILED TWICE ./internal/equipotest:TestDirectDeadReferencesRepository equipotest-a
=== RUN   TestDirectDeadReferencesRepository
    direct_cutover_test.go:221: repository reference inventory: exit status 1
        internal/runner/containment/helper_version_test.go:133:35: unclassified Node
        reference scan: 2556 text files, 2854 matches, 1 failures
--- FAIL: TestDirectDeadReferencesRepository (1.81s)
FAIL
rastrillo-budget/v1 ran 1.808s
FAIL	amadan.net/oficina/equipo/internal/equipotest	2.067s
FAIL
machine: 32 CPUs, load 29.01, cpu waiting 16.00%, memory waiting 0.00%, io waiting 0.50%
make: *** [Makefile:113: ci-shard] Error 1

amadan: step check shard 12 of 29 failed: exit status 2
--- 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 27.9%, load 22.09
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 1.264s 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 1m12.399s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 19.2s amadan.net/oficina/equipo/internal/equipotest TestProjectWritesRequireCurrentOwner
receipt: slow test 19.12s amadan.net/oficina/equipo/internal/equipotest TestProjectOwnersAreMembers
receipt: slow test 19.11s amadan.net/oficina/equipo/internal/equipotest TestProjectsReopen
receipt: slow test 19.11s amadan.net/oficina/equipo/internal/equipotest TestProjectRetryAndRevision
receipt: slow test 19.08s amadan.net/oficina/equipo/internal/equipotest TestProjectsFailuresRollBack
machine: 32 CPUs, load 22.09, cpu waiting 12.20%, memory waiting 0.00%, io waiting 1.51%
--- 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 27.9%, load 22.09
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 1m15.724s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m3.901s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 14.84s amadan.net/oficina/equipo/internal/equipotest TestReleaseStampContract
receipt: slow test 12.86s amadan.net/oficina/equipo/internal/equipotest TestRosterChangesAffectExistingSession
receipt: slow test 9.83s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalWhileAssigned
receipt: slow test 9.8s amadan.net/oficina/equipo/internal/equipotest TestRosterRemovalRollsBack
receipt: slow test 6.74s amadan.net/oficina/equipo/internal/equipotest TestRosterProtectsLastOwner
machine: 32 CPUs, load 26.85, cpu waiting 14.04%, memory waiting 0.00%, io waiting 0.43%
--- shard 15 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
stagger: equipotest-rest started 30s late; cpu waiting 27.9%, load 22.09
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 1.243s 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 1m5.041s amadan.net/oficina/equipo/internal/equipotest
receipt: slow test 24.98s amadan.net/oficina/equipo/internal/equipotest TestSigninNoProof
receipt: slow test 23.87s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedExistingTeam
receipt: slow test 23.81s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedRollback
receipt: slow test 22.1s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsSeedAuditRollback
receipt: slow test 22.09s amadan.net/oficina/equipo/internal/equipotest TestSpecialistsUpgrade
machine: 32 CPUs, load 27.93, cpu waiting 12.20%, memory waiting 0.00%, io waiting 1.51%
--- 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 27.9%, load 22.09
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 623ms 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 48.756s amadan.net/oficina/equipo/internal/plan3test
receipt: slow test 3.61s amadan.net/oficina/equipo/internal/plan3test TestPlan3Upgrade
receipt: slow test 3.41s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3B
receipt: slow test 1.5s amadan.net/oficina/equipo/internal/plan3test TestConversationQuestionRace
receipt: slow test 1.47s amadan.net/oficina/equipo/internal/plan3test TestCoordinatorAcceptance3A
receipt: slow test 1.21s amadan.net/oficina/equipo/internal/plan3test TestPlanMigrationUpgrade
machine: 32 CPUs, load 22.09, cpu waiting 12.20%, memory waiting 0.00%, io waiting 1.51%
--- 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 27.9%, load 22.09
test lane rest: ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/isolatedjob ./internal/isolatedjob/awsjob ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags testbuild -timeout 15m ./cmd/equipo ./cmd/equipo-runner ./cmd/equipo-tool-proxy ./internal/advice ./internal/attach ./internal/attach/attachtest ./internal/chatmarkdown ./internal/chatsend ./internal/chatstream ./internal/coordinator ./internal/coordinatorcontract ./internal/coordinatormail ./internal/copydesk ./internal/equipo ./internal/equipo/activity ./internal/equipo/assist ./internal/equipo/chat ./internal/equipo/conversation ./internal/equipo/conversation/chatstate ./internal/equipo/housekeeping ./internal/equipo/icons ./internal/equipo/identity ./internal/equipo/kernel ./internal/equipo/library ./internal/equipo/mergegate ./internal/equipo/notifications ./internal/equipo/oficina ./internal/equipo/oficina/oficinatest ./internal/equipo/oficinaid ./internal/equipo/ownermode ./internal/equipo/personapi ./internal/equipo/planning ./internal/equipo/push ./internal/equipo/setup ./internal/equipo/team ./internal/equipo/teamcontract ./internal/equipo/triage ./internal/fakeclaude ./internal/fakecodex ./internal/fakeopencode ./internal/fakepi ./internal/idtest ./internal/isolatedjob ./internal/isolatedjob/awsjob ./internal/ownermodetest ./internal/release ./internal/runner/checks ./internal/runner/connect ./internal/runner/containment ./internal/runner/containment/sysunix ./internal/runner/egress ./internal/runner/forge ./internal/runner/forge/forgetest ./internal/runner/heartbeat ./internal/runner/mac ./internal/runner/mcpresource ./internal/runner/metered ./internal/runner/planflow ./internal/runner/provider ./internal/runner/provider/claude ./internal/runner/provider/codex ./internal/runner/provider/gotoolchain ./internal/runner/provider/opencode ./internal/runner/provider/pi ./internal/runner/setup ./internal/runner/transporttest ./internal/runner/webread ./internal/runner/workspace ./internal/runnerproto ./internal/schedule ./internal/sealbox ./internal/specialist ./internal/stagingtest ./internal/taskplan ./internal/testci ./internal/toolproxy ./internal/websource ./internal/wire ./internal/wire/wireschema ./internal/wire/wiretest ./tools/drive
cache miss: amadan.net/oficina/equipo/internal/copydesk: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/opencode: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/webread: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/forge: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/workspace: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/claude: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/equipo/team: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/codex: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/checks: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/containment: its inputs changed
cache miss: amadan.net/oficina/equipo/internal/runner/provider/pi: its inputs changed
budget note: internal/equipo took 45.275s, 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 12.529s, 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 39.84s, over the 10s the default allows (measured on the run this cached result came from); reported only, timing fails on CI
budget note: internal/release took 34.981s, 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.459s, over the 15s its record on line 40 allows; reported only, timing fails on CI

receipt: test step 2m14.1s against a 60s target (the gate's other steps are not in this figure)
receipt: 12 packages ran, 50 cached, 19 without tests, 0 failed
receipt: slow package 52.608s amadan.net/oficina/equipo/internal/runner/provider/opencode
receipt: slow package 52.363s amadan.net/oficina/equipo/internal/runner/provider/pi
receipt: slow package 45.275s amadan.net/oficina/equipo/internal/equipo
receipt: slow package 39.84s amadan.net/oficina/equipo/internal/idtest
receipt: slow package 39.459s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 21.03s amadan.net/oficina/equipo/internal/runner/provider/opencode TestOpenCodeAcceptanceHostileRepository
receipt: slow test 14.87s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringOfflineGo
receipt: slow test 10.89s amadan.net/oficina/equipo/internal/idtest TestIDCallbackGuardAndPendingNonce
receipt: slow test 10.82s amadan.net/oficina/equipo/internal/equipo TestAgentReadRechecksIdentity
receipt: slow test 9.35s amadan.net/oficina/equipo/internal/runner/containment TestEngineeringMissingModuleCache
machine: 32 CPUs, load 13.47, cpu waiting 5.38%, memory waiting 0.00%, io waiting 0.16%
--- shard 18 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-chat: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$' ./internal/headless
cache miss: amadan.net/oficina/equipo/internal/headless: its inputs changed

receipt: test step 1m22.19s 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.679s amadan.net/oficina/equipo/internal/headless
receipt: slow test 37.32s amadan.net/oficina/equipo/internal/headless TestBrowserDraftIsTheMessage
receipt: slow test 15.2s amadan.net/oficina/equipo/internal/headless TestBrowserDraftStreamsFormatted
receipt: slow test 10.42s amadan.net/oficina/equipo/internal/headless TestBrowserChat
receipt: slow test 7.8s amadan.net/oficina/equipo/internal/headless TestBrowserComposer
receipt: slow test 5.5s amadan.net/oficina/equipo/internal/headless TestBrowserChatSendStaysOnPage
machine: 32 CPUs, load 32.87, cpu waiting 19.61%, memory waiting 0.00%, io waiting 0.63%
--- 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 1m32.753s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m31.066s amadan.net/oficina/equipo/internal/headless
receipt: slow test 26.17s amadan.net/oficina/equipo/internal/headless TestBrowserRailFollowsWork
receipt: slow test 22.48s amadan.net/oficina/equipo/internal/headless TestBrowserTaskThread
receipt: slow test 14.34s amadan.net/oficina/equipo/internal/headless TestBrowserReceiptFollowsReview
receipt: slow test 10.33s amadan.net/oficina/equipo/internal/headless TestBrowserAskAfterMerge
receipt: slow test 7.86s amadan.net/oficina/equipo/internal/headless TestBrowserTaskCard
machine: 32 CPUs, load 31.19, cpu waiting 17.00%, memory waiting 0.00%, io waiting 0.53%
--- 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 1m40.423s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 1m38.778s amadan.net/oficina/equipo/internal/headless
receipt: slow test 13.65s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsConversation
receipt: slow test 13.19s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAdd
receipt: slow test 12.99s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsAddPage
receipt: slow test 10.33s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsMeteredLimitRequired
receipt: slow test 10.21s amadan.net/oficina/equipo/internal/headless TestBrowserConnectionsOpenCodeGoLimitRequired
machine: 32 CPUs, load 29.01, cpu waiting 15.00%, memory waiting 0.00%, io waiting 0.46%
--- shard 21 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-headless-rest: ./internal/headless
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' ./internal/headless
rastrillo: budget test: go test failed
--- FAIL amadan.net/oficina/equipo/internal/headless TestBrowserEmptyExplore
=== RUN   TestBrowserEmptyExplore
time=2026-11-22T16:08:48.505Z level=INFO msg="startup phase" phase=state_lock
time=2026-11-22T16:08:48.505Z level=INFO msg="startup phase done" phase=state_lock took=70µs
time=2026-11-22T16:08:48.505Z level=INFO msg="startup phase" phase=claim_roots
time=2026-11-22T16:08:48.505Z level=INFO msg="startup phase done" phase=claim_roots took=104µs
time=2026-11-22T16:08:48.505Z level=INFO msg="startup phase" phase=sweep
time=2026-11-22T16:08:48.534Z level=INFO msg="startup phase done" phase=sweep took=28.127ms
time=2026-11-22T16:08:48.534Z level=INFO msg="startup phase" phase=credentials
time=2026-11-22T16:08:48.534Z level=INFO msg="startup phase done" phase=credentials took=109µs
time=2026-11-22T16:08:48.534Z level=INFO msg="startup phase" phase=open_state
time=2026-11-22T16:08:48.573Z level=INFO msg="startup phase done" phase=open_state took=39.513ms
time=2026-11-22T16:08:48.574Z level=WARN msg="no seal key: token connections cannot be added" err=*fs.PathError
time=2026-11-22T16:08:48.575Z level=INFO msg=connecting host=127.0.0.1:45757 protocol=28
time=2026-11-22T16:08:48.577Z level=INFO msg=connected host=127.0.0.1:45757 took=2.213ms
time=2026-11-22T16:08:48.577Z level=INFO msg="capabilities gathering"
time=2026-11-22T16:08:48.578Z level=INFO msg="capabilities gathered" took=644µs tags=linux,claude,go
time=2026-11-22T16:08:48.579Z level=INFO msg="hello sent" protocol=28
time=2026-11-22T16:08:48.583Z level=INFO msg=welcome protocol=28 role=primary generation=1
time=2026-11-22T16:08:49.546Z level=INFO msg="connection checked" connection=claude-1 state=healthy
    browser_receipts_test.go:169: waiting for [...document.querySelectorAll('[equipo-markdown]:not([data-stream-text])')].some(e=>e.textContent.includes("I'm your coordinator")): context deadline exceeded (last evaluation: context deadline exceeded)
--- FAIL: TestBrowserEmptyExplore (5.77s)

--- FAIL amadan.net/oficina/equipo/internal/headless (package output)
FAIL
rastrillo-budget/v1 ran 1m26.421s
FAIL	amadan.net/oficina/equipo/internal/headless	86.706s


receipt: test step 1m27.766s against a 60s target (the gate's other steps are not in this figure)
receipt: 0 packages ran, 0 cached, 0 without tests, 1 failed
receipt: slow package 1m26.421s amadan.net/oficina/equipo/internal/headless
receipt: slow test 15.14s amadan.net/oficina/equipo/internal/headless TestBrowserThinkingAndCards
receipt: slow test 11.17s amadan.net/oficina/equipo/internal/headless TestBrowserWaitingTurns
receipt: slow test 10.53s amadan.net/oficina/equipo/internal/headless TestBrowserMoveIn
receipt: slow test 10.37s amadan.net/oficina/equipo/internal/headless TestBrowserStalePageReloads
receipt: slow test 7.94s amadan.net/oficina/equipo/internal/headless TestBrowserRefreshRace
exit status 1
+ go test -tags browser,testbuild -timeout 15m -run '^(TestBrowserAskAfterMerge|TestBrowserChat|TestBrowserChatSendStaysOnPage|TestBrowserComposer|TestBrowserComposerDock|TestBrowserComposerFocus|TestBrowserComposerReconcile|TestBrowserConnectionsAdd|TestBrowserConnectionsAddPage|TestBrowserConnectionsConversation|TestBrowserConnectionsCopyLink|TestBrowserConnectionsEndedNote|TestBrowserConnectionsMeteredLimitRequired|TestBrowserConnectionsOpenCodeGoLimitRequired|TestBrowserConnectionsSignIn|TestBrowserConnectionsSignInSwitch|TestBrowserConnectionsToken|TestBrowserCopyContinue|TestBrowserCopySettingAndFlag|TestBrowserDraftIsTheMessage|TestBrowserDraftStreamsFormatted|TestBrowserEmptyExplore|TestBrowserMoveIn|TestBrowserNotebook|TestBrowserNotebookLook|TestBrowserPasteBox|TestBrowserPasteBoxLook|TestBrowserPasteCopiesItsBox|TestBrowserRailFollowsWork|TestBrowserReceiptFollowsReview|TestBrowserReceiptsDesktop|TestBrowserReceiptsTouch|TestBrowserRefreshRace|TestBrowserStalePageReloads|TestBrowserTaskCard|TestBrowserTaskThread|TestBrowserThinkingAndCards|TestBrowserUsageAndAdvice|TestBrowserWaitingTurns|TestNotebookScreenshots)$' -skip '^TestBrowserChat$|^TestBrowserChatSendStaysOnPage$|^TestBrowserComposer$|^TestBrowserComposerReconcile$|^TestBrowserComposerFocus$|^TestBrowserComposerDock$|^TestBrowserDraftStreamsFormatted$|^TestBrowserDraftIsTheMessage$|^TestBrowserTaskCard$|^TestBrowserReceiptFollowsReview$|^TestBrowserRailFollowsWork$|^TestBrowserTaskThread$|^TestBrowserAskAfterMerge$|^TestBrowserReceiptsDesktop$|^TestBrowserReceiptsTouch$|^TestBrowserConnections|^TestBrowserPasteBox$|^TestBrowserPasteCopiesItsBox$' -v -run '^TestBrowserEmptyExplore$' -count=1 ./internal/headless   (retry, once)
##############################################################################
FLAKE ./internal/headless:TestBrowserEmptyExplore browser-headless-rest c65ae0209231cabd391c13b92585632a9aa9d2c2 5.77s 32.16
##############################################################################
failed, then passed on its one retry: the step stays green and the flake is on record
machine: 32 CPUs, load 29.01, cpu waiting 15.48%, memory waiting 0.00%, io waiting 0.48%
--- shard 22 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
timing budgets: reported, not enforced: a shared runner's load is not this change's time (set EQUIPO_CI_DEDICATED=1 on a dedicated runner)
browser: /opt/chromium-156.0.8078.79-1_deb13u1/chrome: Chromium 156.0.8078.79
browser lane browser-rest: ./internal/equipo
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserPreviewBlocksNavigation)$' ./internal/equipo

receipt: test step 935ms 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 573ms amadan.net/oficina/equipo/internal/equipo
receipt: slow test 570ms amadan.net/oficina/equipo/internal/equipo TestBrowserPreviewBlocksNavigation
browser lane browser-rest: ./internal/idtest
+ go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -tags browser,testbuild -timeout 15m -run '^(TestBrowserOficinaIDDoor)$' ./internal/idtest

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

receipt: test step 1.083s 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 3m20.199s amadan.net/oficina/equipo/internal/thintest
receipt: slow test 17.52s amadan.net/oficina/equipo/internal/thintest TestBrowserAccessRequest
receipt: slow test 14.35s amadan.net/oficina/equipo/internal/thintest TestBrowserSettingsTeams
receipt: slow test 12.02s amadan.net/oficina/equipo/internal/thintest TestBrowserThinkingCycles
receipt: slow test 10.55s amadan.net/oficina/equipo/internal/thintest TestBrowserPlacementQuestionAndPending
receipt: slow test 7.93s amadan.net/oficina/equipo/internal/thintest TestBrowserInnerScreens
machine: 32 CPUs, load 4.11, cpu waiting 2.07%, memory waiting 0.00%, io waiting 2.33%
--- shard 23 of 29 ---
RASTRILLO='go run amadan.net/rastrillo/rastrillo/cmd/rastrillo' python3 scripts/ci-test.py shard
shard 23: make test-quarantine
python3 scripts/ci-test.py quarantine
quarantine: 12 tests from scripts/ci-quarantine.txt; a failure is retried once, and a pass on the retry is reported as a flake
+ go test -tags testbuild -timeout 15m -v -run '^TestHeadlessConnections$/^A5_cancel_and_sign_out$|^TestHeadlessConnections$/^C4_claude_sign_in$|^TestHeadlessConnections$/^C5_engineering_failover$|^TestHeadlessConnections$/^C5_engineering_to_codex$|^TestHeadlessConnections$/^C5_engineering_waits$' ./internal/headless   (53s)
ok ./internal/headless TestHeadlessConnections/A5_cancel_and_sign_out 5.23s
ok ./internal/headless TestHeadlessConnections/C4_claude_sign_in 1.35s
ok ./internal/headless TestHeadlessConnections/C5_engineering_failover 9.53s
ok ./internal/headless TestHeadlessConnections/C5_engineering_to_codex 10.29s
ok ./internal/headless TestHeadlessConnections/C5_engineering_waits 25.03s
+ 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   (64s)
ok ./internal/headless TestHeadlessConnections/C5_review_auth 14.61s
ok ./internal/headless TestHeadlessConnections/C5_review_failover 12.86s
ok ./internal/headless TestHeadlessConnections/C5_review_on_codex 11.56s
ok ./internal/headless TestHeadlessConnections/C5_review_other_family_first 22.83s
+ go test -tags testbuild -timeout 15m -v -run '^TestMixedVersions$' ./internal/headless   (23s)
ok ./internal/headless TestMixedVersions 21.25s
+ go test -tags testbuild -timeout 15m -v -run '^TestCheckSandboxDeniedPathsTampering$' ./internal/runner/checks   (1s)
ok ./internal/runner/checks TestCheckSandboxDeniedPathsTampering 0.77s
+ go test -tags testbuild -timeout 15m -v -run '^TestRunnerCancelAndSupersede$' ./internal/runner/thin   (0s)
ok ./internal/runner/thin TestRunnerCancelAndSupersede 0.05s
quarantine: 0 flaked (passed on the retry), 0 failed
machine: 32 CPUs, load 36.57, cpu waiting 20.71%, memory waiting 0.00%, io waiting 0.85%
--- 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.401s against a 60s target (the gate's other steps are not in this figure)
receipt: 4 packages ran, 0 cached, 3 without tests, 0 failed
receipt: slow package 7.262s amadan.net/oficina/equipo/internal/runner/checks
receipt: slow package 150ms amadan.net/oficina/equipo/internal/runner/provider/claude
receipt: slow package 63ms amadan.net/oficina/equipo/internal/runner/provider/codex
receipt: slow package 2ms amadan.net/oficina/equipo/internal/runner/provider
receipt: slow package 0s amadan.net/oficina/equipo/internal/runner/provider/gotoolchain
receipt: slow test 5.24s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsGoFixture
receipt: slow test 1.65s amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPaths
receipt: slow test 290ms amadan.net/oficina/equipo/internal/runner/checks TestCheckSandboxDeniedPathsCache
receipt: slow test 150ms amadan.net/oficina/equipo/internal/runner/provider/claude TestDirectJournalAdapterBarrier
receipt: slow test 60ms amadan.net/oficina/equipo/internal/runner/provider/codex TestDirectJournalAdapterBarrier
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.146s against a 60s target (the gate's other steps are not in this figure)
receipt: 1 packages ran, 0 cached, 0 without tests, 0 failed
receipt: slow package 2.828s amadan.net/oficina/equipo/internal/runner/containment
receipt: slow test 270ms 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 TestNamespaceRecoveryCleansScratch
receipt: slow test 100ms amadan.net/oficina/equipo/internal/runner/containment TestNamespaceReapsOrphans
machine: 32 CPUs, load 13.97, cpu waiting 4.42%, memory waiting 0.00%, io waiting 2.11%
--- 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 27.9%, load 22.09
shard 25: make runner-dead-references lanes-check build vet fmt-check budget migration-check
python3 scripts/runner-dead-references.py
reference scan: 2556 text files, 2854 matches, 1 failures
internal/runner/containment/helper_version_test.go:133:35: unclassified Node
make[1]: *** [Makefile:229: runner-dead-references] Error 1
machine: 32 CPUs, load 22.09, cpu waiting 12.20%, memory waiting 0.00%, io waiting 1.51%
make: *** [Makefile:113: ci-shard] Error 2

amadan: step check shard 25 of 29 failed: exit status 2
--- 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 27.9%, load 22.09
shard 26: make staticcheck
go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 -tags browser,perf,testbuild ./...
machine: 32 CPUs, load 27.93, cpu waiting 12.20%, memory waiting 0.00%, io waiting 1.51%
--- 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 27.9%, load 22.09
shard 27: make govulncheck
go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./...
=== Symbol Results ===

No vulnerabilities found.

Your code is affected by 0 vulnerabilities.
This scan also found 0 vulnerabilities in packages you import and 5
vulnerabilities in modules you require, but your code doesn't appear to call
these vulnerabilities.
Use '-show verbose' for more details.
machine: 32 CPUs, load 27.93, cpu waiting 16.18%, memory waiting 0.00%, io waiting 1.36%
--- 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 27.9%, load 22.09
shard 28: make gitleaks
4:08PM INF Unknown SCM platform. Use --platform to include links in findings. host=amadan.net
4:08PM INF 1103 commits scanned.
4:08PM INF scanned ~61237689 bytes (61.24 MB) in 12.7s
4:08PM INF no leaks found
machine: 32 CPUs, load 36.23, cpu waiting 18.26%, memory waiting 0.00%, io waiting 1.27%

amadan: job failed at step check shards 12, 25 of 29 — its output is above, not at the tail of this log
diff --git a/docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md b/docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md
index c4ce2b7e..aae7f5de 100644
--- a/docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md
+++ b/docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md
@@ -62,3 +62,41 @@ New package `internal/isolatedjob`: the `Runner` interface, `LaunchSpec.Validate
| `unknown` is terminal (`case StateStopped, StateFailed, StateUnknown:`) | `go test ./internal/isolatedjob -run 'TestStateSets' -count=1` | `isolatedjob_test.go:141: State("unknown").Terminal() = true, want false` | yes, `-run 'TestStateSets'` passes |
| `>=` on the lifetime limit (`s.MaxLifetime >= limit`) | `go test ./internal/isolatedjob -run 'TestLaunchSpecValidate' -count=1` | `isolatedjob_test.go:83: Validate = isolatedjob: invalid request: lifetime 8h0m0s must be above zero and at most 8h0m0s, want nil` (also the 1h provider-limit row) | yes, `-run 'TestLaunchSpecValidate'` passes |
| Extra: `OK` ignores missing egress (`missingFrom(want, a.EgressOnly)[:0]`) | `go test ./internal/isolatedjob -run 'TestNetworkAuditOK' -count=1` | `isolatedjob_test.go:195: OK = nil, want an error naming [egress]` (the missing-egress and nothing-seen rows) | yes, whole package passes |
+
+### Task 5 fix round 1
+
+Every guard now has a mutation. `SystemClock` takes its wall and elapsed sources through an unexported seam (`newSystemClock(now, since)`); `TestSystemClockWallJump` moves the wall clock back an hour while elapsed time moves forward, and `TestSystemClock` checks the real start keeps its monotonic reading. Each row was applied by a scratch script that replaced one exact string, ran the command, kept the first assertion line, wrote the original back and ran the command again. No row failed by a build error.
+
+| Mutation | Command | Observed failure | Restored |
+| --- | --- | --- | --- |
+| attempt id: empty accepted (`if len(id) > maxAttemptIDLen {`) | `go test ./internal/isolatedjob -run 'TestLaunchSpecValidate' -count=1` | `isolatedjob_test.go:88: Validate = <nil>, want isolatedjob: invalid request` in `TestLaunchSpecValidate/attempt_id_empty` | yes, passes |
+| attempt id: 65 chars accepted (`len(id) > maxAttemptIDLen+1 {`) | `go test ./internal/isolatedjob -run 'TestLaunchSpecValidate' -count=1` | `isolatedjob_test.go:88: Validate = <nil>, want isolatedjob: invalid request` in `TestLaunchSpecValidate/attempt_id_65_chars` | yes, passes |
+| attempt id: '_' accepted (`... c <= 'Z' \|\| c >= '0' && c <= '9' \|\| c == '-' \|\| c == '_') {`) | `go test ./internal/isolatedjob -run 'TestLaunchSpecValidate' -count=1` | `isolatedjob_test.go:88: Validate = <nil>, want isolatedjob: invalid request` in `TestLaunchSpecValidate/attempt_id_underscore` | yes, passes |
+| attempt id: space accepted (`... c <= 'Z' \|\| c >= '0' && c <= '9' \|\| c == '-' \|\| c == ' ') {`) | `go test ./internal/isolatedjob -run 'TestLaunchSpecValidate' -count=1` | `isolatedjob_test.go:88: Validate = <nil>, want isolatedjob: invalid request` in `TestLaunchSpecValidate/attempt_id_space` | yes, passes |
+| attempt id: non-ASCII bytes accepted (`...c <= 'Z' \|\| c >= '0' && c <= '9' \|\| c == '-' \|\| c >= 0x80) {`) | `go test ./internal/isolatedjob -run 'TestLaunchSpecValidate' -count=1` | `isolatedjob_test.go:88: Validate = <nil>, want isolatedjob: invalid request` in `TestLaunchSpecValidate/attempt_id_non-ascii` | yes, passes |
+| attempt id: '-' refused (`... c <= 'z' \|\| c >= 'A' && c <= 'Z' \|\| c >= '0' && c <= '9') {`) | `go test ./internal/isolatedjob -run 'TestLaunchSpecValidate' -count=1` | `isolatedjob_test.go:83: Validate = isolatedjob: invalid request: attempt id must be 1 to 64 letters, digits or '-', want nil` in `TestLaunchSpecValidate/good, TestLaunchSpecValidate/attempt_id_64_chars_at_limit and 27 more` | yes, passes |
+| image: prefix not required (`if false && !ok \|\| len(hex) != 64 {`) | `go test ./internal/isolatedjob -run 'TestLaunchSpecValidate' -count=1` | `isolatedjob_test.go:88: Validate = <nil>, want isolatedjob: invalid request` in `TestLaunchSpecValidate/image_no_prefix` | yes, passes |
+| image: 65 hex accepted (`len(hex) < 64 {`) | `go test ./internal/isolatedjob -run 'TestLaunchSpecValidate' -count=1` | `isolatedjob_test.go:88: Validate = <nil>, want isolatedjob: invalid request` in `TestLaunchSpecValidate/image_long` | yes, passes |
+| image: 63 hex accepted (`len(hex) > 64 {`) | `go test ./internal/isolatedjob -run 'TestLaunchSpecValidate' -count=1` | `isolatedjob_test.go:88: Validate = <nil>, want isolatedjob: invalid request` in `TestLaunchSpecValidate/image_short` | yes, passes |
+| image: upper-case hex accepted (`... c <= '9' \|\| c >= 'a' && c <= 'f' \|\| c >= 'A' && c <= 'F') {`) | `go test ./internal/isolatedjob -run 'TestLaunchSpecValidate' -count=1` | `isolatedjob_test.go:88: Validate = <nil>, want isolatedjob: invalid request` in `TestLaunchSpecValidate/image_upper_hex_digit` | yes, passes |
+| size: unknown size accepted (`if s.Size.MemoryMiB() < 0 {`) | `go test ./internal/isolatedjob -run 'TestLaunchSpecValidate' -count=1` | `isolatedjob_test.go:88: Validate = <nil>, want isolatedjob: invalid request` in `TestLaunchSpecValidate/size_empty, TestLaunchSpecValidate/size_medium and 1 more` | yes, passes |
+| size: small reports 4096 MiB (`return 4096`) | `go test ./internal/isolatedjob -run 'TestSizeMemory' -count=1` | `isolatedjob_test.go:109: Size("small").MemoryMiB() = 4096, want 2048` | yes, passes |
+| lifetime: zero accepted (`s.MaxLifetime < 0 ||`) | `go test ./internal/isolatedjob -run 'TestLaunchSpecValidate' -count=1` | `isolatedjob_test.go:88: Validate = <nil>, want isolatedjob: invalid request` in `TestLaunchSpecValidate/lifetime_zero` | yes, passes |
+| lifetime: one second over the limit accepted (`s.MaxLifetime > limit+1000000000 {`) | `go test ./internal/isolatedjob -run 'TestLaunchSpecValidate' -count=1` | `isolatedjob_test.go:88: Validate = <nil>, want isolatedjob: invalid request` in `TestLaunchSpecValidate/lifetime_over_the_provider_limit, TestLaunchSpecValidate/lifetime_28801_s and 1 more` | yes, passes |
+| lifetime: limit inclusive broken (>=) (`s.MaxLifetime >= limit {`) | `go test ./internal/isolatedjob -run 'TestLaunchSpecValidate' -count=1` | `isolatedjob_test.go:83: Validate = isolatedjob: invalid request: lifetime 1h0m0s must be above zero and at most 1h0m0s, want nil` in `TestLaunchSpecValidate/lifetime_at_the_provider_limit, TestLaunchSpecValidate/lifetime_28800_s_at_the_hard_limit and 1 more` | yes, passes |
+| lifetime: hard cap ignored (`limit := l.MaxLifetime`) | `go test ./internal/isolatedjob -run 'TestLaunchSpecValidate' -count=1` | `isolatedjob_test.go:88: Validate = <nil>, want isolatedjob: invalid request` in `TestLaunchSpecValidate/lifetime_28801_s_over_a_looser_provider` | yes, passes |
+| bootstrap: empty accepted (`if false && len(s.Bootstrap) == 0 {`) | `go test ./internal/isolatedjob -run 'TestLaunchSpecValidate' -count=1` | `isolatedjob_test.go:88: Validate = <nil>, want isolatedjob: invalid request` in `TestLaunchSpecValidate/bootstrap_empty, TestLaunchSpecValidate/bootstrap_zero_length` | yes, passes |
+| bootstrap: one byte over accepted (`if len(s.Bootstrap) > l.MaxBootstrapBytes+1 {`) | `go test ./internal/isolatedjob -run 'TestLaunchSpecValidate' -count=1` | `isolatedjob_test.go:88: Validate = <nil>, want isolatedjob: bootstrap too large` in `TestLaunchSpecValidate/bootstrap_one_byte_over` | yes, passes |
+| bootstrap: oversize gives ErrInvalid (`ErrInvalid, len(`) | `go test ./internal/isolatedjob -run 'TestLaunchSpecValidate' -count=1` | `isolatedjob_test.go:88: Validate = isolatedjob: invalid request: bootstrap is 4097 bytes, limit 4096, want isolatedjob: bootstrap too large` in `TestLaunchSpecValidate/bootstrap_one_byte_over, TestLaunchSpecValidate/bootstrap_with_no_provider_limit` | yes, passes |
+| state: unknown live (`...tateSuspending, StateSuspended, StateStopping, StateUnknown:`) | `go test ./internal/isolatedjob -run 'TestStateSets' -count=1` | `isolatedjob_test.go:138: State("unknown").Live() = true, want false` | yes, passes |
+| state: unknown terminal (`case StateStopped, StateFailed, StateUnknown:`) | `go test ./internal/isolatedjob -run 'TestStateSets' -count=1` | `isolatedjob_test.go:141: State("unknown").Terminal() = true, want false` | yes, passes |
+| state: failed not terminal (`case StateStopped:`) | `go test ./internal/isolatedjob -run 'TestStateSets' -count=1` | `isolatedjob_test.go:141: State("failed").Terminal() = false, want true` | yes, passes |
+| audit: resolver ignored (`if false && !a.ResolverDisabled {`) | `go test ./internal/isolatedjob -run 'TestNetworkAuditOK' -count=1` | `isolatedjob_test.go:195: OK = nil, want an error naming [resolver]` in `TestNetworkAuditOK/resolver_on, TestNetworkAuditOK/everything_wrong` | yes, passes |
+| audit: ingress ignored (`if false && !a.IngressClosed {`) | `go test ./internal/isolatedjob -run 'TestNetworkAuditOK' -count=1` | `isolatedjob_test.go:195: OK = nil, want an error naming [ingress]` in `TestNetworkAuditOK/ingress_open, TestNetworkAuditOK/everything_wrong` | yes, passes |
+| audit: route out ignored (`if false && !a.RouteOutAbsent {`) | `go test ./internal/isolatedjob -run 'TestNetworkAuditOK' -count=1` | `isolatedjob_test.go:195: OK = nil, want an error naming [route out]` in `TestNetworkAuditOK/route_out, TestNetworkAuditOK/everything_wrong` | yes, passes |
+| audit: extra egress ignored (`extra := missingFrom(a.EgressOnly, want)[:0]`) | `go test ./internal/isolatedjob -run 'TestNetworkAuditOK' -count=1` | `isolatedjob_test.go:195: OK = nil, want an error naming [egress]` in `TestNetworkAuditOK/extra_egress, TestNetworkAuditOK/egress_seen_none_wanted` | yes, passes |
+| audit: missing egress ignored (`missing := missingFrom(want, a.EgressOnly)[:0]`) | `go test ./internal/isolatedjob -run 'TestNetworkAuditOK' -count=1` | `isolatedjob_test.go:195: OK = nil, want an error naming [egress]` in `TestNetworkAuditOK/missing_egress, TestNetworkAuditOK/nothing_seen` | yes, passes |
+| clock: Mono from wall time (`return c.Wall().Sub(c.start)`) | `go test ./internal/isolatedjob -run 'TestSystemClockWallJump' -count=1` | `isolatedjob_test.go:260: step 1: Mono = -59m55s, want 10s (last 5s)` | yes, passes |
+| clock: start loses monotonic reading (`start: now().Round(0), now:`) | `go test ./internal/isolatedjob -run 'TestSystemClock$' -count=1` | `isolatedjob_test.go:234: start = 2026-11-22 16:04:31.981554794 +0000 GMT has no monotonic reading` | yes, passes |
+| clock: Wall derived from Mono (`return c.start.Add(c.Mono()).Round(0)`) | `go test ./internal/isolatedjob -run 'TestSystemClockWallJump' -count=1` | `isolatedjob_test.go:264: step 1: Wall = 2026-11-22 12:00:10 +0000 UTC, want 2026-11-22 11:00:05 +0000 UTC` | yes, passes |
+| clock: Wall keeps monotonic reading (`return c.now()`) | `go test ./internal/isolatedjob -run 'TestSystemClock$' -count=1` | `isolatedjob_test.go:227: Wall = 2026-11-22 16:04:32.430137707 +0000 GMT m=+0.000216344 carries a monotonic reading` | yes, passes |
diff --git a/internal/isolatedjob/clock.go b/internal/isolatedjob/clock.go
index e2620df3..94fd0952 100644
--- a/internal/isolatedjob/clock.go
+++ b/internal/isolatedjob/clock.go
@@ -13,12 +13,23 @@ type Clock interface {
// SystemClock returns a Clock on this host's clocks. Mono is measured with
// Go's monotonic reading from the moment SystemClock is called.
func SystemClock() Clock {
- return systemClock{start: time.Now()}
+ return newSystemClock(time.Now, time.Since)
}
-type systemClock struct{ start time.Time }
+// newSystemClock is SystemClock with its two clock sources passed in, so a
+// test can move the wall clock back while elapsed time moves forward.
+func newSystemClock(now func() time.Time, since func(time.Time) time.Duration) systemClock {
+ return systemClock{start: now(), now: now, since: since}
+}
+
+type systemClock struct {
+ start time.Time // keeps Go's monotonic reading
+ now func() time.Time // the wall clock
+ since func(time.Time) time.Duration // elapsed time by the monotonic reading
+}
// Wall strips the monotonic reading, so a Wall value never stands in for Mono.
-func (c systemClock) Wall() time.Time { return time.Now().Round(0) }
+func (c systemClock) Wall() time.Time { return c.now().Round(0) }
-func (c systemClock) Mono() time.Duration { return time.Since(c.start) }
+// Mono never reads the wall clock.
+func (c systemClock) Mono() time.Duration { return c.since(c.start) }
diff --git a/internal/isolatedjob/isolatedjob_test.go b/internal/isolatedjob/isolatedjob_test.go
index 3b9d7ca8..2ffad12a 100644
--- a/internal/isolatedjob/isolatedjob_test.go
+++ b/internal/isolatedjob/isolatedjob_test.go
@@ -229,4 +229,39 @@ func TestSystemClock(t *testing.T) {
if d := time.Since(w); d < 0 || d > time.Minute {
t.Fatalf("Wall = %v, %v from now", w, d)
}
+ // Mono must come from Go's monotonic reading, so the start must keep it.
+ if start := c.(systemClock).start; !strings.Contains(start.String(), " m=") {
+ t.Fatalf("start = %v has no monotonic reading", start)
+ }
+}
+
+// TestSystemClockWallJump sets the wall clock back an hour while elapsed
+// time moves forward: Mono must follow elapsed time, Wall the wall clock.
+func TestSystemClockWallJump(t *testing.T) {
+ wall := time.Date(2026, 11, 22, 12, 0, 0, 0, time.UTC)
+ var elapsed time.Duration
+ c := newSystemClock(
+ func() time.Time { return wall },
+ func(time.Time) time.Duration { return elapsed },
+ )
+ steps := []struct {
+ advance, wallShift time.Duration
+ }{
+ {5 * time.Second, 5 * time.Second},
+ {5 * time.Second, -time.Hour},
+ {time.Second, 0},
+ {2 * time.Second, 90 * time.Minute},
+ }
+ var lastMono time.Duration
+ for i, s := range steps {
+ elapsed += s.advance
+ wall = wall.Add(s.wallShift)
+ if got := c.Mono(); got != elapsed || got < lastMono {
+ t.Fatalf("step %d: Mono = %v, want %v (last %v)", i, got, elapsed, lastMono)
+ }
+ lastMono = c.Mono()
+ if got := c.Wall(); !got.Equal(wall) {
+ t.Fatalf("step %d: Wall = %v, want %v", i, got, wall)
+ }
+ }
}